Commit Graph

255075 Commits

Author SHA1 Message Date
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
f2958d4fa5 Only reload callback on configuration change.
am: 8d0a400119

Change-Id: I1f3fbfd28483ab27a426ef005fa78553e5185036
2016-06-14 20:54:27 +00:00
Winson
18bb19206a Merge \"Fixing several issues with accessibility\" into nyc-dev
am: 987cd20acf

Change-Id: Ifac613535ad66ebdeab76fa76298375b8b6fd658
2016-06-14 20:54:22 +00:00
Julia Reynolds
66e87fec8c Merge \"Revert \"Announce access point changes.\"\" into nyc-dev
am: a64e3a0844

Change-Id: I3f534d166a4296411b09e9d54116cdf17f61f818
2016-06-14 20:54:17 +00:00
Christopher Tate
84df024632 Merge \"Note null alarm worksource names under the alarm\'s package\" into nyc-dev
am: 2f4636a333

Change-Id: I326cbd9ed3494797190fc9ee8bfe22a5cdc844c8
2016-06-14 20:54:09 +00:00
Andrew Solovay
f1a2347d04 Merge \"docs: Updated support library revisions page for 24.0.0\" into nyc-dev
am: eb4e8105d3

Change-Id: I4f53b453d1b72d6051b50e3ec3dd979020ea7c6a
2016-06-14 20:53:58 +00: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
Christopher Tate
c58054f25f Don't trust callers to supply app info to bindBackupAgent()
Get the canonical identity and metadata about the package from the
Package Manager at time of usage rather than rely on the caller to
have gotten things right, even when the caller has the system uid.

Bug 28795098

Change-Id: I215786bc894dedf7ca28e9c80cefabd0e40ca877
2016-06-14 13:28:43 -07:00
Christopher Tate
d85a4ed283 DO NOT MERGE: Don't trust callers to supply app info to bindBackupAgent()
Get the canonical identity and metadata about the package from the
Package Manager at time of usage rather than rely on the caller to
have gotten things right, even when the caller has the system uid.

Bug 28795098

Change-Id: I62710b15bb601fdfedd68e32349168c10725eb45
2016-06-14 13:28:33 -07:00
Daniel Yu
2b5c6303f9 Merge \\\"docs: Clarifying direct boot notification messages\\\" into mnc-io-docs am: 120fd583d5 am: 4c5e5ec6d5
am: 189ef624d1

Change-Id: I8dd09259cd766055b3fff690cb4bbc12d871ec85
2016-06-14 20:07:00 +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 21893824c1.

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
Adrian Roos
3b8d38af16 Merge \"Improve action bar transition\" into nyc-dev
am: 207cbee824

Change-Id: I9fe03bc7409f2631aa8b7a5d1d2a8542d4a1fd3c
2016-06-14 19:56:59 +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
Dan Yu
120fd583d5 Merge "docs: Clarifying direct boot notification messages" into mnc-io-docs 2016-06-14 19:49:12 +00:00
Todd Kennedy
0d0b59c1e1 Update CTS shims
* define a update hash such that com.android.cts.priv.ctsshim can't
  be updated
* create a new APK to verify that <restrict-update> works as expected

Bug: 29311441
Change-Id: I61f3ae3dbd9c79b2dcdfbc30757af0f9a669fce6
2016-06-14 12:46:34 -07:00
Adrian Roos
207cbee824 Merge "Improve action bar transition" into nyc-dev 2016-06-14 19:42:42 +00:00
Adrian Roos
2c50962538 Merge \"Fix jittery action bar during transitions\" into nyc-dev
am: 8507d98ad1

Change-Id: I398e98789bd7ebac32289a0a84ba9ab3393fb70e
2016-06-14 19:42:03 +00:00
Adrian Roos
06976edc0b Merge \"Make RemoteView margins density-change safe\" into nyc-dev
am: 26e864c398

Change-Id: I9fb7b321751443c750ee8acb0190a79dd8669941
2016-06-14 19:41:59 +00:00
Adrian Roos
8507d98ad1 Merge "Fix jittery action bar during transitions" into nyc-dev 2016-06-14 19:31:25 +00:00
Adrian Roos
26e864c398 Merge "Make RemoteView margins density-change safe" into nyc-dev 2016-06-14 19:31:14 +00:00
Shreyas Basarge
24d50f8f0a Merge \"Update SyncManager min period to match JobScheduler\" into nyc-dev
am: 166b0abf13

Change-Id: I8cfeb60e96a58d6778488c1b4c3ce9565a11bf88
2016-06-14 19:04:02 +00:00
Wei Jia
6a58862af8 Merge \"MediaPlayer: fix java doc for setSurface and setDisplay.\" into nyc-dev
am: c6f39a0c36

Change-Id: I1c6dea8e60e96804c9d7564b367c21b146728072
2016-06-14 18:58:55 +00:00
Shreyas Basarge
166b0abf13 Merge "Update SyncManager min period to match JobScheduler" into nyc-dev 2016-06-14 18:54:44 +00:00
Wei Jia
c6f39a0c36 Merge "MediaPlayer: fix java doc for setSurface and setDisplay." into nyc-dev 2016-06-14 18:50:02 +00:00
Andrew Solovay
3b023c5882 Merge \"docs: Updating N download pages for DP4\" into nyc-dev
am: f2d5d876b9

Change-Id: I30d07c84d858d3ca262320525082c7cf8a5e1c3a
2016-06-14 18:32:54 +00:00
Makoto Onuki
f7c91b8838 Merge \"Don\'t take the DPMS lock in DPMI.createPackageSuspendedDialogIntent\" into nyc-dev
am: 5e94a16b74

Change-Id: I61c3582d8b51124b33b39249f20bdfe71e764a69
2016-06-14 18:26:00 +00:00
TreeHugger Robot
f2d5d876b9 Merge "docs: Updating N download pages for DP4" into nyc-dev 2016-06-14 18:20:49 +00:00
Hemal Patel
6d6429eff0 Merge \"Docs: Changed a command in Keyboard Shortcuts\" into nyc-dev
am: d0067507be

Change-Id: Id30ee255e889c18cba0ab43cd9d0759e35dd53b7
2016-06-14 18:19:54 +00:00
Makoto Onuki
5e94a16b74 Merge "Don't take the DPMS lock in DPMI.createPackageSuspendedDialogIntent" into nyc-dev 2016-06-14 18:17:01 +00:00
Hemal Patel
d0067507be Merge "Docs: Changed a command in Keyboard Shortcuts" into nyc-dev 2016-06-14 18:11:10 +00:00
Wei Jia
77e351f81e MediaPlayer: fix java doc for setSurface and setDisplay.
Bug: 29149415
Change-Id: I281b6328c068255387ca01a987ff136c3be5e25b
2016-06-14 10:56:57 -07:00
Aurimas Liutikas
4239033f66 Merge \\\"Fix broken {@docRoot} links\\\" into mnc-io-docs am: a0fa50e40b am: 423fe7db6a
am: 68d5e4b9ff

Change-Id: I19ac9f6a9006030e2aeba2a1b48c2781d263ad01
2016-06-14 17:44:17 +00:00
Aurimas Liutikas
68d5e4b9ff Merge \\"Fix broken {@docRoot} links\\" into mnc-io-docs am: a0fa50e40b
am: 423fe7db6a

Change-Id: I192297bc254d199e25249952591b3b2a1fc2b617
2016-06-14 17:37:38 +00:00
Julia Reynolds
8897a5044b Revert "Announce access point changes."
Fixes: 29151018

This reverts commit 7ed62eb7a2.

Change-Id: If40669b21cc2a2db7e2bb27c7c981d889cb094ed
2016-06-14 17:29:54 +00:00
Aurimas Liutikas
423fe7db6a Merge \"Fix broken {@docRoot} links\" into mnc-io-docs
am: a0fa50e40b

Change-Id: I7dd53f31f44262e09624d23d820723893aaba5c7
2016-06-14 17:27:57 +00:00
Christopher Tate
0029f57123 Note null alarm worksource names under the alarm's package
And log a nastygram because it implies the app is misbehaving.

Bug 29333122

Change-Id: Ia683304b8a9eafb234df81e874ee3f0636c4e56a
2016-06-14 10:16:28 -07:00
qingxi
bd012f68ac Merge \"Add a key for setting carrier\'s CDMA roaming mode\" into nyc-dev
am: 130db7715a

Change-Id: I130ba1362d755e1859d5c22311867008d0626890
2016-06-14 17:15:41 +00:00
Aurimas Liutikas
a0fa50e40b Merge "Fix broken {@docRoot} links" into mnc-io-docs 2016-06-14 17:14:59 +00:00
Qingxi Li
130db7715a Merge "Add a key for setting carrier's CDMA roaming mode" into nyc-dev 2016-06-14 17:02:53 +00:00