[incremental] don't uninstall on unhealthy
Only uninstall on UNRECOVERABLE on USB. BUG: 186468840 Test: atest android.cts.statsdatom.incremental.AppErrorAtomTests Change-Id: I4bdb9b05658fe60795d5eac4ba9e111e39dffa2c
This commit is contained in:
@@ -3881,14 +3881,6 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub {
|
||||
@Override
|
||||
public void onHealthStatus(int storageId, int status) {
|
||||
if (mDestroyed || mDataLoaderFinished) {
|
||||
// App's installed.
|
||||
switch (status) {
|
||||
case IStorageHealthListener.HEALTH_STATUS_UNHEALTHY:
|
||||
if (systemDataLoader) {
|
||||
onSystemDataLoaderUnrecoverable();
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user