Commit b25d2c99 by olly Committed by Oliver Woodman

Adding @SuppressWarnings for the latest stable SDK Q drop

Global Presubmit : https://test.corp.google.com/ui#id=OCL:235456897:BASE:235767406:1551211793273:aa1704f6

LSC doc: go/android-sdk-lsc

PiperOrigin-RevId: 235812819
parent 9798fdea
......@@ -75,6 +75,8 @@ public final class FrameworkMediaDrm implements ExoMediaDrm<FrameworkMediaCrypto
}
}
// FIXME: incompatible types in argument.
@SuppressWarnings("nullness:argument.type.incompatible")
@Override
public void setOnEventListener(
final ExoMediaDrm.OnEventListener<? super FrameworkMediaCrypto> listener) {
......@@ -146,6 +148,8 @@ public final class FrameworkMediaDrm implements ExoMediaDrm<FrameworkMediaCrypto
return new KeyRequest(requestData, licenseServerUrl);
}
// FIXME: incompatible types in return.
@SuppressWarnings("nullness:return.type.incompatible")
@Override
public byte[] provideKeyResponse(byte[] scope, byte[] response)
throws NotProvisionedException, DeniedByServerException {
......
......@@ -153,6 +153,8 @@ public final class PlatformScheduler implements Scheduler {
logd("Requirements are met");
String serviceAction = extras.getString(KEY_SERVICE_ACTION);
String servicePackage = extras.getString(KEY_SERVICE_PACKAGE);
// FIXME: incompatible types in argument.
@SuppressWarnings("nullness:argument.type.incompatible")
Intent intent = new Intent(serviceAction).setPackage(servicePackage);
logd("Starting service action: " + serviceAction + " package: " + servicePackage);
Util.startForegroundService(this, intent);
......
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