OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge \"docs: Updates to DP4 release notes for Android for Work\" into nyc-dev
Andrew Solovay [Wed, 15 Jun 2016 19:26:37 +0000 (19:26 +0000)]
Merge \"docs: Updates to DP4 release notes for Android for Work\" into nyc-dev
am: 215b85a738

Change-Id: Ib527d2b3aa5bfa12b978bd80f89434878ba0c4a1

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 agoMerge \"docs: removing duplicate security config doc\" into nyc-dev
Joe Fernandez [Wed, 15 Jun 2016 18:09:57 +0000 (18:09 +0000)]
Merge \"docs: removing duplicate security config doc\" into nyc-dev
am: d5f7bf8032

Change-Id: Ic6be2f3422eec325e31997ba75732074017443c4

8 years agoMerge \"A11y: Fix notification bounds when top notification is scrolled\" into nyc-dev
Adrian Roos [Wed, 15 Jun 2016 18:06:23 +0000 (18:06 +0000)]
Merge \"A11y: Fix notification bounds when top notification is scrolled\" into nyc-dev
am: 2e0aadf256

Change-Id: I73affa5f95d853c34be508da10092e94c7f24e72

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 agoMerge \"Clear calling identity before calling mountService\" into nyc-dev
Toni Barzic [Wed, 15 Jun 2016 17:53:10 +0000 (17:53 +0000)]
Merge \"Clear calling identity before calling mountService\" into nyc-dev
am: b2a45c00f6

Change-Id: I4f5856f2ea1d820ef6f67988222f2301a57a7585

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 17:03:45 +0000 (17:03 +0000)]
Merge \"Fix flashlight dim state\" into nyc-dev
am: 817c4ca6d4

Change-Id: I190cc69db49086b4acbf6e99c359ffa93b1ef956

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
Robert Carr [Wed, 15 Jun 2016 16:47:54 +0000 (16:47 +0000)]
Merge \"PopupWindow: Resolve measure specs before passing to WM.\" into nyc-dev
am: 4a284be41d

Change-Id: I356e7202bd8939eb5543190f17893abd43c0a0a6

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:52:14 +0000 (15:52 +0000)]
Merge \"Revert \"boost starred people to at least high importance\"\" into nyc-dev
am: f156ab3f3a

Change-Id: I66e7fb0d71ce8e52f2ec08dfdf07f14596a9e385

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 15:02:27 +0000 (15:02 +0000)]
Merge \"Fix accessibility for autorotate tile.\" into nyc-dev
am: 7f9e4d13c0

Change-Id: Ifb1575b9b50696242c46b690e061fcd350660ed7

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

Change-Id: Ic9a083b5f7c458c2aa7e218168c461da7fc154d0

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:46:47 +0000 (14:46 +0000)]
Merge \"Make lid switch edge rather than level triggered.\" into nyc-dev
am: e85da2bc2e

Change-Id: I20b3665d2ea3323991166936d47d85399d679aa4

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 agoMerge \"Update the DP4 setup instruction for api level 24\" into nyc-dev
smain@google.com [Wed, 15 Jun 2016 04:43:08 +0000 (04:43 +0000)]
Merge \"Update the DP4 setup instruction for api level 24\" into nyc-dev
am: 627bca6e80

Change-Id: Id96cdca298e44f0cfee347c1be82cd22222d24ba

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:15:54 +0000 (04:15 +0000)]
Merge \"Revert \"docs: Add Videos section to N Preview landing page\"\" into nyc-dev
am: d320c6315a

Change-Id: I04fe2061fcddd36ffa4c38504780c31ae29e9198

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

Change-Id: I064f37139fc3e9638786a03b5af5287b94f2b9ed

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:48:16 +0000 (03:48 +0000)]
Merge \"Docs: Updated \'NDK Apps Linking to Platform Libraries\'\" into nyc-dev
am: ab62c65da9

Change-Id: I0033c391baf1bba245d9e970bad93970f4272703

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 agoMerge \"docs: Wording change for Support Lib 24.0 release notes\" into nyc-dev
Andrew Solovay [Wed, 15 Jun 2016 03:33:52 +0000 (03:33 +0000)]
Merge \"docs: Wording change for Support Lib 24.0 release notes\" into nyc-dev
am: 3c5d725c86

Change-Id: I0e89b944bdd259b06fcafbb0e1121119e208cea0

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: Updating N preview release notes for DP4\" into nyc-dev
Andrew Solovay [Wed, 15 Jun 2016 03:26:41 +0000 (03:26 +0000)]
Merge \"docs: Updating N preview release notes for DP4\" into nyc-dev
am: 64df8c2d63

Change-Id: I1df2178babe7b83c5de11dc69b5122315ed53e20

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:46:04 +0000 (01:46 +0000)]
Merge \"Docs: Updated localizations for N Developer Preview docs.\" into nyc-dev
am: 07af76b039

Change-Id: I19c01ced2d1ac4463c1e23462aebfbf761cf1bd7

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
Todd Kennedy [Wed, 15 Jun 2016 01:35:09 +0000 (01:35 +0000)]
Merge \"Update CTS shims\" into nyc-dev
am: 6f140a249a

Change-Id: I46a95ea5eb9199c63e8f0a62ddf7c6eac149147d

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 agoMerge \"Only skip trimming task if the stacks are not null.\" into nyc-dev
Winson [Wed, 15 Jun 2016 01:16:02 +0000 (01:16 +0000)]
Merge \"Only skip trimming task if the stacks are not null.\" into nyc-dev
am: 6ba96df815

Change-Id: I58b230bb33330fbb130094cc937c4aeaf5976baa

8 years agoMerge \"Allow apps with CREATE_USERS permission to call UM.getUserInfo.\" into nyc-dev
Sudheer Shanka [Wed, 15 Jun 2016 01:12:11 +0000 (01:12 +0000)]
Merge \"Allow apps with CREATE_USERS permission to call UM.getUserInfo.\" into nyc-dev
am: 159c13801b

Change-Id: Ic4d94327a21f2a8b8ae175e057039eafb9c2d698

8 years agoMerge \"Docs: Adds SurfaceView to API Overview page for Android-N DP4.\" into nyc-dev
David Friedman [Wed, 15 Jun 2016 01:12:07 +0000 (01:12 +0000)]
Merge \"Docs: Adds SurfaceView to API Overview page for Android-N DP4.\" into nyc-dev
am: ea1f3cb5c3

Change-Id: Ia61b3fd592e19c7fb021b0f22e3eeb8bbc6b5b4f

8 years agoMerge \"Toast timeout: Just strip FLAG_KEEP_SCREEN_ON\" into nyc-dev
Robert Carr [Wed, 15 Jun 2016 01:12:03 +0000 (01:12 +0000)]
Merge \"Toast timeout: Just strip FLAG_KEEP_SCREEN_ON\" into nyc-dev
am: 3e5df9fb50

Change-Id: I97742b1d180ff1c38a1aa7ea0a13c981a38c1df3

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 \"Unbreak Javadoc on getAttestationChallenge()\" into nyc-dev
Shawn Willden [Wed, 15 Jun 2016 01:05:26 +0000 (01:05 +0000)]
Merge \"Unbreak Javadoc on getAttestationChallenge()\" into nyc-dev
am: 2c2f8acdab

Change-Id: I89b9c88159f99681049ce401f22ca9ea8578b27c

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:28:03 +0000 (00:28 +0000)]
Merge \"Add API 24 to reference selector.\" into nyc-dev
am: 398d088871

Change-Id: I51a61188186026eac5c12f3b0d0ec52eebf60f38

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:52:03 +0000 (23:52 +0000)]
Merge \"Doc change: add diffs for 23->24.\" into nyc-dev
am: 70e358b017

Change-Id: I54efbc44f2cea31f575c89a3543f571540653a15

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...
Wale Ogunwale [Tue, 14 Jun 2016 23:11:29 +0000 (23:11 +0000)]
Merge \"Make sure task exists in WM before trying to set the resizing state\" into nyc-dev
am: 39647560d1

Change-Id: I077e2d9432cdcb4f4e796df158c9fdb701e2a5f6

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

Change-Id: If26ae07e20433213334233bea1231440fae817e1

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 agoMerge \"docs: Noted \"Crypto\" removal\" into nyc-dev
Andrew Solovay [Tue, 14 Jun 2016 23:02:30 +0000 (23:02 +0000)]
Merge \"docs: Noted \"Crypto\" removal\" into nyc-dev
am: 8d7b4a4945

Change-Id: I52083f2f0e7ebf90fe01b25f5f081e5477f1da91

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 agoMerge \"Quick workaround for a performance regression in IME APIs.\" into nyc-dev
Yohei Yukawa [Tue, 14 Jun 2016 22:47:28 +0000 (22:47 +0000)]
Merge \"Quick workaround for a performance regression in IME APIs.\" into nyc-dev
am: 6fe4865e85

Change-Id: Id039d1dd681483c1d86349ee7e765b2f1f4fa95f

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
Philip P. Moltmann [Tue, 14 Jun 2016 22:19:45 +0000 (22:19 +0000)]
Merge \"Version PrintRecommendationService.\" into nyc-dev
am: 8e3a16ad91

Change-Id: Ic4d75b1549d314e46db032f3e3506e2cd4776308

8 years agoMerge \"Revert \"Don\'t update task to return to type for last task over home\"\...
Andrii Kulian [Tue, 14 Jun 2016 22:08:50 +0000 (22:08 +0000)]
Merge \"Revert \"Don\'t update task to return to type for last task over home\"\" into nyc-dev
am: 5c176ff133

Change-Id: I7a901be3116ee6ee8005ee7d6e41c1781ad02718

8 years agoDocs: Added overview of Custom Pointer API
Hemal Patel [Tue, 14 Jun 2016 22:08:46 +0000 (22:08 +0000)]
Docs: Added overview of Custom Pointer API
am: 37663db137

Change-Id: I8e1824c392fda188fa276a5d2da7ec990a17030b

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

8 years agoDocs: Added overview of Custom Pointer API
Hemal Patel [Mon, 13 Jun 2016 21:37:36 +0000 (14:37 -0700)]
Docs: Added overview of Custom Pointer API

Bug: 28241984
Change-Id: Iffa2a0cc46f71377b79f4ac792d2f469353cc395

8 years agoQuick workaround for a performance regression in IME APIs.
Yohei Yukawa [Tue, 14 Jun 2016 05:16:52 +0000 (22:16 -0700)]
Quick workaround for a performance regression in IME APIs.

It turns out that the performance of
InputMethodManager#getCurrentInputMethodSubtype() is regressed from ~1ms
to ~20ms when
 - Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE == -1 and
 - The active IME supports many subtypes (~100)
because we try to find a fallback subtype based on the system locales
every time when IMM#getCurrentInputMethodSubtype() is called.

This could be contributing UI janks because spell checker clients
running in the UI thread indirectly depend on that method.

Fortunatelly the critical path is in
InputMethodUtils#getImplicitlyApplicableSubtypesLockedImpl(), which is
basically a state-less method. We can easily and safely cache its
result by using LocaleList and InputMethod as cache keys.

With this CL the performance basically recovers to the Android M level.

Bug: 28889203
Change-Id: I5ed16c7f14cc18052854f4fd6c9bae8550c332ee

8 years agoOnly reload callback on configuration change.
Julia Reynolds [Tue, 14 Jun 2016 20:54:27 +0000 (20:54 +0000)]
Only reload callback on configuration change.
am: 8d0a400119

Change-Id: I1f3fbfd28483ab27a426ef005fa78553e5185036

8 years agoMerge \"Fixing several issues with accessibility\" into nyc-dev
Winson [Tue, 14 Jun 2016 20:54:22 +0000 (20:54 +0000)]
Merge \"Fixing several issues with accessibility\" into nyc-dev
am: 987cd20acf

Change-Id: Ifac613535ad66ebdeab76fa76298375b8b6fd658

8 years agoMerge \"Revert \"Announce access point changes.\"\" into nyc-dev
Julia Reynolds [Tue, 14 Jun 2016 20:54:17 +0000 (20:54 +0000)]
Merge \"Revert \"Announce access point changes.\"\" into nyc-dev
am: a64e3a0844

Change-Id: I3f534d166a4296411b09e9d54116cdf17f61f818

8 years agoMerge \"Note null alarm worksource names under the alarm\'s package\" into nyc-dev
Christopher Tate [Tue, 14 Jun 2016 20:54:09 +0000 (20:54 +0000)]
Merge \"Note null alarm worksource names under the alarm\'s package\" into nyc-dev
am: 2f4636a333

Change-Id: I326cbd9ed3494797190fc9ee8bfe22a5cdc844c8

8 years agoMerge \"docs: Updated support library revisions page for 24.0.0\" into nyc-dev
Andrew Solovay [Tue, 14 Jun 2016 20:53:58 +0000 (20:53 +0000)]
Merge \"docs: Updated support library revisions page for 24.0.0\" into nyc-dev
am: eb4e8105d3

Change-Id: I4f53b453d1b72d6051b50e3ec3dd979020ea7c6a

8 years agoFix accessibility for autorotate tile.
Julia Reynolds [Tue, 14 Jun 2016 20:47:53 +0000 (16:47 -0400)]
Fix accessibility for autorotate tile.

The tile should be 'on' when rotation is not locked.

Change-Id: I084be4ffb759bf20efe80358b5d103fec8892f76
Fixes: 29102740

8 years agodocs: Noted "Crypto" removal
Andrew Solovay [Fri, 10 Jun 2016 23:34:27 +0000 (16:34 -0700)]
docs: Noted "Crypto" removal

See first comment for doc stage location.

bug: 28972616
Change-Id: I891af3d2e0b84f2daa207221e477a09efafc9d18

8 years agoOnly reload callback on configuration change.
Julia Reynolds [Tue, 14 Jun 2016 19:24:39 +0000 (15:24 -0400)]
Only reload callback on configuration change.

So it'll get zen changes when the volume dialog is not showing.

Change-Id: I0d4220d0a000d74c6994b07b2d5b8562a6a52585
Fixes: 29355577

8 years agoMerge "Fixing several issues with accessibility" into nyc-dev
Winson Chung [Tue, 14 Jun 2016 20:42:21 +0000 (20:42 +0000)]
Merge "Fixing several issues with accessibility" into nyc-dev

8 years agoMerge "Revert "Announce access point changes."" into nyc-dev
Julia Reynolds [Tue, 14 Jun 2016 20:42:14 +0000 (20:42 +0000)]
Merge "Revert "Announce access point changes."" into nyc-dev

8 years agoMerge "Note null alarm worksource names under the alarm's package" into nyc-dev
Chris Tate [Tue, 14 Jun 2016 20:37:06 +0000 (20:37 +0000)]
Merge "Note null alarm worksource names under the alarm's package" into nyc-dev

8 years agoMerge "docs: Updated support library revisions page for 24.0.0" into nyc-dev
TreeHugger Robot [Tue, 14 Jun 2016 20:36:28 +0000 (20:36 +0000)]
Merge "docs: Updated support library revisions page for 24.0.0" into nyc-dev

8 years agoMerge \\\"docs: Clarifying direct boot notification messages\\\" into mnc-io-docs...
Daniel Yu [Tue, 14 Jun 2016 20:07:00 +0000 (20:07 +0000)]
Merge \\\"docs: Clarifying direct boot notification messages\\\" into mnc-io-docs am: 120fd583d5 am: 4c5e5ec6d5
am: 189ef624d1

Change-Id: I8dd09259cd766055b3fff690cb4bbc12d871ec85

8 years agoVersion PrintRecommendationService.
Philip P. Moltmann [Tue, 14 Jun 2016 20:06:49 +0000 (13:06 -0700)]
Version PrintRecommendationService.

Fixes: 28908572
Change-Id: I8df106df887cacc8db37f781ade97678960cee04

8 years agoRevert "Don't update task to return to type for last task over home"
Andrii Kulian [Tue, 14 Jun 2016 19:57:32 +0000 (19:57 +0000)]
Revert "Don't update task to return to type for last task over home"

This reverts commit 21893824c1d15a1a46cb75725ad951620569c3c6.

Original commit revealed issue b/29342752 when launch logic was applied
to incorrect stack while moving to PiP mode.

Bug: 29342752
Bug: 29237751
Change-Id: I88d75399eb4b9daf4de87a9a560eb0df0b515173

8 years agoFixed another case where the systemUI could crashloop
Selim Cinek [Tue, 14 Jun 2016 17:57:25 +0000 (10:57 -0700)]
Fixed another case where the systemUI could crashloop

Because it's not guaranteed to use any builder at all,
there is another case where the SmallIcon could remain null.
We are now checking this lazily instead of ahead of time.

Change-Id: I7a0feff6911b2bce6707427259d3423131a26e32
Fixes: 29255365