Commit 91e705bc authored by Jake Hamby's avatar Jake Hamby Committed by Android Git Automerger
Browse files

am deb745d6: Fix AppOps exception for SMS quick reply feature.

* commit 'deb745d6':
  Fix AppOps exception for SMS quick reply feature.
parents c00e5f87 deb745d6
......@@ -347,6 +347,15 @@ public class SmsProvider extends ContentProvider {
@Override
public Uri insert(Uri url, ContentValues initialValues) {
long token = Binder.clearCallingIdentity();
try {
return insertInner(url, initialValues);
} finally {
Binder.restoreCallingIdentity(token);
}
}
private Uri insertInner(Uri url, ContentValues initialValues) {
ContentValues values;
long rowID;
int type = Sms.MESSAGE_TYPE_ALL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment