Touchpad: add @NonNull annotations to controller constructors
...and to some of the preference controller base classes, too, since I had to work those out anyway. Bug: 245989146 Test: m Flag: EXEMPT unable to flag this kind of change Change-Id: I32ba2b6b8c05c1379b4d921350050979b1866805
This commit is contained in:
@@ -19,11 +19,14 @@ package com.android.settings.inputmethod;
|
||||
import android.content.Context;
|
||||
import android.hardware.input.InputSettings;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.android.settings.core.BasePreferenceController;
|
||||
|
||||
public class TouchpadGesturesDisabledFooterPreferenceController extends BasePreferenceController {
|
||||
|
||||
public TouchpadGesturesDisabledFooterPreferenceController(Context context, String key) {
|
||||
public TouchpadGesturesDisabledFooterPreferenceController(@NonNull Context context,
|
||||
@NonNull String key) {
|
||||
super(context, key);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user