Allow to ignore presentation indicator of outgoing calls [1/3]
With some mobile network operators, the presentation indicator of outgoing calls is always set to either "unknown" or "restricted". As consequence, the dialed number doesn't show up in clear in the call history. Allow to ignore the presentation indicator of outgoing calls to never hide the dialed numbers. Change-Id: Ia7b9fef3a929e512d8ecb704204b36e3836a056b
This commit is contained in:
committed by
Gerrit Code Review
parent
a4efc11d74
commit
3a590c3057
@@ -1760,6 +1760,16 @@ public final class CMSettings {
|
||||
public static final Validator TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK_VALIDATOR =
|
||||
sBooleanValidator;
|
||||
|
||||
/**
|
||||
* Whether or not to respect the network presentation indicator of outgoing calls
|
||||
*/
|
||||
public static final String CONNECTED_LINE_IDENTIFICATION =
|
||||
"connected_line_identification";
|
||||
|
||||
/** @hide */
|
||||
public static final Validator CONNECTED_LINE_IDENTIFICATION_VALIDATOR =
|
||||
sBooleanValidator;
|
||||
|
||||
/**
|
||||
* I can haz more bukkits
|
||||
* @hide
|
||||
@@ -2015,6 +2025,8 @@ public final class CMSettings {
|
||||
VALIDATORS.put(ZEN_PRIORITY_ALLOW_LIGHTS, ZEN_PRIORITY_ALLOW_LIGHTS_VALIDATOR);
|
||||
VALIDATORS.put(TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK,
|
||||
TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK_VALIDATOR);
|
||||
VALIDATORS.put(CONNECTED_LINE_IDENTIFICATION,
|
||||
CONNECTED_LINE_IDENTIFICATION_VALIDATOR);
|
||||
VALIDATORS.put(__MAGICAL_TEST_PASSING_ENABLER,
|
||||
__MAGICAL_TEST_PASSING_ENABLER_VALIDATOR);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user