Merge "Settings: Remove unused USE_PTP_INTERFACE setting"

This commit is contained in:
Mike Lockwood
2011-06-13 19:50:37 -07:00
committed by Android (Google) Code Review
3 changed files with 0 additions and 12 deletions

View File

@@ -1767,12 +1767,6 @@ public final class Settings {
*/
public static final String UNLOCK_SOUND = "unlock_sound";
/**
* True if we should appear as a PTP device instead of MTP.
* @hide
*/
public static final String USE_PTP_INTERFACE = "use_ptp_interface";
/**
* Receive incoming SIP calls?
* 0 = no
@@ -1879,7 +1873,6 @@ public final class Settings {
LOCKSCREEN_SOUNDS_ENABLED,
SHOW_WEB_SUGGESTIONS,
NOTIFICATION_LIGHT_PULSE,
USE_PTP_INTERFACE,
SIP_CALL_OPTIONS,
SIP_RECEIVE_CALLS,
POINTER_SPEED,

View File

@@ -77,8 +77,6 @@
<!-- Default for Settings.System.VIBRATE_IN_SILENT -->
<bool name="def_vibrate_in_silent">true</bool>
<bool name="def_use_ptp_interface">false</bool>
<!-- Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION -->
<bool name="def_accessibility_script_injection">false</bool>

View File

@@ -1209,9 +1209,6 @@ public class DatabaseHelper extends SQLiteOpenHelper {
loadBooleanSetting(stmt, Settings.System.VIBRATE_IN_SILENT,
R.bool.def_vibrate_in_silent);
loadBooleanSetting(stmt, Settings.System.USE_PTP_INTERFACE,
R.bool.def_use_ptp_interface);
// Set notification volume to follow ringer volume by default
loadBooleanSetting(stmt, Settings.System.NOTIFICATIONS_USE_RING_VOLUME,
R.bool.def_notifications_use_ring_volume);