am faa81c82: Merge "Revert "Add new secure setting for controlling Messaging notifications"" into ics-mr1
* commit 'faa81c82103e89a3f2c86c4e737d9beb7e557402': Revert "Add new secure setting for controlling Messaging notifications"
This commit is contained in:
@@ -17432,7 +17432,6 @@ package android.provider {
|
||||
field public static final java.lang.String LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED = "lock_pattern_tactile_feedback_enabled";
|
||||
field public static final java.lang.String LOCK_PATTERN_VISIBLE = "lock_pattern_visible_pattern";
|
||||
field public static final deprecated java.lang.String LOGGING_ID = "logging_id";
|
||||
field public static final java.lang.String MESSAGING_APP_NOTIFICATIONS = "messaging_app_notifications";
|
||||
field public static final java.lang.String NETWORK_PREFERENCE = "network_preference";
|
||||
field public static final java.lang.String PARENTAL_CONTROL_ENABLED = "parental_control_enabled";
|
||||
field public static final java.lang.String PARENTAL_CONTROL_LAST_UPDATE = "parental_control_last_update";
|
||||
|
||||
@@ -4076,13 +4076,6 @@ public final class Settings {
|
||||
public static final String CONTACTS_PREAUTH_URI_EXPIRATION =
|
||||
"contacts_preauth_uri_expiration";
|
||||
|
||||
/**
|
||||
* Whether the Messaging app posts notifications.
|
||||
* 0=disabled. 1=enabled.
|
||||
*/
|
||||
public static final String MESSAGING_APP_NOTIFICATIONS = "messaging_app_notifications";
|
||||
|
||||
|
||||
/**
|
||||
* This are the settings to be backed up.
|
||||
*
|
||||
@@ -4120,8 +4113,7 @@ public final class Settings {
|
||||
MOUNT_UMS_NOTIFY_ENABLED,
|
||||
UI_NIGHT_MODE,
|
||||
LOCK_SCREEN_OWNER_INFO,
|
||||
LOCK_SCREEN_OWNER_INFO_ENABLED,
|
||||
MESSAGING_APP_NOTIFICATIONS
|
||||
LOCK_SCREEN_OWNER_INFO_ENABLED
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -1838,15 +1838,5 @@ public final class Telephony {
|
||||
public static final String EXTRA_PLMN = "plmn";
|
||||
public static final String EXTRA_SHOW_SPN = "showSpn";
|
||||
public static final String EXTRA_SPN = "spn";
|
||||
|
||||
/**
|
||||
* Activity Action: Shows a dialog to turn off Messaging app notification.
|
||||
* <p>Input: Nothing.
|
||||
* <p>Output: Nothing.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||
public static final String ACTION_MESSAGING_APP_NOTIFICATIONS =
|
||||
"android.provider.Telephony.MESSAGING_APP_NOTIFICATIONS";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,8 +133,4 @@
|
||||
<bool name="def_dtmf_tones_enabled">true</bool>
|
||||
<!-- Default for UI touch sounds enabled -->
|
||||
<bool name="def_sound_effects_enabled">true</bool>
|
||||
|
||||
<!-- Default for Messaging app notifications enabled -->
|
||||
<bool name="def_messaging_app_notifications_on">true</bool>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -1472,10 +1472,6 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||
|
||||
loadBooleanSetting(stmt, Settings.Secure.TOUCH_EXPLORATION_ENABLED,
|
||||
R.bool.def_touch_exploration_enabled);
|
||||
|
||||
loadBooleanSetting(stmt, Settings.Secure.MESSAGING_APP_NOTIFICATIONS,
|
||||
R.bool.def_messaging_app_notifications_on);
|
||||
|
||||
} finally {
|
||||
if (stmt != null) stmt.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user