summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2015-05-06 21:08:37 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-06 21:09:20 +0000
commitcfd6e9dfd063cba795497f251aa6f7fe2554f10b (patch)
treedbe31f4920cc667bb98d59a07b91377ce8dfc888 /packages
parent0a323036e2351ce4e9347ca1a1b5664e0f6e7672 (diff)
parent2ed547e55f820a9c705872d802b051d8ae9c906b (diff)
downloadframeworks_base-cfd6e9dfd063cba795497f251aa6f7fe2554f10b.zip
frameworks_base-cfd6e9dfd063cba795497f251aa6f7fe2554f10b.tar.gz
frameworks_base-cfd6e9dfd063cba795497f251aa6f7fe2554f10b.tar.bz2
Merge "Add alternate intents and refinement callbacks to ChooserActivity" into mnc-dev
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/usb/UsbResolverActivity.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/usb/UsbResolverActivity.java b/packages/SystemUI/src/com/android/systemui/usb/UsbResolverActivity.java
index 23a65e8..ca32567 100644
--- a/packages/SystemUI/src/com/android/systemui/usb/UsbResolverActivity.java
+++ b/packages/SystemUI/src/com/android/systemui/usb/UsbResolverActivity.java
@@ -93,7 +93,7 @@ public class UsbResolverActivity extends ResolverActivity {
}
@Override
- protected void onTargetSelected(TargetInfo target, boolean alwaysCheck) {
+ protected boolean onTargetSelected(TargetInfo target, boolean alwaysCheck) {
final ResolveInfo ri = target.getResolveInfo();
try {
IBinder b = ServiceManager.getService(USB_SERVICE);
@@ -129,5 +129,6 @@ public class UsbResolverActivity extends ResolverActivity {
} catch (RemoteException e) {
Log.e(TAG, "onIntentSelected failed", e);
}
+ return true;
}
}