Move the annotation right before String
Fix: 374015480 Test: build Flag: EXEMPT N/A Change-Id: Id4eb78319b10f63a0a8959643b63ed9a598f24af
This commit is contained in:
parent
4d19f45505
commit
ae5f82d36b
4 changed files with 4 additions and 8 deletions
|
|
@ -97,9 +97,8 @@ public class DisplaySettings extends DashboardFragment {
|
|||
}
|
||||
};
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
public @Nullable String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
return DisplayScreen.KEY;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,9 +50,8 @@ public class LegalSettings extends DashboardFragment {
|
|||
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
|
||||
new BaseSearchIndexProvider(R.xml.about_legal);
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
public @Nullable String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
return LegalSettingsScreen.KEY;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,9 +97,8 @@ public class BatterySaverSettings extends DashboardFragment {
|
|||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
public @Nullable String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
return BatterySaverScreen.KEY;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,9 +117,8 @@ public class NetworkDashboardFragment extends DashboardFragment implements
|
|||
}
|
||||
};
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
public @Nullable String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
return NetworkDashboardScreen.KEY;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue