summaryrefslogtreecommitdiffstats
path: root/java/com/android/dialer/oem/res/values/motorola_config.xml
blob: f875d573d2ea51216f5bb05087fea64bb1b0df60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<resources>
  <!-- Flag to control if HD codec is supported by Sprint. -->
  <bool name="motorola_sprint_hd_codec">false</bool>

  <!-- Hidden menu configuration for Motorola. -->
  <!-- Flag to control if the Hidden Menu sequence will be supported by Sprint. -->
  <bool name="motorola_feature_hidden_menu">false</bool>

  <!-- This defines the specific key seuquence that will be catched in the SpecialCharSequenceMgr
       such as, ##OMADM# -->
  <string-array name="motorola_hidden_menu_key_sequence">
    <item>##66236#</item>   <!--##OMADM#-->
    <item>##2539#</item>    <!--##AKEY#-->
    <item>##786#</item>     <!--##RTN#-->
    <item>##72786#</item>   <!--##SCRTN#-->
    <item>##3282#</item>    <!--##DATA#-->
    <item>##33284#</item>   <!--##DEBUG#-->
    <item>##3424#</item>    <!--##DIAG#-->
    <item>##564#</item>     <!--##LOG#-->
    <item>##4567257#</item> <!--##GLMSCLR#-->
    <item>##873283#</item>  <!--##UPDATE#-->
    <item>##6343#</item>    <!--##MEID#-->
    <item>##27263#</item>   <!--##BRAND#-->
    <item>##258#</item>     <!--##BLV#-->
    <item>##8422#</item>    <!--##UICC#-->
    <item>##4382#</item>    <!--CMAS/WEA-->
  </string-array>

  <string name="motorola_hidden_menu_intent">com.motorola.intent.action.LAUNCH_HIDDEN_MENU</string>

  <!-- This defines the intents that will be send out when the key quence is matched, this must be
       in the same order with he KeySequence array. -->
  <string-array name="motorola_hidden_menu_key_sequence_intents">
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>com.motorola.android.intent.action.omadm.sprint.hfa</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
    <item>@string/motorola_hidden_menu_intent</item>
  </string-array>

  <!-- This defines the specific key patterns that will be catched in the SpecialCharSequenceMgr
       such as, ##[0-9]{3,7}# -->
  <string-array name="motorola_hidden_menu_key_pattern">
    <!--##MSL#, here MSL is 6 digits SPC code, ##OTKSL#, OTKSL is also digits code -->
    <item>##[0-9]{6}#</item>
  </string-array>

  <!-- This defines the intents that will be send out when the key quence is matched, this must be
       in the same order with he KeyPattern array. -->
  <string-array name="motorola_hidden_menu_key_pattern_intents">
    <item>@string/motorola_hidden_menu_intent</item>
  </string-array>
</resources>