|
42 | 42 | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
43 | 43 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
44 | 44 | <uses-permission android:name="android.permission.ACCESS_SUPERUSER"/>
|
| 45 | + |
| 46 | + <uses-permission android:name="android.permission.SET_DEBUG_APP"/> |
| 47 | + <uses-permission android:name="android.permission.WRITE_SETTINGS"/> |
| 48 | + <uses-permission android:name="android.permission.READ_MEDIA_STORAGE"/> |
| 49 | + <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/> |
45 | 50 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
|
46 | 51 |
|
47 | 52 | <uses-permission android:name="com.android.vending.BILLING"/>
|
48 | 53 |
|
49 | 54 | <application
|
50 |
| - android:networkSecurityConfig="@xml/network_security_config" |
51 |
| - android:name="org.qpython.qpy.main.app.App" |
52 |
| - android:allowBackup="true" |
53 |
| - android:hardwareAccelerated="true" |
54 |
| - android:icon="@drawable/ic_launcher" |
55 |
| - android:label="@string/app_name" |
56 |
| - android:largeHeap="true" |
57 |
| - android:supportsRtl="true" |
58 |
| - android:theme="@style/AppTheme"> |
59 |
| - <uses-library android:name="org.apache.http.legacy" android:required="false"/> |
| 55 | + android:networkSecurityConfig="@xml/network_security_config" |
| 56 | + android:name="org.qpython.qpy.main.app.App" |
| 57 | + android:allowBackup="true" |
| 58 | + android:hardwareAccelerated="true" |
| 59 | + android:icon="@drawable/ic_launcher" |
| 60 | + android:label="@string/app_name" |
| 61 | + android:largeHeap="true" |
| 62 | + android:supportsRtl="true" |
| 63 | + android:theme="@style/AppTheme"> |
| 64 | + <uses-library android:name="org.apache.http.legacy" android:required="false"/> |
60 | 65 |
|
| 66 | + <meta-data |
| 67 | + android:name="com.google.firebase.messaging.default_notification_icon" |
| 68 | + android:resource="@drawable/img_home_logo"/> |
| 69 | + |
| 70 | + <service android:name=".main.service.QPyService"/> |
| 71 | + <service android:name="org.qpython.qsl4a.QPyScriptService"/> |
| 72 | + <service android:name=".main.service.FTPServerService"/> |
| 73 | + |
| 74 | + <activity |
| 75 | + android:name=".main.activity.SignInActivity" |
| 76 | + android:launchMode="singleTask"/> |
| 77 | + |
| 78 | + <activity |
| 79 | + android:name="org.qpython.qpylib.MPyApi" |
| 80 | + android:exported="true" |
| 81 | + android:theme="@style/Theme.AppCompat"/> |
| 82 | + |
| 83 | + <service |
| 84 | + android:name="org.qpython.qpylib.MPyService" |
| 85 | + android:exported="true" |
| 86 | + tools:ignore="ExportedService"/> |
| 87 | + |
| 88 | + <activity |
| 89 | + android:name=".main.activity.SplashActivity" |
| 90 | + android:theme="@style/FullscreenTheme" |
| 91 | + > |
| 92 | + <intent-filter> |
| 93 | + <action android:name="android.intent.action.MAIN"/> |
| 94 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 95 | + </intent-filter> |
| 96 | + </activity> |
| 97 | + |
| 98 | + <activity |
| 99 | + android:name="org.qpython.qpy.main.activity.HomeMainActivity" |
| 100 | + android:launchMode="singleTask"> |
61 | 101 | <meta-data
|
62 |
| - android:name="com.google.firebase.messaging.default_notification_icon" |
63 |
| - android:resource="@drawable/img_home_logo"/> |
| 102 | + android:name="android.app.shortcuts" |
| 103 | + android:resource="@xml/shortcuts"/> |
| 104 | + </activity> |
64 | 105 |
|
65 |
| - <service android:name=".main.service.QPyService"/> |
66 |
| - <service android:name="org.qpython.qsl4a.QPyScriptService"/> |
67 |
| - <service android:name=".main.service.FTPServerService"/> |
68 | 106 |
|
69 |
| - <activity |
70 |
| - android:name=".main.activity.SignInActivity" |
71 |
| - android:launchMode="singleTask"/> |
| 107 | + <activity |
| 108 | + android:name="org.qpython.qpy.main.activity.QWebViewActivity" |
| 109 | + android:label="@string/browser"> |
| 110 | + <intent-filter> |
| 111 | + <action android:name="android.intent.action.VIEW"/> |
72 | 112 |
|
73 |
| - <activity |
74 |
| - android:name="org.qpython.qpylib.MPyApi" |
75 |
| - android:exported="true" |
76 |
| - android:theme="@style/Theme.AppCompat"/> |
| 113 | + <category android:name="android.intent.category.DEFAULT"/> |
| 114 | + <category android:name="android.intent.category.BROWSABLE"/> |
77 | 115 |
|
78 |
| - <service |
79 |
| - android:name="org.qpython.qpylib.MPyService" |
80 |
| - android:exported="true" |
81 |
| - tools:ignore="ExportedService"/> |
82 |
| - |
83 |
| - <activity |
84 |
| - android:name=".main.activity.SplashActivity" |
85 |
| - android:theme="@style/FullscreenTheme" |
86 |
| - > |
87 |
| - <intent-filter> |
88 |
| - <action android:name="android.intent.action.MAIN"/> |
89 |
| - <category android:name="android.intent.category.LAUNCHER"/> |
90 |
| - </intent-filter> |
91 |
| - </activity> |
92 |
| - |
93 |
| - <activity |
94 |
| - android:name="org.qpython.qpy.main.activity.HomeMainActivity" |
95 |
| - android:launchMode="singleTask"> |
96 |
| - <meta-data |
97 |
| - android:name="android.app.shortcuts" |
98 |
| - android:resource="@xml/shortcuts"/> |
99 |
| - </activity> |
100 |
| - |
101 |
| - |
102 |
| - <activity |
103 |
| - android:name="org.qpython.qpy.main.activity.QWebViewActivity" |
104 |
| - android:label="@string/browser"> |
105 |
| - <intent-filter> |
106 |
| - <action android:name="android.intent.action.VIEW"/> |
107 |
| - |
108 |
| - <category android:name="android.intent.category.DEFAULT"/> |
109 |
| - <category android:name="android.intent.category.BROWSABLE"/> |
110 |
| - |
111 |
| - <data android:mimeType="text/plain"/> |
112 |
| - <data android:mimeType="image/*"/> |
113 |
| - <data |
114 |
| - android:host="course" |
115 |
| - android:path="/" |
116 |
| - android:scheme="qpython"/> |
117 |
| - </intent-filter> |
| 116 | + <data android:mimeType="text/plain"/> |
| 117 | + <data android:mimeType="image/*"/> |
| 118 | + <data |
| 119 | + android:host="course" |
| 120 | + android:path="/" |
| 121 | + android:scheme="qpython"/> |
| 122 | + </intent-filter> |
118 | 123 |
|
119 |
| - <!-- Used to handle Chrome then menu then share.--> |
| 124 | + <!-- Used to handle Chrome then menu then share.--> |
120 | 125 | <intent-filter>
|
121 | 126 | <action android:name="android.intent.action.SEND"/>
|
122 | 127 | <category android:name="android.intent.category.DEFAULT"/>
|
|
0 commit comments