Add Save and Restore of BluetoothOn setting

This change will automatically save the Bluetooth On setting when
the user chooses to backup the phone settings into the cloud. This
setting is restored by the Setup Wizard (SUW) when configuring the
phone and this change will enable or disable the Bluetooth based
on this restored setting.

Bug: 35657817
Test: Manual test with Sailfish
Change-Id: Ie4518593af63f96f8c363f98941ca5260a3ec4bb
(cherry picked from commit 767f05feea)
This commit is contained in:
Stanley Tng
2017-05-01 21:27:31 -07:00
committed by Andre Eisenbach
parent 3ad8c93e96
commit 873b5708d1
3 changed files with 49 additions and 6 deletions

View File

@@ -9955,7 +9955,8 @@ public final class Settings {
CALL_AUTO_RETRY,
DOCK_AUDIO_MEDIA_ENABLED,
ENCODED_SURROUND_OUTPUT,
LOW_POWER_MODE_TRIGGER_LEVEL
LOW_POWER_MODE_TRIGGER_LEVEL,
BLUETOOTH_ON
};
private static final ContentProviderHolder sProviderHolder =