Commit Graph

245370 Commits

Author SHA1 Message Date
TreeHugger Robot
65266b99d2 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-16 09:58:56 +00:00
Yujie Qin
cad1666867 Report error correctly for the implementation of
StreamInterface::GetData()

Bug: 28889197
Change-Id: Id07755e1b3637f85b6176a59935ad3a5597cfb05
2016-06-16 11:42:41 +02:00
Bill Yi
ec038aa44a Import translations. DO NOT MERGE
Change-Id: I8186498fb657aa424eeb74f965fa44f7a053f65c
Auto-generated-cl: translation import
2016-06-16 01:42:16 -07:00
Bill Yi
ea1edaca72 Import translations. DO NOT MERGE
Change-Id: I3e3e3acf4c81fea5831768ccb73a313d16bab865
Auto-generated-cl: translation import
2016-06-15 21:49:11 -07:00
TreeHugger Robot
c1720dce1b Merge "Added dismiss, expand, and collapse accessibility actions" into nyc-dev 2016-06-16 04:19:48 +00:00
Ruben Brunk
d430f1a0be Remove coarse location pre-grant for preinstalled VrListenerServices.
Bug: 28919229
Change-Id: I97393308129c65ef2822014775d3e77e25dc21e6
2016-06-15 17:55:41 -07:00
Christopher Tate
e227ec61c2 Let bmgr inspect the set of whitelisted transports
Needed for compliance testing.

Bug 29072466

Change-Id: I025058ab9197f9e2db062bf0074e79f1cd04b443
2016-06-15 17:40:31 -07:00
Dianne Hackborn
7ab4025474 Fix issue #29371078: Foreground jobs should not count...
...as active for idle maintenance

Nor jobs of whitelisted apps.

Now they don't.

Also remove the no longer used "active download" tracking code.

Change-Id: I553197801f6eabaf15716f3201dd65257a0d4e94
2016-06-15 17:30:24 -07:00
Ruben Brunk
931a7c03e0 Merge "Fix VR transition for display on/off sequence." into nyc-dev 2016-06-16 00:29:32 +00:00
Mihai Niță
c8c9afeacb Merge "Fix for NullPointerException in SuggestedLocaleAdapter" into nyc-dev 2016-06-16 00:28:37 +00:00
Ruben Brunk
af9f004f99 Fix VR transition for display on/off sequence.
- Ensure VR transition has been applied before display power
  off sequence.

Bug: 29364940
Change-Id: I1224ac653d466919cb418e5c357a748606c4fd7d
2016-06-15 17:24:35 -07:00
Amith Yamasani
4f2b1b455e Merge "More thorough cleansing of expired users" into nyc-dev 2016-06-16 00:14:59 +00:00
Mihai Nita
1711d430cb Fix for NullPointerException in SuggestedLocaleAdapter
Bug: 28748150
Change-Id: Ide2d176d3bc0bb7529bf831b553db3ade37ddb69
2016-06-15 17:07:10 -07:00
Svet Ganov
3138a9938b Don't dispatch Uris with appended user handle
This change fixes a bug where we started appending the user id
to the changing Uri for observers to know what user's Uri changed.
This is problematic as it changes the Uri structure expected by
observers. Also there are no public APIs to factor out the user
id from the Uri. If a system component needs to know for which
user a Uri changed it can use ContentObserver#onChange(boolean,
Uri, int) where the last argument is the user id.

bug:19312280

Change-Id: I5f0982ac3c8d6b6eab060bab65d3b53182660ac7
2016-06-15 16:57:36 -07:00
Selim Cinek
e9bad242f3 Added dismiss, expand, and collapse accessibility actions
Fixes: 20343017
Fixes: 29368014
Change-Id: Ib571242aac04c67aea2f3c3ce76139eaedc1f3f1
2016-06-15 16:30:09 -07:00
Mady Mellor
8363980d45 Merge "Fixes issue with group backgrounds when animating to keyguard" into nyc-dev 2016-06-15 23:20:24 +00:00
Bert McMeen
0caf0b7259 Merge \\"Docs: A removal from docs of an obsolete watch face permission\\" into mnc-io-docs am: 9011149e19
am: 7250594f04

Change-Id: I486c9ee933a6ed64d90013cf9964e7106713dde8
2016-06-15 23:08:28 +00:00
Bert McMeen
7250594f04 Merge \"Docs: A removal from docs of an obsolete watch face permission\" into mnc-io-docs
am: 9011149e19

Change-Id: If34c51a5c2f8b28612c3526ca40cfce5a9a4a140
2016-06-15 23:03:13 +00:00
Bert McMeen
9011149e19 Merge "Docs: A removal from docs of an obsolete watch face permission" into mnc-io-docs 2016-06-15 22:57:59 +00:00
Winson
34c5526dcd Ensure that the tint is properly applied in docked mode.
- The signal cluster dedupes multiple calls with the same value, but 
  since the first calls come before the rotation relayout, the dark 
  tint is calculated incorrectly and subsequent calls get deduped.
  Ensure that if the layout changes, we also update the tint of all 
  icons again.

Bug: 29390902
Change-Id: I79c3796cba2f9a94d44f9fd59cf1702a64b62cd9
2016-06-15 15:55:28 -07:00
TreeHugger Robot
9a75ed7ab5 Merge "Fixing issue with screen pinning screen not showing for secondary users." into nyc-dev 2016-06-15 22:48:55 +00:00
Brad Ebinger
df41725e53 Merge "Handle Concurrency issues in Connection" into nyc-dev 2016-06-15 22:37:46 +00:00
Adam Lesinski
464bda8a2b Merge "ResourcesManager: Allow managed addition of library asset paths" into nyc-dev 2016-06-15 22:35:26 +00:00
TreeHugger Robot
8e8fb7dda0 Merge "docs: Added AfW item to DP4 "Behavior Changes" page" into nyc-dev 2016-06-15 21:36:05 +00:00
TreeHugger Robot
9a31e8be48 Merge "Send VR mode notification to AR app on context hub" into nyc-dev 2016-06-15 21:09:33 +00:00
Richard Ho
07a375186e Merge "added null check in doInBackground and if null, properly intializes variables." into nyc-dev 2016-06-15 21:06:07 +00:00
Winson
7555f335f4 Fixing issue with screen pinning screen not showing for secondary users.
- Catch the exception when removing a view that is not yet attached. 
  This is not an issue because we are in the process of attaching it for
  the first time anyways.
- Ensure that we post the calls from the secondary user in the main 
  thread for the system user.  Especially since this calls through to
  add the view for the new screen pinning window.

Bug: 29341417
Change-Id: If0e29a77ddb67426115f1d5d9f1adb580a1f07df
2016-06-15 14:01:58 -07:00
Jeff Davidson
4ff3bcfa0c Fix runtime restart when using aggregated net observers.
When observing network traffic on a per-iface basis (as opposed to a
per-iface+uid basis), do not attempt to redistribute VPN traffic,
because it is unnecessary and will lead to a crash further down the
stack.

This is a one-line functional change, but some comments have been
added throughout to clarify behavior.

Bug: 29390363
Change-Id: Icca13f181d7698ca3ddc92aa9248f06f130d49a3
2016-06-15 13:55:56 -07:00
Brad Ebinger
4fa6a01898 Handle Concurrency issues in Connection
Currently, there is a possibility of concurrent thread operations to the
Extras bundle in Conference/Connection. This can cause unexpected
behavior. We have added a lock on the Extras to prevent that from
occuring.

Bug: 29330310
Change-Id: Id63a9797c2f748120a3df8e3ce06c4ce3891c651
2016-06-15 20:53:25 +00:00
Kevin Gabayan
68dd6233bd Compute AnyMotionDetector angle using atan2. Bug: 29232136 am: db843c913f
am: e46d4fd7ad

Change-Id: I666fc7432cf6140c938423ec4370ca7727996bd6
2016-06-15 20:49:49 +00:00
Tianjie Xu
dfa654edfe Merge "Fix a naming typo for source_build" into nyc-dev 2016-06-15 20:46:08 +00:00
Kevin Gabayan
e46d4fd7ad Compute AnyMotionDetector angle using atan2. Bug: 29232136
am: db843c913f

Change-Id: I1d2af755dd1a06fc2fef464b6ad5bc5e26f11ff6
2016-06-15 20:40:34 +00:00
Mady Mellor
1a5d8eadd5 Fixes issue with group backgrounds when animating to keyguard
The backgrounds weren't being updated before the collapse animation when
going to the keyguard so it would look very bad when they collapsed.

This moves updating the background into setChildrenExpanded which will
cover updating the background for both the tapping to expand case as
well as the animating to the keyguard case.

Change-Id: Icba2fa895498d307a38bd9f65be06265afd21a1a
Fixes: 29240532
2016-06-15 13:31:29 -07:00
Adrian Roos
429c962179 Fix unresponsive brightness slider after font size change
We reinflated the brightness mirror, but not the QS panel,
which meant we were controlling the wrong view. Now we
reapply the mirror controller on configuration changes.

Change-Id: I69e5f1962e9ec0cfda85b19b1d5d5bbdf3d5779b
Fixes: 29339630
2016-06-15 13:02:21 -07:00
Tianjie Xu
5fabe69fc8 Fix a naming typo for source_build
When parsing the last_install, the variable name is supposed to be
*source_build* instead of *source_version*.

Bug: 28658632
Change-Id: I1e0ed7150e04885f904b6a3efa18bd5cfe17cc96
2016-06-15 12:34:04 -07:00
TreeHugger Robot
215b85a738 Merge "docs: Updates to DP4 release notes for Android for Work" into nyc-dev 2016-06-15 19:21:50 +00:00
Adam Lesinski
25f48886b2 ResourcesManager: Allow managed addition of library asset paths
This allows WebView to add itself to the ResourcesManager and
remain their even after configuration changes and multi-window
changes.

Bug:29112218
Change-Id: I2cb131ae2c61fb58c48babafdd46c1882be96aa9
2016-06-15 12:00:18 -07:00
Brian Duddie
c3d8a529c6 Send VR mode notification to AR app on context hub
Bug: 28793778
Change-Id: I7417ba7f696dc61689687bd56b165a81aea1715a
2016-06-15 11:36:09 -07:00
Amith Yamasani
d04aaa323c More thorough cleansing of expired users
If any /data/system_[c|d]e folders were not erased
when the user was removed (maybe due to a reboot),
make sure they're cleaned up on restart as well
as when the userId is recycled later.

Mark the users' system folders with the correct
serial number for later verification.

AccountManager shouldn't be querying accounts of
partially created/destroyed users.

Change-Id: I4313756b7464f34cd5ce4fb296d61daa50b41fcb
Fixes: 29285673
2016-06-15 11:32:16 -07:00
Richard Ho
8c4e4b0865 added null check in doInBackground and if null, properly intializes
variables.

Bug:29234237
Change-Id: I1d65b1a232c71efdd11a917769aec5044867a085
(cherry picked from commit 0f0f5414f4)
2016-06-15 11:17:58 -07:00
Andrew Solovay
06176732b4 docs: Added AfW item to DP4 "Behavior Changes" page
See first comment for doc stage location.

Change-Id: I188eb64a2fc854f82e4493213938346cd5847b5b
2016-06-15 11:04:59 -07:00
Joe Fernandez
d5f7bf8032 Merge "docs: removing duplicate security config doc" into nyc-dev 2016-06-15 18:02:51 +00:00
Adrian Roos
2e0aadf256 Merge "A11y: Fix notification bounds when top notification is scrolled" into nyc-dev 2016-06-15 17:55:52 +00:00
Joe Fernandez
8761377515 docs: removing duplicate security config doc
current doc: https://developer.android.com/preview/features/security-config.html
The N Preview version of this page will move to this location when N is
officially released.

Change-Id: Idf3bb2ea13b5f08efd3187bb1b1fbb6944519507
2016-06-15 10:50:42 -07:00
Toni Barzic
b2a45c00f6 Merge "Clear calling identity before calling mountService" into nyc-dev 2016-06-15 17:45:59 +00:00
Andrew Solovay
5cc6a747f7 docs: Updates to DP4 release notes for Android for Work
See first comment for doc stage location.

Change-Id: I20ee0f104ebf2eb274e599ede8bfe5c0c59077fe
2016-06-15 10:37:51 -07:00
Adrian Roos
98dd7f1308 A11y: Fix notification bounds when top notification is scrolled
Previously, scrolled notifications would collapse into a stack (the top
stack). With the new design, that's no longer the case, so tall
notifications can now be scrolled out so much that their translation
becomes negative.

Unfortunatly, getBoundsOnScreen then clips the bounds to the parent,
which interferes with our adjustment to the bounds, so we first undo
the clipping.

Fixes: 29368064
Change-Id: I71da054ed1eb6d06868d56e18d0320f764ed86b3
2016-06-15 17:28:21 +00:00
Jason Monk
817c4ca6d4 Merge "Fix flashlight dim state" into nyc-dev 2016-06-15 16:55:24 +00:00
TreeHugger Robot
4a284be41d Merge "PopupWindow: Resolve measure specs before passing to WM." into nyc-dev 2016-06-15 16:41:51 +00:00
Chris Wren
f156ab3f3a Merge "Revert "boost starred people to at least high importance"" into nyc-dev 2016-06-15 15:42:26 +00:00