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

Commit 8a53cc9e 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

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

Change-Id: I1b883f4fe46ebb150841f5a75517a8340597edba
parents efc9c88d c4e8471b
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());