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
This commit is contained in:
olly 2019-02-27 00:07:01 +00:00 committed by Oliver Woodman
parent 9798fdeade
commit b25d2c9978
2 changed files with 6 additions and 0 deletions

View File

@ -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 {

View File

@ -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);