Loading core/res/AndroidManifest.xml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -398,6 +398,7 @@ <protected-broadcast android:name="android.telecom.action.DEFAULT_DIALER_CHANGED" /> <protected-broadcast android:name="android.telecom.action.DEFAULT_DIALER_CHANGED" /> <protected-broadcast android:name="android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED" /> <protected-broadcast android:name="android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED" /> <protected-broadcast android:name="android.provider.action.SMS_MMS_DB_CREATED" /> <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" /> <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" /> <protected-broadcast android:name="android.provider.Telephony.MMS_DOWNLOADED" /> <protected-broadcast android:name="android.provider.Telephony.MMS_DOWNLOADED" /> Loading telephony/java/android/provider/Telephony.java +28 −0 Original line number Original line Diff line number Diff line Loading @@ -1180,6 +1180,34 @@ public final class Telephony { public static final String ACTION_DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL = public static final String ACTION_DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL = "android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL"; "android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL"; /** * Broadcast action: When SMS-MMS db is being created. If file-based encryption is * supported, this broadcast indicates creation of the db in credential-encrypted * storage. A boolean is specified in {@link #EXTRA_IS_INITIAL_CREATE} to indicate if * this is the initial create of the db. Requires * {@link android.Manifest.permission#READ_SMS} to receive. * * @see #EXTRA_IS_INITIAL_CREATE * * @hide */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String ACTION_SMS_MMS_DB_CREATED = "android.provider.action.SMS_MMS_DB_CREATED"; /** * Boolean flag passed as an extra with {@link #ACTION_SMS_MMS_DB_CREATED} to indicate * whether the DB creation is the initial creation on the device, that is it is after a * factory-data reset or a new device. Any subsequent creations of the DB (which * happens only in error scenarios) will have this flag set to false. * * @see #ACTION_SMS_MMS_DB_CREATED * * @hide */ public static final String EXTRA_IS_INITIAL_CREATE = "android.provider.extra.IS_INITIAL_CREATE"; /** /** * Read the PDUs out of an {@link #SMS_RECEIVED_ACTION} or a * Read the PDUs out of an {@link #SMS_RECEIVED_ACTION} or a * {@link #DATA_SMS_RECEIVED_ACTION} intent. * {@link #DATA_SMS_RECEIVED_ACTION} intent. Loading Loading
core/res/AndroidManifest.xml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -398,6 +398,7 @@ <protected-broadcast android:name="android.telecom.action.DEFAULT_DIALER_CHANGED" /> <protected-broadcast android:name="android.telecom.action.DEFAULT_DIALER_CHANGED" /> <protected-broadcast android:name="android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED" /> <protected-broadcast android:name="android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED" /> <protected-broadcast android:name="android.provider.action.SMS_MMS_DB_CREATED" /> <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" /> <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" /> <protected-broadcast android:name="android.provider.Telephony.MMS_DOWNLOADED" /> <protected-broadcast android:name="android.provider.Telephony.MMS_DOWNLOADED" /> Loading
telephony/java/android/provider/Telephony.java +28 −0 Original line number Original line Diff line number Diff line Loading @@ -1180,6 +1180,34 @@ public final class Telephony { public static final String ACTION_DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL = public static final String ACTION_DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL = "android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL"; "android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED_INTERNAL"; /** * Broadcast action: When SMS-MMS db is being created. If file-based encryption is * supported, this broadcast indicates creation of the db in credential-encrypted * storage. A boolean is specified in {@link #EXTRA_IS_INITIAL_CREATE} to indicate if * this is the initial create of the db. Requires * {@link android.Manifest.permission#READ_SMS} to receive. * * @see #EXTRA_IS_INITIAL_CREATE * * @hide */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String ACTION_SMS_MMS_DB_CREATED = "android.provider.action.SMS_MMS_DB_CREATED"; /** * Boolean flag passed as an extra with {@link #ACTION_SMS_MMS_DB_CREATED} to indicate * whether the DB creation is the initial creation on the device, that is it is after a * factory-data reset or a new device. Any subsequent creations of the DB (which * happens only in error scenarios) will have this flag set to false. * * @see #ACTION_SMS_MMS_DB_CREATED * * @hide */ public static final String EXTRA_IS_INITIAL_CREATE = "android.provider.extra.IS_INITIAL_CREATE"; /** /** * Read the PDUs out of an {@link #SMS_RECEIVED_ACTION} or a * Read the PDUs out of an {@link #SMS_RECEIVED_ACTION} or a * {@link #DATA_SMS_RECEIVED_ACTION} intent. * {@link #DATA_SMS_RECEIVED_ACTION} intent. Loading