Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fc19c32 authored by Alex Buynytskyy's avatar Alex Buynytskyy Committed by Automerger Merge Worker
Browse files

Merge "Handle ArrayIndexOutOfBoundsException for install_sessions.xml" into...

Merge "Handle ArrayIndexOutOfBoundsException for install_sessions.xml" into udc-dev am: af7ef7eb am: dcb180d7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23492099



Change-Id: Ic49b50fa8aa63d752af82db852be703ad2498aa1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents fac48e2b dcb180d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);