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

Commit fb09ebe5 authored by Kevin Chyn's avatar Kevin Chyn Committed by android-build-merger
Browse files

Merge "Fix FingerprintService package comparison" into pi-dev am: 3535a0a6

am: 06bf5793

Change-Id: I05f50564d67a716bef4226c5546af64577eea063
parents e08ea516 06bf5793
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -230,10 +230,11 @@ public class FingerprintService extends SystemService implements IHwBinder.Death
                }
                List<ActivityManager.RunningTaskInfo> runningTasks = mActivityManager.getTasks(1);
                if (!runningTasks.isEmpty()) {
                    if (runningTasks.get(0).topActivity.getPackageName()
                            != mCurrentClient.getOwnerString()) {
                    final String topPackage = runningTasks.get(0).topActivity.getPackageName();
                    if (!topPackage.contentEquals(mCurrentClient.getOwnerString())) {
                        mCurrentClient.stop(false /* initiatedByClient */);
                        Slog.e(TAG, "Stopping background authentication");
                        Slog.e(TAG, "Stopping background authentication, top: " + topPackage
                                + " currentClient: " + mCurrentClient.getOwnerString());
                    }
                }
            } catch (RemoteException e) {