Loading core/java/android/service/chooser/ChooserTargetService.java +2 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,7 @@ public abstract class ChooserTargetService extends Service { public void getChooserTargets(ComponentName targetComponentName, IntentFilter matchedFilter, IChooserTargetResult result) throws RemoteException { List<ChooserTarget> targets = null; final long id = clearCallingIdentity(); try { if (DEBUG) { Log.d(TAG, "getChooserTargets calling onGetChooserTargets; " Loading @@ -146,6 +147,7 @@ public abstract class ChooserTargetService extends Service { } targets = onGetChooserTargets(targetComponentName, matchedFilter); } finally { restoreCallingIdentity(id); result.sendResult(targets); if (DEBUG) Log.d(TAG, "Sent results"); } Loading Loading
core/java/android/service/chooser/ChooserTargetService.java +2 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,7 @@ public abstract class ChooserTargetService extends Service { public void getChooserTargets(ComponentName targetComponentName, IntentFilter matchedFilter, IChooserTargetResult result) throws RemoteException { List<ChooserTarget> targets = null; final long id = clearCallingIdentity(); try { if (DEBUG) { Log.d(TAG, "getChooserTargets calling onGetChooserTargets; " Loading @@ -146,6 +147,7 @@ public abstract class ChooserTargetService extends Service { } targets = onGetChooserTargets(targetComponentName, matchedFilter); } finally { restoreCallingIdentity(id); result.sendResult(targets); if (DEBUG) Log.d(TAG, "Sent results"); } Loading