fixes more error

This commit is contained in:
MrSluffy
2024-11-02 10:45:09 +08:00
parent 2e4a2330d3
commit 76aa855f1e
1419 changed files with 238037 additions and 44 deletions
@@ -0,0 +1,50 @@
package com.android.systemui.shared;
// TODO(b/303773055): Remove the annotation after access issue is resolved.
/** @hide */
public final class Flags {
/** @hide */
public static final String FLAG_BOUNCER_AREA_EXCLUSION = "com.android.systemui.shared.bouncer_area_exclusion";
/** @hide */
public static final String FLAG_ENABLE_HOME_DELAY = "com.android.systemui.shared.enable_home_delay";
/** @hide */
public static final String FLAG_EXAMPLE_SHARED_FLAG = "com.android.systemui.shared.example_shared_flag";
/** @hide */
public static final String FLAG_RETURN_ANIMATION_FRAMEWORK_LIBRARY = "com.android.systemui.shared.return_animation_framework_library";
/** @hide */
public static final String FLAG_SHADE_ALLOW_BACK_GESTURE = "com.android.systemui.shared.shade_allow_back_gesture";
/** @hide */
public static final String FLAG_SIDEFPS_CONTROLLER_REFACTOR = "com.android.systemui.shared.sidefps_controller_refactor";
public static boolean bouncerAreaExclusion() {
return FEATURE_FLAGS.bouncerAreaExclusion();
}
public static boolean enableHomeDelay() {
return FEATURE_FLAGS.enableHomeDelay();
}
public static boolean exampleSharedFlag() {
return FEATURE_FLAGS.exampleSharedFlag();
}
public static boolean returnAnimationFrameworkLibrary() {
return FEATURE_FLAGS.returnAnimationFrameworkLibrary();
}
public static boolean shadeAllowBackGesture() {
return FEATURE_FLAGS.shadeAllowBackGesture();
}
public static boolean sidefpsControllerRefactor() {
return FEATURE_FLAGS.sidefpsControllerRefactor();
}
private static FeatureFlags FEATURE_FLAGS = new FeatureFlagsImpl();
}