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

Commit 4c284d51 authored by Adam Powell's avatar Adam Powell
Browse files

Don't bind ChooserTargetServices as user CURRENT

Bug 26151189

Change-Id: I8ea76de499f7a7b9edbf1de3117d34d91bfa36ae
parent 9bc6ba97
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -433,8 +433,7 @@ public class ChooserActivity extends ResolverActivity {

                final ChooserTargetServiceConnection conn =
                        new ChooserTargetServiceConnection(this, dri);
                if (bindServiceAsUser(serviceIntent, conn, BIND_AUTO_CREATE | BIND_NOT_FOREGROUND,
                        UserHandle.CURRENT)) {
                if (bindService(serviceIntent, conn, BIND_AUTO_CREATE | BIND_NOT_FOREGROUND)) {
                    if (DEBUG) {
                        Log.d(TAG, "Binding service connection for target " + dri
                                + " intent " + serviceIntent);