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

Commit db227415 authored by George Mount's avatar George Mount
Browse files

Fix NPE in getForegroundTintList

Bug 20068789

Change-Id: I658c6f4504ca78ea839d635f497c48c35e1de6ca
parent ec3c97d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -16918,7 +16918,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    @Nullable
    @Nullable
    public ColorStateList getForegroundTintList() {
    public ColorStateList getForegroundTintList() {
        return mForegroundInfo != null && mForegroundInfo.mTintInfo != null
        return mForegroundInfo != null && mForegroundInfo.mTintInfo != null
                ? mBackgroundTint.mTintList : null;
                ? mForegroundInfo.mTintInfo.mTintList : null;
    }
    }
    /**
    /**