diff options
author | Gabriele M <moto.falcon.git@gmail.com> | 2016-03-05 00:24:30 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-03-07 17:06:40 -0800 |
commit | 3a590c305737a8533f40235fc7dbdcfaee30bdcb (patch) | |
tree | 785bc984379ae7d119e44b95f600ed42c0f0fb96 /src | |
parent | a4efc11d741eb152d356b60cd5aac39df444db9c (diff) | |
download | vendor_cmsdk-3a590c305737a8533f40235fc7dbdcfaee30bdcb.zip vendor_cmsdk-3a590c305737a8533f40235fc7dbdcfaee30bdcb.tar.gz vendor_cmsdk-3a590c305737a8533f40235fc7dbdcfaee30bdcb.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/java/cyanogenmod/providers/CMSettings.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/java/cyanogenmod/providers/CMSettings.java b/src/java/cyanogenmod/providers/CMSettings.java index f0f0f6c..830299f 100644 --- a/src/java/cyanogenmod/providers/CMSettings.java +++ b/src/java/cyanogenmod/providers/CMSettings.java @@ -1761,6 +1761,16 @@ public final class CMSettings { 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); }; |