Correctly check for ability to write to system settings

Use Settings.System.canWrite instead of direct check of AppOp
using AppOpsManager

Bug: 22987149
Change-Id: I2484d531cce988af6e054d4c900efa277f7e622f
2 files changed
tree: 35d48952bee80a9094414ec4076770d7362ecb18
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. proguard.flags