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

Commit 15d145e5 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Dump the FUSE daemons stacks during ANRs" into rvc-dev am: 076eb948...

Merge "Dump the FUSE daemons stacks during ANRs" into rvc-dev am: 076eb948 am: 6f82a75b am: d922a1f5

Change-Id: I7600fa4eef97e98c71431dff1744cf0356a42aa5
parents 8e1c62eb d922a1f5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -335,6 +335,8 @@ class StorageManagerService extends IStorageManager.Stub
            Manifest.permission.WRITE_EXTERNAL_STORAGE
    };

    @Nullable public static String sMediaStoreAuthorityProcessName;

    private final AtomicFile mSettingsFile;

    /**
@@ -1840,6 +1842,7 @@ class StorageManagerService extends IStorageManager.Stub
                UserHandle.getUserId(UserHandle.USER_SYSTEM));
        if (provider != null) {
            mMediaStoreAuthorityAppId = UserHandle.getAppId(provider.applicationInfo.uid);
            sMediaStoreAuthorityProcessName = provider.applicationInfo.processName;
        }

        provider = mPmInternal.resolveContentProvider(
+2 −1
Original line number Diff line number Diff line
@@ -362,7 +362,8 @@ public class Watchdog extends Thread {
    }

    private static boolean isInterestingJavaProcess(String processName) {
        return processName.equals("com.android.phone");
        return processName.equals(StorageManagerService.sMediaStoreAuthorityProcessName)
                || processName.equals("com.android.phone");
    }

    /**