245094 Commits

Author SHA1 Message Date
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 0f0f5414f4860de7f5e98d783b3172a39a42df2f)
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
Julia Reynolds
7f9e4d13c0 Merge "Fix accessibility for autorotate tile." into nyc-dev 2016-06-15 14:54:48 +00:00
Jason Monk
7f25c759e4 Fix flashlight dim state
Change-Id: I7875d4a0c3733ac2462713d7618d1b7595ea2075
Fixes: 29330406
2016-06-15 10:53:03 -04:00
Shawn Willden
c152fc15a9 Merge "Update semantics of on-body Keystore API." into nyc-dev 2016-06-15 14:48:54 +00:00
Michael Wright
e85da2bc2e Merge "Make lid switch edge rather than level triggered." into nyc-dev 2016-06-15 14:34:56 +00:00
Ricky Wai
7f405f170f Add permission checking on service calls in LockSettingsService
Bug: 28941207
Change-Id: I113db10bb57f250d44361a0a5144a7d1c990ba4d
2016-06-15 11:49:50 +01:00
Scott Main
627bca6e80 Merge "Update the DP4 setup instruction for api level 24" into nyc-dev 2016-06-15 04:36:11 +00:00
smain@google.com
ef11c2e0b1 Update the DP4 setup instruction for api level 24
Change-Id: I8db52d56b1c33e02cffb589a19b1cb1ed20894f4
2016-06-14 21:30:55 -07:00
Joe Fernandez
d320c6315a Merge "Revert "docs: Add Videos section to N Preview landing page"" into nyc-dev 2016-06-15 04:10:15 +00:00
Joe Fernandez
3460516d20 Revert "docs: Add Videos section to N Preview landing page"
Reverting this change since I don't have confirmation that the videos will ship by 10am on 6/15.

This reverts commit a1f02ff4e439d9de58ed4a788a52c2f73cfc36ce.

Change-Id: I854c589436bcc4e146770415898996826f552b21
2016-06-15 04:06:40 +00:00
Joe Fernandez
7c79f1663c Merge "docs: Updates for DP4 release" into nyc-dev 2016-06-15 04:04:42 +00:00
Joe Fernandez
778047db79 docs: Updates for DP4 release
- note final SDK is available
- update links to DP4 release notes

Change-Id: Id56b4bc9673f7ad12212d67045dc18fb9c72a6e8
2016-06-14 21:02:45 -07:00
Adarsh Fernando
ab62c65da9 Merge "Docs: Updated 'NDK Apps Linking to Platform Libraries'" into nyc-dev 2016-06-15 03:43:16 +00:00
Adarsh Fernando
931974b4e3 Docs: Updated 'NDK Apps Linking to Platform Libraries'
- updated compatibility with future platform releases
- expanded on ways to dignose and debug

Bug: 29215157
Change-Id: Ie63d024eac9914d4553419c734132696fb94d7e5
2016-06-14 20:33:16 -07:00
TreeHugger Robot
3c5d725c86 Merge "docs: Wording change for Support Lib 24.0 release notes" into nyc-dev 2016-06-15 03:24:08 +00:00
TreeHugger Robot
64df8c2d63 Merge "docs: Updating N preview release notes for DP4" into nyc-dev 2016-06-15 03:15:30 +00:00
David Friedman
07af76b039 Merge "Docs: Updated localizations for N Developer Preview docs." into nyc-dev 2016-06-15 01:39:41 +00:00
David Friedman
7ce69e3b0c Docs: Updated localizations for N Developer Preview docs.
Bug: 28912213

Change-Id: I8ff0dd5989863ce4097e2290ff9a10e4cc5789ec
2016-06-14 18:35:13 -07:00
TreeHugger Robot
6f140a249a Merge "Update CTS shims" into nyc-dev 2016-06-15 01:29:43 +00:00
Andrew Solovay
cb64ef6067 docs: Wording change for Support Lib 24.0 release notes
See first comment for doc stage location.

bug: 29215447
Change-Id: I75b1dc88e19e557c9ffee6336bfc342a17d1271f
2016-06-14 18:21:22 -07:00
Andrew Solovay
a92895b017 docs: Updating N preview release notes for DP4
See first comment for doc stage location.

bug: 28982873
Change-Id: I692b361f4a0d2d3627fa8cea19082fc24306f470
2016-06-14 18:09:43 -07:00
TreeHugger Robot
6ba96df815 Merge "Only skip trimming task if the stacks are not null." into nyc-dev 2016-06-15 01:08:59 +00:00
TreeHugger Robot
159c13801b Merge "Allow apps with CREATE_USERS permission to call UM.getUserInfo." into nyc-dev 2016-06-15 01:02:34 +00:00
David Friedman
ea1f3cb5c3 Merge "Docs: Adds SurfaceView to API Overview page for Android-N DP4." into nyc-dev 2016-06-15 00:59:54 +00:00
TreeHugger Robot
3e5df9fb50 Merge "Toast timeout: Just strip FLAG_KEEP_SCREEN_ON" into nyc-dev 2016-06-15 00:59:21 +00:00
TreeHugger Robot
2c2f8acdab Merge "Unbreak Javadoc on getAttestationChallenge()" into nyc-dev 2016-06-15 00:56:47 +00:00
David Friedman
521da6ac5c Docs: Adds SurfaceView to API Overview page for Android-N DP4.
Change-Id: I29854c82ef788b00c1ebc305bc5faf463c2d8dc8
2016-06-14 17:55:38 -07:00