Merge "Handle ArrayIndexOutOfBoundsException for install_sessions.xml" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
af7ef7eb00
@@ -511,7 +511,7 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements
|
||||
}
|
||||
} catch (FileNotFoundException e) {
|
||||
// Missing sessions are okay, probably first boot
|
||||
} catch (IOException | XmlPullParserException e) {
|
||||
} catch (IOException | XmlPullParserException | ArrayIndexOutOfBoundsException e) {
|
||||
Slog.wtf(TAG, "Failed reading install sessions", e);
|
||||
} finally {
|
||||
IoUtils.closeQuietly(fis);
|
||||
|
||||
Reference in New Issue
Block a user