Loading core/res/AndroidManifest.xml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -400,6 +400,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.provider.action.SMS_MMS_DB_CREATED" /> <protected-broadcast android:name="android.provider.action.SMS_MMS_DB_LOST" /> <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 +26 −0 Original line number Original line Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.provider; package android.provider; import android.annotation.RequiresPermission; import android.annotation.SdkConstant; import android.annotation.SdkConstant; import android.annotation.SdkConstant.SdkConstantType; import android.annotation.SdkConstant.SdkConstantType; import android.annotation.TestApi; import android.annotation.TestApi; Loading Loading @@ -1177,6 +1178,31 @@ public final class Telephony { */ */ public static final String EXTRA_IS_INITIAL_CREATE = public static final String EXTRA_IS_INITIAL_CREATE = "android.provider.extra.IS_INITIAL_CREATE"; "android.provider.extra.IS_INITIAL_CREATE"; /** * Broadcast intent action indicating that the telephony provider SMS MMS database is * corrupted. A boolean is specified in {@link #EXTRA_IS_CORRUPTED} to indicate if the * database is corrupted. Requires the * {@link android.Manifest.permission#READ_PRIVILEGED_PHONE_STATE permission. * * @hide */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final String ACTION_SMS_MMS_DB_LOST = "android.provider.action.SMS_MMS_DB_LOST"; /** * Boolean flag passed as an extra with {@link #ACTION_SMS_MMS_DB_LOST} to indicate * whether the DB got corrupted or not. * * @see #ACTION_SMS_MMS_DB_LOST * * @hide */ public static final String EXTRA_IS_CORRUPTED = "android.provider.extra.IS_CORRUPTED"; /** /** * 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 telephony/java/android/telephony/TelephonyManager.java +0 −32 Original line number Original line Diff line number Diff line Loading @@ -1177,38 +1177,6 @@ public class TelephonyManager { */ */ public static final String EXTRA_RECOVERY_ACTION = "recoveryAction"; public static final String EXTRA_RECOVERY_ACTION = "recoveryAction"; /** * Broadcast intent action indicating that the telephony provider DB got lost. * * <p> * The {@link #EXTRA_IS_CORRUPTED} extra indicates whether the database is lost * due to corruption or not * * <p class="note"> * Requires the MODIFY_PHONE_STATE permission. * * <p class="note"> * This is a protected intent that can only be sent by the system. * * @see #EXTRA_IS_CORRUPTED * * @hide */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public static final String ACTION_MMSSMS_DATABASE_LOST = "android.intent.action.MMSSMS_DATABASE_LOST"; /** * A boolean extra used with {@link #ACTION_MMSSMS_DATABASE_LOST} to indicate * whether the database is lost due to corruption or not. * * @see #ACTION_MMSSMS_DATABASE_LOST * * @hide */ public static final String EXTRA_IS_CORRUPTED = "isCorrupted"; // // // // // Device Info // Device Info Loading Loading
core/res/AndroidManifest.xml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -400,6 +400,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.provider.action.SMS_MMS_DB_CREATED" /> <protected-broadcast android:name="android.provider.action.SMS_MMS_DB_LOST" /> <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 +26 −0 Original line number Original line Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.provider; package android.provider; import android.annotation.RequiresPermission; import android.annotation.SdkConstant; import android.annotation.SdkConstant; import android.annotation.SdkConstant.SdkConstantType; import android.annotation.SdkConstant.SdkConstantType; import android.annotation.TestApi; import android.annotation.TestApi; Loading Loading @@ -1177,6 +1178,31 @@ public final class Telephony { */ */ public static final String EXTRA_IS_INITIAL_CREATE = public static final String EXTRA_IS_INITIAL_CREATE = "android.provider.extra.IS_INITIAL_CREATE"; "android.provider.extra.IS_INITIAL_CREATE"; /** * Broadcast intent action indicating that the telephony provider SMS MMS database is * corrupted. A boolean is specified in {@link #EXTRA_IS_CORRUPTED} to indicate if the * database is corrupted. Requires the * {@link android.Manifest.permission#READ_PRIVILEGED_PHONE_STATE permission. * * @hide */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public static final String ACTION_SMS_MMS_DB_LOST = "android.provider.action.SMS_MMS_DB_LOST"; /** * Boolean flag passed as an extra with {@link #ACTION_SMS_MMS_DB_LOST} to indicate * whether the DB got corrupted or not. * * @see #ACTION_SMS_MMS_DB_LOST * * @hide */ public static final String EXTRA_IS_CORRUPTED = "android.provider.extra.IS_CORRUPTED"; /** /** * 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
telephony/java/android/telephony/TelephonyManager.java +0 −32 Original line number Original line Diff line number Diff line Loading @@ -1177,38 +1177,6 @@ public class TelephonyManager { */ */ public static final String EXTRA_RECOVERY_ACTION = "recoveryAction"; public static final String EXTRA_RECOVERY_ACTION = "recoveryAction"; /** * Broadcast intent action indicating that the telephony provider DB got lost. * * <p> * The {@link #EXTRA_IS_CORRUPTED} extra indicates whether the database is lost * due to corruption or not * * <p class="note"> * Requires the MODIFY_PHONE_STATE permission. * * <p class="note"> * This is a protected intent that can only be sent by the system. * * @see #EXTRA_IS_CORRUPTED * * @hide */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public static final String ACTION_MMSSMS_DATABASE_LOST = "android.intent.action.MMSSMS_DATABASE_LOST"; /** * A boolean extra used with {@link #ACTION_MMSSMS_DATABASE_LOST} to indicate * whether the database is lost due to corruption or not. * * @see #ACTION_MMSSMS_DATABASE_LOST * * @hide */ public static final String EXTRA_IS_CORRUPTED = "isCorrupted"; // // // // // Device Info // Device Info Loading