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

Commit 68e8d86b authored by Wei Jia's avatar Wei Jia Committed by android-build-merger
Browse files

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

am: 8a53cc9e

* commit '8a53cc9e':
  android_media_MediaSync: Do not pass NULL to AString ctor.

Change-Id: If80c04ca3a7a61ee774e0353eb69d1017a31ffdc
parents 4fa68011 8a53cc9e
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());