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

Commit 4e1f8202 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Keep DesktopExperienceFlags on Ravenwood.

It's basically just a flag wrapper. Let's enable it.

Fix: 432119346
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh -s
Flag: TEST_ONLY
Change-Id: I0cfb65d0dfc98d0396f46d802d1f568eecf634da
parent 532d465a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ import android.annotation.Nullable;
import android.app.ActivityThread;
import android.content.Context;
import android.os.SystemProperties;
import android.ravenwood.annotation.RavenwoodKeepWholeClass;
import android.util.ArrayMap;
import android.util.Log;

@@ -51,6 +52,7 @@ import java.util.function.BooleanSupplier;
 *
 * @hide
 */
@RavenwoodKeepWholeClass
public enum DesktopExperienceFlags {
    // go/keep-sorted start
    BASE_DENSITY_FOR_EXTERNAL_DISPLAYS(
+0 −1
Original line number Diff line number Diff line
@@ -400,7 +400,6 @@ public class IconTest {
    }

    @Test
    @DisabledOnRavenwood(blockedBy = DesktopExperienceFlags.class)
    public void testParcel() throws Exception {
        final Bitmap originalbits = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape))
                .getBitmap();
+2 −0
Original line number Diff line number Diff line
@@ -583,6 +583,8 @@ android.view.InflateException

android.view.inputmethod.InputBinding

android.window.DesktopExperienceFlags

com.android.internal.display.BrightnessSynchronizer

com.android.internal.graphics.ColorUtils