Annotate Nullability for DevSettings fragment usage
Bug: 319310316 Change-Id: I4f2d219b818971e222346fc630c358b1d8b84ae9 Test: None
This commit is contained in:
@@ -25,6 +25,7 @@ import android.sysprop.AdbProperties;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
import androidx.preference.Preference;
|
||||
import androidx.preference.PreferenceScreen;
|
||||
@@ -40,10 +41,10 @@ public class ClearAdbKeysPreferenceController extends DeveloperOptionsPreference
|
||||
private static final String CLEAR_ADB_KEYS = "clear_adb_keys";
|
||||
|
||||
private final IAdbManager mAdbManager;
|
||||
private final DevelopmentSettingsDashboardFragment mFragment;
|
||||
@Nullable private final DevelopmentSettingsDashboardFragment mFragment;
|
||||
|
||||
public ClearAdbKeysPreferenceController(Context context,
|
||||
DevelopmentSettingsDashboardFragment fragment) {
|
||||
@Nullable DevelopmentSettingsDashboardFragment fragment) {
|
||||
super(context);
|
||||
|
||||
mFragment = fragment;
|
||||
|
Reference in New Issue
Block a user