Commit Graph

9115 Commits

Author SHA1 Message Date
Automerger Merge Worker
5be449c5e8 Merge "Add intent for auto revoke UI" into rvc-dev am: e9b4b0009b am: d3573ee8c2 am: 7a2108d1ce am: 0429b54f29
Change-Id: Ifbe3445ed6190ed00a102605463f6d586c493f70
2020-03-10 22:06:40 +00:00
Nate Myren
e9b4b0009b Merge "Add intent for auto revoke UI" into rvc-dev 2020-03-10 18:55:52 +00:00
Automerger Merge Worker
dc8bcf7208 Merge "Rename ApexContext to ApexEnvironment." into rvc-dev am: e6dbe2b880 am: 86fe0229f1 am: 591cc11972 am: c64b9d5a61
Change-Id: I42eccfb31be918280336194a944e97d4404daf7d
2020-03-10 11:27:22 +00:00
Oli Lan
e6dbe2b880 Merge "Rename ApexContext to ApexEnvironment." into rvc-dev 2020-03-10 10:20:13 +00:00
Automerger Merge Worker
e2c67d131d Merge "Replace auto-revoke whitelist permission flags with appop" into rvc-dev am: 623468289f am: e410b63af1 am: be5c003e8e am: 68e7312596
Change-Id: I9a7d44ef3d1865c59b7212cb8b12f3408ee0208c
2020-03-10 04:26:23 +00:00
Eugene Susla
623468289f Merge "Replace auto-revoke whitelist permission flags with appop" into rvc-dev 2020-03-10 02:53:51 +00:00
Automerger Merge Worker
a55e09410e Merge "Merge "More CTS for APIs used by Mainline." into rvc-dev am: 469263a457 am: cdac1f3854" into rvc-d1-dev-plus-aosp am: e2a6e48ee5 am: dbcb04010b
Change-Id: Ia481c61683c8234b68ae97b264eefb8bbc479750
2020-03-09 23:21:22 +00:00
Automerger Merge Worker
5d1b68ef85 Merge changes I696e3c5d,Iea7a5610,If627e613 into rvc-dev am: 941e815aab am: bdf6bff00b am: a1c5855a56 am: 8af4d27402
Change-Id: Ia30c3dad224713f10bd787fa28514979664c9160
2020-03-09 23:07:47 +00:00
Jeff Sharkey
469263a457 Merge "More CTS for APIs used by Mainline." into rvc-dev 2020-03-09 22:44:08 +00:00
Automerger Merge Worker
f805a3eb27 Merge "docs: Among devices which support Vulkan 1.1, a subset support it via software emulation. Refer to the NDK docs on how to address these devices. See also cr/292399283." into rvc-dev am: e41357fc9d am: 25224f037f am: 817c7ad3e4 am: e4499f9ea3
Change-Id: I419080c7557160d46516977ef20903171fb38ced
2020-03-09 21:58:14 +00:00
TreeHugger Robot
941e815aab Merge changes I696e3c5d,Iea7a5610,If627e613 into rvc-dev
* changes:
  update javadoc for InstallationFile
  fix error message
  remove incremental.check_loader
2020-03-09 21:47:43 +00:00
Nate Myren
716d0a48b8 Add intent for auto revoke UI
Add intent that signifies the desire to access the auto revoke UI inside
the Permission Controller.

Bug: 146513245
Test: none needed
Change-Id: I58d32d2c02941f65c52e054ad712541126086586
2020-03-09 13:55:18 -07:00
Jeff Sharkey
9ed18340ca More CTS for APIs used by Mainline.
Bug: 150641862, 150641715, 150641138, 150640123
Test: atest cts/tests/tests/content/src/android/content/cts/ContentResolverTest.java
Test: atest cts/tests/tests/os/src/android/os/cts/BinderTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/DocumentsContractTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/media/MediaStoreTest.java
Change-Id: I6f9ae1dcffd79fd6c422962d9ca64d4b98841766
2020-03-09 20:12:55 +00:00
Automerger Merge Worker
2947114944 Merge "rename incremental service name" into rvc-dev am: df5dff04db am: 7b87d1b3a3 am: dc0bd58ea6 am: f04baf4860
Change-Id: I65a9194a9946e4ac36358511388564d31727778f
2020-03-09 19:59:37 +00:00
Nick Cook
e41357fc9d Merge "docs: Among devices which support Vulkan 1.1, a subset support it via software emulation. Refer to the NDK docs on how to address these devices. See also cr/292399283." into rvc-dev 2020-03-09 16:38:16 +00:00
Songchun Fan
73358eb5f0 update javadoc for InstallationFile
Also hides the constructor which is only used internally.

BUG: 149299379
Test: builds
Change-Id: I696e3c5db7b7591276b741f68d50edf47c2f30a0
2020-03-09 08:57:26 -07:00
TreeHugger Robot
df5dff04db Merge "rename incremental service name" into rvc-dev 2020-03-09 14:12:08 +00:00
Automerger Merge Worker
c70dcb0d4b Merge "Clarify actor requirements in OverlayManager API" into rvc-dev am: 585c4df7d4 am: d77b3567e9 am: 5ac7e341c3 am: 9e0c8d9e23
Change-Id: I1d16a1f31a4e0e931991472e78a521136c506ead
2020-03-07 23:14:31 +00:00
Automerger Merge Worker
36250492d2 Merge "Deprecate long-obsolete android:anyDensity" into rvc-dev am: e2e7cd5d4c am: 026b6088f6 am: acd27d5fbf am: b8fca47bcf
Change-Id: Ifa3b33c4ca08b83eb17aa53b48395903502e8b87
2020-03-07 23:04:15 +00:00
Winson Chiu
585c4df7d4 Merge "Clarify actor requirements in OverlayManager API" into rvc-dev 2020-03-06 22:46:53 +00:00
John Reck
e2e7cd5d4c Merge "Deprecate long-obsolete android:anyDensity" into rvc-dev 2020-03-06 20:37:53 +00:00
Winson
08f8c49f33 Clarify actor requirements in OverlayManager API
Bug: 135052950
Bug: 138458046

Test: none; docs only change

Change-Id: Ibe0d139cd0e7f819b8e85d109ea38fe853a0b080
2020-03-06 12:35:06 -08:00
Automerger Merge Worker
a46bddc896 Merge "Use flags to indicate reason for Uri changes." into rvc-dev am: 189e00a46b am: aeb824386b am: de37673a75 am: b605e547fe am: 1a7d76a467
Change-Id: Ia22f2081e1438b48aca89bead528aa567b3a7a4f
2020-03-06 02:08:53 +00:00
Evgenii Stepanov
c3dca56edd Merge "Add "enableGwpAsan" tag to android manifest." 2020-03-06 00:37:11 +00:00
John Reck
7ce90af518 Deprecate long-obsolete android:anyDensity
This API exists for compatibility with pre-Donut applications
that were not properly density aware. As such, there's no
current reason to use this. So deprecate it.

Bug: 150869482
Test: builds
Change-Id: Ie12957988d5f5d292277a291a20b565c2e3ef46e
2020-03-05 16:30:30 -08:00
Jeff Sharkey
189e00a46b Merge "Use flags to indicate reason for Uri changes." into rvc-dev 2020-03-06 00:04:24 +00:00
TreeHugger Robot
8caff7dc81 Merge "DO NOT MERGE: Remove AppSearch from Android R." into rvc-dev 2020-03-05 21:09:00 +00:00
Evgenii Stepanov
db076c83ad Add "enableGwpAsan" tag to android manifest.
This tag can be used to enable and disable gwp-asan on applications and
their components. The default setting is disabled, except for the system
applications which are enabled with a small probability (approx. 1% of
processes).

Enabling gwp-asan can be used to crowd test an app.

This change includes a compat feature that overrides the default value
of enableGwpAsan for an app.

Bug: 149991821
Test: atest CtsGwpAsanTestCases

Change-Id: I5eb647c517e5487b1d1eed6b9a43242490f19289
2020-03-05 12:33:18 -08:00
Jeff Sharkey
d70325359e Use flags to indicate reason for Uri changes.
As part of MediaProvider becoming a Mainline module, some partners
need to understand more details about what triggered a Uri change
notification.  This helps listening apps avoid making expensive and
race-condition-prone calls back into MediaProvider; typically when
they're only interested in insert and delete operations.  This change
uses the existing "flags" argument to communicate the reason.

This change adds overloads to ContentObserver for listening apps to
receive these flags.  In addition, we add overloads that deliver a
clustered set of multiple Uris together in a single Binder transaction
to improve overall efficiency.  (This matches well with the existing
CR.notifyChange() API that we added earlier this year, since they
both work with Iterable<Uri>.)

Tests to verify that we only collapse Uris together when all other
method arguments are identical.

Bug: 147778404, 144464323
Test: atest CtsDatabaseTestCases
Test: atest CtsContentTestCases:android.content.cts.ContentResolverTest
Test: atest FrameworksServicesTests:com.android.server.content.ObserverNodeTest
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I0bbd8a8b4a898ab6f891d085de0ecb4d68cbe302
2020-03-05 11:01:23 -07:00
Songchun Fan
d1c62a4e89 rename incremental service name
Previously we had to use "incremental_service" because the proxy service
was using "incremental". Now that we have removed the proxy service, we
can just use "incremental".

Test: adb shell dumpsys incremental
Test: atest PackageManagerShellCommandIncrementalTest
BUG: 150406132
Change-Id: I0788cb90bf73b074506f9079253c433429eef782
2020-03-05 09:23:29 -08:00
Automerger Merge Worker
b6585d21cb Merge "Make ActivityInfo.preferMinimalPostProcessing a flag" into rvc-dev am: fc1430a39e am: 6d9e77306d am: bbddd16505 am: ec0afe1111
Change-Id: If309659d6957d3a55b75f49baf74d4b12940aa4a
2020-03-05 16:20:23 +00:00
Automerger Merge Worker
f2108d9a04 Merge "Logs for test & debug blocks" into rvc-dev am: 3b91ac3e6c am: 4827c44bb1 am: 327ec86646 am: 6c71255d54
Change-Id: I535896048ee7bb6def635cc93c385644c378f782
2020-03-05 16:18:44 +00:00
Galia Peycheva
fc1430a39e Merge "Make ActivityInfo.preferMinimalPostProcessing a flag" into rvc-dev 2020-03-05 15:45:06 +00:00
Patrick Baumann
3b91ac3e6c Merge "Logs for test & debug blocks" into rvc-dev 2020-03-05 15:25:46 +00:00
Oli Lan
1573877a00 Rename ApexContext to ApexEnvironment.
This renames the new ApexContext class to ApexEnvironment, at the
request of the API Council.

Bug: 150685788
Test: atest ApexEnvironmentTest
Change-Id: I4340b0c7e78d240f4e48fdc94ec9e7d60e58d35c
2020-03-05 13:47:43 +00:00
Eugene Susla
5fc2d767ce Replace auto-revoke whitelist permission flags with appop
Bug: 146513245
Test: presubmit
Change-Id: I6f901b7e5dfe64840e7c3c0ee444730ac6eb4cfc
2020-03-04 18:46:22 -08:00
Automerger Merge Worker
4e9f8f4f5f Merge "Extract source stamp during app install" into rvc-dev am: 759dbb7cf6 am: 08d82e4c1a am: 2b769b4c6e am: 0efac82be9
Change-Id: Id70d92aac814238d4ef9717834b2a50ee8a7c2b2
2020-03-05 00:31:59 +00:00
Khaled Abdelmohsen
759dbb7cf6 Merge "Extract source stamp during app install" into rvc-dev 2020-03-04 23:47:33 +00:00
Automerger Merge Worker
82997c719b Merge "make IDataLoaderManager and IDataLoader stable interfaces" into rvc-dev am: ecd96c2be4 am: 1716f68245 am: bbb4c0e9fc am: a275888d0a
Change-Id: I687a54a9636b43193c80e4c318e6f41e3b448005
2020-03-04 23:23:35 +00:00
Songchun Fan
ecd96c2be4 Merge "make IDataLoaderManager and IDataLoader stable interfaces" into rvc-dev 2020-03-04 22:53:12 +00:00
Patrick Baumann
4b4918782c Logs for test & debug blocks
This change adds logging for debuggable and test-only apps when they are
the caller and visibility of another app is blocked due to app
enumeration.

It also adds an adb command to turn logging on and off for other apps to
help developers while debugging issues.

Test: atest AppsFilterTest AppEnumerationTests PackageManagerPerfTest
Bug: 145623959
Change-Id: I1fa930ef40bf08b00c41f51aa25c50b2189395bf
2020-03-04 13:47:33 -08:00
Khaled Abdelmohsen
02067c2e4f Extract source stamp during app install
Bug: 148006415
Test: atest FrameworksServicesTests:AppIntegrityManagerServiceImplTest
Change-Id: I3453c94d93e35b01de1a353d592e01db514e8921
2020-03-04 19:36:11 +00:00
Automerger Merge Worker
8af796bdd6 Merge "Restore PackageParser UnsupportedAppUsage" into rvc-dev am: 1c275d93d2 am: 2535cd4ec9 am: ab6eb01a1e am: 65a1a4d70f
Change-Id: I821db3b1271372d6da7e8c718cb538f3fd1ac3e4
2020-03-04 19:28:31 +00:00
Ryan Mitchell
1c275d93d2 Merge "Restore PackageParser UnsupportedAppUsage" into rvc-dev 2020-03-04 18:00:05 +00:00
Automerger Merge Worker
ca960112f4 Merge "Support settings activity for accessibility shortcut target" into rvc-dev am: 6820d68e25 am: 218fb98760 am: c5431cc946 am: ae55b1288c am: 66508944d1
Change-Id: I17134b41b19dda484375128ff3f26c12bdadcb64
2020-03-04 13:32:34 +00:00
Jason Hsu
6820d68e25 Merge "Support settings activity for accessibility shortcut target" into rvc-dev 2020-03-04 12:13:42 +00:00
Songchun Fan
6381d6193e make IDataLoaderManager and IDataLoader stable interfaces
Instead of using Bundle, explicitly specify params when initializing a data loader.

BUG: 150406132
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: I2f89d3c3ea1058fdbd689da0d5cb801bf4d9a0b4
2020-03-03 21:18:30 -08:00
Automerger Merge Worker
a2c01d5a69 Merge "Fix cross profile attribute parsing" into rvc-dev am: 2b1fa477ff am: 7d53b40f88 am: 96d2083616 am: 6db354ea2d
Change-Id: I3da87af49c50bff2cb37fbf4c877d146d2a82168
2020-03-04 01:58:14 +00:00
Winson Chiu
2b1fa477ff Merge "Fix cross profile attribute parsing" into rvc-dev 2020-03-04 00:48:53 +00:00
Winson
a20ba0beee Fix cross profile attribute parsing
Was lost in a rebase.

Bug: 150398686

Test: atest com.android.cts.devicepolicy.QuietModeHostsideTest
Test: manual verify no other ParsingPackage changes were lost

Change-Id: I3e17796433686ef38e24492c3255f5ccba1f431c
2020-03-03 13:18:39 -08:00