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

Commit c4e8471b authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "android_media_MediaSync: Do not pass NULL to AString ctor." into nyc-dev

parents 8802fd07 838a4ed1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ static void throwExceptionAsNecessary(
            if (err > 0) {
                break;
            }
            AString msgWithErrorCode(msg);
            AString msgWithErrorCode(msg == NULL ? "" : msg);
            msgWithErrorCode.append(" error:");
            msgWithErrorCode.append(err);
            jniThrowException(env, "java/lang/IllegalStateException", msgWithErrorCode.c_str());