Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a42be3c9 authored by Jaewan Kim's avatar Jaewan Kim
Browse files

Fix NPE when passing null TvContentRating

Change-Id: I80b0ca60b1623356fd39015521b50ae9f1eaef07
parent 3b57e1d1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) {