454746 Commits

Author SHA1 Message Date
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
Jeff Sharkey
8002eb3292 Merge "Adjust policy for "stale" volumes outside module." 2019-12-07 03:47:46 +00:00
Automerger Merge Worker
b016c57ff3 Merge "When SPN is empty, use PNN in mobile network settings" into qt-qpr1-dev am: eae359df70
Change-Id: Ifaa2300cfd755979211847c4c4042c1127d2b708
2019-12-07 03:12:13 +00:00
Sooraj Sasindran
8da132d7cb Merge "Do not use hidden withCleanCallingIdentity" 2019-12-07 02:58:30 +00:00
TreeHugger Robot
eae359df70 Merge "When SPN is empty, use PNN in mobile network settings" into qt-qpr1-dev 2019-12-07 02:52:36 +00:00
Jeff Sharkey
257b6bff6c Initial support for subtitles and lyrics.
Ideally audio and video files would embed information like subtitles
and lyrics directly into the container format, but alas the world
hasn't completely moved to Matroska yet.

Thus we're willing to recognize these side-car files and let them be
visible to apps that have gained the "Audio" or "Video" permissions.

Bug: 132359020, 143549606
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I07513c48e245a00c0288a4b0fbee322cb02f49a9
2019-12-06 19:13:39 -07:00
TreeHugger Robot
fd2fd2a8d0 Merge "NetworkUtils is deprecated, migrate to Inet4AddressUtils" 2019-12-07 01:52:02 +00:00
Winson Chiu
02ac3ea62b Merge changes from topic "actorenforceuser"
* changes:
  Fix user handling for actor enforcement
  Fix OverlayableInfo native construction
2019-12-07 01:15:29 +00:00
David Su
5b62f3d496 Copy libcore.utils.HexEncoding into Wifi module
@CorePlatformApi's cannot be depended on by Wifi
Mainline module. Thus create a copy and migrate
usages over.

Bug: 145409537
Test: atest FrameworksWifiApiTests
Change-Id: If4133bdd9ac9ca005538a03592462d2e1365c0d8
2019-12-07 01:10:03 +00:00
Kim Baekgyeong
22bd0ac226 Merge "Add last connected device concept" am: bb8b854423 am: 3a3f869e90
am: f1ed27304b

Change-Id: I474caff2681a34f4b17b83a8981ffecfd363d786
2019-12-06 16:59:49 -08:00
Ruchir Rastogi
b6cfb833ec Merge "StatsEventParcel impl.; move AIDL files" 2019-12-07 00:58:25 +00:00
Kim Baekgyeong
f1ed27304b Merge "Add last connected device concept" am: bb8b854423
am: 3a3f869e90

Change-Id: Ia75028b244d1ca531826ff37cbe219885bc3f286
2019-12-06 16:53:26 -08:00
Jeff Sharkey
5e374476c4 Adjust policy for "stale" volumes outside module.
We're not ready to commit to VolumeRecord in an API surface, so the
next best choice we have is to place the logic in MediaStore, which
is outside the Mainline module boundary.

This also has the benefit of giving partners control over exactly
what policy they want to use for expiring stale volumes.

Bug: 137890034
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I677e4bfa6d08e32775e02c323debbaa90acf632b
2019-12-06 17:52:16 -07:00
Kim Baekgyeong
3a3f869e90 Merge "Add last connected device concept"
am: bb8b854423

Change-Id: I3487cf8182f4ced0938b022c0b8b1c0d53099fdb
2019-12-06 16:47:35 -08:00
Srinivas Paladugu
98585a6c0c Merge "Add property to skip idle state for zram writeback" am: a594a9e68c am: 376ca93cb2
am: 656c91167a

Change-Id: I40a99988b92ae14c3a0bb936358fce98addca06d
2019-12-06 16:47:20 -08:00
Srinivas Paladugu
656c91167a Merge "Add property to skip idle state for zram writeback" am: a594a9e68c
am: 376ca93cb2

Change-Id: I78183b91ac536a4c599b8dde1a097109612914a6
2019-12-06 16:43:15 -08:00
Blake Kragten
bad78d11a4 Merge "GNSS Metrics Fix." 2019-12-07 00:43:14 +00:00