am ecd7d762: Merge "Fix NPE when passing null TvContentRating" into lmp-dev
* commit 'ecd7d762a47ad1a387db26c2b9ddc59ab310f00f': Fix NPE when passing null TvContentRating
This commit is contained in:
@@ -1339,6 +1339,9 @@ public final class TvInputManager {
|
||||
Log.w(TAG, "The session has been already released");
|
||||
return;
|
||||
}
|
||||
if (unblockedRating == null) {
|
||||
throw new IllegalArgumentException("unblockedRating cannot be null");
|
||||
}
|
||||
try {
|
||||
mService.requestUnblockContent(mToken, unblockedRating.flattenToString(), mUserId);
|
||||
} catch (RemoteException e) {
|
||||
|
||||
Reference in New Issue
Block a user