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

Commit 58956e4a authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Disable per-process app class to investigate"

parents d13e2ecc 85554871
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1377,16 +1377,18 @@ public final class LoadedApk {
                    Slog.wtf(TAG, "App instance already created for package=" + mPackageName
                            + " instance=" + cached);
                }
                // TODO Return the cached one, unles it's for the wrong user?
                // TODO Return the cached one, unless it's for the wrong user?
                // For now, we just add WTF checks.
            }
        }

        Application app = null;

        final String myProcessName = Process.myProcessName();
        String appClass = mApplicationInfo.getCustomApplicationClassNameForProcess(
                myProcessName);
        // Temporarily disable per-process app class to investigate b/185177290
//        final String myProcessName = Process.myProcessName();
//        String appClass = mApplicationInfo.getCustomApplicationClassNameForProcess(
//                myProcessName);
        String appClass = mApplicationInfo.className;
        if (forceDefaultAppClass || (appClass == null)) {
            appClass = "android.app.Application";
        }