TreeHugger Robot
f52f74dc23
Merge "Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc" into rvc-dev am: d99b74a975 am: 54e6bc1dbb am: ae0129e47c am: 4a23a4e5ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12087983
Change-Id: I179084c4d78f91bb13cd81e9400a1ae7380eaeca
2020-07-08 03:48:19 +00:00
TreeHugger Robot
ae0129e47c
Merge "Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc" into rvc-dev am: d99b74a975 am: 54e6bc1dbb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12087983
Change-Id: I4c31e6069b8d23baea3d0ce94c858cb8e0ca8540
2020-07-08 03:28:39 +00:00
Eugene Susla
aad46b8980
Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc
...
Fixes: 160119966
Test: presubmit
Change-Id: If7db38ae7d96441cabab1141e93abf357daf8164
2020-07-06 10:23:25 -07:00
Alex Buynytskyy
4925e3a220
Fix transfer API.
...
Transfer API should throw security exception when transfering the
session which is not installing the original installer.
Moving it onto commit stage and still fail the installation.
Fixes: 158805288
Test: atest InstallSessionTransferTest
Test: atest -p frameworks/base/services/core/java/com/android/server/pm
Change-Id: I8511d4357788e70f83bcbd366908b42a691afbcb
2020-07-02 21:24:08 -07:00
TreeHugger Robot
a578b1a6f6
Merge "Revert "Throw an explicit exception if content provider process times out""
2020-07-01 19:00:54 +00:00
Kholoud Mohamed
567adca54b
Revert "Throw an explicit exception if content provider process times out"
...
This reverts commit 16e83d2a45 .
Reason for revert: Droidcop-triggered revert due to breakage
https://android-build.googleplex.com/builds/quarterdeck?testMethod=testConstructor_protectedCancellableEsc&testClass=android.app.cts.DialogTest&atpConfigName=suite%2Ftest-mapping-presubmit-retry_cloud-tf&testModule=CtsAppTestCases&fkbb=6633955&lkbb=6642068&lkgb=6633902&testResults=true&badBuildCount=147&branch=git_master&target=cf_x86_phone-userdebug
, bug https://buganizer.corp.google.com/issues/160310602
Change-Id: I3b04175290a9044ff26800ecc4b382c68f76597e
2020-07-01 14:22:04 +00:00
Alex Buynytskyy
e7beb39f3c
Disable Incremental installation of system apps + test.
...
Bug: 160271473
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: I04ab98418c37e0dfa56bd1e2a5fded6a23e8d9df
2020-06-30 22:09:13 -07:00
Alex Buynytskyy
50d99e60af
Correct parsing of application/profileable tag + cts.
...
Bug: 160244186
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: I60de8c5300818a2c14c8532b29a023d1b0e0f5b5
2020-06-30 13:38:57 -07:00
Dmitri Plotnikov
16e83d2a45
Throw an explicit exception if content provider process times out
...
Fixes: 149110957
Test: atest FrameworksCoreTests:android.content.ContentResolverTest
Change-Id: If4beac53d8b47c31503fd980f9a1e38d34e9c671
2020-06-26 13:40:14 -07:00
TreeHugger Robot
e45fa0e00e
Merge "Require explicit android:exported in manifests for services"
2020-06-26 15:29:57 +00:00
Ashwini Oruganti
553bada329
Require explicit android:exported in manifests for services
...
Starting S+, if an intent filter is defined, we are requiring that the
android:exported flag also be explicitly defined in the manifest. With
this change apps targeting S+ that do not meet this requirement will
fail to install.
There is no change in the default behavior of the `android:exported`
flag when there is no intent filter defined (i.e. the flag defaults to
false in these cases).
Bug: 150232615
Test: Flashed the build on a device and tested with test apps
Change-Id: Icc34b533cd7420e5754f7a1e7ae9fde937febf7d
2020-06-24 12:37:01 -07:00
Makoto Onuki
42bec243c0
Remove unnecessarily @System/TestApi annotations
...
We can't expose APIs if the enclosing class is hidden, so these
annotations are redundant. We need to remove them so that we can enable the
check.
Exempt-From-Owner-Approval:Cherry-pick from goog/master
Bug: 159121253
Test: treehugger (i.e. this shouldn't trigger "API has changed" error.)
Merged-in: Ie1841a670bdf6c6f4b25a1fc5deed8ec2d18cda2
Change-Id: Ie1841a670bdf6c6f4b25a1fc5deed8ec2d18cda2
2020-06-24 18:02:10 +00:00
Makoto Onuki
4290301e85
Remove unnecessarily @System/TestApi annotations
...
We can't expose APIs if the enclosing class is hidden, so these
annotations are redundant. We need to remove them so that we can enable the
check.
Bug: 159121253
Test: treehugger (i.e. this shouldn't trigger "API has changed" error.)
Change-Id: Ie1841a670bdf6c6f4b25a1fc5deed8ec2d18cda2
2020-06-23 10:51:50 -07:00
Philip P. Moltmann
3a69660910
Remove legacy support for "featureId".
...
"featureId" was the old name of "attributionTag". This was never shipped
in any public build and is hence just dead code.
Bug: 151105954
Test: atest CtsAppOpsTestCases
Change-Id: I7570e7f84cc3f6cabaa769c700c3ceaf7eed0ae9
2020-06-19 19:57:27 -07:00
TreeHugger Robot
d9584c4171
Merge "Update Java doc for FLAG_ACTIVITY_LAUNCH_ADJACENT" into rvc-dev am: 8411d73710 am: a4c19e96b8 am: 4fb95e641b am: 235018df3f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11905502
Change-Id: I50b048e9f25953006b0e81eb7a27ddcafc7f6cd2
2020-06-18 18:04:53 +00:00
Automerger Merge Worker
f2debfb6c6
Merge "Merge "Relax minimum signature scheme version for apps on system partition" into rvc-dev am: 67cb3a610d am: 24fd285d50 am: 72afc021f8" into rvc-qpr-dev-plus-aosp am: 0219a70087
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885723
Change-Id: I63aba7891013ea7a221d8d38429ebbfef0618d81
2020-06-18 18:02:17 +00:00
TreeHugger Robot
235018df3f
Merge "Update Java doc for FLAG_ACTIVITY_LAUNCH_ADJACENT" into rvc-dev am: 8411d73710 am: a4c19e96b8 am: 4fb95e641b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11905502
Change-Id: Ic58713aa5fda6bbe6b291e0699ff97fe07e8e5c7
2020-06-18 17:04:45 +00:00
Michael Groover
72afc021f8
Merge "Relax minimum signature scheme version for apps on system partition" into rvc-dev am: 67cb3a610d am: 24fd285d50
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885723
Change-Id: I87b313c9ef2d7006ac36be0f830f9f07f55f4121
2020-06-18 16:47:12 +00:00
TreeHugger Robot
32bb7140ef
Merge "Update Java doc for FLAG_ACTIVITY_LAUNCH_ADJACENT" into rvc-dev am: 8411d73710
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11905502
Change-Id: Iacb5eb08a2bd9e69a6c54c4f66eda12de6e46a4a
2020-06-18 16:46:59 +00:00
TreeHugger Robot
8411d73710
Merge "Update Java doc for FLAG_ACTIVITY_LAUNCH_ADJACENT" into rvc-dev
2020-06-18 16:40:32 +00:00
Michael Groover
a61dae35a9
Merge "Relax minimum signature scheme version for apps on system partition" into rvc-dev am: 67cb3a610d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885723
Change-Id: Ia6bca552833917bdc84e7a445e070074d39d7d1d
2020-06-18 16:23:13 +00:00
Michael Groover
67cb3a610d
Merge "Relax minimum signature scheme version for apps on system partition" into rvc-dev
2020-06-18 16:13:30 +00:00
jun.h.cho
c3540cc2f9
Update Java doc for FLAG_ACTIVITY_LAUNCH_ADJACENT
...
The behavior of the adjacent flag is changed. It can be changed to split-screen mode if supported by the system.
Fixes: 155050369
Test: n/a
Change-Id: Ia19e0228442e7c8847d403ee2def841f1c0b712b
2020-06-18 07:55:15 -07:00
Michael Groover
b71e398935
Relax minimum signature scheme version for apps on system partition
...
Android 11 requires a minimum V2 APK signature for apps targeting SDK
version 30+; however some apps on a system partition can only be signed
with the V1 signature scheme. This commit relaxes the minimum signature
scheme version to allow for these apps on a system partition.
Bug: 158728035
Test: atest PackageManagerTest
Test: atest PackageManagerTests
Test: atest PkgInstallSignatureVerificationTest
Change-Id: I1a95fd6894cc937e00ad1ac54d1846b51b48e9cd
2020-06-17 11:02:18 -07:00
TreeHugger Robot
d4ab7ece55
Merge "Do not change value read from manifest."
2020-06-16 16:49:18 +00:00
TreeHugger Robot
994d891cd3
Merge "Add tron metrics to track iorap." into rvc-dev am: f40975ee76 am: 1c53e8cfa4 am: cd8eece1c1 am: 4441700f86
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11833622
Change-Id: I2289dda307d571fa78363809b1ca7c25d8db987e
2020-06-16 03:04:43 +00:00
TreeHugger Robot
cd8eece1c1
Merge "Add tron metrics to track iorap." into rvc-dev am: f40975ee76 am: 1c53e8cfa4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11833622
Change-Id: I14c76c58d66ff900db24963fcbde70f708ead5eb
2020-06-16 02:45:52 +00:00
TreeHugger Robot
17eca29097
Merge "Add tron metrics to track iorap." into rvc-dev am: f40975ee76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11833622
Change-Id: Ib4e8b352befe546a4202e1e40de93e1ddfd40e7b
2020-06-16 02:33:46 +00:00
TreeHugger Robot
f40975ee76
Merge "Add tron metrics to track iorap." into rvc-dev
2020-06-16 02:20:26 +00:00
Alex Buynytskyy
3c7b637abf
Do not change value read from manifest.
...
Current code modifies the flag 'profilable' based on another flag
'debuggable'.
Test: refactoring CL. Existing unit tests still pass.
Change-Id: Ib6564eb494a977b97fc2107f144bc87d4bd1e36a
2020-06-15 12:26:59 -07:00
yawanng
35a0090975
Add tron metrics to track iorap.
...
Bug: 158007508
Test: Make and manually check the log using
"adb logcat -b events | grep sysui_multi_action".
Change-Id: I8365bbaa0abf65bdffd8da9462a2295a5e37b3c2
2020-06-15 17:01:04 +00:00
TreeHugger Robot
9b55f5ffd1
Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff am: 95a411a87d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056
Change-Id: Ib82b69429655ab0245b08aeab615766e41296e7c
2020-06-15 16:59:31 +00:00
TreeHugger Robot
84f65247cb
Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056
Change-Id: I866bc89927ae11a0da7069d33e3e06d5c1f1b51f
2020-06-15 16:42:24 +00:00
Alex Buynytskyy
3697d9e45d
Don't provide read logs for shell-initiated installations.
...
Only if the application is profileable.
Bug: 158238023
Fixes: 158238023
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageParserTest
Change-Id: I8575830ec3f29850297fdbfbaa157072d6350a28
2020-06-12 14:39:18 -07:00
Alex Buynytskyy
0403545508
Don't provide read logs for shell-initiated installations.
...
Only if the application is profileable.
Bug: 158238023
Fixes: 158238023
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageParserTest
Change-Id: I8575830ec3f29850297fdbfbaa157072d6350a28
Merged-In: I8575830ec3f29850297fdbfbaa157072d6350a28
2020-06-12 13:30:45 -07:00
TreeHugger Robot
a7565c1bd1
Merge "Apply theme shape clipping to group convo avatars" into rvc-dev am: 0561690cac am: e97c7fbfec am: bd1153d52d am: 56640d5623
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820082
Change-Id: I75d4cffbe410dc41309dbfbb8db772bbd3adacea
2020-06-11 19:22:00 +00:00
TreeHugger Robot
bd1153d52d
Merge "Apply theme shape clipping to group convo avatars" into rvc-dev am: 0561690cac am: e97c7fbfec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820082
Change-Id: Id487db769b688dbc29c4a6b2d8de4e7b0e3d9b1f
2020-06-11 18:59:56 +00:00
TreeHugger Robot
bf52673a6a
Merge "Apply theme shape clipping to group convo avatars" into rvc-dev am: 0561690cac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820082
Change-Id: Icc00a6f35213958cb5badfb4e7311e646608b1bf
2020-06-11 18:41:57 +00:00
TreeHugger Robot
0561690cac
Merge "Apply theme shape clipping to group convo avatars" into rvc-dev
2020-06-11 18:22:46 +00:00
TreeHugger Robot
240097557a
Merge "Fix PackagePartitions contains null check" into rvc-dev am: ca4709a9a5 am: 26c2956206 am: c27c0e20e9 am: 71df094390
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11825431
Change-Id: Ie212068bcea1767a4e615e69c2420b7d1970010f
2020-06-10 21:11:16 +00:00
TreeHugger Robot
26c2956206
Merge "Fix PackagePartitions contains null check" into rvc-dev am: ca4709a9a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11825431
Change-Id: Ia1521e95d4b2776e789ec8ce30d4a06bc91455b2
2020-06-10 20:45:22 +00:00
Steve Elliott
86bc69a491
Apply theme shape clipping to group convo avatars
...
Fixes: 158493588
Test: manual
Change-Id: I57b5e0712822b345c9dcce74b8a6d6ff33409de6
2020-06-10 15:23:33 -04:00
Winson
6bdadaf0a0
Fix PackagePartitions contains null check
...
The subfolders can be null depending on the partition.
Bug: 158671002
Test: manual was tested as part of not yet merged
Ie09ccf4b64a0be26d19c9034a68ca4877ca49b81
Change-Id: Ic3a07867cb50b6b0b0e265e9540c52ee94c68050
2020-06-10 11:07:12 -07:00
Charles Munger
bc2260794c
Merge "Deprecate public PackageManager constructor." am: 2b745800a8 am: 061ce932ce am: d3c43f0789 am: b0f12b4b89 am: 981761c088
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1314369
Change-Id: I9922765a6d2355a488db34d32fec35a44bf8d564
2020-06-09 01:10:47 +00:00
Charles Munger
d3c43f0789
Merge "Deprecate public PackageManager constructor." am: 2b745800a8 am: 061ce932ce
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1314369
Change-Id: I232e22992440b51dcd41b77cc76e0db3dd83787e
2020-06-09 00:44:29 +00:00
Charles Munger
e73a6a704e
Deprecate public PackageManager constructor.
...
BUG=63112905
Change-Id: I0277737eb9e683073f27d2ddea30c93f78ec4b91
2020-06-08 17:37:31 +00:00
TreeHugger Robot
9f15ba2e1a
Merge "Fix up discrepancies between v1 and v2 package parsing" into rvc-dev
2020-06-04 18:12:56 +00:00
Automerger Merge Worker
bcb6c7aff5
Merge "Merge "Deprecate docs for auto revoke manifest and Intent APIs" into rvc-dev am: c43f49dfc4 am: 5ec84ee3a3 am: de433322e2" into rvc-qpr-dev-plus-aosp am: 1a593e5ee6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11722408
Change-Id: If4436bcd35962f297dbe12e147fcb6462007306f
2020-06-04 01:57:27 +00:00
Eugene Susla
de433322e2
Merge "Deprecate docs for auto revoke manifest and Intent APIs" into rvc-dev am: c43f49dfc4 am: 5ec84ee3a3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11722408
Change-Id: Ic33f82bceb3257f976bac23640c61edc6739f808
2020-06-04 01:36:26 +00:00
Eugene Susla
f42f5f69a7
Merge "Deprecate docs for auto revoke manifest and Intent APIs" into rvc-dev am: c43f49dfc4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11722408
Change-Id: I0878a342bc43867bf2113e23cdf564afa30e2f1c
2020-06-04 01:23:16 +00:00