Merge "Set intent flags for notifying messaging app." into oc-mr1-dev
diff --git a/src/com/android/providers/telephony/ProviderUtil.java b/src/com/android/providers/telephony/ProviderUtil.java
index 4234b06..cd0f351 100644
--- a/src/com/android/providers/telephony/ProviderUtil.java
+++ b/src/com/android/providers/telephony/ProviderUtil.java
@@ -109,6 +109,7 @@
if (Log.isLoggable(TAG, Log.VERBOSE)) {
Log.d(TAG, "notifyIfNotDefaultSmsApp - called from " + callingPackage + ", notifying");
}
+ intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
context.sendBroadcast(intent);
}