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

Commit 2733dd89 authored by Pinyao Ting's avatar Pinyao Ting
Browse files

Honor API version from CoreDocument

Bug: 339721781
Change-Id: I52f0a13f1773792991c70cfae13c824ff2376463
Test: manual
Flag: EXEMPT bugfix
parent 052197cc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -128,6 +128,7 @@ import com.android.internal.R;
import com.android.internal.util.Preconditions;
import com.android.internal.widget.IRemoteViewsFactory;
import com.android.internal.widget.remotecompose.core.operations.Theme;
import com.android.internal.widget.remotecompose.core.CoreDocument;
import com.android.internal.widget.remotecompose.player.RemoteComposeDocument;
import com.android.internal.widget.remotecompose.player.RemoteComposePlayer;

@@ -9829,7 +9830,7 @@ public class RemoteViews implements Parcelable, Filter {
         */
        @FlaggedApi(FLAG_DRAW_DATA_PARCEL)
        public static long getSupportedVersion() {
            return VERSION;
            return (long) CoreDocument.getDocumentApiLevel();
        }

        /**