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

Commit 9acb6f88 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Start/Exit info catch exception on write fail" into main

parents 0526e664 3750ea91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -782,7 +782,7 @@ public final class AppExitInfoTracker {
            }
            proto.flush();
            af.finishWrite(out);
        } catch (IOException e) {
        } catch (IOException | RuntimeException e) {
            Slog.w(TAG, "Unable to write historical app exit info into persistent storage: " + e);
            af.failWrite(out);
        }
+1 −1
Original line number Diff line number Diff line
@@ -1046,7 +1046,7 @@ public final class AppStartInfoTracker {
            } else {
                af.failWrite(out);
            }
        } catch (IOException e) {
        } catch (IOException | RuntimeException e) {
            Slog.w(TAG, "Unable to write historical app start info into persistent storage: " + e);
            af.failWrite(out);
        }