Commit Graph

10873 Commits

Author SHA1 Message Date
TreeHugger Robot
e31344c371 Merge "Update documentation for activity flags." into sc-dev am: 51cac482f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14308715

Change-Id: I75c53fb20d3c3a0443441dd4629cf44714e27954
2021-04-29 08:51:05 +00:00
TreeHugger Robot
51cac482f5 Merge "Update documentation for activity flags." into sc-dev 2021-04-29 08:48:15 +00:00
Todd Kennedy
449bcb0da9 Merge "PackageParser OWNERS noparent" am: 26a5186ab1 am: 159886625a am: 2678377c4b am: 229773b648
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688565

Change-Id: I211fa81fc83caf97aa322559d3f8e1e1d22aa3c6
2021-04-28 22:47:35 +00:00
Todd Kennedy
229773b648 Merge "PackageParser OWNERS noparent" am: 26a5186ab1 am: 159886625a am: 2678377c4b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688565

Change-Id: Iacc17024700bdb7ac9c7d044288bd35b0dfb0054
2021-04-28 22:41:50 +00:00
Guliz Tuncay
9550d2f640 Merge "Migrate |documenter to |role" 2021-04-28 16:30:28 +00:00
TreeHugger Robot
5fa89103e8 Merge "Move new changes to ParsingPackageUtils" into sc-dev am: 9ccd991dac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14319867

Change-Id: I5e21edbb688c0412a3c4e1c6875683dad3903544
2021-04-28 08:05:34 +00:00
TreeHugger Robot
9ccd991dac Merge "Move new changes to ParsingPackageUtils" into sc-dev 2021-04-28 07:36:36 +00:00
Jackal Guo
ed537a2acf Move new changes to ParsingPackageUtils
PackageParsers is marked as Deprecated so any new change should be
in the alternative. Moving the new activity launch mode definition
to ParsingPackageUtils.

Bug: 174723245
Test: atest IntentTests
Change-Id: I841f9d9d5d5555a78902cc3c126ed811dd2ccfc6
2021-04-28 09:30:14 +08:00
Winson Chiu
7edfb41f13 PackageParser OWNERS noparent
Remove other OWNERS from PackageParser.java to disallow future changes.
No new code should go into PackageParser.java except in extreme outlier
circumstances.

Change-Id: I2f663d2ae527beccbd47402492aa51d0cc6f6c13
2021-04-27 16:14:50 +00:00
Svetoslav Ganov
180f5ab24e Merge "Revert "Prepare AttributionSource to expose to native"" into sc-dev am: b9b8524f38
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14315965

Change-Id: Ie3634408b2393594a914c582140f69b9c665ac20
2021-04-27 02:25:16 +00:00
Svetoslav Ganov
b9b8524f38 Merge "Revert "Prepare AttributionSource to expose to native"" into sc-dev 2021-04-27 02:12:30 +00:00
Adam Bookatz
33e17a9933 Revert "Prepare AttributionSource to expose to native"
Revert "Prepare AttributionSource to expose to native - native"

Revert submission 14225527-bug-158792096-04/16/21-1

Reason for revert: b/186467053
Reverted Changes:
I16740cc2d:Prepare AttributionSource to expose to native - na...
I4e050e78b:Prepare AttributionSource to expose to native

Change-Id: I83e4091231241c2211edf5745735f4ee993c6680
2021-04-26 23:20:46 +00:00
TreeHugger Robot
1973485504 Merge "Add examples for EXTRA_PERMISSION_GROUP_NAME and EXTRA_ATTRIBUTION_TAGS" into sc-dev am: de1232b368
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14313156

Change-Id: I2195ac60354f9bc086918c7ace0da79b25a219be
2021-04-26 22:46:52 +00:00
TreeHugger Robot
de1232b368 Merge "Add examples for EXTRA_PERMISSION_GROUP_NAME and EXTRA_ATTRIBUTION_TAGS" into sc-dev 2021-04-26 22:39:10 +00:00
Vadim Caen
98a00d7a76 Merge "API to override the splashscreen theme" into sc-dev am: 8773bbe881
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13996772

Change-Id: I6130f6a5dcabfb37074f6fbb914a7a27bad1057a
2021-04-26 19:24:08 +00:00
Vadim Caen
8773bbe881 Merge "API to override the splashscreen theme" into sc-dev 2021-04-26 19:20:04 +00:00
Guojing Yuan
9e703b97e6 Add examples for EXTRA_PERMISSION_GROUP_NAME and EXTRA_ATTRIBUTION_TAGS
Fix: 184890546

Test: N/A
Change-Id: I900995fc9d78da87a17013aaa56c86453eef7fb8
2021-04-26 18:22:29 +00:00
TreeHugger Robot
6197966364 Merge "Prepare AttributionSource to expose to native" into sc-dev am: a095d6b2b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14190127

Change-Id: I36a035b2bd484d4901ebcdf08dbc4960ca5d4306
2021-04-26 17:02:34 +00:00
Jeff Chang
911123acdd Update documentation for activity flags.
1. LAUNCHED_FROM_HISTORY, remove the out of date sentence.
2. NEW_DOCUMENT,add information about documentLaunchMode="never"
3. SINGLE_TOP, refer to launch modes for more information.

Bug: 123083574
Test: build
Change-Id: Id4da7be9993aaf1140c1c709a23ae7ed6d1718f5
2021-04-26 17:39:47 +08:00
Svet Ganov
7b7ea938f5 Prepare AttributionSource to expose to native
Separate the internal state of AttributionSource from the
class to make it a simple AIDL we can translate automatically
to native - keeping Java and native parts in sync. This
would allow writing a thin native lib for checking attribution
source permissions which would be used to teach camera and
audio about attributions.

Deinfe an AIDL interface for passing around an attribution
source and opr performing permission checker oprations allowing
native and Java permission checks on attribution chains to be
handled. The Java side permission checker functions are in a dedicated
permisison checker service on top of which sits the PermissionChecker.
We expose similar PermissionChecker native APIs sitting on top
of the same remote interface. The nice thing is that we have
native and Java permisison checkers in sync sharing remoting
code and being close in shape.

For now the PermissionChecker in Java is divorced from the
PermissionManager but in T we will consider how to unify them,
either by an extension object on the PermmissionManager or
APIs on the PermissionManager, or another approach, and then
migrate clients off the PermissionChecker APIs.

bug: 158792096

Test: atest CtsPermission5TestCases

Change-Id: I4e050e78b2361cbf524cc213802e0fef5b487f67
2021-04-25 19:00:30 +00:00
Vadim Caen
7817164210 API to override the splashscreen theme
By default, the SplashScreen uses the manifest theme.
This API allows user to change the theme used for the splashcreen for
the whole application.

Test: atest CtsWindowManagerDeviceTestCases:SplashscreenTests#testOverrideSplashscreenTheme
Bug: 185109768

Change-Id: I64e24910f6529a0ea2867b67d7e5963b971164b4
2021-04-23 10:53:59 +02:00
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