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

Commit 7adaa2d7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix logspam from AppIdleHistory on first boot" into main am: 73a01364...

Merge "Fix logspam from AppIdleHistory on first boot" into main am: 73a01364 am: 5fb00a89 am: 10c9d947 am: 612d212d

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



Change-Id: I286ddd012da5d569b34e661b31e29f16c4703daa
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1b962352 612d212d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
@@ -802,6 +803,9 @@ public class AppIdleHistory {
                    }
                }
            }
        } catch (FileNotFoundException e) {
            // Expected on first boot
            Slog.d(TAG, "App idle file for user " + userId + " does not exist");
        } catch (IOException | XmlPullParserException e) {
            Slog.e(TAG, "Unable to read app idle file for user " + userId, e);
        } finally {