File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/src/main/java/org/schabi/newpipe/util Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 66import android .content .SharedPreferences ;
77
88import androidx .annotation .DrawableRes ;
9+ import androidx .annotation .NonNull ;
910import androidx .annotation .Nullable ;
1011import androidx .annotation .StringRes ;
1112import androidx .preference .PreferenceManager ;
2425import java .util .Optional ;
2526import java .util .concurrent .TimeUnit ;
2627
27- import javax .annotation .Nonnull ;
28-
2928public final class ServiceHelper {
3029 private static final StreamingService DEFAULT_FALLBACK_SERVICE = ServiceList .YouTube ;
3130
@@ -135,7 +134,7 @@ public static StreamingService getSelectedService(final Context context) {
135134 }
136135 }
137136
138- @ Nonnull
137+ @ NonNull
139138 public static String getNameOfServiceById (final int serviceId ) {
140139 return ServiceList .all ().stream ()
141140 .filter (s -> s .getServiceId () == serviceId )
You can’t perform that action at this time.
0 commit comments