am skip reason: Change-Id I6b086572cfc72a0727f4510351cff0e74cbc4302 with SHA-1 14caf974db is in history
Change-Id: Ic318324c0424d0ad106b0c92c1cb55ba616c6b2b
am skip reason: Change-Id Idca9f243a5c955f4caa30921ee520e1a93b0d11a with SHA-1 1d2d35d049 is in history
Change-Id: Icf2ec01fe46cf905b2636d064fd68e2ff9e546e7
am skip reason: Change-Id I9a2691f783f4449348c3f767568e05620f0b9df5 with SHA-1 f1dec6101b is in history
Change-Id: Iac85b28ac13c794999110e7cd54f1816dd298967
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
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
* changes:
Update the NetworkProvider API for council comments
Update NetworkAgentConfig API for council comments
Update the NetworkAgent API for council comments
am skip reason: Change-Id Ifcda70b73848b1fd4c26b031e53f0a6500cc93d4 with SHA-1 a9f7e18546 is in history
Change-Id: Ib24fee25c1aedfe1a18d039141be032b4503c9f0
am skip reason: Change-Id I2431a6d273d0d73432919baf41b4f66397f4b7dc with SHA-1 45bbc4f6ac is in history
Change-Id: Id445e7883fa4aa86f97488535c517471b6c5641f
* 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.
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
am skip reason: Change-Id I695645418d2babc1eb524a29b2054c1cd8f74da3 with SHA-1 ba01f23e9f is in history
Change-Id: Ia813135ea3d9a21558114291d80a454a2245b22f