Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c689127 authored by Chong Zhang's avatar Chong Zhang Committed by android-build-merger
Browse files

Merge \"Use getActivityToken() instead of mToken in isTopOfTask\" into nyc-dev

am: 723e5afa

Change-Id: Ib739a55588b270e76cdb11c5356fd90c19c644dc
parents 53c16371 723e5afa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5952,7 +5952,7 @@ public class Activity extends ContextThemeWrapper
            return false;
        }
        try {
            return ActivityManagerNative.getDefault().isTopOfTask(mToken);
            return ActivityManagerNative.getDefault().isTopOfTask(getActivityToken());
        } catch (RemoteException e) {
            return false;
        }