am db425bbb: Merge "Fixing issue with Airplane Mode. (Bug 7141144)" into jb-mr1-dev
* commit 'db425bbb283d5345616c5bb762b9650a7ff19980': Fixing issue with Airplane Mode. (Bug 7141144)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<uses-permission android:name="android.permission.READ_PROFILE" />
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
||||
<uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
|
||||
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
|
||||
|
||||
<!-- Networking and telephony -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||
|
||||
@@ -186,7 +186,7 @@ class QuickSettingsModel implements BluetoothStateChangeCallback,
|
||||
// TODO: Sets the view to be "awaiting" if not already awaiting
|
||||
|
||||
// Change the system setting
|
||||
Settings.System.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON,
|
||||
Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON,
|
||||
enabled ? 1 : 0);
|
||||
|
||||
// Post the intent
|
||||
|
||||
Reference in New Issue
Block a user