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

Commit 85554871 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Disable per-process app class to investigate

Test: treehugger
Bug: 185177290
Change-Id: I87f16857bc0c2b6ed5ff00a0c042a4706864d21a
parent 28022ff5
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";
        }