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

Commit a4fb5d30 authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

Merge "No longer log imperceptible_app_kill event into dropbox"

parents 58d0089e 1cad8341
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5129,6 +5129,7 @@ public final class ProcessList {
        private static final String EXTRA_REQUESTER = "requester";

        private static final String DROPBOX_TAG_IMPERCEPTIBLE_KILL = "imperceptible_app_kill";
        private static final boolean LOG_TO_DROPBOX = false;

        // uid -> killing information mapping
        private SparseArray<List<Bundle>> mWorkItems = new SparseArray<List<Bundle>>();
@@ -5234,7 +5235,7 @@ public final class ProcessList {

        private void handleDeviceIdle() {
            final DropBoxManager dbox = mService.mContext.getSystemService(DropBoxManager.class);
            final boolean logToDropbox = dbox != null
            final boolean logToDropbox = LOG_TO_DROPBOX && dbox != null
                    && dbox.isTagEnabled(DROPBOX_TAG_IMPERCEPTIBLE_KILL);

            synchronized (mService) {