Merge "Use getActivityToken() instead of mToken in isTopOfTask" into nyc-dev
This commit is contained in:
@@ -5952,7 +5952,7 @@ public class Activity extends ContextThemeWrapper
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
return ActivityManagerNative.getDefault().isTopOfTask(mToken);
|
return ActivityManagerNative.getDefault().isTopOfTask(getActivityToken());
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user