Merge "Don\'t bind ChooserTargetServices as user CURRENT" into nyc-dev

am: 0cc531a

* commit '0cc531ae31e1bb13ecca2cdcd8ddb296542362e0':
  Don't bind ChooserTargetServices as user CURRENT
This commit is contained in:
Adam Powell
2016-03-18 23:12:29 +00:00
committed by android-build-merger

View File

@@ -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);