diff options
author | Adam Powell <adamp@google.com> | 2015-05-06 21:08:37 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-06 21:09:20 +0000 |
commit | cfd6e9dfd063cba795497f251aa6f7fe2554f10b (patch) | |
tree | dbe31f4920cc667bb98d59a07b91377ce8dfc888 /packages | |
parent | 0a323036e2351ce4e9347ca1a1b5664e0f6e7672 (diff) | |
parent | 2ed547e55f820a9c705872d802b051d8ae9c906b (diff) | |
download | frameworks_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.java | 3 |
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; } } |