Commit Graph

454765 Commits

Author SHA1 Message Date
Stanislav Zholnin
40594104c4 Merge "Add option for situation when user ignores permission dialog (USER_IGNORED)." 2019-12-09 16:10:28 +00:00
Valerie Hau
28ed8110f7 Merge "Update to Blast surface control" 2019-12-09 15:54:11 +00:00
Alex Johnston
b6bcf30de9 Merge "Call setCameraDisabled and getCameraDisabled on the parent profile" 2019-12-09 15:37:01 +00:00
Oli Lan
693002c106 Merge "Make ApexManager a singleton." 2019-12-09 15:14:42 +00:00
Jorim Jaggi
1473439a19 Merge "Automatically clean up flicker test data" am: d915fc7025 am: ade366490a
am: 2d3934fcaa

Change-Id: I1a2be40c54e4025d4c160e2f6beaa61aa1eb51db
2019-12-09 06:32:34 -08:00
Jorim Jaggi
2d3934fcaa Merge "Automatically clean up flicker test data" am: d915fc7025
am: ade366490a

Change-Id: Ic54a3ac9393c9ac613558f3ce3829140828f3629
2019-12-09 06:28:35 -08:00
Jorim Jaggi
ade366490a Merge "Automatically clean up flicker test data"
am: d915fc7025

Change-Id: Id08e485ac5e420941453964faf1dc56deb9162c3
2019-12-09 06:24:21 -08:00
Jorim Jaggi
d915fc7025 Merge "Automatically clean up flicker test data" 2019-12-09 14:14:54 +00:00
Alex Johnston
755e377c4a Call setCameraDisabled and getCameraDisabled on the parent profile
Previously, these APIs did not support explicitly querying the parent profile.
This CL allows the WP DPC to now call these methods, which means the WP DPC
can disable the camera device-wide and not just for the WP.

Bug: 138709470
Test: manual testing using Personal and WP TestDPC and Camera
      atest com.android.cts.devicepolicy.ManagedProfileTest
      atest com.android.server.devicepolicy.DevicePolicyManagerTest

Change-Id: I7e7ce7be766850c6e2f58c72a0a44990817e9b73
2019-12-09 14:08:03 +00:00
Matt Pietal
bb5ce5ef49 [automerger skipped] Merge "[DO NOT MERGE] Resolver/Chooser - Window inset fixes" into qt-qpr1-dev am: 2c5bd63efd
am: 3d3d051455 -s ours
am skip reason: subject contains skip directive

Change-Id: Id022d3658c8a1afe6c1c9d26eb77513d22fcff60
2019-12-09 06:03:32 -08:00
Matt Pietal
131d18542a [automerger skipped] [DO NOT MERGE] Resolver/Chooser - Window inset fixes am: 95ede7fb53
am: d6c8280a7d -s ours
am skip reason: subject contains skip directive

Change-Id: Ia0b8ba008aa9c011826fd8965b783a0e27ce3063
2019-12-09 06:03:27 -08:00
Automerger Merge Worker
3d3d051455 Merge "[DO NOT MERGE] Resolver/Chooser - Window inset fixes" into qt-qpr1-dev am: 2c5bd63efd
Change-Id: I829cdf978fa523751b617c19f173274812c260bf
2019-12-09 13:54:29 +00:00
Automerger Merge Worker
d6c8280a7d [DO NOT MERGE] Resolver/Chooser - Window inset fixes am: 95ede7fb53
Change-Id: I77a948f5599ee8c3453b758136ea13c62ad95e69
2019-12-09 13:54:13 +00:00
TreeHugger Robot
2c5bd63efd Merge "[DO NOT MERGE] Resolver/Chooser - Window inset fixes" into qt-qpr1-dev 2019-12-09 13:40:38 +00:00
Oli Lan
be7a423649 Make ApexManager a singleton.
Currently ApexManager is only accessed from PackageManager, but upcoming changes
to allow rollback of apex data directories will require RollbackManager to
access it as well. (See go/apex-data-directories)

Multiple ApexManagers can already be created, but as the class maintains a cache of apex
packages, it would be inefficient to have many of them. This change makes ApexManager
into a singleton so that PackageManager and RollbackManager can use the same one.

Bug: 141148175
Test: atest CtsStagedInstallHostTestCases
Change-Id: Id43a20bf94f349c87d50de5dad7c90bee50f39f1
2019-12-09 13:10:18 +00:00
Matt Pietal
95ede7fb53 [DO NOT MERGE] Resolver/Chooser - Window inset fixes
Resolver supports numerous layouts, with optional ViewGroups. Need to
make sure the window inset is applied to the correct view. If there is
a List present, add a footer so that the list scrolls underneath the
navbar.

Test: atest ResolverActivityTest
Bug: 145670872
Change-Id: I94652c5e0068436878a307701b5785f02060b8d6
2019-12-09 07:43:10 -05:00
TreeHugger Robot
3978fd5471 Merge "Remove unused deferClearAllDrawn" 2019-12-09 11:00:42 +00:00
Rubin Xu
feeeb6538e Merge "Kill off untrusted password reset" 2019-12-09 10:29:24 +00:00
Jone Chou
09fd43d922 Merge "Enlarge SYSTEM_LAST_KMSG truncated size from 96KB to 192KB" 2019-12-09 08:16:34 +00:00
easoncylee
bdbbb3a05f Merge "Convert apct/framework/ext_services_test-cloud-tf and apct/framework/testables_test-cloud-tf to Test Mapping Suite." am: 0b51af2540 am: 3f6177c54a
am: 1222d756d1

Change-Id: I8fea39a113bf11d3ad10ba4e249808a832ed9b1f
2019-12-08 22:55:14 -08:00
easoncylee
1222d756d1 Merge "Convert apct/framework/ext_services_test-cloud-tf and apct/framework/testables_test-cloud-tf to Test Mapping Suite." am: 0b51af2540
am: 3f6177c54a

Change-Id: I5506a16b74b49fe0ae1165bd1c866fc043022d77
2019-12-08 22:51:13 -08:00
easoncylee
3f6177c54a Merge "Convert apct/framework/ext_services_test-cloud-tf and apct/framework/testables_test-cloud-tf to Test Mapping Suite."
am: 0b51af2540

Change-Id: Ia3cb6a650437cea7df13d302d2f3b409e071e73a
2019-12-08 22:47:44 -08:00
Treehugger Robot
0b51af2540 Merge "Convert apct/framework/ext_services_test-cloud-tf and apct/framework/testables_test-cloud-tf to Test Mapping Suite." 2019-12-09 06:39:52 +00:00
TreeHugger Robot
666ac4c02f Merge "Handle nulls in Java autogeneration" 2019-12-09 05:52:44 +00:00
Muhammad Qureshi
67df8893dd Handle nulls in Java autogeneration
Bug: 143979391
Test: m -j
Change-Id: I93146faa1976cac195c2250832d12ee4a09ae969
2019-12-08 20:40:46 -08:00
PO HUNG CHEN
63a772c070 Merge "Allow the DSU Loader to install DSU package" 2019-12-09 03:36:45 +00:00
Jone Chou
1b5ffac398 Enlarge SYSTEM_LAST_KMSG truncated size from 96KB to 192KB
- This is for userdebug build only
- Target to improve ramdump-less debugging for All of Pixel devices
- Max bootloader logs size is 45KB and will be appended to last kernel
  log end
- Totally enlarge last kernel logs size from (96-45)KB to < (192-45)KB
  => extra inserted size: header(521B), truncated signature(14B), footer(43B)
     SYSTEM_LAST_KMSG + header(521B) + truncated signature(14B) + footer(43B) = 196608B(192KB)
     and actual SYSTEM_LAST_KMSG is 196030 < 192KB

Bug: 145574030
Change-Id: I7b5921e1f01433c7aa27e564ab28181d0a4d0b31
2019-12-09 03:10:44 +00:00
Betty Chang
a52bbd3624 Merge "[Telephony Mainline] Add SimInfo.CONTENT_URI instead SubscriptionManager.CONTENT_URI for mainline" 2019-12-09 02:25:57 +00:00
Rubin Xu
d952240979 Kill off untrusted password reset
Time has come that we can finally ditch untrusted password reset i.e.
changing lockscreen password without providing the existing password or
an activiated password reset token. In this change, we are:

1. Preventing any DPC / legacy device admin from invoking
DPM.resetPassword(), the primary route to invoke untrusted password
reset. Depending on their target SDK level, resetPassword() will either
throw SecurityException, or fail silently.
2. Still allowing privilleged app holding RESET_PASSWORD permission to
call this API, but it's limited to setting a new passowrd on an
unsecured device.
3. Removing synthetic password caching mechanism in LockSettingsService,
whose sole purpose was to support untrusted password reset.

Bug: 137939224
Test: atest com.android.server.locksettings
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: Ie3e5e277984b6fc2f1d378880363028752bad775
2019-12-08 22:01:01 +00:00
Jeff Sharkey
993b3ed571 Merge "Structure MediaProvider as an APEX." 2019-12-08 21:20:34 +00:00
Paul Hu
996e6d1dce Merge "Add CONNECTIVITY_INTERNAL to bt tethering related APIs temporarily" am: 60675ece9a am: 1fe8de5336
am: f0f09efa1e

Change-Id: I645995f3101b1062dd15a85ada671badfae30ed3
2019-12-08 06:15:40 -08:00
Paul Hu
f0f09efa1e Merge "Add CONNECTIVITY_INTERNAL to bt tethering related APIs temporarily" am: 60675ece9a
am: 1fe8de5336

Change-Id: I6d5928c623b72fc8415b499dc69f9775be21a58a
2019-12-08 06:11:39 -08:00
Paul Hu
1fe8de5336 Merge "Add CONNECTIVITY_INTERNAL to bt tethering related APIs temporarily"
am: 60675ece9a

Change-Id: Ida6708c69af334b0cda965cfea0427b76fb6457e
2019-12-08 06:07:36 -08:00
Paul Hu
60675ece9a Merge "Add CONNECTIVITY_INTERNAL to bt tethering related APIs temporarily" 2019-12-08 14:00:52 +00:00
Chen Xu
2ee5f0ae28 [automerger skipped] Merge "allow com.android.cellbroadcastservice grant signature permission" am: a8c4669579 am: 15878e511f
am: c2769be126 -s ours
am skip reason: change_id Id31e3ce6662db254b77178bc2d6ee9ec7532bc8d with SHA1 3da1104af0 is in history

Change-Id: Id4106088073a8956b445242c3b997560d5354be7
2019-12-07 14:12:22 -08:00
Chen Xu
c2769be126 Merge "allow com.android.cellbroadcastservice grant signature permission" am: a8c4669579
am: 15878e511f

Change-Id: Idf30a1368ee85dffc0fec7993c6354b5e50dece0
2019-12-07 14:08:13 -08:00
Chen Xu
15878e511f Merge "allow com.android.cellbroadcastservice grant signature permission"
am: a8c4669579

Change-Id: I5038eba42b737e88cc68ee811e2879069c03d401
2019-12-07 14:02:53 -08:00
Chen Xu
a8c4669579 Merge "allow com.android.cellbroadcastservice grant signature permission" 2019-12-07 21:19:23 +00:00
Jeff Sharkey
679025e6a9 Merge "Initial support for subtitles and lyrics." 2019-12-07 16:15:29 +00:00
Felipe Leme
90667948f2 Merge "Fixed UserSwitchingDialog theme." into qt-qpr1-dev am: 948ed682ff
am: 8502f86415

Change-Id: Ia83735b98d96e05d4bea510d65908e1f917e8794
2019-12-06 23:11:45 -08:00
felipeal
b9605c1a11 Merge "Issue a warning when the user switching dialog times out." into qt-qpr1-dev am: 839c5ec5e4
am: 80332ab6cc

Change-Id: I7ca0244e7255d49f9ab11a54cf89c42dc49ba1ec
2019-12-06 23:09:21 -08:00
Felipe Leme
c83bb57137 Merge "Added owners for CarUserSwitchingDialog.java" into qt-qpr1-dev am: 88e0f9d554
am: 956d41741f

Change-Id: Ibc80a01b3278a3d1f4dc7bd44ec8f265265ceb27
2019-12-06 23:06:56 -08:00
Automerger Merge Worker
8502f86415 Merge "Fixed UserSwitchingDialog theme." into qt-qpr1-dev am: 948ed682ff
Change-Id: Iff202dd888e5ac1548b7391b59164225b856fd46
2019-12-07 06:45:23 +00:00
Automerger Merge Worker
80332ab6cc Merge "Issue a warning when the user switching dialog times out." into qt-qpr1-dev am: 839c5ec5e4
Change-Id: Ie051016e9f38f4c453f4137dc50fd9e55ab53a83
2019-12-07 06:44:34 +00:00
Automerger Merge Worker
956d41741f Merge "Added owners for CarUserSwitchingDialog.java" into qt-qpr1-dev am: 88e0f9d554
Change-Id: Ia31959464a907bb489d3969de6dfbf0c63f972cd
2019-12-07 06:43:25 +00:00
TreeHugger Robot
948ed682ff Merge "Fixed UserSwitchingDialog theme." into qt-qpr1-dev 2019-12-07 06:32:52 +00:00
TreeHugger Robot
839c5ec5e4 Merge "Issue a warning when the user switching dialog times out." into qt-qpr1-dev 2019-12-07 06:32:13 +00:00
TreeHugger Robot
88e0f9d554 Merge "Added owners for CarUserSwitchingDialog.java" into qt-qpr1-dev 2019-12-07 06:27:48 +00:00
David Su
cd6552f818 Merge "Copy libcore.utils.HexEncoding into Wifi module" 2019-12-07 04:13:19 +00:00
Jack Yu
3399dd3296 Merge "When SPN is empty, use PNN in mobile network settings" into qt-qpr1-dev am: eae359df70
am: b016c57ff3

Change-Id: Ib58a40f425a402ce332424e2175185676d23b903
2019-12-06 20:04:57 -08:00