Commit Graph

424299 Commits

Author SHA1 Message Date
Automerger Merge Worker
4e38a2c248 [automerger skipped] Merge "Revoke 'always' web handler status when not autoverifying" into oc-mr1-dev am: f98fee618c -s ours am: 6b6f6a2b09 -s ours am: 5410fb8eb8 -s ours
am skip reason: Change-Id I58502d1b32d793aba9aa772fa2ad5ac38acca48a with SHA-1 a8fb6dc167 is in history

Change-Id: Ib4651eddc8a8bbf00671515372f987902572424e
2020-02-01 01:15:26 +00:00
Automerger Merge Worker
8e5969a697 [automerger skipped] Merge "Revoke 'always' web handler status when not autoverifying" into pi-dev am: 187f52a4d7 -s ours am: 4427828992 -s ours
am skip reason: Change-Id I58502d1b32d793aba9aa772fa2ad5ac38acca48a with SHA-1 a8fb6dc167 is in history

Change-Id: I205597d434fa161742798c3ec22d39b1b4454908
2020-02-01 01:15:18 +00:00
Automerger Merge Worker
5410fb8eb8 [automerger skipped] Merge "Revoke 'always' web handler status when not autoverifying" into oc-mr1-dev am: f98fee618c -s ours am: 6b6f6a2b09 -s ours
am skip reason: Change-Id I58502d1b32d793aba9aa772fa2ad5ac38acca48a with SHA-1 a8fb6dc167 is in history

Change-Id: I07cddcbfad7f4841ef99796c8a7a64b9a5ac13c4
2020-02-01 01:12:50 +00:00
Automerger Merge Worker
0cf31cf467 Merge "Revoke 'always' web handler status when not autoverifying" into oc-dev am: ab012da3a2
Change-Id: I9515e311ff75532171bd893ddc6f3971a1fdea0c
2020-02-01 01:12:41 +00:00
Automerger Merge Worker
4427828992 [automerger skipped] Merge "Revoke 'always' web handler status when not autoverifying" into pi-dev am: 187f52a4d7 -s ours
am skip reason: Change-Id I58502d1b32d793aba9aa772fa2ad5ac38acca48a with SHA-1 a8fb6dc167 is in history

Change-Id: I1d9a4edd563df9c2a5b40c630517a34a241b3a55
2020-02-01 01:12:40 +00:00
Automerger Merge Worker
6b6f6a2b09 [automerger skipped] Merge "Revoke 'always' web handler status when not autoverifying" into oc-mr1-dev am: f98fee618c -s ours
am skip reason: Change-Id I58502d1b32d793aba9aa772fa2ad5ac38acca48a with SHA-1 ce22265eed is in history

Change-Id: I7cbffcbb84841e9faf9f55d8423bb91c6165a83c
2020-02-01 01:12:28 +00:00
Automerger Merge Worker
2d1928e0c1 [automerger skipped] Merge "Revoke 'always' web handler status when not autoverifying" into qt-dev am: 2a7eff2057 -s ours
am skip reason: Change-Id I58502d1b32d793aba9aa772fa2ad5ac38acca48a with SHA-1 d2a71cc4b8 is in history

Change-Id: I1e92a69fbd5f1c2ac656bfb8f7f8e62b1ce402a0
2020-02-01 01:12:19 +00:00
Chris Tate
2a7eff2057 Merge "Revoke 'always' web handler status when not autoverifying" into qt-dev 2020-02-01 01:01:45 +00:00
Chris Tate
fd3ce4f71e Merge "Revoke 'always' web handler status when not autoverifying" into qt-qpr1-dev 2020-02-01 01:01:42 +00:00
Chris Tate
f98fee618c Merge "Revoke 'always' web handler status when not autoverifying" into oc-mr1-dev 2020-02-01 01:01:36 +00:00
Chris Tate
187f52a4d7 Merge "Revoke 'always' web handler status when not autoverifying" into pi-dev 2020-02-01 01:01:35 +00:00
Chris Tate
ab012da3a2 Merge "Revoke 'always' web handler status when not autoverifying" into oc-dev 2020-02-01 01:01:34 +00:00
TreeHugger Robot
a8422821ac Merge "DO NOT MERGE Unregister notification listener before creating a new one to avoid duplicate Heads Up notifications." into qt-qpr1-dev 2020-02-01 00:37:50 +00:00
Calin Juravle
d9cb95d5c9 [framework] Remove boot complete marker
ART doesn't load the boot image from /data anymore and the marker is
useless.

Test: device boots
Bug: 143899228

(cherry picked from commit 46a81bdafb)

Merged-In: I7104b961d2fc2de53ffea4c14cce6b785ff534dd
Change-Id: I7104b961d2fc2de53ffea4c14cce6b785ff534dd
2020-01-31 16:09:52 -08:00
Eric Berglund
71801c6ac1 DO NOT MERGE Unregister notification listener before creating a new one to avoid
duplicate Heads Up notifications.

Bug: 148530083
Test: manual
Change-Id: I3f55b60a390f847b81b2de7da06d12b5725b3b39
2020-01-31 13:12:23 -08:00
Heemin Seog
347c14cb47 Merge "DO NOT MERGE Only set the LAYOUT flags if the window is fullscreen" into qt-qpr1-dev 2020-01-31 20:38:37 +00:00
TreeHugger Robot
4af0a5bc27 Merge "Concurrent collections for Bluetooth callbacks." into qt-qpr1-dev 2020-01-31 20:11:31 +00:00
TreeHugger Robot
055fcec87e Merge "DO NOT MERGE: Use a copy of bt device profile list when updating" into qt-qpr1-dev 2020-01-31 20:02:08 +00:00
TreeHugger Robot
e10e0fffcf Merge "GraphicsEnv: refactor to unify the debuggable logic" into qt-qpr1-dev 2020-01-31 18:09:16 +00:00
Dan Sandler
58048eb8a9 Separate icon sizes for sharesheet and resolver list.
Fixes: 148246479
Test: visual
Change-Id: I16d06af155d2eec45d064e73bb45cc9cb6c5f2ca
2020-01-31 03:20:34 +00:00
TreeHugger Robot
f2a1775a86 Merge "DO NOT MERGE Ensure package names read from config are system packages." into qt-qpr1-dev 2020-01-31 00:36:50 +00:00
Hai Zhang
6a56247200 DO NOT MERGE Ensure package names read from config are system packages.
Fixes: 145981139
Test: manually tested ensureSystemPackageName() returns null for non-system app
Change-Id: I1d23910cbd282f6702785c9dfb059d7be6b0e895
2020-01-31 00:20:45 +00:00
Rubin Xu
0860a5c5c3 RESTRICT AUTOMERGE
Update keyguard locked state from TrustManagerService

TrustManagerService holds the ground truth about whether a user is
locked or not, so update keystore using the information there,
instead of doing it from KeyguardStateMonitor. This fixes the issue
of work profile locked state not being correctly pushed to keystore.

Note: since this change is likely to be backported as a security
patch, I'm refraining from doing major refactoring right now.

Bug: 141329041
Bug: 144430870
Test: manually with KeyPairSampleApp
Change-Id: I3472ece73d573a775345ebcceeeb2cc460374c9b
2020-01-30 19:32:49 +00:00
Alexey Kuzmin
b1a33a8b4f Fix serialization issue of ExternalVibration
Remove excessive serialization of Audio Attributes
Bug: 140417434
Test: atest ExternalVibrationTest#testSerialization

Change-Id: Ib7ceaed875889126a53f874eec64fab4817e48d1
2020-01-30 11:30:04 -08:00
Fabian Kozynski
7891cda862 Merge "Do not destroy CustomTile when in QSCustomizer" into qt-qpr1-dev 2020-01-30 18:44:10 +00:00
Yiwei Zhang
a3acf85a3b GraphicsEnv: refactor to unify the debuggable logic
By default, PR_SET_DUMPABLE is 0 for zygote spawned apps, except in the
following circumstances:
1. ro.debuggable=1 (global debuggable enabled, i.e., userdebug or eng builds).
2. android:debuggable="true" in the manifest for an individual application.
3. An app which explicitly calls prctl(PR_SET_DUMPABLE, 1).
4. GraphicsEnv calls prctl(PR_SET_DUMPABLE, 1) in the presence of
   <meta-data android:name="com.android.graphics.injectLayers.enable"
              android:value="true"/>
   in the application manifest.

So checking both ro.debuggable=1 and PR_GET_DUMPABLE is redundant.

Bug: b/144186877, b/148566223
Test: CtsAngleIntegrationHostTestCases
Test: CtsRootlessGpuDebugHostTest
Change-Id: Ica49254df2c7c090808411935cdeb8efd4e3cb51
Merged-In: Ica49254df2c7c090808411935cdeb8efd4e3cb51
(cherry picked from commit 097a3062b9)
2020-01-29 21:29:56 -08:00
Heemin Seog
5c31a5c18d DO NOT MERGE Only set the LAYOUT flags if the window is fullscreen
This addresses an issue where toasts will be hidden due to the setting
of the LAYOUT_HIDE_NAVIGATION flag.

Bug: 148180738
Test: manual (adb shell settings put global policy_control "immersive.navigation=*" then try to show a toast with gravity top)
Change-Id: Ic47edc5423c4daf373fc3a8bfc30af15cadd6d90
2020-01-29 12:35:57 -08:00
Julia Reynolds
eb4f716bf3 Only suspend package from system or shell
Test: manual
Bug: 148059175
Change-Id: I50ee768e792266ad2091f1913168e89d5d1463ed
Merged-In: I50ee768e792266ad2091f1913168e89d5d1463ed
(cherry picked from commit 1c943a2670)
(cherry picked from commit adc39de3a1)
2020-01-29 16:19:58 +00:00
Automerger Merge Worker
7a091e335c [automerger skipped] Fix potential double destroy of AssetManager am: 93320661ca am: aefc05c016 am: 8e5d6a25b2 -s ours am: e38a710477 -s ours am: b5357be3a9 -s ours
am skip reason: Change-Id Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1 with SHA-1 0a8a1e9d40 is in history

Change-Id: Ie771ffdfc4cfc2d58d0b74ea29f56655462924ca
2020-01-29 15:39:44 +00:00
Automerger Merge Worker
b5357be3a9 [automerger skipped] Fix potential double destroy of AssetManager am: 93320661ca am: aefc05c016 am: 8e5d6a25b2 -s ours am: e38a710477 -s ours
am skip reason: Change-Id Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1 with SHA-1 0a8a1e9d40 is in history

Change-Id: I8fd65309a87e6f428dd9f7ae8112861b5cc856b6
2020-01-29 15:29:02 +00:00
Mayank Garg
a9feb4602f Adding option in global setting to control the display message during user switch
Bug: 145915635
Bug: 145132885
Test: adb shell settings put global android.car.ENABLE_USER_SWITCH_DEVELOPER_MESSAGE true
Merged-In: I70c72d7d74c72a78d919ae34906b6f7b96466ad1
Change-Id: I70c72d7d74c72a78d919ae34906b6f7b96466ad1
(cherry picked from commit e12de0beb4)
2020-01-29 07:11:22 +00:00
TreeHugger Robot
9ab9aa4c96 Merge "Update mOnDissmissRunnable when Notification gets updated." into qt-qpr1-dev 2020-01-29 03:31:32 +00:00
Automerger Merge Worker
e38a710477 [automerger skipped] Fix potential double destroy of AssetManager am: 93320661ca am: aefc05c016 am: 8e5d6a25b2 -s ours
am skip reason: Change-Id Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1 with SHA-1 0a8a1e9d40 is in history

Change-Id: I2d759d07f9ba1e28ee9449161f823354b31f8a13
2020-01-29 00:33:48 +00:00
Automerger Merge Worker
e29951e29e Fix potential double destroy of AssetManager am: 0a8a1e9d40 am: 303d3874f2
Change-Id: I3ddb9a9b1b67341b76ead480662356944d9146e6
2020-01-29 00:28:12 +00:00
Automerger Merge Worker
8e5d6a25b2 Fix potential double destroy of AssetManager am: 93320661ca am: aefc05c016
Change-Id: I52d6c83fd2585d8fdc5917e72e37dd1c2d11f9e0
2020-01-29 00:20:28 +00:00
Automerger Merge Worker
303d3874f2 Fix potential double destroy of AssetManager am: 0a8a1e9d40
Change-Id: I10010fa2087e7978dc88b1d1e6f6e5d3a4661499
2020-01-29 00:12:51 +00:00
Automerger Merge Worker
aefc05c016 Fix potential double destroy of AssetManager am: 93320661ca
Change-Id: I929bc83477f4698d78cef92d78934f3dd0b3c140
2020-01-29 00:03:12 +00:00
Automerger Merge Worker
0d39ff5267 Merge "DO NOT MERGE: Adds artificial package handler latency" into qt-dev am: 99fd132c3a
Change-Id: I96d1ea72d57e11c8dd6a35821ee6ea74a3c82429
2020-01-27 20:15:07 +00:00
Automerger Merge Worker
895d932835 DO NOT MERGE: Adds artificial package handler latency am: de626c28d7
Change-Id: I5303926e34c973ca9e4a7d12d0f4cd46e2fbcde8
2020-01-27 20:14:59 +00:00
TreeHugger Robot
99fd132c3a Merge "DO NOT MERGE: Adds artificial package handler latency" into qt-dev 2020-01-27 20:08:14 +00:00
Zhen Zhang
4cc695ce44 Update mOnDissmissRunnable when Notification gets updated.
mOnDissmissRunnable holds reference to StatusBarNotification instance.
We should update it when notification gets updated.
Bug: 141699084
Test: atest NotifCollectionTest, NotificationDataTest,
NotificationEntryManagerTest

Change-Id: Iaa4306eedeb144dba480c551808dd431e096314c
Merged-In: Iaa4306eedeb144dba480c551808dd431e096314c
(cherry picked from commit 52d82f59ea)
2020-01-24 18:58:04 +00:00
Michael Groover
c718e54c27 Ensure adb key store is instantiated before revoking grants
If adb is not enabled on a device then the adb key store is not
instantiated when the AdbDebuggingManager's handler is started as
in most cases it will not be needed. However if the user attempts
to revoke any previous adb grants when a device is booted with adb
disabled it will result in a NPE. This commit ensures the key store
is instantiated before attempting to revoke authorizations.

Test: atest AdbDebuggingManagerTest
Test: Manually invoked 'Revoke USB debugging authorizations' after
      a boot with adb disabled.
Fixes: 145790817

Change-Id: Id00e531c18412be009a211eec80a72867659608f
Merged-In: Id00e531c18412be009a211eec80a72867659608f
2020-01-23 13:37:15 -08:00
Automerger Merge Worker
c866e0c52e Merge "Prevent sending early termination of appop use" into qt-dev am: c19818819e
Change-Id: I62af684babc2a3f444f1ba3b26ad70e6acfc238b
2020-01-23 18:00:09 +00:00
Fabian Kozynski
c19818819e Merge "Prevent sending early termination of appop use" into qt-dev 2020-01-23 17:44:28 +00:00
Fabian Kozynski
c8a7c2bd74 Do not destroy CustomTile when in QSCustomizer
Before this CL, TileQueryHelper would create CustomTile when creating
tiles for current tiles. This caused them to be destroyed after taking
the information and being removed from the maps in TileServices.

In this CL, current CustomTile are fixed to only being created by
addPackageTiles which knows what to do.

Fixes: 148002667
Fixes: 127508346
Test: manual
Test: atest TileQueryHelperTest
Change-Id: I2c4d3ce6c31449f20670982dad334019cc25469c
Merged-In: I2c4d3ce6c31449f20670982dad334019cc25469c
(cherry picked from commit 198b0b6ef1)
2020-01-23 14:34:53 +00:00
Joanne Chung
75cf9d73ec Merge "Change permissionLevel of ACCESS_SHORTCUTS and UNLIMITED_SHORTCUTS_API_CALLS" into qt-qpr1-dev 2020-01-23 06:32:21 +00:00
Mohammad Samiul Islam
67c89f3e5f Handle ParcelableException instead of crashing system server
Unhandled exception is causing system server to crash.

Bug: 146790672
Test: builds successfully
Change-Id: Ibfe53ee0309dcec6fd3b24f8b67fcb78f5ce7fd5
Merged-In: Ibfe53ee0309dcec6fd3b24f8b67fcb78f5ce7fd5
2020-01-22 08:24:26 +00:00
TreeHugger Robot
0342ffa2a5 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-01-20 04:45:38 +00:00
Bill Yi
5b94476ce6 Import translations. DO NOT MERGE
Change-Id: I1df70b7205ca4090d6a9978050049d378fff7cbc
Auto-generated-cl: translation import
2020-01-19 10:32:43 -08:00
Bill Yi
6f99815dfd Import translations. DO NOT MERGE
Change-Id: I38cd73f81ea8fd45fa632a6d3f210cbdaed3361b
Auto-generated-cl: translation import
2020-01-18 10:26:52 -08:00