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

Commit 63d94a4e authored by Joy Babafemi's avatar Joy Babafemi Committed by Roshan Pius
Browse files

DO NOT MERGE: Set default UWB state on.

(Cherry-picked from sc-qpr branch)

Bug: 200101822
Bug: 212462949
Test: Manual
Change-Id: I426358779d354dcbcf1866e80d22c375dfd2e997
parent 278a8b0c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -91,8 +91,9 @@ public class UwbInjector {
            return Settings.Global.getInt(cr, Settings.Global.UWB_ENABLED)
                    == AdapterState.STATE_ENABLED_ACTIVE;
        } catch (Settings.SettingNotFoundException e) {
            Settings.Global.putInt(cr, Settings.Global.UWB_ENABLED, AdapterState.STATE_DISABLED);
            return false;
            Settings.Global.putInt(cr, Settings.Global.UWB_ENABLED,
                AdapterState.STATE_ENABLED_ACTIVE);
            return true;
        }
    }
}