| 4 | android:installLocation="auto"> |
| 5 |
| 6 | <uses-permission android:name="com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA"/> |
| 7 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING" /> |
| 8 |
| 9 | <queries> |
| 10 | <package android:name="com.huawei.maps.app"/> |
| 11 | </queries> |
| 12 |
| 13 | <application android:name="org.telegram.messenger.HuaweiApplicationLoader" tools:replace="name"> |
| 14 | <service |
| 15 | android:name="org.telegram.messenger.GoogleVoiceClientService" |
| 16 | android:exported="true" |
| 17 | android:foregroundServiceType="dataSync" |
| 18 | /> |
| 19 | <activity |
| 20 | android:name="org.telegram.messenger.GoogleVoiceClientActivity" |
| 21 | android:exported="true"> |
| 22 | <intent-filter> |
| 23 | <action android:name="com.google.android.voicesearch.SEND_MESSAGE_TO_CONTACTS" /> |
| 24 | <category android:name="android.intent.category.DEFAULT" /> |
| 25 | <data android:mimeType="text/plain" /> |
| 26 | </intent-filter> |
| 27 | </activity> |
| 28 |
| 29 | <service |
| 30 | android:name="org.telegram.messenger.HuaweiPushListenerService" |
| 31 | android:exported="false" |
| 32 | android:foregroundServiceType="dataSync|remoteMessaging" |
| 33 | > |
| 34 | <intent-filter> |
| 35 | <action android:name="com.huawei.push.action.MESSAGING_EVENT"/> |
| 36 | </intent-filter> |
| 37 | </service> |
| 38 | </application> |
| 39 | </manifest> |