Commit Graph

10851 Commits

Author SHA1 Message Date
Varun Shah
e9ed8a38cb Merge "Update OWNERS for Content* framework." am: 81f00f0198 am: 44b972b1f7 am: 49548d9faf am: 62696eb689
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665999

Change-Id: I963ee440265fa29a10366f8c595dd044550c671f
2021-04-23 01:08:36 +00:00
Varun Shah
62696eb689 Merge "Update OWNERS for Content* framework." am: 81f00f0198 am: 44b972b1f7 am: 49548d9faf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665999

Change-Id: I920018f2654eee3bcccc865c37fa44f0c265b995
2021-04-23 01:01:17 +00:00
Hui Yu
8e3df06bcb Merge "Temp allowlist bluetooth broadcast to start FGS for 10 seconds." into sc-dev am: 9757955874
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14179249

Change-Id: I7490210d3bae1cda43051963a372f53a6f5417bb
2021-04-23 00:00:28 +00:00
Varun Shah
81f00f0198 Merge "Update OWNERS for Content* framework." 2021-04-22 23:59:17 +00:00
Hui Yu
9757955874 Merge "Temp allowlist bluetooth broadcast to start FGS for 10 seconds." into sc-dev 2021-04-22 23:41:30 +00:00
Evan Severson
47426c23c0 Merge "Remove package manager feature for toggles" into sc-dev am: 171fe09c3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14194146

Change-Id: I8d9bb177b97bd549ab6683220b6b622bda62f335
2021-04-22 16:43:01 +00:00
Evan Severson
171fe09c3c Merge "Remove package manager feature for toggles" into sc-dev 2021-04-22 16:38:36 +00:00
Jackal Guo
3d6561d9fb Merge "Apply package visibility to LauncherApps.Callback" into sc-dev am: 011805bf48
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14122531

Change-Id: I21a4e7bc4e1844fba689fa145685893723e6f943
2021-04-22 08:59:01 +00:00
Jackal Guo
011805bf48 Merge "Apply package visibility to LauncherApps.Callback" into sc-dev 2021-04-22 08:54:29 +00:00
Hui Yu
8c23d658c7 Temp allowlist bluetooth broadcast to start FGS for 10 seconds.
Add an overloaded version of Context.sendBroadcastMultiplePermissions() that can
specify BroadcastOptions, it is called by com.android.bluetooth package.

Bug: 182816627
Test: atest AdapterServiceTest
Test: atest AvrcpControllerStateMachineTest
Test: atest BondStateMachineTest
Test: atest MapClientStateMachineTest
Test: atest RemoteDevicesTest

Change-Id: I8bb2d2ed98ece70ebbe9d3a1b549b966d690de4f
2021-04-21 16:48:04 -07:00
Alexander Dorokhine
7efd715e3e Merge "Update framework from jetpack." into sc-dev am: 5681f7c05f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14201757

Change-Id: I3e54780f4cb34c1a1e866b1ed608ffe05f1b3f34
2021-04-21 23:30:07 +00:00
Alexander Dorokhine
5681f7c05f Merge "Update framework from jetpack." into sc-dev 2021-04-21 23:17:21 +00:00
Lucas Dupin
7e3a49c401 Merge "Fix typos in documentation" into sc-dev am: 2a8031d889
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14240211

Change-Id: Ic4f618ac802f87812917829795d35e95bdb96a93
2021-04-21 22:19:03 +00:00
TreeHugger Robot
ac97159ac8 Merge "Addresses setRequireUserAction API feedback" into sc-dev am: 0b99af47c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14255126

Change-Id: Id84c084d207c81b5337f19a078d710895c25aea1
2021-04-21 22:18:07 +00:00
Lucas Dupin
2a8031d889 Merge "Fix typos in documentation" into sc-dev 2021-04-21 22:17:42 +00:00
Pinyao Ting
405f230584 Merge "Replace oneway shortcut api with AndroidFuture" into sc-dev am: a51996aa48
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14254629

Change-Id: I83d1343e7b8ab594d551b63615bec32435542c49
2021-04-21 22:17:29 +00:00
TreeHugger Robot
0b99af47c5 Merge "Addresses setRequireUserAction API feedback" into sc-dev 2021-04-21 22:11:23 +00:00
Pinyao Ting
a51996aa48 Merge "Replace oneway shortcut api with AndroidFuture" into sc-dev 2021-04-21 22:10:19 +00:00
Nate Myren
daa38f258b Merge "Change Permission Group methods to be callback, gate behind perm" into sc-dev am: f7c1b2721e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14237959

Change-Id: I08ffd0c2ea036b7b419bcebba88398ccdb44b2de
2021-04-21 21:03:51 +00:00
Nate Myren
f7c1b2721e Merge "Change Permission Group methods to be callback, gate behind perm" into sc-dev 2021-04-21 21:01:05 +00:00
TreeHugger Robot
a63e73b34b Merge "Refine setRenouncedPermissions() docs." into sc-dev am: 5e8994981d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14268412

Change-Id: I4ddce4b8465e6dc5ce1690a4063c26486ce9adf9
2021-04-21 20:52:08 +00:00
TreeHugger Robot
5e8994981d Merge "Refine setRenouncedPermissions() docs." into sc-dev 2021-04-21 20:49:59 +00:00
Alexander Dorokhine
ca083d96de Update framework from jetpack.
Included changes:
* b7122be: Update Builders to comply with API council requirements.
* 60b34cd: Changes to AppSearchSchema builders to comply with API requirements.
* c6f7eee: Support property paths in GenericDocument.
* cbee331: Update documentation to distinguish between AppSearchSession and GlobalSearchSession
* cbdd3b9: Rename ReportUsage#usageTimeMillis to #usageTimestampMillis.
* cc09d3a: Implement value indices in GenericDocument.
* e7faa03: Rename isIndexNestedProperties to shouldIndexNestedProperties.
* aaa6e81: Support @CurrentTimeMillisLong in export.
* 388c2b4: Rename GenericDocument's "uri" to "id" everywhere.

Bug: 184576792
Bug: 184576806
Bug: 184174844
Bug: 180481315
Bug: 179797058
Bug: 175146044
Bug: 184175636
Bug: 185492298
Test: Presubmit
Change-Id: I81e396c1d4770479654a3a69ea598e23de88ac9a
2021-04-21 11:23:09 -07:00
Jeff Sharkey
4047486998 Refine setRenouncedPermissions() docs.
Bug: 182423603
Test: none
Change-Id: I3c92a3150d3f22b4ed072a66d6b080e00a7ddabe
2021-04-21 12:08:48 -06:00
Pinyao Ting
480d532c96 Replace oneway shortcut api with AndroidFuture
Oneway calls to the system process can cause more trouble along those
lines than they solve.

Asynchronous incall pressure to the system process is worse than
synchronous incall pressure: it causes catastrophic failure modes
and is also much harder to diagnose when problems happen.
It's also much harder to guarantee transactionality when the caller
side is asynchronous.

Bug: 184878227
Test: atest ShortcutManagerTest1 ShortcutManagerTest2
ShortcutManagerTest3 ShortcutManagerTest4 ShortcutManagerTest5
ShortcutManagerTest6 ShortcutManagerTest7 ShortcutManagerTest8
ShortcutManagerTest9 ShortcutManagerTest10 ShortcutManagerTest11
Test: atest CtsShortcutManagerTestCases
Change-Id: I4ec6b188f079c018902bedf32198c04e9c45a60d

Change-Id: I854de382ee6bdc5ae32b6874b7d875dfe6c03c40
2021-04-21 11:02:28 -07:00
Ashwini Oruganti
045206476e Merge "Make ActivityInfo#attributionTags public." into sc-dev am: 991791446c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14254745

Change-Id: I6c4e1ae5014deb25dbb661a87b56e2d1946eea3c
2021-04-21 17:29:53 +00:00
Ashwini Oruganti
991791446c Merge "Make ActivityInfo#attributionTags public." into sc-dev 2021-04-21 17:27:41 +00:00
Patrick Baumann
2491ee93bb Addresses setRequireUserAction API feedback
This change modifies the signature of SessionParams#setRequireUserAction
to take an int instead of a bool to match the return of
SessionInfo#getRequireUserAction.

Fixes: 184890429
Test: atest CtsSilentUpdateHostTestCases
Change-Id: I5868f9dadaf10bda1524446d3ad755cb69be73a5
2021-04-21 09:16:36 -07:00
Kholoud Mohamed
08cdde978b Merge "Expose setInstallFlagAllowTest testAPI" into sc-dev am: 3846f7b552
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14019211

Change-Id: I2d9229ad2cee8601ad1b998bebe90e20f5e4c44e
2021-04-21 11:28:28 +00:00
Kholoud Mohamed
3846f7b552 Merge "Expose setInstallFlagAllowTest testAPI" into sc-dev 2021-04-21 11:07:50 +00:00
Jackal Guo
a3e316fb01 Apply package visibility to LauncherApps.Callback
Applications could know package related events via registering and
implementing the LaunchersApps.Callback. We should also apply the
visibility to LauncherApps.Callback like what we did for Broadcast-
Receiver.

For removed one, using a new protected broadcast with the visibility
allow list in the extra instead since the PackageSetting is already
deleted and wouldn't be able to get its visibility allow list.

Bug: 143946569
Test: atest AppEnumerationTests
Test: atest ShortcutManagerLauncherCallbackTest
Test: atest IncrementalLoadingProgressTest
Test: atest NonIncrementalLoadingProgressTest
Change-Id: If457e2d7892d9d4fbb8cf0ca230de423526eeb10
2021-04-21 09:48:40 +08:00
Evan Severson
6a8d3dc686 Remove package manager feature for toggles
Create a dedicated api in the sensor privacy service to check if the
toggle is supported.

Also address some other api feedback and also rename the older mute
feature to all-sensors so that there are no longer overloaded methods
with different functions.

Test: Checkbuild, CtsSensorPrivacyTestCases, Manual
Fixes: 181681375
Change-Id: I655544846310e864ec8479ce8f93aee2860824f7
2021-04-20 16:37:55 -07:00
TreeHugger Robot
301bec1c37 Merge "[pm] remove incremental startable/unstartable code" into sc-dev am: 18ecd98109
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14185076

Change-Id: I6b3a69cca804cd1e73c507168b3d4dc5bac0910e
2021-04-20 22:12:53 +00:00
Ashwini Oruganti
41c544c592 Make ActivityInfo#attributionTags public.
Bug: 182979908
Test: TH
Change-Id: Ifefefe02c27481d3de9a3c1f0b82953278705fcf
2021-04-20 15:07:19 -07:00
TreeHugger Robot
18ecd98109 Merge "[pm] remove incremental startable/unstartable code" into sc-dev 2021-04-20 22:03:22 +00:00
Hall Liu
0923c1f4d4 Merge "Add docs clarifying permissions of setSystemAppState" into sc-dev am: 379a3f5ae2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14237884

Change-Id: I3cf3d738728fbe3242caeb79a9f17ccfae42fb89
2021-04-20 16:39:35 +00:00
Hall Liu
379a3f5ae2 Merge "Add docs clarifying permissions of setSystemAppState" into sc-dev 2021-04-20 16:23:43 +00:00
Naomi Musgrave
9ed4231972 Merge "Introduce config for sandboxing" into sc-dev am: 692496d964
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14127228

Change-Id: I540c2d9a886fdf75b8280924845d61cc7cb11b0d
2021-04-20 15:40:38 +00:00
kholoud mohamed
dbaaacd5ad Expose setInstallFlagAllowTest testAPI
Exposed a testAPIs to set INSTALL_ALLOW_TEST install flag,
and allowed it to holders of INSTALL_TEST_ONLY_PACKAGE
permission.

Bug: 183716601
Test: N/A
Change-Id: Ie045f43c5224ed75e0ba8db91a3b77aa4d66a5d6
2021-04-20 15:37:25 +00:00
Naomi Musgrave
692496d964 Merge "Introduce config for sandboxing" into sc-dev 2021-04-20 15:36:32 +00:00
Nate Myren
7590ff96f0 Change Permission Group methods to be callback, gate behind perm
Create a GET_RUNTIME_PERMISSION_GROUP_MAPPING permission to gate the
permission group methods behind, and changes the methods to have
callbacks.

Test: atest GetPermissionGroupInfoTest
Fixes: 185177089
Change-Id: Ifd2ebc74f16e51b62068bdc6c8748f69bc63e923
2021-04-19 16:44:33 -07:00
TreeHugger Robot
2d9a182683 Merge "Add reference for privacy hub API timestamps" into sc-dev am: 214a24ac6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14196482

Change-Id: I97e5dcad5f392b093610a56e68d6bfb95d427f8b
2021-04-19 23:17:21 +00:00
Lucas Dupin
d5638c96cf Fix typos in documentation
Test: read docs
Fixes: 185834160
Change-Id: I1e7204c196119ea24d5813dd0e5e3ee96f2743f8
2021-04-19 15:58:36 -07:00
TreeHugger Robot
214a24ac6a Merge "Add reference for privacy hub API timestamps" into sc-dev 2021-04-19 22:51:30 +00:00
Hall Liu
db950993f2 Add docs clarifying permissions of setSystemAppState
Fixes: 184568177
Test: NA, docs only
Change-Id: Ie5c9b8b4ba5ff4b5d206b7c64b3d29c0fc5bbffa
2021-04-19 13:48:09 -07:00
TreeHugger Robot
d5caf9eb25 Merge "Suppress AutoBoxing issue for hasRequestRawExternalStorageAccess" into sc-dev am: efede1755e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14200907

Change-Id: I04125722f9a4a882d6e91005bb2c97bb1d9b183b
2021-04-19 18:43:53 +00:00
Aurimas Liutikas
6dd6c5a603 Merge "Cleanup nativeHeapZeroInit and memtagMode implementation." 2021-04-19 16:52:58 +00:00
TreeHugger Robot
efede1755e Merge "Suppress AutoBoxing issue for hasRequestRawExternalStorageAccess" into sc-dev 2021-04-19 16:50:35 +00:00
Alex Buynytskyy
33255cf959 Merge "API feedback: make DataLoader API System." into sc-dev am: 910f855fe0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14187676

Change-Id: Ie4180e92c678c3366f46ade615e7275aba9bef99
2021-04-19 04:04:58 +00:00
Alex Buynytskyy
910f855fe0 Merge "API feedback: make DataLoader API System." into sc-dev 2021-04-19 03:40:44 +00:00