OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fix BiometricPrompt for smaller screens"
Kevin Chyn [Tue, 19 Mar 2019 00:52:54 +0000 (00:52 +0000)]
Merge "Fix BiometricPrompt for smaller screens"

5 years agoMerge "Remember to start pending client if enumerate takes too long"
Kevin Chyn [Tue, 19 Mar 2019 00:52:33 +0000 (00:52 +0000)]
Merge "Remember to start pending client if enumerate takes too long"

5 years agoMerge "Ensure new dialogs do not cause orphaned windows"
TreeHugger Robot [Tue, 19 Mar 2019 00:43:50 +0000 (00:43 +0000)]
Merge "Ensure new dialogs do not cause orphaned windows"

5 years agoMerge "Set DEBUG to false for statsd shell subscriber"
Yi Yang [Tue, 19 Mar 2019 00:33:12 +0000 (00:33 +0000)]
Merge "Set DEBUG to false for statsd shell subscriber"

5 years agoMerge "Revert API removal"
Soonil Nagarkar [Tue, 19 Mar 2019 00:23:03 +0000 (00:23 +0000)]
Merge "Revert API removal"

5 years agoMerge "Tracing for isolated storage changes."
Jeff Sharkey [Tue, 19 Mar 2019 00:23:01 +0000 (00:23 +0000)]
Merge "Tracing for isolated storage changes."

5 years agoMerge "Zygote: Load system server code early"
Andreas Gampe [Tue, 19 Mar 2019 00:09:44 +0000 (00:09 +0000)]
Merge "Zygote: Load system server code early"

5 years agoMerge "Revert "Allow transitioning through lifecycle when finished""
TreeHugger Robot [Tue, 19 Mar 2019 00:07:25 +0000 (00:07 +0000)]
Merge "Revert "Allow transitioning through lifecycle when finished""

5 years ago[automerger skipped] Merge "Add 5G icon to System UI" am: 01b016eef8 am: 988978b706
Pengquan Meng [Mon, 18 Mar 2019 23:46:47 +0000 (16:46 -0700)]
[automerger skipped] Merge "Add 5G icon to System UI" am: 01b016eef8 am: 988978b706
am: ed23e3397c -s ours
am skip reason: change_id I6fba0f9c42fff3cb1398895b122f18f13de239f7 with SHA1 a62d32b656 is in history

Change-Id: I7440f12c447c6985a6b5336572bcb1de88820396

5 years agoMerge "Camera: Update "RecommendedStreamConfigurationMap" annotations"
TreeHugger Robot [Mon, 18 Mar 2019 23:42:53 +0000 (23:42 +0000)]
Merge "Camera: Update "RecommendedStreamConfigurationMap" annotations"

5 years agoMerge "Default carrier config key in carrier config manager"
Shuo Qian [Mon, 18 Mar 2019 23:37:39 +0000 (23:37 +0000)]
Merge "Default carrier config key in carrier config manager"

5 years agoMerge changes Ie88d8b55,I33e44976
Philip Quinn [Mon, 18 Mar 2019 23:35:57 +0000 (23:35 +0000)]
Merge changes Ie88d8b55,I33e44976

* changes:
  Use a subclass of GestureDetector in SystemGesturesPointerEventListener.
  Write touch classification metrics.

5 years agoMerge "Merge "Set sdk_version 28 in aidl_interface" am: 353e36fe69 am: 43942ab500...
Android Build Merger (Role) [Mon, 18 Mar 2019 23:30:35 +0000 (23:30 +0000)]
Merge "Merge "Set sdk_version 28 in aidl_interface" am: 353e36fe69 am: 43942ab500 am: 35b92a4598"

5 years agoMerge "Set sdk_version 28 in aidl_interface" am: 353e36fe69 am: 43942ab500
Jeongik Cha [Mon, 18 Mar 2019 23:28:45 +0000 (16:28 -0700)]
Merge "Set sdk_version 28 in aidl_interface" am: 353e36fe69 am: 43942ab500
am: 35b92a4598

Change-Id: I4c5e8a59c05127224506825c169d05d286571712

5 years agoMerge "Prevent, again, custom clock view from being visible on Home screen."
TreeHugger Robot [Mon, 18 Mar 2019 23:26:13 +0000 (23:26 +0000)]
Merge "Prevent, again, custom clock view from being visible on Home screen."

5 years agoMerge "Add 5G icon to System UI" am: 01b016eef8
Pengquan Meng [Mon, 18 Mar 2019 23:21:24 +0000 (16:21 -0700)]
Merge "Add 5G icon to System UI" am: 01b016eef8
am: 988978b706

Change-Id: Ib4c18eda89eb4c566d2a6912b549734ba3bcd94c

5 years agoMerge "Set sdk_version 28 in aidl_interface" am: 353e36fe69
Jeongik Cha [Mon, 18 Mar 2019 23:10:47 +0000 (16:10 -0700)]
Merge "Set sdk_version 28 in aidl_interface" am: 353e36fe69
am: 43942ab500

Change-Id: Id118c7c7729d320a3ab7ffa76def2840c0a06c08

5 years agoMerge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated." am: e2a48...
Tyler Gunn [Mon, 18 Mar 2019 23:06:46 +0000 (16:06 -0700)]
Merge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated." am: e2a486a7b2 am: 55c3b4a993
am: 0e79151f2d

Change-Id: Ia4380a4d25dd88243f123eb48b36bd3d94cfbb32

5 years agoMerge "Add 5G icon to System UI"
Pengquan Meng [Mon, 18 Mar 2019 23:00:11 +0000 (16:00 -0700)]
Merge "Add 5G icon to System UI"
am: 01b016eef8

Change-Id: Iba425b2c685431bbbab797441b78f0b357a1ab00

5 years agoMerge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated." am: e2a48...
Tyler Gunn [Mon, 18 Mar 2019 22:58:21 +0000 (15:58 -0700)]
Merge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated." am: e2a486a7b2
am: 55c3b4a993

Change-Id: Icb80c34bf81ec882d7da7b47afc7f7853059846e

5 years agoMerge "Set sdk_version 28 in aidl_interface"
Jeongik Cha [Mon, 18 Mar 2019 22:51:30 +0000 (15:51 -0700)]
Merge "Set sdk_version 28 in aidl_interface"
am: 353e36fe69

Change-Id: Ie532df169167d94df55c3a496349b96db6abbd52

5 years agoMerge "MTP: remove usages of device identifiers with virtual serial number"
TreeHugger Robot [Mon, 18 Mar 2019 22:47:55 +0000 (22:47 +0000)]
Merge "MTP: remove usages of device identifiers with virtual serial number"

5 years agoMerge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."
Tyler Gunn [Mon, 18 Mar 2019 22:46:56 +0000 (15:46 -0700)]
Merge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."
am: e2a486a7b2

Change-Id: Ib0d700c29e28166081b81cbdaeb8ad278d7ca21c

5 years agoMerge "Fix app upgrade related tests"
Muhammad Qureshi [Mon, 18 Mar 2019 22:45:47 +0000 (22:45 +0000)]
Merge "Fix app upgrade related tests"

5 years agoMerge "Add 5G icon to System UI"
Pengquan Meng [Mon, 18 Mar 2019 22:39:04 +0000 (22:39 +0000)]
Merge "Add 5G icon to System UI"

5 years agoMerge "[Wi-Fi] Do not delete certs when forgetting network"
Hai Shalom [Mon, 18 Mar 2019 22:38:48 +0000 (22:38 +0000)]
Merge "[Wi-Fi] Do not delete certs when forgetting network"

5 years agoMerge "Set sdk_version 28 in aidl_interface"
Jeongik Cha [Mon, 18 Mar 2019 22:29:10 +0000 (22:29 +0000)]
Merge "Set sdk_version 28 in aidl_interface"

5 years agoMerge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."
Tyler Gunn [Mon, 18 Mar 2019 22:18:52 +0000 (22:18 +0000)]
Merge "Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated."

5 years agoMerge "Camera: Add low latency suggested use case"
TreeHugger Robot [Mon, 18 Mar 2019 22:02:53 +0000 (22:02 +0000)]
Merge "Camera: Add low latency suggested use case"

5 years agoMerge "Initialize GlobalActionsPanelPlugin before GlobalActions is launched"
TreeHugger Robot [Mon, 18 Mar 2019 22:02:40 +0000 (22:02 +0000)]
Merge "Initialize GlobalActionsPanelPlugin before GlobalActions is launched"

5 years agoSet DEBUG to false for statsd shell subscriber
Yi Yang [Mon, 18 Mar 2019 21:53:32 +0000 (14:53 -0700)]
Set DEBUG to false for statsd shell subscriber

Bug: 125843868
Test: N/A, remove logging
Change-Id: I204e900d3c6415142d7d6ed469445afde0953c9c

5 years agoMerge "Add PROVIDERS_CHANGED_ACTION extra for provider"
Soonil Nagarkar [Mon, 18 Mar 2019 21:45:44 +0000 (21:45 +0000)]
Merge "Add PROVIDERS_CHANGED_ACTION extra for provider"

5 years agoMerge "Remove hidden launchable app vouching code"
Ricky Wai [Mon, 18 Mar 2019 21:37:08 +0000 (21:37 +0000)]
Merge "Remove hidden launchable app vouching code"

5 years agoMerge "Cleanup annontations for Hearing Aids Profile API" am: f6b3f6a8d8 am: 73f7fd85cb
Stanley Tng [Mon, 18 Mar 2019 21:36:27 +0000 (14:36 -0700)]
Merge "Cleanup annontations for Hearing Aids Profile API" am: f6b3f6a8d8 am: 73f7fd85cb
am: 72f589aafd

Change-Id: I1bc62eb19c3d1bd3fd6d959163aaf9e44ab0d217

5 years agoRevert "Allow transitioning through lifecycle when finished"
Andrii Kulian [Mon, 18 Mar 2019 21:34:40 +0000 (21:34 +0000)]
Revert "Allow transitioning through lifecycle when finished"

This reverts commit f2d598e1684a8b3ed793611f878fafc4f126e1ea.

Reason for revert: b/128819045, b/128808377, b/128812576

Change-Id: Iafa2bb14dbb77be32e576de92dc1378a1bd96a6f

5 years agoMerge "Merge "Remove unused HarfBuzz src in libandroid_runtime" am: b9940315bf am...
Android Build Merger (Role) [Mon, 18 Mar 2019 21:29:19 +0000 (21:29 +0000)]
Merge "Merge "Remove unused HarfBuzz src in libandroid_runtime" am: b9940315bf am: dbc06c23a6 am: e35e3b62c9"

5 years agoMerge "Remove unused HarfBuzz src in libandroid_runtime" am: b9940315bf am: dbc06c23a6
Luca Stefani [Mon, 18 Mar 2019 21:28:56 +0000 (14:28 -0700)]
Merge "Remove unused HarfBuzz src in libandroid_runtime" am: b9940315bf am: dbc06c23a6
am: e35e3b62c9

Change-Id: Ifd171e6077f55cdd0f0e037413d195c0d5ae55f5

5 years agoMerge changes I72f64c5f,Id2cbd681
TreeHugger Robot [Mon, 18 Mar 2019 21:28:52 +0000 (21:28 +0000)]
Merge changes I72f64c5f,Id2cbd681

* changes:
  Add @Override annotation to onTouchEvent
  Use KEYCODE_UNKNOWN constant instead of zero

5 years agoMerge "[automerger skipped] Merge "Add slot based ICC channel APIs" am: e278d2bcdd...
Android Build Merger (Role) [Mon, 18 Mar 2019 21:20:47 +0000 (21:20 +0000)]
Merge "[automerger skipped] Merge "Add slot based ICC channel APIs" am: e278d2bcdd am: ca075c3176 am: dc0ac4fa83 -s ours am skip reason: change_id I3f47a8ac07813ea9e326c7d76123352708bfeea2 with SHA1 04c28872d1 is in history"

5 years ago[automerger skipped] Merge "Add slot based ICC channel APIs" am: e278d2bcdd am: ca075...
Jordan Liu [Mon, 18 Mar 2019 21:18:59 +0000 (14:18 -0700)]
[automerger skipped] Merge "Add slot based ICC channel APIs" am: e278d2bcdd am: ca075c3176
am: dc0ac4fa83 -s ours
am skip reason: change_id I3f47a8ac07813ea9e326c7d76123352708bfeea2 with SHA1 04c28872d1 is in history

Change-Id: I46448919190fa47873183d33924f0b283234ddee

5 years agoMerge "AudioTrack: fix javadoc in setOffloadDelayPadding"
TreeHugger Robot [Mon, 18 Mar 2019 21:15:32 +0000 (21:15 +0000)]
Merge "AudioTrack: fix javadoc in setOffloadDelayPadding"

5 years agoMerge "docs: Fixing {{ in code comment (which makes devsite publish choke)"
Andrew Solovay [Mon, 18 Mar 2019 21:14:49 +0000 (21:14 +0000)]
Merge "docs: Fixing {{ in code comment (which makes devsite publish choke)"

5 years agoMerge "Cleanup annontations for Hearing Aids Profile API" am: f6b3f6a8d8
Stanley Tng [Mon, 18 Mar 2019 21:11:03 +0000 (14:11 -0700)]
Merge "Cleanup annontations for Hearing Aids Profile API" am: f6b3f6a8d8
am: 73f7fd85cb

Change-Id: Iac99eb17a6093992652991d221bf1f048831d6fe

5 years agoDefault carrier config key in carrier config manager
sqian [Mon, 18 Mar 2019 21:10:53 +0000 (14:10 -0700)]
Default carrier config key in carrier config manager

Bug: 123038126
Test: Treehugger
Change-Id: Ia3cc464519bb99e68f995f6bf9d83a3d987716d5

5 years agoMerge "Remove unused HarfBuzz src in libandroid_runtime" am: b9940315bf
Luca Stefani [Mon, 18 Mar 2019 21:04:49 +0000 (14:04 -0700)]
Merge "Remove unused HarfBuzz src in libandroid_runtime" am: b9940315bf
am: dbc06c23a6

Change-Id: I8ba1958079cd43d8cc425b185cd579de0f6e5e4a

5 years agoTracing for isolated storage changes.
Jeff Sharkey [Mon, 18 Mar 2019 20:35:08 +0000 (14:35 -0600)]
Tracing for isolated storage changes.

Will help us investigate possible performance regressions.

Bug: 126775624
Test: none
Change-Id: Id1249511869fb38d1635cb26e9147ed0e6d14082

5 years ago[automerger skipped] Merge "Integrate FEATURE_TELEPHONY_IMS feature into APIs" am...
Brad Ebinger [Mon, 18 Mar 2019 20:59:26 +0000 (13:59 -0700)]
[automerger skipped] Merge "Integrate FEATURE_TELEPHONY_IMS feature into APIs" am: b50cea987b am: 19aa681ad5
am: 8f1a1f83dc -s ours
am skip reason: change_id Iabb0e7cadae52d8ebe922f61a878298ad4dd04b0 with SHA1 1a952dd940 is in history

Change-Id: I6fcd207d3eae1ece992978edfbbd1264135b5cb3

5 years agoMerge "Add slot based ICC channel APIs" am: e278d2bcdd
Jordan Liu [Mon, 18 Mar 2019 20:56:12 +0000 (13:56 -0700)]
Merge "Add slot based ICC channel APIs" am: e278d2bcdd
am: ca075c3176

Change-Id: Ia43d743a06f21a812f74f98541e618f627dcf4a7

5 years agoRevert API removal
Soonil Nagarkar [Mon, 18 Mar 2019 20:52:45 +0000 (13:52 -0700)]
Revert API removal

Bug: 128842115
Test: manual
Change-Id: Iff8e1a1c4c9dd6d089d0af6527bdd74ee38fa421

5 years agoMerge "Cleanup annontations for Hearing Aids Profile API"
Stanley Tng [Mon, 18 Mar 2019 20:49:26 +0000 (13:49 -0700)]
Merge "Cleanup annontations for Hearing Aids Profile API"
am: f6b3f6a8d8

Change-Id: I33778cde1415fefe985031dd637ab97d620bf284

5 years agoMerge "Don't schedule jobs in 'bad' apps"
TreeHugger Robot [Mon, 18 Mar 2019 20:48:11 +0000 (20:48 +0000)]
Merge "Don't schedule jobs in 'bad' apps"

5 years agoMerge "Remove unused HarfBuzz src in libandroid_runtime"
Luca Stefani [Mon, 18 Mar 2019 20:44:53 +0000 (13:44 -0700)]
Merge "Remove unused HarfBuzz src in libandroid_runtime"
am: b9940315bf

Change-Id: I86649257ffe285716875e327d9621385ec8319da

5 years agoMerge "Integrate FEATURE_TELEPHONY_IMS feature into APIs" am: b50cea987b
Brad Ebinger [Mon, 18 Mar 2019 20:41:22 +0000 (13:41 -0700)]
Merge "Integrate FEATURE_TELEPHONY_IMS feature into APIs" am: b50cea987b
am: 19aa681ad5

Change-Id: I41fbf2df61f1156b231189730690c9d48c04c3c4

5 years ago[automerger skipped] Merge "Add @UnsupportedAppUsage annotations" am: 2bbb9c537e...
Andrei-Valentin Onea [Mon, 18 Mar 2019 20:40:07 +0000 (13:40 -0700)]
[automerger skipped] Merge "Add @UnsupportedAppUsage annotations" am: 2bbb9c537e am: 54fe34c359
am: d21b676dee -s ours
am skip reason: change_id Ib70dd739d8067ca2e37f0dbc6c48a2d625935a4b with SHA1 cd0d609f75 is in history

Change-Id: If6a2b3eceb2e24727b74a7d36dddca11c9a247b2

5 years agoMerge "Add slot based ICC channel APIs"
Jordan Liu [Mon, 18 Mar 2019 20:38:37 +0000 (13:38 -0700)]
Merge "Add slot based ICC channel APIs"
am: e278d2bcdd

Change-Id: Ifaaddfc58ee684393bcabfc214d72746125ed158

5 years agoMerge "Documentation for AVC* and AV1* Profile Constants"
TreeHugger Robot [Mon, 18 Mar 2019 20:35:55 +0000 (20:35 +0000)]
Merge "Documentation for AVC* and AV1* Profile Constants"

5 years agoPrevent, again, custom clock view from being visible on Home screen.
Robert Snoeberger [Fri, 15 Mar 2019 20:53:51 +0000 (16:53 -0400)]
Prevent, again, custom clock view from being visible on Home screen.

Bug: 124133570
Test: manual testing, and created b/128691778 to add regression tests.
Change-Id: I00dcb8b2a8acf6adfbcc77a1e6987824027d300c

5 years agoMerge "Remove old TaskManager system"
John Reck [Mon, 18 Mar 2019 20:31:22 +0000 (20:31 +0000)]
Merge "Remove old TaskManager system"

5 years agoMerge "Add @UnsupportedAppUsage annotations" am: 2bbb9c537e
Andrei-Valentin Onea [Mon, 18 Mar 2019 20:30:42 +0000 (13:30 -0700)]
Merge "Add @UnsupportedAppUsage annotations" am: 2bbb9c537e
am: 54fe34c359

Change-Id: I0cc71b9f2d65f0c8b63410f66106429799c4cd45

5 years agoMerge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"
Brad Ebinger [Mon, 18 Mar 2019 20:28:10 +0000 (13:28 -0700)]
Merge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"
am: b50cea987b

Change-Id: I958118cbf6bbe1da784e970b8b2195c52e198855

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Mon, 18 Mar 2019 20:20:51 +0000 (13:20 -0700)]
Merge "Add @UnsupportedAppUsage annotations"
am: 2bbb9c537e

Change-Id: I8daf2a9def4453a0aac1f747518962d49b17a9e8

5 years agoInitialize GlobalActionsPanelPlugin before GlobalActions is launched
Steve Elliott [Mon, 18 Mar 2019 17:37:22 +0000 (13:37 -0400)]
Initialize GlobalActionsPanelPlugin before GlobalActions is launched

Previously, we were loading the GlobalActionsPanelPlugin in the
constructor for GlobalActionsDialog, which is instantiated on demand
the first time that Global Actions is launched. Because the plugin is
loaded in the background, a race condition exists where the
GlobalActions Dialog is displayed before the plugin has finished
loading, and so the Plugin will not appear, despite being enabled.

In this change, the GlobalActionsPanelPlugin is loaded in
GlobalActionsImpl, which is scoped to the SystemUI Applcation lifetime
(it will always be available). Therefore, the plugin will start
loading as soon as it is enabled by the user.

The race condition still exists, but is greatly mitigated and should
not pose a significant issue.

Test: manual
Change-Id: I624f7b0b9133e044fa486ad6a74944aba0511a70

5 years agoMerge "Cleanup annontations for Hearing Aids Profile API"
Treehugger Robot [Mon, 18 Mar 2019 19:57:50 +0000 (19:57 +0000)]
Merge "Cleanup annontations for Hearing Aids Profile API"

5 years agoMerge "Changed the haptics for back edge swipe gesture"
TreeHugger Robot [Mon, 18 Mar 2019 19:55:18 +0000 (19:55 +0000)]
Merge "Changed the haptics for back edge swipe gesture"

5 years agoMerge "Add a carrier config for whether carrier app required during SIM setup"
TreeHugger Robot [Mon, 18 Mar 2019 19:48:07 +0000 (19:48 +0000)]
Merge "Add a carrier config for whether carrier app required during SIM setup"

5 years agoMerge "Add new pushed atom to log when an app is installed on external storage."
Carmen Agimof [Mon, 18 Mar 2019 19:47:06 +0000 (19:47 +0000)]
Merge "Add new pushed atom to log when an app is installed on external storage."

5 years agoMerge "Force LSKF in ConfirmCredential UI when pending escrow token exists"
TreeHugger Robot [Mon, 18 Mar 2019 19:44:47 +0000 (19:44 +0000)]
Merge "Force LSKF in ConfirmCredential UI when pending escrow token exists"

5 years agoMerge "Hide MeasuredText.getChars"
TreeHugger Robot [Mon, 18 Mar 2019 19:38:18 +0000 (19:38 +0000)]
Merge "Hide MeasuredText.getChars"

5 years agoMerge "Add silence support to CallScreeningService/Call API"
Usman Abdullah [Mon, 18 Mar 2019 19:33:33 +0000 (19:33 +0000)]
Merge "Add silence support to CallScreeningService/Call API"

5 years agoAdd PROVIDERS_CHANGED_ACTION extra for provider
Soonil Nagarkar [Tue, 5 Mar 2019 02:29:49 +0000 (18:29 -0800)]
Add PROVIDERS_CHANGED_ACTION extra for provider

Give clients a way to know which providers have changed state, useful
since LOCATION_PROVIDERS_ALLOWED will be removed in the future.

Bug: 127372321
Test: manual
Change-Id: I16c0acbaad97930bea23084b50193582cc918fa2

5 years agoMerge "Remove unused HarfBuzz src in libandroid_runtime"
Treehugger Robot [Mon, 18 Mar 2019 18:54:29 +0000 (18:54 +0000)]
Merge "Remove unused HarfBuzz src in libandroid_runtime"

5 years agoMerge "Add metric enums for zen access control page."
TreeHugger Robot [Mon, 18 Mar 2019 18:52:13 +0000 (18:52 +0000)]
Merge "Add metric enums for zen access control page."

5 years agoMerge "Add slot based ICC channel APIs"
Jordan Liu [Mon, 18 Mar 2019 18:36:54 +0000 (18:36 +0000)]
Merge "Add slot based ICC channel APIs"

5 years agoMerge "Use context user for canNotifyAsPackage"
TreeHugger Robot [Mon, 18 Mar 2019 17:57:47 +0000 (17:57 +0000)]
Merge "Use context user for canNotifyAsPackage"

5 years agoIntroduce Context.BIND_SCHEDULE_LIKE_TOP_APP for visible IMEs
Yohei Yukawa [Mon, 18 Mar 2019 17:47:22 +0000 (10:47 -0700)]
Introduce Context.BIND_SCHEDULE_LIKE_TOP_APP for visible IMEs

This CL introduces a new @hide bind flag BIND_SCHEDULE_LIKE_TOP_APP so
that visible IMEs can have the same thread scheduling policy as the
actual top app, like SCHED_FIFO for UI and RenderThread when it's
available [1] and TOP_APP_PRIORITY_BOOST otherwise [2].

Hopefully this would provide more consistent UI performance and
responsiveness between the actual top app and IME.

 [1]: I7b8a31830ad80f7efa00236928d5476998ed4e00
      33eb07f5759b85a5617f8057d8a335019c7d24dd
 [2]: Iced88269f7e2d378d5870ded1a5ccf9f259fda57
      b783e7b44bf174075f6860d295808ee462b38451

Fix: 117274342
Test: Manually verified as follows.
  1. Build aosp_blueline-userdebug and flash it.
  2. make -j EditTextVariations
  3. adb install -r \
       $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/EditTextVariations.apk
  4. adb shell am start \
       -n com.android.inputmethod.tools.edittextvariations/.EditTextVariations
  5. Tap the first edit text field to bring up the AOSP Keyboard.
  6. Make sure that top app (EditTextVariations) and the IME (AOSP
     Keyboard) have the same thread priority / scheduler policy for
     their main UI threads and RenderThreads.
      adb shell ps -p \
          `adb shell pidof com.android.inputmethod.tools.edittextvariations` \
          -T -o PID,TID,PRI,SCH,CMD
      adb shell ps -p `adb shell pidof com.android.inputmethod.latin` \
          -T -o PID,TID,PRI,SCH,CMD
     For both UI threads and RenderThreads, Thread Priority should be 29 and
     Scheduler Policy should be 0.
  7. Tap the back button to dismiss AOSP Keyboard.
  8. Make sure that Thread Priority of AOSP Keyboard is no longer boosted.
      adb shell ps -p `adb shell pidof com.android.inputmethod.latin` \
          -T -o PID,TID,PRI,SCH,CMD
     For both UI threads and RenderThreads, Thread Priority should be 19 and
     Scheduler Policy should be 0.
Change-Id: I143fb39cec55351b097e835cf8bbf9668e02d86d

5 years agoAudioTrack: fix javadoc in setOffloadDelayPadding
Jean-Michel Trivi [Mon, 18 Mar 2019 17:46:52 +0000 (10:46 -0700)]
AudioTrack: fix javadoc in setOffloadDelayPadding

Bug: 128676433
Test: make offline-sdk-docs
Change-Id: I1ba2524aad71bd3d2611a76897e644a98afe81c4

5 years agoMerge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"
Brad Ebinger [Mon, 18 Mar 2019 17:35:27 +0000 (17:35 +0000)]
Merge "Integrate FEATURE_TELEPHONY_IMS feature into APIs"

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Mon, 18 Mar 2019 17:28:44 +0000 (17:28 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
Jack Yu [Mon, 18 Mar 2019 17:28:08 +0000 (17:28 +0000)]
Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"

5 years agoForce LSKF in ConfirmCredential UI when pending escrow token exists
Rubin Xu [Mon, 18 Mar 2019 11:01:18 +0000 (11:01 +0000)]
Force LSKF in ConfirmCredential UI when pending escrow token exists

Escrow tokens can only be activated by user confirming their LSKF,
while ConfirmCredential allows both LSKF and biometrics by default.
By requiring LSKF, it simplifies the DPC's flow of requesting the user
to activate a pending escrow token.

This change introduces an internal API to query the existence of
pending escrow tokens.

Bug: 127377026
Bug: 76084679
Bug: 79547502
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
Change-Id: Ie1ae58d2639394a9e6e1bf13d8bde44dfea240e8

5 years agoMerge "MediaDrm: remove @StringProperty/@ArrayProperty"
Robert Shih [Mon, 18 Mar 2019 17:25:47 +0000 (17:25 +0000)]
Merge "MediaDrm: remove @StringProperty/@ArrayProperty"

5 years agoHide MeasuredText.getChars
Seigo Nonaka [Fri, 15 Mar 2019 19:45:42 +0000 (12:45 -0700)]
Hide MeasuredText.getChars

The MeasuredText.getChars is used only from text layout internals:
- LineBreaker#computeLineBreaks
- Canvas.drawtextRun

Thus, no need to be exposed to public. Making it @hide

Change-Id: I7c27a4b95d7d5ebc2ad5d74c947cdea3ce08f2ab
Fix: 124795470
Test: N/A

5 years agoMerge "Use different colors for grid-based global actions menu."
Aaron Heuckroth [Mon, 18 Mar 2019 17:12:48 +0000 (17:12 +0000)]
Merge "Use different colors for grid-based global actions menu."

5 years agoUse different colors for grid-based global actions menu.
Aaron Heuckroth [Wed, 13 Mar 2019 20:27:15 +0000 (16:27 -0400)]
Use different colors for grid-based global actions menu.

Refactor EmergencyActions to group coloring code.

Test: Automated tests pass, global actions menu colors match mocks for dark + light themes. Buttons and text are readable.
Change-Id: Ia0ca8c31d09cda8acda7b8677c2ccd923cc2c0c5

Fixes: 126445990
Fixes: 128768560

5 years agoMerge "UserManager.getUserName w/ GET_ACCOUNTS_PRIVILEGED"
Adam Bookatz [Mon, 18 Mar 2019 16:58:03 +0000 (16:58 +0000)]
Merge "UserManager.getUserName w/ GET_ACCOUNTS_PRIVILEGED"

5 years agoMerge "UserManager.setUserName: clearCallingId pre-Broadcast"
Adam Bookatz [Mon, 18 Mar 2019 16:38:47 +0000 (16:38 +0000)]
Merge "UserManager.setUserName: clearCallingId pre-Broadcast"

5 years agoRemove old TaskManager system
John Reck [Thu, 14 Mar 2019 20:15:28 +0000 (13:15 -0700)]
Remove old TaskManager system

Replace it with a newer, fancier, WorkQueue-inspired
one that's just a global common thread pool.

Test: hwuiunit passes
Change-Id: Ib5d03104a08bbac9a4ec67a1bfc0db2b35d6700f

5 years agoMark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated.
Tyler Gunn [Mon, 18 Mar 2019 16:13:33 +0000 (09:13 -0700)]
Mark EXTRA_INCOMING_NUMBER for PHONE_STATE broadcast as deprecated.

In Q we have introduced new APIs which replace the need for an app to
get the phone number for calls through the phone state broadcast.  As
such the EXTRA_INCOMING_NUMBER is being marked deprecated.  Developers
are encouraged to use the new replacement APIs instead.

Test: Make API / build
Fixes: 128835519
Change-Id: If1bc0076392281887f6cc8017788a07f170c7a17

5 years agoRemove hidden launchable app vouching code
Ricky Wai [Mon, 18 Mar 2019 15:59:45 +0000 (15:59 +0000)]
Remove hidden launchable app vouching code

Bug: 128279519
Test: Able to compile
Change-Id: Id121bf2a23a78b43f28963b7d76c5e5fa575a97f

5 years agoCamera: Add low latency suggested use case
Emilian Peev [Wed, 13 Mar 2019 01:00:42 +0000 (18:00 -0700)]
Camera: Add low latency suggested use case

Extend the recommended configuration map use cases
with additional entry for low latency snapshots.
The map could be absent in case devices are not able
to support such low latency requests.

Bug: 128450197
Test: Camera CTS
Change-Id: Ica9285978aeb40fce636f519f38488ac539c0bce

5 years agoMerge "Initialize a11y transforms when device is booted"
TreeHugger Robot [Mon, 18 Mar 2019 15:49:45 +0000 (15:49 +0000)]
Merge "Initialize a11y transforms when device is booted"

5 years agoUse context user for canNotifyAsPackage
Julia Reynolds [Mon, 18 Mar 2019 15:31:56 +0000 (11:31 -0400)]
Use context user for canNotifyAsPackage

Test: atest
Fixes: 128748189
Change-Id: I464364ec0b6bb21b2a4d72a70470ca29ec47cfe1

5 years agoMerge changes from topic "api-review-restore-packages"
Ruslan Tkhakokhov [Mon, 18 Mar 2019 15:10:04 +0000 (15:10 +0000)]
Merge changes from topic "api-review-restore-packages"

* changes:
  API Review: Internal RestoreSession#restorePackages
  API Review: RestoreSession#restoreSomePackages

5 years ago[automerger skipped] Merge "Add @UnsupportedAppUsage annotations" am: 09426de69d...
Andrei-Valentin Onea [Mon, 18 Mar 2019 15:08:31 +0000 (08:08 -0700)]
[automerger skipped] Merge "Add @UnsupportedAppUsage annotations" am: 09426de69d am: 4bd5774611
am: abea8411b5 -s ours
am skip reason: change_id I4ece0a3f37f88fc2508cb965092aed7cabc61819 with SHA1 24ec321bf3 is in history

Change-Id: I8d48fe483febc5983e59b098c67e8f778f461d4d

5 years agoMerge "Add @UnsupportedAppUsage annotations" am: 09426de69d
Andrei-Valentin Onea [Mon, 18 Mar 2019 14:59:22 +0000 (07:59 -0700)]
Merge "Add @UnsupportedAppUsage annotations" am: 09426de69d
am: 4bd5774611

Change-Id: Ibf3acf98e452060afa8975b6f91a8921c0032e80

5 years agoMerge "Fix system policy to mean overlays on /system"
Ryan Mitchell [Mon, 18 Mar 2019 14:50:00 +0000 (14:50 +0000)]
Merge "Fix system policy to mean overlays on /system"

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Mon, 18 Mar 2019 14:49:55 +0000 (07:49 -0700)]
Merge "Add @UnsupportedAppUsage annotations"
am: 09426de69d

Change-Id: I8be4fa32c92a5b5ac335bfbfa0a6edffcb881b22

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Mon, 18 Mar 2019 14:40:25 +0000 (14:40 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Fix curly brackets in Notification.java"
TreeHugger Robot [Mon, 18 Mar 2019 14:06:32 +0000 (14:06 +0000)]
Merge "Fix curly brackets in Notification.java"

5 years agoMerge "Add hdmoon@/insun@ to OWNERS" am: 3923ce61f6 am: 9edcff5c2c
Hyundo Moon [Mon, 18 Mar 2019 13:04:00 +0000 (06:04 -0700)]
Merge "Add hdmoon@/insun@ to OWNERS" am: 3923ce61f6 am: 9edcff5c2c
am: 214a729b6d

Change-Id: I5af2fd7e32fee1ca9930a1085f343e0dfd81d366