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

Commit d2a65d5f 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:...

Merge "Settings is crashed high probability when doing follow steps" am: 2584202c am: 8f42d1a4 am: e096a55f
am: 8aeabc23

Change-Id: I23eeea1f5f95e8cb9d55e3f59877909574cf5f66
parents b1758afd 8aeabc23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -597,7 +597,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;