Merge "Move the annotation right before String" into main

This commit is contained in:
Jason Chiu
2024-10-18 01:41:04 +00:00
committed by Android (Google) Code Review
4 changed files with 4 additions and 8 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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;
}
}