Skip to content

Commit faa81c8

Browse files
Tom TaylorAndroid (Google) Code Review
authored andcommitted
Merge "Revert "Add new secure setting for controlling Messaging notifications"" into ics-mr1
2 parents c1c5d4f + 994da2a commit faa81c8

File tree

5 files changed

+1
-28
lines changed

5 files changed

+1
-28
lines changed

api/current.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17432,7 +17432,6 @@ package android.provider {
1743217432
field public static final java.lang.String LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED = "lock_pattern_tactile_feedback_enabled";
1743317433
field public static final java.lang.String LOCK_PATTERN_VISIBLE = "lock_pattern_visible_pattern";
1743417434
field public static final deprecated java.lang.String LOGGING_ID = "logging_id";
17435-
field public static final java.lang.String MESSAGING_APP_NOTIFICATIONS = "messaging_app_notifications";
1743617435
field public static final java.lang.String NETWORK_PREFERENCE = "network_preference";
1743717436
field public static final java.lang.String PARENTAL_CONTROL_ENABLED = "parental_control_enabled";
1743817437
field public static final java.lang.String PARENTAL_CONTROL_LAST_UPDATE = "parental_control_last_update";

core/java/android/provider/Settings.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4076,13 +4076,6 @@ public static final String getBluetoothInputDevicePriorityKey(String address) {
40764076
public static final String CONTACTS_PREAUTH_URI_EXPIRATION =
40774077
"contacts_preauth_uri_expiration";
40784078

4079-
/**
4080-
* Whether the Messaging app posts notifications.
4081-
* 0=disabled. 1=enabled.
4082-
*/
4083-
public static final String MESSAGING_APP_NOTIFICATIONS = "messaging_app_notifications";
4084-
4085-
40864079
/**
40874080
* This are the settings to be backed up.
40884081
*
@@ -4120,8 +4113,7 @@ public static final String getBluetoothInputDevicePriorityKey(String address) {
41204113
MOUNT_UMS_NOTIFY_ENABLED,
41214114
UI_NIGHT_MODE,
41224115
LOCK_SCREEN_OWNER_INFO,
4123-
LOCK_SCREEN_OWNER_INFO_ENABLED,
4124-
MESSAGING_APP_NOTIFICATIONS
4116+
LOCK_SCREEN_OWNER_INFO_ENABLED
41254117
};
41264118

41274119
/**

core/java/android/provider/Telephony.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,15 +1838,5 @@ private Intents() {
18381838
public static final String EXTRA_PLMN = "plmn";
18391839
public static final String EXTRA_SHOW_SPN = "showSpn";
18401840
public static final String EXTRA_SPN = "spn";
1841-
1842-
/**
1843-
* Activity Action: Shows a dialog to turn off Messaging app notification.
1844-
* <p>Input: Nothing.
1845-
* <p>Output: Nothing.
1846-
*/
1847-
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
1848-
public static final String ACTION_MESSAGING_APP_NOTIFICATIONS =
1849-
"android.provider.Telephony.MESSAGING_APP_NOTIFICATIONS";
1850-
18511841
}
18521842
}

packages/SettingsProvider/res/values/defaults.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,4 @@
133133
<bool name="def_dtmf_tones_enabled">true</bool>
134134
<!-- Default for UI touch sounds enabled -->
135135
<bool name="def_sound_effects_enabled">true</bool>
136-
137-
<!-- Default for Messaging app notifications enabled -->
138-
<bool name="def_messaging_app_notifications_on">true</bool>
139-
140136
</resources>

packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,10 +1472,6 @@ private void loadSecureSettings(SQLiteDatabase db) {
14721472

14731473
loadBooleanSetting(stmt, Settings.Secure.TOUCH_EXPLORATION_ENABLED,
14741474
R.bool.def_touch_exploration_enabled);
1475-
1476-
loadBooleanSetting(stmt, Settings.Secure.MESSAGING_APP_NOTIFICATIONS,
1477-
R.bool.def_messaging_app_notifications_on);
1478-
14791475
} finally {
14801476
if (stmt != null) stmt.close();
14811477
}

0 commit comments

Comments
 (0)