Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the firewall_disabled Battery Saver setting apply to AFWall? #1390

Open
metametapod opened this issue Jul 11, 2024 · 0 comments
Open

Does the firewall_disabled Battery Saver setting apply to AFWall? #1390

metametapod opened this issue Jul 11, 2024 · 0 comments

Comments

@metametapod
Copy link

See the firewall_disabled key documented here as a supported value for battery_saver_constants:

/**
 * Battery Saver specific settings
 * This is encoded as a key=value list, separated by commas. Ex:
 *
 * "vibration_disabled=true,adjust_brightness_factor=0.5"
 *
 * The following keys are supported:
 *
 * <pre>
 * advertise_is_enabled              (boolean)
 * datasaver_disabled                (boolean)
 * enable_night_mode                 (boolean)
 * launch_boost_disabled             (boolean)
 * vibration_disabled                (boolean)
 * animation_disabled                (boolean)
 * soundtrigger_disabled             (boolean)
 * fullbackup_deferred               (boolean)
 * keyvaluebackup_deferred           (boolean)
 * firewall_disabled                 (boolean)
 * gps_mode                          (int)
 * adjust_brightness_disabled        (boolean)
 * adjust_brightness_factor          (float)
 * force_all_apps_standby            (boolean)
 * force_background_check            (boolean)
 * optional_sensors_disabled         (boolean)
 * aod_disabled                      (boolean)
 * quick_doze_enabled                (boolean)
 * </pre>
 * @hide
 * @see com.android.server.power.batterysaver.BatterySaverPolicy
 */
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
@TestApi
@Readable
public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant