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

Commit 8f42d1a4 authored by edgar.huang's avatar edgar.huang Committed by android-build-merger
Browse files

Merge "Settings is crashed high probability when doing follow steps"

am: 2584202c

Change-Id: I6292acd5c7766c1cf13d2de4757fe4499a076f46
parents a1bcb021 2584202c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -561,7 +561,7 @@ public class FingerprintSettings extends SubSettings {
            String prefName = genKey(fpId);
            FingerprintPreference fpref = (FingerprintPreference) findPreference(prefName);
            final Drawable highlight = getHighlightDrawable();
            if (highlight != null) {
            if (highlight != null && fpref != null) {
                final View view = fpref.getView();
                final int centerX = view.getWidth() / 2;
                final int centerY = view.getHeight() / 2;