title: Airplane mode toggle in Android 4.3
body: <p>I'm facing a problem in android version 4.3 to control airplane mode by code.For this I converted the user app into system  using system/ app mover application available in google play.Once the user enables the airplane mode, the background service have the control to check the airplane mode and reset it to off state and send the broadcast changes to the device.Below the snippet I implemented in my code to keep the airplane mode state in off.But it fails in android version 4.3. It throws an exception called "permission denied". Let me know is these any additional permission need to added in manifest or else let me know your suggestions on these issue to fixed.</p>
  
  <pre><code>try {
                      Settings.Global.putInt(context.getContentResolver(),
                              "airplane_mode_on", 0);
                      isAirplaneModeOn = isAirplaneModeOn(context);
                      Intent localIntent2 = new Intent(
                              "android.intent.action.AIRPLANE_MODE");
                      localIntent2.putExtra("state", isAirplaneModeOn);
                      context.sendBroadcast(localIntent2);
                  } catch (Exception e) {
                      Log.v("TAG",
                              e.toString() + "\n" + e.getMessage());
                  }
  </code></pre>