Merge "[incremental] don't uninstall on unhealthy" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bfc6048a9c
@@ -3881,14 +3881,6 @@ public class PackageInstallerSession extends IPackageInstallerSession.Stub {
|
|||||||
@Override
|
@Override
|
||||||
public void onHealthStatus(int storageId, int status) {
|
public void onHealthStatus(int storageId, int status) {
|
||||||
if (mDestroyed || mDataLoaderFinished) {
|
if (mDestroyed || mDataLoaderFinished) {
|
||||||
// App's installed.
|
|
||||||
switch (status) {
|
|
||||||
case IStorageHealthListener.HEALTH_STATUS_UNHEALTHY:
|
|
||||||
if (systemDataLoader) {
|
|
||||||
onSystemDataLoaderUnrecoverable();
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user