BasePreferenceController: add some nullability annotations

One fixes a NullAway warning reported on change
I32ba2b6b8c05c1379b4d921350050979b1866805, and the other is just nice
to have.

Bug: 245989146
Change-Id: I8a7ffbddf865bab317fdabf5110262bb0626c529
Test: TreeHugger
Flag: EXEMPT unable to flag this kind of change
This commit is contained in:
Harry Cutts
2025-01-09 02:52:14 -08:00
parent fb0b459cf0
commit 9b3f964f18

View File

@@ -120,7 +120,9 @@ public abstract class BasePreferenceController extends AbstractPreferenceControl
*/
public static final int DISABLED_DEPENDENT_SETTING = 5;
@NonNull
protected final String mPreferenceKey;
@Nullable
protected UiBlockListener mUiBlockListener;
protected boolean mUiBlockerFinished;
private boolean mIsForWork;