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

Commit bf22b48d authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "fix fingerprint condition on sdk level logic" into pi-dev am: 69e88693

am: 8a2befbe

Change-Id: I2c6cc04a20f5681496bbfa6ea73ff100d97d84a9
parents fd600228 8a2befbe
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1499,8 +1499,10 @@ public class FingerprintService extends SystemService implements IHwBinder.Death
            try {
                userId = getUserOrWorkProfileId(clientPackage, userId);
                if (userId != mCurrentUserId) {
                    int firstSdkInt = Build.VERSION.FIRST_SDK_INT;
                    if (firstSdkInt == 0) firstSdkInt = Build.VERSION.SDK_INT;
                    File baseDir;
                    if (Build.VERSION.FIRST_SDK_INT <= Build.VERSION_CODES.O_MR1) {
                    if (firstSdkInt <= Build.VERSION_CODES.O_MR1) {
                        baseDir = Environment.getUserSystemDirectory(userId);
                    } else {
                        baseDir = Environment.getDataVendorDeDirectory(userId);