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

Commit 3c33b6ea authored by Hugh Chen's avatar Hugh Chen
Browse files

Add string for text of bluetooth switch

Bug: 153888620
Test: manually test
Change-Id: I60a791190abf535162f7ed1b80fe265482515137
parent f0cdd9cd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -12266,4 +12266,9 @@
    <!-- Summary for see all preference when bluetooth is disable [CHAR LIMIT=none]-->
    <string name="connected_device_see_all_summary">Bluetooth will turn on</string>
    <!-- Switch text for bluetooth feature being on [CHAR LIMIT=NONE] -->
    <string name="bluetooth_setting_on">On</string>
    <!-- Switch text for bluetooth feature being off [CHAR LIMIT=NONE] -->
    <string name="bluetooth_setting_off">Off</string>
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ public class BluetoothDashboardFragment extends DashboardFragment {

        SettingsActivity activity = (SettingsActivity) getActivity();
        mSwitchBar = activity.getSwitchBar();
        mSwitchBar.setSwitchBarText(R.string.bluetooth_setting_on, R.string.bluetooth_setting_off);
        mController = new BluetoothSwitchPreferenceController(activity,
                new SwitchBarController(mSwitchBar), mFooterPreference);
        Lifecycle lifecycle = getSettingsLifecycle();