Commit Graph

10836 Commits

Author SHA1 Message Date
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
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
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
TreeHugger Robot
55bedb9260 Merge "Revert "Revert "Increase MAX_ATTRIBUTIONS to 10000""" into sc-dev am: 4a8009373d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14200908

Change-Id: I9e78bf316d7f40442df25156519713507319961d
2021-04-19 01:38:53 +00:00
Alex Buynytskyy
e7339d98df API feedback: make DataLoader API System.
Bug: 184713911
Fixes: 184713911
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I00107102eb2e98004ed0a5db2a318a052ab60220
2021-04-18 15:48:21 +00:00
Erik Wolsheimer
e7df558396 Revert "Revert "Increase MAX_ATTRIBUTIONS to 10000""
This reverts commit ac9d5cd7ec.

Reason for revert: Fixed test

Change-Id: I01efe527b6e9c2adf3bec354faf9e9dde586cc17
2021-04-16 18:57:35 +00:00
Naomi Musgrave
cbdd8bdb9f Introduce config for sandboxing
Bug: 184838306
Bug: 185004937
Test: atest WmTests:SizeCompatTests
Change-Id: I031463f4bf8c8d87a829f1f03603e376bd44c082
2021-04-16 13:21:27 +01:00
Joanne Chung
d08c927d00 Merge "[FW] Change the fake translation name to formal name." into sc-dev am: fa1aa404ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14187047

Change-Id: I98b6390e02a95ac8190d7cafb9a134528b264c6d
2021-04-16 07:39:55 +00:00
Joanne Chung
fa1aa404ee Merge "[FW] Change the fake translation name to formal name." into sc-dev 2021-04-16 07:16:25 +00:00
Songchun Fan
5ada1508c2 [pm] remove incremental startable/unstartable code
Also remove streaming health status reporting which could cause
startable state change because it is also not needed any more.

BUG: 171920377
Test: builds
Change-Id: I7284e7a63df79da7dbf3d16ff64302b3d1ce1348
2021-04-16 02:29:24 +00:00
TreeHugger Robot
dabd5f6346 Merge "@IntDef incorrectly marked as containing flags" into sc-dev am: 4a9b2e6e36
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14186248

Change-Id: Ia6dface6f61dd6b484b412ab2221da9a50d922df
2021-04-16 01:34:54 +00:00
Aurimas Liutikas
2a815a678b Suppress AutoBoxing issue for hasRequestRawExternalStorageAccess
Metalava now prevents adding Boolean returns, see r.android.com/1677187

Test: None
Bug: 185484823
Change-Id: I4580908165fb00372297b476a6755385afb44446
2021-04-15 22:41:04 +00:00
Erik Wolsheimer
3f66ba5bef Merge "Revert "Increase MAX_ATTRIBUTIONS to 10000"" into sc-dev am: 404920ea6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14201758

Change-Id: I7bffd054edffb5211728f0fccad0ec356faafc8a
2021-04-15 22:19:10 +00:00
Todd Kennedy
5889bd1f7f @IntDef incorrectly marked as containing flags
Change-Id: I0bde93fde412b4770a84124a9e323e4ac003d587
Bug: 174238856
Fixes: 174238856
Test: None. Doc only change.
2021-04-15 21:51:13 +00:00
Erik Wolsheimer
404920ea6b Merge "Revert "Increase MAX_ATTRIBUTIONS to 10000"" into sc-dev 2021-04-15 21:20:25 +00:00
Jorge Moreira Broche
ac9d5cd7ec Revert "Increase MAX_ATTRIBUTIONS to 10000"
This reverts commit f9933b7d18.

Reason for revert: b/185482967

Change-Id: If0700210ce79b42cf8e80946a6c23b82ea99469e
2021-04-15 19:47:43 +00:00