Hi! I'm a user of Battery Widget Reborn, which I set to put my Samsung Galaxy Nexus in airplane mode during certain hours to save battery. The problem is that Google messed up with the API, and now it cannot set airplane mode anymore. Whenever the developer tries, the systems throws an exception:
Settings.Global.putInt(context.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, setMode) 11-14 13:39:51.649: E/AndroidRuntime(3509): java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS The problem is that WRITE_SECURE_SETTINGS is a signature|system permission, which can only be held by apps that are signed with the firmware's signing key or reside on the system partition, thus making it impractical for a 3rd party app to turn on or off airplane mode. It makes no sense to me. Why should a 3rd party shouldn't be able to perform such a trivial task? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en