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

Commit f43df158 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Never restore any fragments from Uninstall UI"

parents 67141807 c41b27d5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -87,7 +87,9 @@ public class UninstallerActivity extends Activity {

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        // Never restore any state, esp. never create any fragments. The data in the fragment might
        // be stale, if e.g. the app was uninstalled while the activity was destroyed.
        super.onCreate(null);

        try {
            int callingUid = ActivityManager.getService().getLaunchedFromUid(getActivityToken());