Commit Graph

475174 Commits

Author SHA1 Message Date
Artur Satayev
160f416c2b Merge "Remove hiddenapi-mappings and hiddenapi-list-docs." into rvc-dev am: a56084eaa5
Change-Id: I5f3868cb72a45ee1583d75b5be2de0d3a29ee242
2020-04-01 13:15:26 +00:00
TreeHugger Robot
8defa97359 Merge "Do not use BIND_RESTRICT_ASSOCIATIONS when binding TextClassifierService" into rvc-dev am: 47300548b7
Change-Id: I8ded8d99d766f7d888fa30ebf5a5e1ece93f6162
2020-04-01 13:14:14 +00:00
Artur Satayev
a56084eaa5 Merge "Remove hiddenapi-mappings and hiddenapi-list-docs." into rvc-dev 2020-04-01 13:07:41 +00:00
TreeHugger Robot
47300548b7 Merge "Do not use BIND_RESTRICT_ASSOCIATIONS when binding TextClassifierService" into rvc-dev 2020-04-01 12:59:09 +00:00
Anton Hansson
c5c3734017 Merge "Don't link wifi utils against android_system_stubs" into rvc-dev am: d972846baa
Change-Id: Iaabffd9966a394b6cf8a2bef06b38253ab80f191
2020-04-01 11:45:35 +00:00
Anton Hansson
d972846baa Merge "Don't link wifi utils against android_system_stubs" into rvc-dev 2020-04-01 11:29:12 +00:00
Anton Hansson
f1e82fe6fc Merge "Don't link telephony stubs against android_system_stubs" into rvc-dev am: c333c8e049
Change-Id: Ib58f29ee7e1fa575cf2c48d3a0c2522aa466b4bd
2020-04-01 11:20:04 +00:00
Anton Hansson
c333c8e049 Merge "Don't link telephony stubs against android_system_stubs" into rvc-dev 2020-04-01 11:03:07 +00:00
Galia Peycheva
2531e5c1ed Merge changes Id6161f92,Ie0d8849a into rvc-dev am: 5a0549cd42
Change-Id: Ib367db22500a39c46cfd3bd9876d63f8c7273070
2020-04-01 10:32:03 +00:00
Galia Peycheva
5a0549cd42 Merge changes Id6161f92,Ie0d8849a into rvc-dev
* changes:
  Introduce security checks to startDreamActivity
  Add verification for setting ACTIVITY_TYPE_DREAM
2020-04-01 10:18:19 +00:00
Chiachang Wang
49a4f38a28 Merge "Update constructor of NetworkMonitor" into rvc-dev am: d7df0c13d9
Change-Id: Iea5f995291bdbe3081c8f7ded5bf4f3f50e6c7d1
2020-04-01 09:11:13 +00:00
Chiachang Wang
d7df0c13d9 Merge "Update constructor of NetworkMonitor" into rvc-dev 2020-04-01 08:59:12 +00:00
Winson Chiu
7ed7e77f9b Merge changes Id7d1ff26,Id53a2e65 into rvc-dev am: bde104f8be
Change-Id: Id7585d461aba77b63d7805e01ef8c305d35eed63
2020-04-01 05:45:33 +00:00
TreeHugger Robot
95cf4eb131 Merge "Simplify WindowState#reportResized" into rvc-dev am: 456365644b
Change-Id: Ib1f8b8a43194ce9b2bd00a8f4ddd1bcb461f6cc8
2020-04-01 05:45:01 +00:00
Winson Chiu
bde104f8be Merge changes Id7d1ff26,Id53a2e65 into rvc-dev
* changes:
  Add am compat enable/disable/reset test for not installed app
  Gate stricter manifest enforcement on targetSdk R
2020-04-01 05:44:35 +00:00
TreeHugger Robot
54097405b5 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 9c637474fb -s ours
am skip reason: subject contains skip directive

Change-Id: I02cd546620fe524172b20aa037ae32178d5b466c
2020-04-01 05:44:26 +00:00
Winson
db4355fed9 Add am compat enable/disable/reset test for not installed app
Should also cover installed apps, since this mocks at the
ApplicationInfo level.

The not installed behavior is used during package parsing to
pre-disable validation errors for an app that may not yet be
compliant with new targetSdk gated rules.

Bug: 152416067

Test: atest com.android.tests.gating.PlatformCompatCommandNotInstalledTest

Change-Id: Id7d1ff26f40626308d9b2e7c6cea60bce9b7f50f
2020-04-01 05:44:12 +00:00
Winson
727da64be5 Gate stricter manifest enforcement on targetSdk R
Two package parsing issues have been promoted to failures in R:
a missing <application>/<instrumentation> tag, and an empty
"android:name" attribute. The latter due to a bug in the parsing
code.

These need to be gated by targetSdkVersion so that APKs built for
previous versions can still scan/install properly. This change
introduces support for this through a framework that leverages
@ChangeId to introduce individually toggle-able errors, in
case a developer needs to install an app that isn't completely
migrated for a new SDK version yet.

The ignoreError method was removed from ParseResult as the errors
it was used for were manually compared to PackageParser and it's
likely they can be hard errors without breaking anything.

This also adds tests for general ParseInput/Result behavior.

Exempt-From-Owner-Approval: AppIntegrity already approved in older PS.

Bug: 150776642

Test: atest android.content.pm.parsing.result.ParseInputAndResultTest
Test: atest com.android.server.pm.parsing.PackageParsingDeferErrorTest
Test: atest com.android.server.integrity.AppIntegrityManagerServiceImplTest
Test: atest com.android.server.pm.parsing

Change-Id: Id53a2e65f6e5e4dee9a41cc77007275b3a220ac3
2020-04-01 05:42:52 +00:00
TreeHugger Robot
456365644b Merge "Simplify WindowState#reportResized" into rvc-dev 2020-04-01 05:38:20 +00:00
TreeHugger Robot
9c637474fb Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-01 05:31:03 +00:00
TreeHugger Robot
9c04fe909a Merge "AppBinding: Respond to PACKAGE_CHANGED" into rvc-dev am: b72d2c5ee5
Change-Id: If7520a4130f4a901ad38055ba1b8ab9d0a2dad6e
2020-04-01 05:03:16 +00:00
TreeHugger Robot
b72d2c5ee5 Merge "AppBinding: Respond to PACKAGE_CHANGED" into rvc-dev 2020-04-01 04:46:22 +00:00
Lorenzo Colitti
66095f3e4e Merge "Add an Ethernet tethering test." into rvc-dev am: c9bdb4aa29
Change-Id: I6be7379914fcaade0177d661d5e80ba5031b50d7
2020-04-01 04:08:00 +00:00
Lorenzo Colitti
c9bdb4aa29 Merge "Add an Ethernet tethering test." into rvc-dev 2020-04-01 03:56:28 +00:00
TreeHugger Robot
59a8a01923 Merge changes from topic "Fix WindowFocusTests Flaky-rvc-dev" into rvc-dev am: dcea9181e5
Change-Id: I8ff7376840989cd16141372e6bf72b7cf9af5175
2020-04-01 03:07:39 +00:00
TreeHugger Robot
0c4c77c4e0 Merge "Fix possible NPE" into rvc-dev am: 1d63b6c88a
Change-Id: I71c90cec60ad152f13f0d67f51f7dde4b5a15178
2020-04-01 03:07:27 +00:00
TreeHugger Robot
47a6d4e235 Merge "Prevent dream service finishSelf before it was attached" into rvc-dev am: 2240431010
Change-Id: I5045efdc0a997e57fc3d96d65d15dac6ebbf8443
2020-04-01 03:06:25 +00:00
TreeHugger Robot
dcea9181e5 Merge changes from topic "Fix WindowFocusTests Flaky-rvc-dev" into rvc-dev
* changes:
  Prevent waiting when inject event without animation
  Fix input infos are inconsistent between WMS and InputFlinger (1/2)
2020-04-01 03:05:26 +00:00
TreeHugger Robot
1d63b6c88a Merge "Fix possible NPE" into rvc-dev 2020-04-01 03:03:53 +00:00
TreeHugger Robot
2240431010 Merge "Prevent dream service finishSelf before it was attached" into rvc-dev 2020-04-01 03:01:03 +00:00
JW Wang
8a29ec806a Merge changes I10355143,I85adb8c3 into rvc-dev am: 1d68911a9d
Change-Id: Ib96d62b91b2a6e87e8e9f3fd14bb8134724d0b60
2020-04-01 02:56:04 +00:00
JW Wang
8121699da3 Run expiration when rollback lifetime is changed. DO NOT MERGE am: 9f8407b0aa
Change-Id: I16987d7e00c3fbab2ea9d8c25eafc826c18c4afa
2020-04-01 02:56:01 +00:00
JW Wang
36cd122117 Add logs for debugging am: 5b163cfcee
Change-Id: If1b7b84bccd2297b8bfa62514ce264173e89f8e7
2020-04-01 02:55:58 +00:00
TreeHugger Robot
fa60bd709d Merge "Cancel animation in previous rotation" into rvc-dev am: 9ba74bee62
Change-Id: I05e57a0ed6fbb78d0395fbe8df182238a0f902b6
2020-04-01 02:51:46 +00:00
Feng Cao
12a7be983b Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33
Change-Id: I1f12af050790ece8574c7e7f8f1545ab35fff369
2020-04-01 02:50:49 +00:00
JW Wang
1d68911a9d Merge changes I10355143,I85adb8c3 into rvc-dev
* changes:
  Run expiration when rollback lifetime is changed. DO NOT MERGE
  Add logs for debugging
2020-04-01 02:49:40 +00:00
TreeHugger Robot
9ba74bee62 Merge "Cancel animation in previous rotation" into rvc-dev 2020-04-01 02:48:42 +00:00
Feng Cao
f1771c0d33 Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev 2020-04-01 02:32:43 +00:00
Bill Yi
75a3ed54c1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4fc12101652d5a28c0ec0f19032571fe28352dc7
2020-03-31 19:30:17 -07:00
Andrii Kulian
50502a91ad Merge "3/n Refactor TaskContainers to TaskDisplayArea" into rvc-dev am: 886d2cf0f1
Change-Id: I30ce6ae643ede63b491c64dff78ba6696ae5161e
2020-04-01 02:23:03 +00:00
Chiachang Wang
41f6d9310a Update constructor of NetworkMonitor
Remove redundant parameter.

Bug: 152374582
Test: m -j40 ; atest FrameworksNetIntegrationTests
Merged-In: I3a636f0ea5145ac4435e06a9827bb8e01862542d
Change-Id: I3a636f0ea5145ac4435e06a9827bb8e01862542d
2020-04-01 02:12:32 +00:00
Andrii Kulian
886d2cf0f1 Merge "3/n Refactor TaskContainers to TaskDisplayArea" into rvc-dev 2020-04-01 02:05:35 +00:00
Lucas Dupin
a2c31b3c77 Merge "Reset blur radius after dialog is gone" into rvc-dev am: 88c870e6e8
Change-Id: Ic716220e93c0c28bf42b99ac69673ff198c7bc84
2020-04-01 01:34:21 +00:00
Lucas Dupin
06147234a8 Merge "Do not crash if window is invalid" into rvc-dev am: 12a7967791
Change-Id: I07da60b86811971b0aac4910a438d5598ab07ba4
2020-04-01 01:33:59 +00:00
Cody Kesting
6f8db1afdd Merge changes I2431a6d2,I9096969a,I748bd9de,Ia5387ca2,I803bdec8, ... into rvc-dev am: 5add803be8
Change-Id: Id83214bd033f56295868f7c54a659a4d4b84fe79
2020-04-01 01:33:46 +00:00
Cody Kesting
f3cc967bc6 Simplify unregister logic for Connectivity Diagnostics callbacks. am: 982013743b
Change-Id: I6b9541fd562c3e65af65e9b5b754909d96f332fd
2020-04-01 01:33:42 +00:00
Cody Kesting
412cbc8760 Clarify comments for Connectivity Diagnostics reports. am: 95a98c2efd
Change-Id: I9263ddeb7b757e6c147fcf57b5fd9825f2fd3860
2020-04-01 01:33:40 +00:00
Cody Kesting
2bf058b202 Sort administrator UIDs for NetworkCapabilities. am: 93c1e656b5
Change-Id: I06d79c338f9994988373f43ab67efc1315596e5c
2020-04-01 01:33:36 +00:00
Chalard Jean
ea9699a505 Add combine() and equals() for NetworkCapabilities admin UIDs. am: 981dccab03
Change-Id: I4b52b619cde3b080bfe58f69dacdb0078a11a7e8
2020-04-01 01:33:30 +00:00
Cody Kesting
af15704e32 Use IBinder as key for ConnectivityDiagnostics storage in CS. am: 4600fa52a6
Change-Id: I9b75e908b217cf518281e1d8471af66022c65667
2020-04-01 01:33:24 +00:00