Kholoud Mohamed
551b34d092
Merge "Add testAPI to get adopted shell permissions." into sc-dev am: a09e44982d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13948532
Change-Id: I67e3bcd0a91dcccbefdd2690a7982d41a7566a34
2021-04-06 16:52:08 +00:00
Kholoud Mohamed
a09e44982d
Merge "Add testAPI to get adopted shell permissions." into sc-dev
2021-04-06 16:50:05 +00:00
Jeff DeCew
e64188096b
Merge "Do not highlight group expanders" into sc-dev am: 6a39b82e8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14068211
Change-Id: I134e6d7c98a3f9ef96d6c7095f320191285c5e82
2021-04-06 15:23:55 +00:00
Jeff DeCew
6a39b82e8b
Merge "Do not highlight group expanders" into sc-dev
2021-04-06 15:10:57 +00:00
kholoud mohamed
0ac02444e8
Add testAPI to get adopted shell permissions.
...
Added a new testAPI in UiAutomation to get the currently adopted
shell permissions using adoptShellPermissionIdentity.
Test: atest UiAutomationTest
Bug: 183716601
Change-Id: I66a6c753480cecf971f7354daaddbb404f5c1453
2021-04-06 14:08:03 +00:00
Roshan Pius
b36cc8ce9f
Merge "UwbManager: Use AttributionSource for runtime permission enforcement" into sc-dev am: d538d8b530
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14064872
Change-Id: Id745d7d8e9011383a58c4783793f83ba0f410599
2021-04-06 05:24:50 +00:00
Roshan Pius
a88aa31269
UwbManager: Use AttributionSource for runtime permission enforcement
...
This attribution source is going to be used by Gmscore to proxy
the blame for uwb_ranging runtime permission check (since Gmscore which
is the direct caller of this surface is in most cases proxying the
request from 1p/3p apps).
Note: This CL just adds the skeletal API to start the API reviews. The
actual implementation needs a major refactor of the stack which is WIP.
Bug: 183904955
Test: atest android.uwb
Change-Id: Ia0338b573306f44c493bf1c136e68b4f46877816
2021-04-05 17:31:31 -07:00
Jeff DeCew
018dd31970
Do not highlight group expanders
...
Bug: 181048615
Test: manual
Change-Id: I491e0cf5aeb97bf6baf13a467481dd799893106e
2021-04-05 20:21:06 +00:00
Yuri Lin
ec78f61cac
Merge "Remove notification channels from history when they're deleted." into sc-dev am: 285d2b4a57
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14053424
Change-Id: I6d545de64e128efc09e4940bfe19c7f301c015cb
2021-04-05 19:01:37 +00:00
Julia Reynolds
e9e6c081b9
Merge "Allow apps to migrate NLS filter settings" into sc-dev am: 47fe65234f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14037994
Change-Id: I860eb8dd583b8528c2ed9edf1fe2a42563aae545
2021-04-05 18:47:58 +00:00
Svetoslav Ganov
4e52f3ee88
Merge "Hookup renounced permissions" into sc-dev am: 6f7e03244d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14064838
Change-Id: I1fd9ab25722a66dab908a1e1bcbad82945026741
2021-04-05 18:42:57 +00:00
Yuri Lin
048571dd57
Remove notification channels from history when they're deleted.
...
To make this possible, this change adds functionality for notification channel removal to NotificationHistory, NotificationHistoryDatabase, and NotificationHistoryManager and corresponding tests.
This change does not remove the notifications from deleted channels from the "recently dismissed" list (stored in mArchive); will follow up with that later.
Test: atest NotificationHistoryTest, NotificationHistoryDatabaseTest, NotificationManagerServiceTest; manual via creating channels, deleting them and verifying
Bug: 169349809
Change-Id: I7b1c137e516d14703665750f06554ac7ca44c90e
2021-04-05 10:49:07 -04:00
Julia Reynolds
47fe65234f
Merge "Allow apps to migrate NLS filter settings" into sc-dev
2021-04-05 13:30:57 +00:00
Svetoslav Ganov
6f7e03244d
Merge "Hookup renounced permissions" into sc-dev
2021-04-05 00:55:30 +00:00
Jeff DeCew
12e041ad26
Merge "Fix NPE in obtainThemeColor due to use of Mocks" into sc-dev am: 7116f04929
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14068215
Change-Id: Ibc04fdacac82fa4b9e74ec9e28a1dbeab70c00d5
2021-04-02 21:28:15 +00:00
Jeff DeCew
7116f04929
Merge "Fix NPE in obtainThemeColor due to use of Mocks" into sc-dev
2021-04-02 20:52:37 +00:00
Caitlin Cassidy
57d47d74ae
Merge "[Ongoing Call Chip] Add feature flag + controller" into sc-dev am: 4be0810f5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13972866
Change-Id: I80efc6fa0193e3fc1df626b2cc71a70dbafe9d8f
2021-04-02 18:18:34 +00:00
Caitlin Cassidy
4be0810f5b
Merge "[Ongoing Call Chip] Add feature flag + controller" into sc-dev
2021-04-02 18:12:20 +00:00
Jeff DeCew
6ec691868b
Fix NPE in obtainThemeColor due to use of Mocks
...
Fixes: 184358158
Test: atest DisconnectedCallNotifierTest
Change-Id: Ia561e262e288d71b93cc18e842eefcba054a32d8
2021-04-02 13:32:26 -04:00
Svet Ganov
48801b0bbd
Hookup renounced permissions
...
Propagate renounced permissions from context params
to the context attribution source. Throw if one
tries to request at runtime a renounced permission.
Also make the AttributionSource take null for the
setters to ease usage, otherwise folks should always
check for null before calling a builder method.
Additionally, we allow apps that have UPDATE_APP_OPS_STATS
to register arbitrary trusted AttributionSource for
testing. Note that this permission allows abritrary app
op operations, thus we are not relaxing the security
model.
bug: 158792096
Test: atest CtsPermission5TestCases
Change-Id: I4330684bb8695fb998cf31e9363b94ad981ba2cc
2021-04-02 17:30:10 +00:00
Julia Reynolds
0e36d959d0
Allow apps to migrate NLS filter settings
...
On a per user vs manifest wide basis.
Test: atest, cts-verifier
Bug: 184027330
Change-Id: Iae591765e410e360f289692bac012a1f26574add
2021-04-02 17:04:58 +00:00
Jeff Sharkey
7c53d59c13
Merge changes from topic "uwb_ranging_permission" into sc-dev am: a1d8bbb3ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14066462
Change-Id: Ibdfb032d0e0726cc6d593ce2a8a6225aa6de7107
2021-04-02 15:02:01 +00:00
Jeff Sharkey
a1d8bbb3ba
Merge changes from topic "uwb_ranging_permission" into sc-dev
...
* changes:
Add a new uwb ranging app-ops
Add a new uwb ranging runtime permission
2021-04-02 14:45:57 +00:00
Roshan Pius
f5b1cf217e
Add a new uwb ranging app-ops
...
This will be part of the nearby devices permission group.
Bug: 183904955
Test: Compiles
Change-Id: I8d225f6b9f40cc106aeb5ad661282cd394d7b826
2021-04-01 14:07:35 -07:00
Caitlin Cassidy
6a0fdd47e5
[Ongoing Call Chip] Add feature flag + controller
...
Bug: 183229367
Test: atest ran and manual
Change-Id: I8f754f4d894999a4bd5c13db81324e9abe204747
2021-04-01 18:38:54 +00:00
Jeff DeCew
61528e8bff
Merge "Remove unused code" into sc-dev am: 2016350655
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14020327
Change-Id: I37c8544fc8370ca0c682d0c4a77edd1643e59a42
2021-04-01 16:24:37 +00:00
Jeff DeCew
2016350655
Merge "Remove unused code" into sc-dev
2021-04-01 16:24:26 +00:00
Jeff DeCew
25fef5e39f
Merge "Notification color fixes" into sc-dev am: 9c95884765
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14020165
Change-Id: I7251d0ec6a087cb7ba388fef9deba555d4b22cf0
2021-04-01 15:02:09 +00:00
Jeff DeCew
9c95884765
Merge "Notification color fixes" into sc-dev
2021-04-01 14:34:45 +00:00
Kholoud Mohamed
b4c37004ff
Merge "Remove DATA_SHARING_RESTRICTION_CHANGED broadcast" into sc-dev am: 58d0a2a950
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14018894
Change-Id: Ib13d7fb130863a36e01856b1c49fa2277fac0d8c
2021-04-01 14:24:11 +00:00
TreeHugger Robot
f20af5fef3
Merge "Update description for skip ownership screen extra" into sc-dev am: c11d161d3a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14051145
Change-Id: Idf578041ad0e06f98f826d50cc1fc6dee9c3ee14
2021-04-01 14:23:29 +00:00
Kholoud Mohamed
58d0a2a950
Merge "Remove DATA_SHARING_RESTRICTION_CHANGED broadcast" into sc-dev
2021-04-01 14:21:00 +00:00
arangelov
4e75a9dc76
Update description for skip ownership screen extra
...
Bug: 175238386
Fixes: 179307805
Test: compiled
Change-Id: I5633a9145992eff12c3796fedd28aba339f5be43
2021-04-01 12:09:02 +00:00
kholoud mohamed
1192835a56
Remove DATA_SHARING_RESTRICTION_CHANGED broadcast
...
This broadcast was previously used to notify Managed Provisioning
that data sharing restrtiction has changed, this is no longer handled
in Managed Provisioning and is now handled in DPMS.
Fixes: 177221010
Test: N/A
Change-Id: I4e3fbb94c41f944afb41e226c06d1fffcc8bc264
2021-04-01 11:47:04 +00:00
Zhen Zhang
03c15bed9d
Merge "Persist user-agnostic lastTimeAnyComponentUsed in disk" into sc-dev am: bf5667bec6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13980062
Change-Id: If340d748111b71b4c45e4e401d6c18e1fd1af2f7
2021-03-31 23:01:22 +00:00
Zhen Zhang
bf5667bec6
Merge "Persist user-agnostic lastTimeAnyComponentUsed in disk" into sc-dev
2021-03-31 22:43:53 +00:00
Nikita Dubrovsky
d30f2ff54c
Merge "Rename getOnReceiveContentMimeTypes (drop "On")" into sc-dev am: 2bb75a4007
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14006645
Change-Id: I3b69523049d5de47f3c7f68bbd6d12d439ce44ae
2021-03-31 21:12:51 +00:00
Nikita Dubrovsky
2bb75a4007
Merge "Rename getOnReceiveContentMimeTypes (drop "On")" into sc-dev
2021-03-31 21:06:21 +00:00
Zhen Zhang
131f53fdf4
Persist user-agnostic lastTimeAnyComponentUsed in disk
...
Persist the user-agnostic lastTimeAnyComponentUsed usage stats in disk.
Bug: 183462940
Test: atest UsageStatsServiceTest
Test: atest UserStatsPersistenceTest
Test: atest CtsUsageStatsTestCases:UsageStatsTest
Change-Id: Ibe946f8e9fd9fa7d9ba546da67a6040c00e0f9ea
2021-03-31 11:27:26 -07:00
Mady Mellor
40ab95e018
Merge "API: Expose whether bubbles are enabled or not" into sc-dev am: 3da85d8e80
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13985823
Change-Id: Ic71bcdac893a8525e9557c2acfaa0118fbb55a90
2021-03-31 17:09:53 +00:00
Mady Mellor
3da85d8e80
Merge "API: Expose whether bubbles are enabled or not" into sc-dev
2021-03-31 16:53:16 +00:00
TreeHugger Robot
e771ff3fcc
Merge "Improve javadocs for new S constants" into sc-dev am: 456fb2e78b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13984189
Change-Id: I6f86f1f087221e5957c904472d49353d0e91ffda
2021-03-31 13:59:48 +00:00
TreeHugger Robot
456fb2e78b
Merge "Improve javadocs for new S constants" into sc-dev
2021-03-31 13:49:46 +00:00
Zhen Zhang
e6fe3ee1d5
Merge "Create package-level last time usage stats for app hibernation" into sc-dev am: eed249828f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13933089
Change-Id: I0ba03547e92c28ee32d7938beca4f30b287f807c
2021-03-31 09:20:05 +00:00
Zhen Zhang
eed249828f
Merge "Create package-level last time usage stats for app hibernation" into sc-dev
2021-03-31 09:04:50 +00:00
Louis Chang
596a71cc6f
Merge "Dump warning logs to prevent app crash while no top-resumed changes" into rvc-qpr-dev am: b6d433cdbd am: 2b5dae1c57 am: 3f790d2eba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13896651
Change-Id: I8c1ebc6caf9614ab26b343da94737f70f7d30d2e
2021-03-31 07:52:50 +00:00
Louis Chang
3f790d2eba
Merge "Dump warning logs to prevent app crash while no top-resumed changes" into rvc-qpr-dev am: b6d433cdbd am: 2b5dae1c57
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13896651
Change-Id: I4719a6ff203dafa59fd688f405efe44f19c1577b
2021-03-31 07:17:54 +00:00
Louis Chang
2b5dae1c57
Merge "Dump warning logs to prevent app crash while no top-resumed changes" into rvc-qpr-dev am: b6d433cdbd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13896651
Change-Id: I199c71ab75007a6fef25c71ecf433d2f939e43e9
2021-03-31 06:55:05 +00:00
Louis Chang
b6d433cdbd
Merge "Dump warning logs to prevent app crash while no top-resumed changes" into rvc-qpr-dev
2021-03-31 06:15:30 +00:00
Svet Ganov
2434b922a4
Addressing comments from commit:8d2ed5 am: 7d058d62e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14037325
Change-Id: Icdd2a654130cd7d0d12c0bc30d4e654078a14b69
2021-03-31 02:18:32 +00:00