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

Commit aa7a82b9 authored by Hamster Tian's avatar Hamster Tian Committed by Steve Kondik
Browse files

[1/3]frameworks/base: add "Accept all files" option for incoming files via BT

This patch defines a key to store the option value in Settings Provider db

Change-Id: I993d7ec77b49f608a5a17e5a8516e52fc5d82946
parent 826403d3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2313,6 +2313,13 @@ public final class Settings {
        private static final Validator BLUETOOTH_DISCOVERABILITY_VALIDATOR =
                new InclusiveIntegerRangeValidator(0, 2);

        /**
         * If all file types can be accepted over Bluetooth OBEX.
         * @hide
         */
        public static final String BLUETOOTH_ACCEPT_ALL_FILES =
            "bluetooth_accept_all_files";

        /**
         * Bluetooth discoverability timeout.  If this value is nonzero, then
         * Bluetooth becomes discoverable for a certain number of seconds,
@@ -3798,6 +3805,7 @@ public final class Settings {
            WIFI_STATIC_DNS2,
            BLUETOOTH_DISCOVERABILITY,
            BLUETOOTH_DISCOVERABILITY_TIMEOUT,
            BLUETOOTH_ACCEPT_ALL_FILES,
            DIM_SCREEN,
            SCREEN_OFF_TIMEOUT,
            SCREEN_BRIGHTNESS,