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

Commit 67d666f6 authored by Jaewan Kim's avatar Jaewan Kim Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when passing null TvContentRating" into lmp-dev

parents 79fc3279 a42be3c9
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) {