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

Commit f70b8a43 authored by hanlixy's avatar hanlixy Committed by Han Li
Browse files

Add AConfig flag for Glasses Feature

Bug: 430302860
Flag: com.android.microxr.flags.xr_glasses_feature
Test: m android.xr.glasses.flags-aconfig-java-export
Change-Id: Icd495203642ed0cd4b50e21e5aeb05a0fc5185b2
parent e26dbb2a
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@ aconfig_declarations_group {
        "android.webkit.flags-aconfig-java",
        "android.widget.flags-aconfig-java",
        "android.xr.flags-aconfig-java-export",
        "com.android.microxr.flags.flags-aconfig-java",
        "art_exported_aconfig_flags_lib",
        "backstage_power_flags_lib",
        "backup_flags_lib",
@@ -1081,6 +1082,24 @@ java_aconfig_library {
    ],
}

// XR - Glasses
aconfig_declarations {
    name: "com.android.microxr.flags.flags-aconfig",
    container: "system",
    package: "com.android.microxr.flags",
    srcs: ["core/java/android/content/pm/glasses.aconfig"],
}

java_aconfig_library {
    name: "com.android.microxr.flags.flags-aconfig-java",
    aconfig_declarations: "com.android.microxr.flags.flags-aconfig",
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
    apex_available: [
        "//apex_available:platform",
        "com.android.permission",
    ],
}

// android.app
aconfig_declarations {
    name: "android.app.flags-aconfig",
+9 −0
Original line number Diff line number Diff line
package: "com.android.microxr.flags"
container: "system"

flag {
    namespace: "xr"
    name: "xr_glasses_feature"
    description: "Adds features used by Android XR Glasses"
    bug: "430302860"
}
 No newline at end of file