OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix unresponsive brightness slider after font size change" into nyc-dev
Adrian Roos [Thu, 16 Jun 2016 19:25:47 +0000 (19:25 +0000)]
Merge "Fix unresponsive brightness slider after font size change" into nyc-dev

8 years agoMerge "Include cause when reporting errors." into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 19:14:04 +0000 (19:14 +0000)]
Merge "Include cause when reporting errors." into nyc-dev

8 years agoMerge "Check extra type before blindingly casting to Parcelable." into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 18:47:50 +0000 (18:47 +0000)]
Merge "Check extra type before blindingly casting to Parcelable." into nyc-dev

8 years agoMerge "Fix issue #29371078: Foreground jobs should not count..." into nyc-dev
Dianne Hackborn [Thu, 16 Jun 2016 18:39:02 +0000 (18:39 +0000)]
Merge "Fix issue #29371078: Foreground jobs should not count..." into nyc-dev

8 years agoInclude cause when reporting errors.
Steve McKay [Tue, 14 Jun 2016 22:56:50 +0000 (15:56 -0700)]
Include cause when reporting errors.

Bug: 29191892
Change-Id: I5f904da3a8564ec68ca634c28e3eda7f496a5c1c

8 years agoMerge "Support using uninstalled WebView packages as WebView implementation." into...
Gustav Sennton [Thu, 16 Jun 2016 17:40:08 +0000 (17:40 +0000)]
Merge "Support using uninstalled WebView packages as WebView implementation." into nyc-dev

8 years agoCheck extra type before blindingly casting to Parcelable.
Felipe Leme [Thu, 16 Jun 2016 17:02:38 +0000 (10:02 -0700)]
Check extra type before blindingly casting to Parcelable.

BUG: 29402928
Change-Id: If1729b8a4fcde724372b0a23cfae723a5d9b4faa

8 years agoMerge "Make sure we're locked" into nyc-dev
Todd Kennedy [Thu, 16 Jun 2016 16:22:53 +0000 (16:22 +0000)]
Merge "Make sure we're locked" into nyc-dev

8 years agoMerge "Fix that work apps settings page crash after changing work profile to use...
Victor Chang [Thu, 16 Jun 2016 15:13:32 +0000 (15:13 +0000)]
Merge "Fix that work apps settings page crash after changing work profile to use separated lock" into nyc-dev

8 years agoSupport using uninstalled WebView packages as WebView implementation.
Gustav Sennton [Tue, 14 Jun 2016 14:32:19 +0000 (15:32 +0100)]
Support using uninstalled WebView packages as WebView implementation.

A package can be uninstalled for the system user but still be installed
on the device. Currently, we do not use such a package as WebView
implementation which means we fall back to using the fallback WebView
package.
However, if the fallback package is not valid (because it needs to be
updated first) loading WebView will fail.

With this change we fetch allow the fetching of information from
packages that are uninstalled for the system user so that we can still
load WebView when the only valid WebView provider is uninstalled for the
system user.

Also listen to package additions/changes/removals for all users -
otherwise we won't notice when a package becomes replaced if it was
already uninstalled for the system user.

Bug: 29321185
Change-Id: Ia23c4493844877aea1b4eab7e666fd37540c4f97

8 years agoMake sure we're locked
Todd Kennedy [Wed, 15 Jun 2016 16:54:28 +0000 (09:54 -0700)]
Make sure we're locked

Before calling a method ending with LPw, we need to have the mPackages lock.
Make sure we do that.

Also, ditch the iterator for traversing an ArraySet.

Bug: 29356333
Change-Id: I67df971f2961b577f31153cef46fb153458d6965

8 years agoMerge "Add permission checking on service calls in LockSettingsService" into nyc-dev
Ricky Wai [Thu, 16 Jun 2016 10:33:22 +0000 (10:33 +0000)]
Merge "Add permission checking on service calls in LockSettingsService" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 10:21:18 +0000 (10:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Move 'is already always-on' check into Vpn.java" into nyc-dev
Robin Lee [Thu, 16 Jun 2016 10:06:10 +0000 (10:06 +0000)]
Merge "Move 'is already always-on' check into Vpn.java" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 09:58:55 +0000 (09:58 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Jun 2016 08:42:16 +0000 (01:42 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8186498fb657aa424eeb74f965fa44f7a053f65c
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Jun 2016 04:49:11 +0000 (21:49 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3e3e3acf4c81fea5831768ccb73a313d16bab865
Auto-generated-cl: translation import

8 years agoMerge "Added dismiss, expand, and collapse accessibility actions" into nyc-dev
TreeHugger Robot [Thu, 16 Jun 2016 04:19:47 +0000 (04:19 +0000)]
Merge "Added dismiss, expand, and collapse accessibility actions" into nyc-dev

8 years agoRemove coarse location pre-grant for preinstalled VrListenerServices.
Ruben Brunk [Thu, 16 Jun 2016 00:55:41 +0000 (17:55 -0700)]
Remove coarse location pre-grant for preinstalled VrListenerServices.

Bug: 28919229
Change-Id: I97393308129c65ef2822014775d3e77e25dc21e6

8 years agoFix issue #29371078: Foreground jobs should not count...
Dianne Hackborn [Thu, 16 Jun 2016 00:30:24 +0000 (17:30 -0700)]
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

8 years agoMerge "Fix VR transition for display on/off sequence." into nyc-dev
Ruben Brunk [Thu, 16 Jun 2016 00:29:31 +0000 (00:29 +0000)]
Merge "Fix VR transition for display on/off sequence." into nyc-dev

8 years agoMerge "Fix for NullPointerException in SuggestedLocaleAdapter" into nyc-dev
Mihai Niță [Thu, 16 Jun 2016 00:28:35 +0000 (00:28 +0000)]
Merge "Fix for NullPointerException in SuggestedLocaleAdapter" into nyc-dev

8 years agoFix VR transition for display on/off sequence.
Ruben Brunk [Thu, 16 Jun 2016 00:08:35 +0000 (17:08 -0700)]
Fix VR transition for display on/off sequence.

- Ensure VR transition has been applied before display power
  off sequence.

Bug: 29364940
Change-Id: I1224ac653d466919cb418e5c357a748606c4fd7d

8 years agoMerge "More thorough cleansing of expired users" into nyc-dev
Amith Yamasani [Thu, 16 Jun 2016 00:14:57 +0000 (00:14 +0000)]
Merge "More thorough cleansing of expired users" into nyc-dev

8 years agoFix for NullPointerException in SuggestedLocaleAdapter
Mihai Nita [Wed, 15 Jun 2016 23:34:50 +0000 (16:34 -0700)]
Fix for NullPointerException in SuggestedLocaleAdapter

Bug: 28748150
Change-Id: Ide2d176d3bc0bb7529bf831b553db3ade37ddb69

8 years agoAdded dismiss, expand, and collapse accessibility actions
Selim Cinek [Wed, 15 Jun 2016 18:46:37 +0000 (11:46 -0700)]
Added dismiss, expand, and collapse accessibility actions

Fixes: 20343017
Fixes: 29368014
Change-Id: Ib571242aac04c67aea2f3c3ce76139eaedc1f3f1

8 years agoMerge "Fixes issue with group backgrounds when animating to keyguard" into nyc-dev
Mady Mellor [Wed, 15 Jun 2016 23:20:22 +0000 (23:20 +0000)]
Merge "Fixes issue with group backgrounds when animating to keyguard" into nyc-dev

8 years agoMerge \\"Docs: A removal from docs of an obsolete watch face permission\\" into mnc...
Bert McMeen [Wed, 15 Jun 2016 23:08:28 +0000 (23:08 +0000)]
Merge \\"Docs: A removal from docs of an obsolete watch face permission\\" into mnc-io-docs am: 9011149e19
am: 7250594f04

Change-Id: I486c9ee933a6ed64d90013cf9964e7106713dde8

8 years agoMerge \"Docs: A removal from docs of an obsolete watch face permission\" into mnc...
Bert McMeen [Wed, 15 Jun 2016 23:03:13 +0000 (23:03 +0000)]
Merge \"Docs: A removal from docs of an obsolete watch face permission\" into mnc-io-docs
am: 9011149e19

Change-Id: If34c51a5c2f8b28612c3526ca40cfce5a9a4a140

8 years agoMerge "Docs: A removal from docs of an obsolete watch face permission" into mnc-io...
Bert McMeen [Wed, 15 Jun 2016 22:57:57 +0000 (22:57 +0000)]
Merge "Docs: A removal from docs of an obsolete watch face permission" into mnc-io-docs

8 years agoMerge "Fixing issue with screen pinning screen not showing for secondary users."...
TreeHugger Robot [Wed, 15 Jun 2016 22:48:53 +0000 (22:48 +0000)]
Merge "Fixing issue with screen pinning screen not showing for secondary users." into nyc-dev

8 years agoMerge "Handle Concurrency issues in Connection" into nyc-dev
Brad Ebinger [Wed, 15 Jun 2016 22:37:44 +0000 (22:37 +0000)]
Merge "Handle Concurrency issues in Connection" into nyc-dev

8 years agoMerge "ResourcesManager: Allow managed addition of library asset paths" into nyc-dev
Adam Lesinski [Wed, 15 Jun 2016 22:35:25 +0000 (22:35 +0000)]
Merge "ResourcesManager: Allow managed addition of library asset paths" into nyc-dev

8 years agoMerge "docs: Added AfW item to DP4 "Behavior Changes" page" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 21:36:02 +0000 (21:36 +0000)]
Merge "docs: Added AfW item to DP4 "Behavior Changes" page" into nyc-dev

8 years agoMerge "Send VR mode notification to AR app on context hub" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 21:09:31 +0000 (21:09 +0000)]
Merge "Send VR mode notification to AR app on context hub" into nyc-dev

8 years agoMerge "added null check in doInBackground and if null, properly intializes variables...
Richard Ho [Wed, 15 Jun 2016 21:06:05 +0000 (21:06 +0000)]
Merge "added null check in doInBackground and if null, properly intializes variables." into nyc-dev

8 years agoFixing issue with screen pinning screen not showing for secondary users.
Winson [Wed, 15 Jun 2016 19:31:03 +0000 (12:31 -0700)]
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

8 years agoHandle Concurrency issues in Connection
Brad Ebinger [Wed, 15 Jun 2016 00:04:01 +0000 (17:04 -0700)]
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

8 years agoCompute AnyMotionDetector angle using atan2. Bug: 29232136 am: db843c913f
Kevin Gabayan [Wed, 15 Jun 2016 20:49:49 +0000 (20:49 +0000)]
Compute AnyMotionDetector angle using atan2. Bug: 29232136 am: db843c913f
am: e46d4fd7ad

Change-Id: I666fc7432cf6140c938423ec4370ca7727996bd6

8 years agoMerge "Fix a naming typo for source_build" into nyc-dev
Tianjie Xu [Wed, 15 Jun 2016 20:46:07 +0000 (20:46 +0000)]
Merge "Fix a naming typo for source_build" into nyc-dev

8 years agoCompute AnyMotionDetector angle using atan2. Bug: 29232136
Kevin Gabayan [Wed, 15 Jun 2016 20:40:34 +0000 (20:40 +0000)]
Compute AnyMotionDetector angle using atan2. Bug: 29232136
am: db843c913f

Change-Id: I1d2af755dd1a06fc2fef464b6ad5bc5e26f11ff6

8 years agoFixes issue with group backgrounds when animating to keyguard
Mady Mellor [Thu, 9 Jun 2016 17:42:42 +0000 (10:42 -0700)]
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

8 years agoFix unresponsive brightness slider after font size change
Adrian Roos [Wed, 15 Jun 2016 20:02:17 +0000 (13:02 -0700)]
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

8 years agoFix a naming typo for source_build
Tianjie Xu [Wed, 15 Jun 2016 19:31:53 +0000 (12:31 -0700)]
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

8 years agoMerge "docs: Updates to DP4 release notes for Android for Work" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 19:21:49 +0000 (19:21 +0000)]
Merge "docs: Updates to DP4 release notes for Android for Work" into nyc-dev

8 years agoResourcesManager: Allow managed addition of library asset paths
Adam Lesinski [Tue, 14 Jun 2016 18:05:23 +0000 (11:05 -0700)]
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

8 years agoSend VR mode notification to AR app on context hub
Brian Duddie [Tue, 14 Jun 2016 22:12:26 +0000 (15:12 -0700)]
Send VR mode notification to AR app on context hub

Bug: 28793778
Change-Id: I7417ba7f696dc61689687bd56b165a81aea1715a

8 years agoMore thorough cleansing of expired users
Amith Yamasani [Mon, 13 Jun 2016 19:09:36 +0000 (12:09 -0700)]
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

8 years agoadded null check in doInBackground and if null, properly intializes
Richard Ho [Mon, 13 Jun 2016 23:54:04 +0000 (16:54 -0700)]
added null check in doInBackground and if null, properly intializes
variables.

Bug:29234237
Change-Id: I1d65b1a232c71efdd11a917769aec5044867a085
(cherry picked from commit 0f0f5414f4860de7f5e98d783b3172a39a42df2f)

8 years agodocs: Added AfW item to DP4 "Behavior Changes" page
Andrew Solovay [Wed, 15 Jun 2016 18:04:59 +0000 (11:04 -0700)]
docs: Added AfW item to DP4 "Behavior Changes" page

See first comment for doc stage location.

Change-Id: I188eb64a2fc854f82e4493213938346cd5847b5b

8 years agoMerge "docs: removing duplicate security config doc" into nyc-dev
Joe Fernandez [Wed, 15 Jun 2016 18:02:50 +0000 (18:02 +0000)]
Merge "docs: removing duplicate security config doc" into nyc-dev

8 years agoMerge "A11y: Fix notification bounds when top notification is scrolled" into nyc-dev
Adrian Roos [Wed, 15 Jun 2016 17:55:51 +0000 (17:55 +0000)]
Merge "A11y: Fix notification bounds when top notification is scrolled" into nyc-dev

8 years agodocs: removing duplicate security config doc
Joe Fernandez [Wed, 15 Jun 2016 17:50:42 +0000 (10:50 -0700)]
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

8 years agoMerge "Clear calling identity before calling mountService" into nyc-dev
Toni Barzic [Wed, 15 Jun 2016 17:45:55 +0000 (17:45 +0000)]
Merge "Clear calling identity before calling mountService" into nyc-dev

8 years agodocs: Updates to DP4 release notes for Android for Work
Andrew Solovay [Wed, 15 Jun 2016 16:54:57 +0000 (09:54 -0700)]
docs: Updates to DP4 release notes for Android for Work

See first comment for doc stage location.

Change-Id: I20ee0f104ebf2eb274e599ede8bfe5c0c59077fe

8 years agoA11y: Fix notification bounds when top notification is scrolled
Adrian Roos [Tue, 14 Jun 2016 22:51:40 +0000 (15:51 -0700)]
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

8 years agoMerge "Fix flashlight dim state" into nyc-dev
Jason Monk [Wed, 15 Jun 2016 16:55:21 +0000 (16:55 +0000)]
Merge "Fix flashlight dim state" into nyc-dev

8 years agoMerge "PopupWindow: Resolve measure specs before passing to WM." into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 16:41:50 +0000 (16:41 +0000)]
Merge "PopupWindow: Resolve measure specs before passing to WM." into nyc-dev

8 years agoMerge "Revert "boost starred people to at least high importance"" into nyc-dev
Chris Wren [Wed, 15 Jun 2016 15:42:23 +0000 (15:42 +0000)]
Merge "Revert "boost starred people to at least high importance"" into nyc-dev

8 years agoMerge "Fix accessibility for autorotate tile." into nyc-dev
Julia Reynolds [Wed, 15 Jun 2016 14:54:40 +0000 (14:54 +0000)]
Merge "Fix accessibility for autorotate tile." into nyc-dev

8 years agoFix flashlight dim state
Jason Monk [Wed, 15 Jun 2016 14:53:03 +0000 (10:53 -0400)]
Fix flashlight dim state

Change-Id: I7875d4a0c3733ac2462713d7618d1b7595ea2075
Fixes: 29330406

8 years agoMerge "Update semantics of on-body Keystore API." into nyc-dev
Shawn Willden [Wed, 15 Jun 2016 14:48:52 +0000 (14:48 +0000)]
Merge "Update semantics of on-body Keystore API." into nyc-dev

8 years agoMerge "Make lid switch edge rather than level triggered." into nyc-dev
Michael Wright [Wed, 15 Jun 2016 14:34:55 +0000 (14:34 +0000)]
Merge "Make lid switch edge rather than level triggered." into nyc-dev

8 years agoAdd permission checking on service calls in LockSettingsService
Ricky Wai [Tue, 31 May 2016 11:05:05 +0000 (12:05 +0100)]
Add permission checking on service calls in LockSettingsService

Bug: 28941207
Change-Id: I113db10bb57f250d44361a0a5144a7d1c990ba4d

8 years agoMerge "Update the DP4 setup instruction for api level 24" into nyc-dev
Scott Main [Wed, 15 Jun 2016 04:36:10 +0000 (04:36 +0000)]
Merge "Update the DP4 setup instruction for api level 24" into nyc-dev

8 years agoUpdate the DP4 setup instruction for api level 24
smain@google.com [Wed, 15 Jun 2016 00:03:36 +0000 (17:03 -0700)]
Update the DP4 setup instruction for api level 24

Change-Id: I8db52d56b1c33e02cffb589a19b1cb1ed20894f4

8 years agoMerge "Revert "docs: Add Videos section to N Preview landing page"" into nyc-dev
Joe Fernandez [Wed, 15 Jun 2016 04:10:14 +0000 (04:10 +0000)]
Merge "Revert "docs: Add Videos section to N Preview landing page"" into nyc-dev

8 years agoRevert "docs: Add Videos section to N Preview landing page"
Joe Fernandez [Wed, 15 Jun 2016 04:06:40 +0000 (04:06 +0000)]
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

8 years agoMerge "docs: Updates for DP4 release" into nyc-dev
Joe Fernandez [Wed, 15 Jun 2016 04:04:41 +0000 (04:04 +0000)]
Merge "docs: Updates for DP4 release" into nyc-dev

8 years agodocs: Updates for DP4 release
Joe Fernandez [Wed, 15 Jun 2016 01:42:11 +0000 (18:42 -0700)]
docs: Updates for DP4 release

- note final SDK is available
- update links to DP4 release notes

Change-Id: Id56b4bc9673f7ad12212d67045dc18fb9c72a6e8

8 years agoMerge "Docs: Updated 'NDK Apps Linking to Platform Libraries'" into nyc-dev
Adarsh Fernando [Wed, 15 Jun 2016 03:43:14 +0000 (03:43 +0000)]
Merge "Docs: Updated 'NDK Apps Linking to Platform Libraries'" into nyc-dev

8 years agoDocs: Updated 'NDK Apps Linking to Platform Libraries'
Adarsh Fernando [Tue, 14 Jun 2016 03:33:27 +0000 (20:33 -0700)]
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

8 years agoMerge "docs: Wording change for Support Lib 24.0 release notes" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 03:24:07 +0000 (03:24 +0000)]
Merge "docs: Wording change for Support Lib 24.0 release notes" into nyc-dev

8 years agoMerge "docs: Updating N preview release notes for DP4" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 03:15:29 +0000 (03:15 +0000)]
Merge "docs: Updating N preview release notes for DP4" into nyc-dev

8 years agoMerge "Docs: Updated localizations for N Developer Preview docs." into nyc-dev
David Friedman [Wed, 15 Jun 2016 01:39:40 +0000 (01:39 +0000)]
Merge "Docs: Updated localizations for N Developer Preview docs." into nyc-dev

8 years agoDocs: Updated localizations for N Developer Preview docs.
David Friedman [Wed, 15 Jun 2016 01:14:49 +0000 (18:14 -0700)]
Docs: Updated localizations for N Developer Preview docs.

Bug: 28912213

Change-Id: I8ff0dd5989863ce4097e2290ff9a10e4cc5789ec

8 years agoMerge "Update CTS shims" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 01:29:41 +0000 (01:29 +0000)]
Merge "Update CTS shims" into nyc-dev

8 years agodocs: Wording change for Support Lib 24.0 release notes
Andrew Solovay [Wed, 15 Jun 2016 01:21:22 +0000 (18:21 -0700)]
docs: Wording change for Support Lib 24.0 release notes

See first comment for doc stage location.

bug: 29215447
Change-Id: I75b1dc88e19e557c9ffee6336bfc342a17d1271f

8 years agodocs: Updating N preview release notes for DP4
Andrew Solovay [Tue, 14 Jun 2016 21:38:32 +0000 (14:38 -0700)]
docs: Updating N preview release notes for DP4

See first comment for doc stage location.

bug: 28982873
Change-Id: I692b361f4a0d2d3627fa8cea19082fc24306f470

8 years agoMerge "Only skip trimming task if the stacks are not null." into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 01:08:57 +0000 (01:08 +0000)]
Merge "Only skip trimming task if the stacks are not null." into nyc-dev

8 years agoMerge "Allow apps with CREATE_USERS permission to call UM.getUserInfo." into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 01:02:32 +0000 (01:02 +0000)]
Merge "Allow apps with CREATE_USERS permission to call UM.getUserInfo." into nyc-dev

8 years agoMerge "Docs: Adds SurfaceView to API Overview page for Android-N DP4." into nyc-dev
David Friedman [Wed, 15 Jun 2016 00:59:52 +0000 (00:59 +0000)]
Merge "Docs: Adds SurfaceView to API Overview page for Android-N DP4." into nyc-dev

8 years agoMerge "Toast timeout: Just strip FLAG_KEEP_SCREEN_ON" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 00:59:19 +0000 (00:59 +0000)]
Merge "Toast timeout: Just strip FLAG_KEEP_SCREEN_ON" into nyc-dev

8 years agoMerge "Unbreak Javadoc on getAttestationChallenge()" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 00:56:45 +0000 (00:56 +0000)]
Merge "Unbreak Javadoc on getAttestationChallenge()" into nyc-dev

8 years agoDocs: Adds SurfaceView to API Overview page for Android-N DP4.
David Friedman [Tue, 14 Jun 2016 22:37:16 +0000 (15:37 -0700)]
Docs: Adds SurfaceView to API Overview page for Android-N DP4.

Change-Id: I29854c82ef788b00c1ebc305bc5faf463c2d8dc8

8 years agoMerge "Add API 24 to reference selector." into nyc-dev
Dirk Dougherty [Wed, 15 Jun 2016 00:20:26 +0000 (00:20 +0000)]
Merge "Add API 24 to reference selector." into nyc-dev

8 years agoMerge "Doc change: add diffs for 23->24." into nyc-dev
Dirk Dougherty [Tue, 14 Jun 2016 23:44:23 +0000 (23:44 +0000)]
Merge "Doc change: add diffs for 23->24." into nyc-dev

8 years agoOnly skip trimming task if the stacks are not null.
Winson [Tue, 14 Jun 2016 22:39:27 +0000 (15:39 -0700)]
Only skip trimming task if the stacks are not null.

Bug: 2912181929359871
Change-Id: I8f8602796e316ed5b36a033e4eaa020650064f74

8 years agoUpdate semantics of on-body Keystore API.
Shawn Willden [Tue, 14 Jun 2016 23:27:10 +0000 (17:27 -0600)]
Update semantics of on-body Keystore API.

Architectural changes from the Wear team have required changes to the
semantics of the Keystore on-body feature. Although no devices will
actually implement this feature until the release of new Wear devices
with the necessary sensors, we need to get the API documentation right
now.

Bug: 29369151
Change-Id: I857e00928f994a1337313123eae7e00534c53c3c

8 years agoAdd API 24 to reference selector.
Dirk Dougherty [Tue, 14 Jun 2016 23:26:28 +0000 (16:26 -0700)]
Add API 24 to reference selector.

Change-Id: I153245ef814e27bf50f9d972ad1aa34fd92e6b8a

8 years agoAllow apps with CREATE_USERS permission to call UM.getUserInfo.
Sudheer Shanka [Tue, 14 Jun 2016 23:22:57 +0000 (16:22 -0700)]
Allow apps with CREATE_USERS permission to call UM.getUserInfo.

Bug: 29355382
Change-Id: Iaf73c453156e3a989660d05124b0c0938619abd7

8 years agoMerge "Make sure task exists in WM before trying to set the resizing state" into...
TreeHugger Robot [Tue, 14 Jun 2016 23:05:49 +0000 (23:05 +0000)]
Merge "Make sure task exists in WM before trying to set the resizing state" into nyc-dev

8 years agoMerge "Fixed another case where the systemUI could crashloop" into nyc-dev
Selim Cinek [Tue, 14 Jun 2016 23:04:30 +0000 (23:04 +0000)]
Merge "Fixed another case where the systemUI could crashloop" into nyc-dev

8 years agoUnbreak Javadoc on getAttestationChallenge()
Shawn Willden [Tue, 14 Jun 2016 22:59:14 +0000 (16:59 -0600)]
Unbreak Javadoc on getAttestationChallenge()

Bug: 28844154
Change-Id: I8402a39f366291cd2b5d646536cd2c2bab8556d2

8 years agoMerge "docs: Noted "Crypto" removal" into nyc-dev
TreeHugger Robot [Tue, 14 Jun 2016 22:54:46 +0000 (22:54 +0000)]
Merge "docs: Noted "Crypto" removal" into nyc-dev

8 years agoToast timeout: Just strip FLAG_KEEP_SCREEN_ON
Robert Carr [Sat, 11 Jun 2016 01:44:24 +0000 (18:44 -0700)]
Toast timeout: Just strip FLAG_KEEP_SCREEN_ON

We added the toast timeout to fix b/21693547. Where the client
leaks non visible toasts which end up keeping the screen on.
Simply removing the toast windows as we were doing previously,
isn't very good though. If the timeout fires when an app could
still use the toast (e.g. due to long pause under debugger),
the app could crash. It's not obvious how (if even possible
without API semantic/guarantee change) to prevent this issue
from the client side. Furthermore, #33 at b/21693457 implies that
we need to respect FLAG_KEEP_SCREEN_ON even for windows that
never submitted a buffer. With time constraints as they are,
the only solution I can think of that solves both without
chance of regression is just stripping FLAG_KEEP_SCREEN_ON when the
timeout fires.

Bug: 29105388
Change-Id: Ic2df897f86acf814ea3d4f911a0532d65af0c19f

8 years agoMerge "Quick workaround for a performance regression in IME APIs." into nyc-dev
Yohei Yukawa [Tue, 14 Jun 2016 22:43:18 +0000 (22:43 +0000)]
Merge "Quick workaround for a performance regression in IME APIs." into nyc-dev

8 years agoMerge "Version PrintRecommendationService." into nyc-dev
TreeHugger Robot [Tue, 14 Jun 2016 22:08:41 +0000 (22:08 +0000)]
Merge "Version PrintRecommendationService." into nyc-dev

8 years agoMerge "Revert "Don't update task to return to type for last task over home"" into...
TreeHugger Robot [Tue, 14 Jun 2016 21:55:53 +0000 (21:55 +0000)]
Merge "Revert "Don't update task to return to type for last task over home"" into nyc-dev

8 years agoMake sure task exists in WM before trying to set the resizing state
Wale Ogunwale [Tue, 14 Jun 2016 20:10:09 +0000 (13:10 -0700)]
Make sure task exists in WM before trying to set the resizing state

It is possible for a task to be removed from the WM and stack in AM
while resizing (e.g. app crashes). In this case we want to make sure
the task exist in WM before we try to set the dock resizing state vs.
depending on the fact that the task is in recent list in AM.

Bug: 29325623
Change-Id: Ib89a7bfe12fe1f2c4c6c56ac9e13b0052ea2b4ec