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

Commit 1cb141c3 authored by Bryce Lee's avatar Bryce Lee Committed by android-build-merger
Browse files

Merge "Add new task flag when starting chooser activity in bug report." into oc-dev am: 2981584b

am: 9b16304f

Change-Id: Ia42d9e20ed7fc1572ca21b7caa2e13439a93070e
parents f416828a 9b16304f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -981,6 +981,8 @@ public class BugreportProgressService extends Service {
        // Since we may be launched behind lockscreen, make sure that ChooserActivity doesn't finish
        // itself in onStop.
        chooserIntent.putExtra(ChooserActivity.EXTRA_PRIVATE_RETAIN_IN_ON_STOP, true);
        // Starting the activity from a service.
        chooserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        context.startActivity(chooserIntent);
    }