summaryrefslogtreecommitdiffstats
path: root/java/com/android/dialer/oem/res/values-mcc310-mnc120/motorola_config.xml
blob: 417a4b845f04df5f625b092de377bf8734d3d801 (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
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2017 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->

<resources>
  <bool name="motorola_sprint_hd_codec">true</bool>

  <!-- Hidden menu configuration for Motorola. -->
  <!-- This defines the specific key sequence that will be caught 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 sequence 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 caught 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 sequence 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>