summaryrefslogtreecommitdiff
path: root/mobicore/rootpa/Code/Android/app/AndroidManifest.xml
blob: 02cf95e6bd912f6b18add1453b59f019fec4a1b0 (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
<?xml version="1.0" encoding="utf-8" ?> 

<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
          package="com.gd.mobicore.pa"
          android:versionCode="@integer/code" 
          android:versionName="@string/name" >

  <uses-sdk android:minSdkVersion="14"
           android:targetSdkVersion="23" />

  <uses-permission android:name="android.permission.INTERNET"/>
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />    
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
           android:maxSdkVersion="22" />
    
  <permission android:name="com.gd.mobicore.pa.permission.OEM_PERMISSION"
        android:label="remove installed secure services"
        android:description="@string/description_oempermission"
        android:protectionLevel="signatureOrSystem" />

  <permission android:name="com.gd.mobicore.pa.permission.DEVELOPER_PERMISSION"
        android:label="install developer trustlet"
        android:description="@string/description_developerpermission"
        android:protectionLevel="normal"/>

  <application 
    android:label="RootPA" 
    android:debuggable="false"
    android:theme="@android:style/Theme.NoDisplay">
    <service 
        android:name="com.gd.mobicore.pa.service.ProvisioningService" 
        android:enabled="true"
        android:exported="true">
        <intent-filter> 
            <action android:name="com.gd.mobicore.pa.service.PROVISIONING_SERVICE" />   
        </intent-filter>
    </service>

    <service 
        android:name="com.gd.mobicore.pa.service.DeveloperService" 
        android:enabled="true"
        android:exported="true"
        android:permission="com.gd.mobicore.pa.permission.DEVELOPER_PERMISSION">
        <intent-filter> 
            <action android:name="com.gd.mobicore.pa.service.DEVELOPER_SERVICE" />   
        </intent-filter>
    </service>    
    
    <service 
        android:name="com.gd.mobicore.pa.service.OemService" 
        android:enabled="true"
        android:exported="true"
        android:permission="com.gd.mobicore.pa.permission.OEM_PERMISSION">
        <intent-filter> 
            <action android:name="com.gd.mobicore.pa.service.OEM_SERVICE" />   
        </intent-filter>
    </service>        
    
  </application>

</manifest>