Merge "[Companion] Fix NPE in associate" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ba003a97f8
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user