Prevent binding to DownloadService
DownloadService isn't designed to be bound. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=215552423
This commit is contained in:
parent
9f8c22d719
commit
645f08af73
@ -303,10 +303,11 @@ public abstract class DownloadService extends Service {
|
||||
maybeStopWatchingRequirements();
|
||||
}
|
||||
|
||||
/** DownloadService isn't designed to be bound. */
|
||||
@Nullable
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
public final IBinder onBind(Intent intent) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user