Commit Graph

640300 Commits

Author SHA1 Message Date
Makoto Onuki
dc4aa4b86e Add a permission for CDM apps to start FGS from the background
Previously, any apps with a CDM association was allowed to start
foreground services from the background.

Now, only apps with
REQUEST_COMPANION_START_FOREGROUND_SERVICES_FROM_BACKGROUND
(or REQUEST_COMPANION_RUN_IN_BACKGROUND) are allowed to do so.

Bug: 186536261
Test: Manual test with a test app using CDM. With and without these
    permissions.
Change-Id: Ic00aa1c7cfefc37bf89ea3079ef0977aee12499b
2021-05-13 12:21:39 -07:00
Sunny Goyal
b04efdff70 Merge "Removing generalization from OneHandledAnimationController" into sc-dev 2021-05-11 16:20:44 +00:00
Vova Sharaienko
9ebad8e1ce Merge "Stats: Deprecate IStats HIDL interface for the Android S" into sc-dev 2021-05-11 16:04:36 +00:00
TreeHugger Robot
b0bcca6c78 Merge "Restrict appops when location is off" into sc-dev 2021-05-11 15:58:06 +00:00
Chen Xu
9c4f884ed0 Merge "missing permission check to access multi_sim_data_call settings" into sc-dev 2021-05-11 15:56:20 +00:00
Pavel Grafov
9eb3f1e986 Merge "Clean device-wide policies on COPE PO relinquish" into sc-dev 2021-05-11 15:55:54 +00:00
Makoto Onuki
987f904072 Merge "Implement requestForegroundServiceExemption, without enabling it" into sc-dev 2021-05-11 15:55:14 +00:00
Beverly Tai
3ee3029e96 Merge "Enable start haptic for udfps by default" into sc-dev 2021-05-11 15:25:37 +00:00
Nate Myren
0945ce8e5b Merge "Add concept of "paused" appOp (started, but MODE_IGNORED)" into sc-dev 2021-05-11 15:16:00 +00:00
Ryan Mitchell
15bb7d1379 Merge "Add <staging-public-group-final> to aapt2" into sc-dev 2021-05-11 15:05:02 +00:00
TreeHugger Robot
d45c3c8ddc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 67814f82b9 -s ours am: a9eb5e04d4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14494035

Change-Id: I158da80095527b4bc52a5a66787d5dedbf0f6d04
2021-05-11 14:58:53 +00:00
Kholoud Mohamed
80ed0ced6c Merge "Allow forceUpdateUserSetupComplete for non system users" into sc-dev 2021-05-11 14:50:38 +00:00
TreeHugger Robot
50d6c5237b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: a808f08c5f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14494034

Change-Id: I1cccd9ab416c208d7da2b573aead5ec2c4d691f6
2021-05-11 14:39:39 +00:00
TreeHugger Robot
a9eb5e04d4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 67814f82b9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14494035

Change-Id: Iaa58132bf87600deeab4faf337402b262608ede3
2021-05-11 14:38:44 +00:00
Orion Hodson
a2b37706b5 Merge "Move to renamed NDK symbol AFileDescriptor_getFd" into sc-dev 2021-05-11 14:31:42 +00:00
Pavel Grafov
ea96577017 Clean device-wide policies on COPE PO relinquish
Policies that should be now cleaned up properly:
* setRequiredStrongAuthTimeout
* setScreenCaptureDisabled
* setPersonalAppsSuspended
* setFactoryResetProtectionPolicy
* setSecurityLoggingEnabled
* setConfiguredNetworksLockdownState
* setSystemUpdatePolicy

The cleanup is performed upon receiving ACTION_USER_REMOVED
after policy data is removed.

Bug: 162815601
Test: atest DevicePolicyManagerTest#testWipeDataManagedProfileOnOrganizationOwnedDevice
Test: atest OrgOwnedProfileOwnerTest#testCanRelinquishControlOverDevice
Change-Id: I23434c6e103a558304b6b83b86f9ea2cca5ed36c
2021-05-11 15:29:40 +01:00
TreeHugger Robot
951e3ea011 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-11 14:27:32 +00:00
TreeHugger Robot
a808f08c5f Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-05-11 14:27:22 +00:00
TreeHugger Robot
67814f82b9 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-05-11 14:22:18 +00:00
TreeHugger Robot
2a7c449484 Merge "Fix race condition in DiscreteRegistry test set up." into sc-dev 2021-05-11 14:20:22 +00:00
Soonil Nagarkar
8b56ce99da Restrict appops when location is off
Bug: 187421886
Test: manual
Change-Id: Ib25e299b395ba99aa7c7c33f5a9beb49df3aa3da
2021-05-11 06:21:25 -07:00
Michal Olech
d261ad7bfe Merge "[CEC Configuration] Modify FakeHdmiCecConfig to not persist changes" into sc-dev 2021-05-11 13:12:35 +00:00
Anton Hansson
369bb74a97 Merge "Apply the same filtering for docstubs and jarstubs" am: 46dff8e09f am: 8f1928f4ca am: 9e8186aaaf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700027

Change-Id: I83b173302f75d5536e47fcbb221fe806c691536a
2021-05-11 12:59:34 +00:00
TreeHugger Robot
d85097d1ad Merge "Add android: to text constant to prevent namespace conflicts." into sc-dev 2021-05-11 12:50:54 +00:00
Wesley Wang
f162726eb3 Merge "Update battery not charging state string" into sc-dev 2021-05-11 12:35:10 +00:00
Wesley Wang
76d6e8404f Merge "Update UsageProgressBarPref layout" into sc-dev 2021-05-11 12:33:54 +00:00
Wesley.CW Wang
157a0c5dbc Update battery not charging state string
Bug: 185448191
Bug: 187767337
Test: make SettingsRoboTests
Change-Id: If29aa20bd93467c46b0bd2ccbdd1984fc6c1afd8
2021-05-11 12:26:00 +00:00
Anton Hansson
9e8186aaaf Merge "Apply the same filtering for docstubs and jarstubs" am: 46dff8e09f am: 8f1928f4ca
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700027

Change-Id: I677802ea22a342a9fae1e50e1f9ad91593e1251f
2021-05-11 12:23:54 +00:00
Ming-Shin Lu
edfb5c0acc Merge "Fix Keyboard covered input box after leaving split screen" into sc-dev 2021-05-11 12:23:16 +00:00
Jeff DeCew
0cd6fb1250 Merge "Increase the max height of Heads Up notifications." into sc-dev 2021-05-11 12:20:20 +00:00
SongFerng Wang
cf7f7a04d2 Merge "Add carrier config nr_advanced_capable_pco_id_int" into sc-dev 2021-05-11 12:08:19 +00:00
Fiona Campbell
27724516ef Merge "Fix crash in BrightnessTracker write events" into sc-dev 2021-05-11 12:02:27 +00:00
Anton Hansson
8f1928f4ca Merge "Apply the same filtering for docstubs and jarstubs" am: 46dff8e09f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700027

Change-Id: Ie8bd1bc14f50744f85f4860944d84128b7fca83f
2021-05-11 11:58:30 +00:00
Anton Hansson
46dff8e09f Merge "Apply the same filtering for docstubs and jarstubs" 2021-05-11 11:24:14 +00:00
Stanislav Zholnin
3a2903b945 Fix race condition in DiscreteRegistry test set up.
Fix: 187471134
Test: atest android.app.appops.cts.DiscreteAppopsTest
Change-Id: Ife71625711083edce6505cc3963ba51c7e8ff590
2021-05-11 11:06:02 +00:00
Tiger Huang
f0cf73d84b Merge "Let IME receive insets ignoring z-order" into sc-dev 2021-05-11 10:55:03 +00:00
Anton Hansson
160d104df9 Merge "Use filegroups for test-{base,mock,runner} srcs" am: af9b5f0a04 am: 06e56695cc am: 4eecbfcd41
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700026

Change-Id: I5444e5d1028c8cf9cd3fa624e05ad5b102866d94
2021-05-11 10:49:42 +00:00
Lucas Lin
98994935c1 [automerger skipped] Merge "Replace hidden API with public API" am: 7283a692b0 am: 78619286d3 am: c127bc6c68 -s ours
am skip reason: Merged-In I671aaf5099f7cd3459588a78cb99de39a0e23f95 with SHA-1 d569b783aa is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1696668

Change-Id: Iabc9b8598bdeb8b0b23e9f4c39c2c421a62fe434
2021-05-11 10:49:19 +00:00
Anton Hansson
8acd3a8e2b Merge "Fix incorrect package in PackageChangeReceiver" am: 0ee8641209 am: 03c08d1f14 am: 3da1090ce6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699739

Change-Id: Ib3596c8941803cfc7e55d47e2099d38857ade59c
2021-05-11 10:48:48 +00:00
Wesley.CW Wang
9c368494c7 Update UsageProgressBarPref layout
screenshot: https://screenshot.googleplex.com/9869pj4zNcqXWE6.png

Bug: 187770039
Bug: 187769839
Test: atest UsageProgressBarPreferenceTest
Change-Id: I31983d72cfe705c2328bcadaf4d048e2a4645b0b
2021-05-11 18:48:32 +08:00
Anton Hansson
822d0ac2ba Merge "Inline two constants from CorePlatform" am: dbf1544b68 am: e3eefd6d2e am: 833e374197
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699727

Change-Id: Ibac0caf69f17c8f003a4a197654c176448a9b7b9
2021-05-11 10:48:12 +00:00
Anton Hansson
4eecbfcd41 Merge "Use filegroups for test-{base,mock,runner} srcs" am: af9b5f0a04 am: 06e56695cc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700026

Change-Id: I107e919ab5b175789ed96cc1d4f26e8075bfa2c5
2021-05-11 10:45:31 +00:00
Alex Johnston
c8dffffc26 Merge "Remove device ownership text in quick settings" into sc-dev 2021-05-11 10:32:23 +00:00
Lucas Lin
c127bc6c68 Merge "Replace hidden API with public API" am: 7283a692b0 am: 78619286d3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1696668

Change-Id: I73eb1314cc4c894d9c4b7455588da7557eb792fb
2021-05-11 10:30:02 +00:00
Anton Hansson
3da1090ce6 Merge "Fix incorrect package in PackageChangeReceiver" am: 0ee8641209 am: 03c08d1f14
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699739

Change-Id: I8b990f0929f557cb9b38ebb401ad98e287d39f1b
2021-05-11 10:29:32 +00:00
Anton Hansson
833e374197 Merge "Inline two constants from CorePlatform" am: dbf1544b68 am: e3eefd6d2e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699727

Change-Id: Ifa3f8535c1135b5b67fc1fc9cb4f0377be3acd86
2021-05-11 10:29:15 +00:00
Anton Hansson
06e56695cc Merge "Use filegroups for test-{base,mock,runner} srcs" am: af9b5f0a04
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700026

Change-Id: I6e67d5d69e4863472eec70454cb9b338c40209a5
2021-05-11 10:29:02 +00:00
Lucas Lin
78619286d3 Merge "Replace hidden API with public API" am: 7283a692b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1696668

Change-Id: I4eaeb64157a95e91ca7af93c08a603483ceb9334
2021-05-11 10:26:24 +00:00
Anton Hansson
af9b5f0a04 Merge "Use filegroups for test-{base,mock,runner} srcs" 2021-05-11 10:09:00 +00:00
Anton Hansson
03c08d1f14 Merge "Fix incorrect package in PackageChangeReceiver" am: 0ee8641209
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699739

Change-Id: Iaa83eecc886429b13ac569eae80a16b058670b20
2021-05-11 10:06:13 +00:00