Commit 645f08af by eguven Committed by Oliver Woodman

Prevent binding to DownloadService

DownloadService isn't designed to be bound.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=215552423
parent 9f8c22d7
...@@ -303,10 +303,11 @@ public abstract class DownloadService extends Service { ...@@ -303,10 +303,11 @@ public abstract class DownloadService extends Service {
maybeStopWatchingRequirements(); maybeStopWatchingRequirements();
} }
/** DownloadService isn't designed to be bound. */
@Nullable @Nullable
@Override @Override
public IBinder onBind(Intent intent) { public final IBinder onBind(Intent intent) {
return null; throw new UnsupportedOperationException();
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment