244908 Commits

Author SHA1 Message Date
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
Dirk Dougherty
398d088871 Merge "Add API 24 to reference selector." into nyc-dev 2016-06-15 00:20:27 +00:00
Dirk Dougherty
70e358b017 Merge "Doc change: add diffs for 23->24." into nyc-dev 2016-06-14 23:44:26 +00:00
Winson
e5266730eb Only skip trimming task if the stacks are not null.
Bug: 29121819, 29359871
Change-Id: I8f8602796e316ed5b36a033e4eaa020650064f74
2016-06-14 23:35:02 +00:00
Shawn Willden
26e8d553e5 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
2016-06-14 17:29:54 -06:00
Dirk Dougherty
5f60f7cde6 Add API 24 to reference selector.
Change-Id: I153245ef814e27bf50f9d972ad1aa34fd92e6b8a
2016-06-14 16:27:32 -07:00
Sudheer Shanka
accaa08c98 Allow apps with CREATE_USERS permission to call UM.getUserInfo.
Bug: 29355382
Change-Id: Iaf73c453156e3a989660d05124b0c0938619abd7
2016-06-14 16:22:57 -07:00
TreeHugger Robot
39647560d1 Merge "Make sure task exists in WM before trying to set the resizing state" into nyc-dev 2016-06-14 23:05:50 +00:00
Selim Cinek
02ab2f52bf Merge "Fixed another case where the systemUI could crashloop" into nyc-dev 2016-06-14 23:04:31 +00:00
Shawn Willden
5e018c04a6 Unbreak Javadoc on getAttestationChallenge()
Bug: 28844154
Change-Id: I8402a39f366291cd2b5d646536cd2c2bab8556d2
2016-06-14 17:00:25 -06:00
TreeHugger Robot
8d7b4a4945 Merge "docs: Noted "Crypto" removal" into nyc-dev 2016-06-14 22:54:47 +00:00
Robert Carr
291aea2202 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
2016-06-14 15:44:04 -07:00
Yohei Yukawa
6fe4865e85 Merge "Quick workaround for a performance regression in IME APIs." into nyc-dev 2016-06-14 22:43:19 +00:00
TreeHugger Robot
8e3a16ad91 Merge "Version PrintRecommendationService." into nyc-dev 2016-06-14 22:08:42 +00:00
TreeHugger Robot
5c176ff133 Merge "Revert "Don't update task to return to type for last task over home"" into nyc-dev 2016-06-14 21:55:54 +00:00
Wale Ogunwale
d6aee18cab 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
2016-06-14 14:39:05 -07:00
Hemal Patel
37663db137 Docs: Added overview of Custom Pointer API
Bug: 28241984
Change-Id: Iffa2a0cc46f71377b79f4ac792d2f469353cc395
2016-06-14 14:26:15 -07:00
Yohei Yukawa
ccb024aa2b 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
2016-06-14 21:01:41 +00:00
Bert McMeen
b65a30ebde Docs: A removal from docs of an obsolete watch face permission
Bug: 24738486
Change-Id: I522021bc2363790695929fee504bc7b843bc61dc
2016-06-14 14:00:20 -07:00
Julia Reynolds
68221f5e05 Fix accessibility for autorotate tile.
The tile should be 'on' when rotation is not locked.

Change-Id: I084be4ffb759bf20efe80358b5d103fec8892f76
Fixes: 29102740
2016-06-14 20:50:00 +00:00
Andrew Solovay
42c1d98950 docs: Noted "Crypto" removal
See first comment for doc stage location.

bug: 28972616
Change-Id: I891af3d2e0b84f2daa207221e477a09efafc9d18
2016-06-14 13:47:24 -07:00
Julia Reynolds
8d0a400119 Only reload callback on configuration change.
So it'll get zen changes when the volume dialog is not showing.

Change-Id: I0d4220d0a000d74c6994b07b2d5b8562a6a52585
Fixes: 29355577
2016-06-14 20:45:13 +00:00
Winson Chung
987cd20acf Merge "Fixing several issues with accessibility" into nyc-dev 2016-06-14 20:42:23 +00:00
Julia Reynolds
a64e3a0844 Merge "Revert "Announce access point changes."" into nyc-dev 2016-06-14 20:42:15 +00:00
Chris Tate
2f4636a333 Merge "Note null alarm worksource names under the alarm's package" into nyc-dev 2016-06-14 20:37:07 +00:00
TreeHugger Robot
eb4e8105d3 Merge "docs: Updated support library revisions page for 24.0.0" into nyc-dev 2016-06-14 20:36:30 +00:00
Philip P. Moltmann
160b043e99 Version PrintRecommendationService.
Fixes: 28908572
Change-Id: I8df106df887cacc8db37f781ade97678960cee04
2016-06-14 13:06:53 -07:00
Andrii Kulian
369be64bf3 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
2016-06-14 20:04:29 +00:00
Selim Cinek
279fa867e5 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
2016-06-14 13:02:56 -07:00
Dan Yu
189ef624d1 Merge \\"docs: Clarifying direct boot notification messages\\" into mnc-io-docs am: 120fd583d5
am: 4c5e5ec6d5

Change-Id: I2bfe82b79c928d10b7725315d42b00a1994bbd52
2016-06-14 19:59:36 +00:00
Daniel Yu
4c5e5ec6d5 Merge \"docs: Clarifying direct boot notification messages\" into mnc-io-docs
am: 120fd583d5

Change-Id: I076e69e0a0497ed461dc576b72419152e89bb010
2016-06-14 19:53:35 +00:00