[Nexus 5 Original Android Development] xda890:
When I try to delete messages that is on my SIM card using Messaging, I get the following exception....:

E/DatabaseUtils( 1286): Writing exception to parcel
E/DatabaseUtils( 1286): java.lang.SecurityException: com.android.phone from uid 10008 not allowed to perform WRITE_ICC_SMS
E/DatabaseUtils( 1286): at android.app.AppOpsManager.noteOp(AppOpsManager.java:1111)
E/DatabaseUtils( 1286): at com.android.internal.telephony.IccSmsInterfaceManager.updateMessageOnIccEf(IccSmsInterfaceManager.java:191)
E/DatabaseUtils( 1286): at android.telephony.SmsManager.deleteMessageFromIcc(SmsManager.java:320)
E/DatabaseUtils( 1286): at com.android.providers.telephony.SmsProvider.deleteMessageFromIcc(SmsProvider.java:612)
E/DatabaseUtils( 1286): at com.android.providers.telephony.SmsProvider.delete(SmsProvider.java:592)
E/DatabaseUtils( 1286): at android.content.ContentProvider$Transport.delete(ContentProvider.java:273)
E/DatabaseUtils( 1286): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:206)
E/DatabaseUtils( 1286): at android.os.Binder.execTransact(Binder.java:404)
E/DatabaseUtils( 1286): at dalvik.system.NativeStart.run(Native Method)
D/AndroidRuntime(27234): Shutting down VM
W/dalvikvm(27234): threadid=1: thread exiting with uncaught exception (group=0x415edba8)
E/AndroidRuntime(27234): FATAL EXCEPTION: main
E/AndroidRuntime(27234): Process: com.android.mms, PID: 27234
E/AndroidRuntime(27234): java.lang.SecurityException: com.android.phone from uid 10008 not allowed to perform WRITE_ICC_SMS
E/AndroidRuntime(27234): at android.os.Parcel.readException(Parcel.java:1465)
E/AndroidRuntime(27234): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
E/AndroidRuntime(27234): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
E/AndroidRuntime(27234): at android.content.ContentProviderProxy.delete(ContentProviderNative.java:543)
E/AndroidRuntime(27234): at android.content.ContentResolver.delete(ContentResolver.java:1282)
E/AndroidRuntime(27234): at android.database.sqlite.SqliteWrapper.delete(SqliteWrapper.java:90)
E/AndroidRuntime(27234): at com.android.mms.ui.ManageSimMessages.deleteFromSim(ManageSimMessages.java:266)
E/AndroidRuntime(27234): at com.android.mms.ui.ManageSimMessages.deleteAllFromSim(ManageSimMessages.java:277)
E/AndroidRuntime(27234): at com.android.mms.ui.ManageSimMessages.access$600(ManageSimMessages.java:53)
E/AndroidRuntime(27234): at com.android.mms.ui.ManageSimMessages$3.onClick(ManageSimMessages.java:303)
E/AndroidRuntime(27234): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
E/AndroidRuntime(27234): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(27234): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(27234): at android.app.ActivityThread.main(ActivityThread.java:5050)
E/AndroidRuntime(27234): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(27234): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(27234): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime(27234): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/AndroidRuntime(27234): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 860): Force finishing activity com.android.mms/.ui.ManageSimMessages
W/ActivityManager( 860): Activity pause timeout for ActivityRecord{42563868 u0 com.android.mms/.ui.ManageSimMessages t41 f}

Is there something that you (the developers) can do to fix this?

Regards,

BTJ