mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 05:04:50 -04:00
Add @NonNull to intent in onStartCommand()
This commit is contained in:
parent
a93a508044
commit
5db8f9477e
@ -69,7 +69,7 @@ public class HotspotService extends Service {
|
|||||||
notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public int onStartCommand(@Nullable Intent intent, int flags, int startId) {
|
@Override public int onStartCommand(@NonNull Intent intent, int flags, int startId) {
|
||||||
switch (intent.getAction()) {
|
switch (intent.getAction()) {
|
||||||
|
|
||||||
case ACTION_IS_HOTSPOT_ENABLED:
|
case ACTION_IS_HOTSPOT_ENABLED:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user