Commit Graph

477442 Commits

Author SHA1 Message Date
Aaron Huang
71f4940130 [automerger skipped] Merge changes from topics "networkagent_api", "networkprovider_api" am: e99aa91e87 am: b71c5cc720 -s ours
am skip reason: Change-Id I6b086572cfc72a0727f4510351cff0e74cbc4302 with SHA-1 14caf974db is in history

Change-Id: Ic318324c0424d0ad106b0c92c1cb55ba616c6b2b
2020-04-01 05:58:30 +00:00
Chalard Jean
76da8a6362 [automerger skipped] Update NetworkAgentConfig API for council comments am: d670534507 am: d7b73dcc8f -s ours
am skip reason: Change-Id Idca9f243a5c955f4caa30921ee520e1a93b0d11a with SHA-1 1d2d35d049 is in history

Change-Id: Icf2ec01fe46cf905b2636d064fd68e2ff9e546e7
2020-04-01 05:58:23 +00:00
Chalard Jean
24d20c6413 [automerger skipped] Update the NetworkAgent API for council comments am: d2b02d4c1c am: 84d8e8009c -s ours
am skip reason: Change-Id I9a2691f783f4449348c3f767568e05620f0b9df5 with SHA-1 f1dec6101b is in history

Change-Id: Iac85b28ac13c794999110e7cd54f1816dd298967
2020-04-01 05:58:14 +00:00
Aaron Huang
b71c5cc720 Merge changes from topics "networkagent_api", "networkprovider_api" am: e99aa91e87
Change-Id: I553a53bc4612fc367591738d9669e354730fdacc
2020-04-01 05:47:04 +00:00
Chalard Jean
d7b73dcc8f Update NetworkAgentConfig API for council comments am: d670534507
Change-Id: I195c50ee1db2dd26b7c06f4ecbd6dbccc38895ef
2020-04-01 05:46:58 +00:00
Chalard Jean
84d8e8009c Update the NetworkAgent API for council comments am: d2b02d4c1c
Change-Id: I1337011740d2c34f886a6d2975bd3da24f371bb8
2020-04-01 05:46:50 +00:00
Winson Chiu
1eeef296d2 Merge changes Id7d1ff26,Id53a2e65 into rvc-dev am: bde104f8be
Change-Id: Ib687652d8b04f7b6241351c078f583baafd1f73e
2020-04-01 05:45:41 +00:00
TreeHugger Robot
30f394871c Merge "Simplify WindowState#reportResized" into rvc-dev am: 456365644b
Change-Id: Ia1305b0509dfa1e004991c80981912f4844cf5ed
2020-04-01 05:45:15 +00:00
TreeHugger Robot
d43de39db5 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 9c637474fb -s ours
am skip reason: subject contains skip directive

Change-Id: Ib804a5bcc973d4217ccc18fd3eb0c94cd3640f69
2020-04-01 05:44:38 +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
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
Aaron Huang
e99aa91e87 Merge changes from topics "networkagent_api", "networkprovider_api"
* changes:
  Update the NetworkProvider API for council comments
  Update NetworkAgentConfig API for council comments
  Update the NetworkAgent API for council comments
2020-04-01 05:33:28 +00:00
TreeHugger Robot
9c637474fb Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-01 05:31:03 +00:00
TreeHugger Robot
7eecbdb2f1 Merge "AppBinding: Respond to PACKAGE_CHANGED" into rvc-dev am: b72d2c5ee5
Change-Id: Ibd61e9d9fa573c1e0551813676ac10c31c15b84b
2020-04-01 05:03:21 +00:00
TreeHugger Robot
b72d2c5ee5 Merge "AppBinding: Respond to PACKAGE_CHANGED" into rvc-dev 2020-04-01 04:46:22 +00:00
Lorenzo Colitti
6d3ffc5c15 [automerger skipped] Merge "Add an Ethernet tethering test." into rvc-dev am: c9bdb4aa29 -s ours
am skip reason: Change-Id Ifcda70b73848b1fd4c26b031e53f0a6500cc93d4 with SHA-1 a9f7e18546 is in history

Change-Id: Ib24fee25c1aedfe1a18d039141be032b4503c9f0
2020-04-01 04:07:46 +00:00
Lorenzo Colitti
c9bdb4aa29 Merge "Add an Ethernet tethering test." into rvc-dev 2020-04-01 03:56:28 +00:00
TreeHugger Robot
71f829c87b Merge changes from topic "Fix WindowFocusTests Flaky-rvc-dev" into rvc-dev am: dcea9181e5
Change-Id: Ib22d59a6ff3cd1a1d25519bdbcfc458be82c5744
2020-04-01 03:16:26 +00:00
TreeHugger Robot
1f4ff81284 Merge "Fix possible NPE" into rvc-dev am: 1d63b6c88a
Change-Id: I3dd7e1d08c5f5be48e06f6318dee8469e2798afa
2020-04-01 03:15:13 +00:00
TreeHugger Robot
462650df4c Merge "Prevent dream service finishSelf before it was attached" into rvc-dev am: 2240431010
Change-Id: I799d3f1f53b8df36f575bce3f6102ffc03e143cd
2020-04-01 03:14:27 +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
f3f8d1b1d7 Merge changes I10355143,I85adb8c3 into rvc-dev am: 1d68911a9d
Change-Id: I646313550fa2ff89f3a6df6394845d4824c31663
2020-04-01 02:51:01 +00:00
JW Wang
8b07029f26 Run expiration when rollback lifetime is changed. DO NOT MERGE am: 9f8407b0aa
Change-Id: I5e5f19289a1fb9224d9a2d4dfa2d45dde5614359
2020-04-01 02:50:57 +00:00
JW Wang
ca390e122d Add logs for debugging am: 5b163cfcee
Change-Id: Idbef34b58b57605d7044fe0cc04995743a4ceaa5
2020-04-01 02:50:52 +00:00
TreeHugger Robot
c073006c5a Merge "Cancel animation in previous rotation" into rvc-dev am: 9ba74bee62
Change-Id: I989907f796cd0553dfd7b5b8cf1fe1ae5a0f1ef2
2020-04-01 02:50:35 +00:00
Feng Cao
526ddca90c Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33
Change-Id: I6f20690be1dd45b240ee382b70ea9de8fcaf79a8
2020-04-01 02:50:05 +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
86447d461c Merge "3/n Refactor TaskContainers to TaskDisplayArea" into rvc-dev am: 886d2cf0f1
Change-Id: I145f288240aaff27742bc0981e7bdd037ff97dd9
2020-04-01 02:23:59 +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
459da77d3b Merge "Reset blur radius after dialog is gone" into rvc-dev am: 88c870e6e8
Change-Id: I5e887ac960b798a005db1e63a300b4546edc22af
2020-04-01 01:31:03 +00:00
Lucas Dupin
c486134839 Merge "Do not crash if window is invalid" into rvc-dev am: 12a7967791
Change-Id: Id1d5159e79c64263d3abba9c5d2520869a2a0ca1
2020-04-01 01:30:39 +00:00
Cody Kesting
e4b8b2ec2a [automerger skipped] Merge changes I2431a6d2,I9096969a,I748bd9de,Ia5387ca2,I803bdec8, ... into rvc-dev am: 5add803be8 -s ours
am skip reason: Change-Id I2431a6d273d0d73432919baf41b4f66397f4b7dc with SHA-1 45bbc4f6ac is in history

Change-Id: Id445e7883fa4aa86f97488535c517471b6c5641f
2020-04-01 01:29:59 +00:00
TreeHugger Robot
4597d66a6f Merge "[SM06] Collect mobile NetworkStats metrics by collapsed rat type" into rvc-dev am: 1db5f59dcf
Change-Id: I70609ad40ecb40a8b6b352e6789a4900313f91fb
2020-04-01 01:29:09 +00:00
Lucas Dupin
88c870e6e8 Merge "Reset blur radius after dialog is gone" into rvc-dev 2020-04-01 01:28:50 +00:00
Lucas Dupin
12a7967791 Merge "Do not crash if window is invalid" into rvc-dev 2020-04-01 01:28:19 +00:00
Cody Kesting
5add803be8 Merge changes I2431a6d2,I9096969a,I748bd9de,Ia5387ca2,I803bdec8, ... into rvc-dev
* changes:
  Update CS helper for clearing NetworkCapabilities UIDs.
  Simplify unregister logic for Connectivity Diagnostics callbacks.
  Clarify comments for Connectivity Diagnostics reports.
  Sort administrator UIDs for NetworkCapabilities.
  Add combine() and equals() for NetworkCapabilities admin UIDs.
  Use IBinder as key for ConnectivityDiagnostics storage in CS.
  Decrement networkRequestPerUid when callbacks are unregistered.
  Invoke onConnectivityReport on registering ConnectivityDiagnostics.
2020-04-01 01:13:11 +00:00
TreeHugger Robot
1db5f59dcf Merge "[SM06] Collect mobile NetworkStats metrics by collapsed rat type" into rvc-dev 2020-04-01 01:12:41 +00:00
Mady Mellor
add5c6a9f2 Fix possible NPE
bubble.getIconView() and getExpandedView() are now nullable
check for that in a couple of places it makes sense

Bug: 152917277
Test: treehugger
Change-Id: I6df7e97615e7d397a4acd19a4aa62f1b732bed87
2020-03-31 17:31:07 -07:00
TreeHugger Robot
6d81b39dd2 Merge "Tuner JNI: Dvr and DvrCallback" into rvc-dev am: d9f9a8d70f
Change-Id: I30d3f0860da1633749d37ed8f302722e48ebf6dd
2020-04-01 00:25:13 +00:00
Sarah Chin
ecc0bc4ff1 [automerger skipped] Merge "Unexpose getDataRoamingFromRegistration API" am: c9252b3591 am: f77419242b -s ours
am skip reason: Change-Id I695645418d2babc1eb524a29b2054c1cd8f74da3 with SHA-1 ba01f23e9f is in history

Change-Id: Ia813135ea3d9a21558114291d80a454a2245b22f
2020-04-01 00:18:26 +00:00
TreeHugger Robot
d9f9a8d70f Merge "Tuner JNI: Dvr and DvrCallback" into rvc-dev 2020-04-01 00:02:48 +00:00
Sarah Chin
f77419242b Merge "Unexpose getDataRoamingFromRegistration API" am: c9252b3591
Change-Id: Iafe65ac0dbe6a89c654ae05e944da4b1c1c2b41c
2020-04-01 00:02:01 +00:00
Sarah Chin
c9252b3591 Merge "Unexpose getDataRoamingFromRegistration API" 2020-03-31 23:44:35 +00:00