Merge "[Companion] Fix NPE in associate" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-06-19 21:52:14 +00:00
committed by Android (Google) Code Review

View File

@@ -288,6 +288,7 @@ public final class CompanionDeviceManager {
@Override
public void onActivityDestroyed(Activity activity) {
if (activity != getActivity()) return;
try {
mService.stopScan(mRequest, this, getCallingPackage());
} catch (RemoteException e) {