Merge "Settings is crashed high probability when doing follow steps"
am: 2584202cb7
Change-Id: I6292acd5c7766c1cf13d2de4757fe4499a076f46
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user