Email-based instant messaging for Android.

AndroidManifest.xml 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. package="org.thoughtcrime.securesms">
  5. <uses-sdk tools:overrideLibrary="com.amulyakhare.textdrawable,com.astuetz.pagerslidingtabstrip,pl.tajchert.waitingdots,com.h6ah4i.android.multiselectlistpreferencecompat,android.support.v13,com.davemorrissey.labs.subscaleview,com.tomergoldst.tooltips,com.klinker.android.send_message,com.takisoft.colorpicker,android.support.v14.preference"/>
  6. <uses-feature android:name="android.hardware.camera" android:required="false" />
  7. <uses-feature android:name="android.hardware.bluetooth" android:required="false" />
  8. <uses-feature android:name="android.hardware.location" android:required="false"/>
  9. <uses-feature android:name="android.hardware.location.network" android:required="false"/>
  10. <uses-feature android:name="android.hardware.location.gps" android:required="false"/>
  11. <uses-feature android:name="android.hardware.microphone" android:required="false"/>
  12. <uses-feature android:name="android.hardware.wifi" android:required="false"/>
  13. <uses-feature android:name="android.hardware.portrait" android:required="false"/>
  14. <uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
  15. <uses-permission android:name="android.permission.READ_CONTACTS" />
  16. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  17. <uses-permission android:name="android.permission.CAMERA" />
  18. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  19. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  20. <uses-permission android:name="android.permission.RECORD_AUDIO" />
  21. <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
  22. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  23. <uses-permission android:name="android.permission.VIBRATE" />
  24. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  25. <uses-permission android:name="android.permission.WAKE_LOCK" />
  26. <uses-permission android:name="android.permission.INTERNET" />
  27. <uses-permission android:name="android.permission.INSTALL_SHORTCUT" />
  28. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  29. <uses-permission android:name="android.permission.SET_WALLPAPER" />
  30. <uses-permission android:name="android.permission.RAISED_THREAD_PRIORITY" />
  31. <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
  32. <application android:name=".ApplicationContext"
  33. android:icon="@mipmap/ic_launcher"
  34. android:label="@string/dc_app_name"
  35. android:supportsRtl="true"
  36. tools:replace="android:allowBackup"
  37. android:allowBackup="false"
  38. android:theme="@style/TextSecure.LightTheme"
  39. android:largeHeap="true"
  40. tools:ignore="GoogleAppIndexingWarning">
  41. <!-- android car support, see https://developer.android.com/training/auto/start/,
  42. as this potentially blocks releases on gplay due to extra-checks,
  43. we disable this during the first gplay releases -->
  44. <!--
  45. <meta-data android:name="com.google.android.gms.car.application"
  46. android:resource="@xml/automotive_app_desc" />
  47. -->
  48. <activity android:name=".InviteActivity"
  49. android:theme="@style/TextSecure.HighlightTheme"
  50. android:windowSoftInputMode="stateHidden"
  51. android:parentActivityName=".ConversationListActivity"
  52. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
  53. <meta-data
  54. android:name="android.support.PARENT_ACTIVITY"
  55. android:value="org.thoughtcrime.securesms.ConversationListActivity" />
  56. </activity>
  57. <activity android:name=".ShareActivity"
  58. android:theme="@android:style/Theme.Translucent.NoTitleBar"
  59. android:excludeFromRecents="true"
  60. android:launchMode="singleTask"
  61. android:taskAffinity=""
  62. android:windowSoftInputMode="stateHidden"
  63. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
  64. <intent-filter>
  65. <action android:name="android.intent.action.SEND" />
  66. <category android:name="android.intent.category.DEFAULT"/>
  67. <data android:mimeType="audio/*" />
  68. <data android:mimeType="image/*" />
  69. <data android:mimeType="text/plain" />
  70. <data android:mimeType="video/*" />
  71. <data android:mimeType="application/*"/>
  72. <data android:mimeType="text/*"/>
  73. <data android:mimeType="*/*"/>
  74. </intent-filter>
  75. <intent-filter>
  76. <action android:name="android.intent.action.SEND_MULTIPLE" />
  77. <category android:name="android.intent.category.DEFAULT" />
  78. <data android:mimeType="audio/*" />
  79. <data android:mimeType="image/*" />
  80. <data android:mimeType="text/plain" />
  81. <data android:mimeType="video/*" />
  82. <data android:mimeType="application/*"/>
  83. <data android:mimeType="text/*"/>
  84. <data android:mimeType="*/*"/>
  85. </intent-filter>
  86. <meta-data
  87. android:name="android.service.chooser.chooser_target_service"
  88. android:value="org.thoughtcrime.securesms.service.DirectShareService" />
  89. </activity>
  90. <activity android:name=".ConversationListActivity"
  91. android:label="@string/dc_app_name"
  92. android:launchMode="singleTask"
  93. android:theme="@style/TextSecure.LightNoActionBar"
  94. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"
  95. android:exported="true" />
  96. <activity-alias android:name=".RoutingActivity"
  97. android:targetActivity=".ConversationListActivity"
  98. android:exported="true">
  99. <intent-filter>
  100. <action android:name="android.intent.action.MAIN" />
  101. <category android:name="android.intent.category.LAUNCHER" />
  102. <category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
  103. </intent-filter>
  104. <meta-data android:name="com.sec.minimode.icon.portrait.normal"
  105. android:resource="@mipmap/ic_launcher" />
  106. <meta-data android:name="com.sec.minimode.icon.landscape.normal"
  107. android:resource="@mipmap/ic_launcher" />
  108. </activity-alias>
  109. <activity android:name=".ConversationListArchiveActivity"
  110. android:label="@string/chat_archived_chats_title"
  111. android:launchMode="singleTask"
  112. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"
  113. android:parentActivityName=".ConversationListActivity">
  114. <meta-data
  115. android:name="android.support.PARENT_ACTIVITY"
  116. android:value="org.thoughtcrime.securesms.ConversationListActivity" />
  117. </activity>
  118. <activity android:name=".ConversationActivity"
  119. android:windowSoftInputMode="stateUnchanged"
  120. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"
  121. android:parentActivityName=".ConversationListActivity">
  122. <meta-data
  123. android:name="android.support.PARENT_ACTIVITY"
  124. android:value="org.thoughtcrime.securesms.ConversationListActivity" />
  125. </activity>
  126. <activity android:name=".GroupCreateActivity"
  127. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  128. <activity android:name=".NewConversationActivity"
  129. android:theme="@style/TextSecure.LightNoActionBar"
  130. android:windowSoftInputMode="stateHidden"
  131. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
  132. <intent-filter>
  133. <data android:scheme="mailto"/>
  134. <action android:name="android.intent.action.VIEW"/>
  135. <action android:name="android.intent.action.SENDTO"/>
  136. <category android:name="android.intent.category.DEFAULT"/>
  137. <category android:name="android.intent.category.BROWSABLE"/>
  138. </intent-filter>
  139. </activity>
  140. <activity android:name=".ContactMultiSelectionActivity"
  141. android:label="@string/contacts_title"
  142. android:windowSoftInputMode="stateHidden"
  143. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  144. <activity android:name=".ApplicationPreferencesActivity"
  145. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  146. <activity android:name=".WelcomeActivity"
  147. android:launchMode="singleTask"
  148. android:theme="@style/TextSecure.LightNoActionBar"
  149. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  150. <activity android:name=".RegistrationActivity"
  151. android:launchMode="singleTask"
  152. android:windowSoftInputMode="stateUnchanged"
  153. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
  154. <intent-filter>
  155. <action android:name="android.intent.action.VIEW" />
  156. <category android:name="android.intent.category.DEFAULT" />
  157. <category android:name="android.intent.category.BROWSABLE" />
  158. <!-- this scheme is used as the redirect_url for getOauth2Url()
  159. and should be whitelisted by the supported oauth2 services -->
  160. <data android:scheme="chat.delta" android:path="/${applicationId}/auth" tools:ignore="AppLinkUrlError"/>
  161. <data android:scheme="chat.delta" android:path="/auth" tools:ignore="AppLinkUrlError"/>
  162. </intent-filter>
  163. </activity>
  164. <activity android:name=".LogViewActivity"
  165. android:label="@string/pref_log_header"
  166. android:windowSoftInputMode="stateHidden"
  167. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  168. <activity android:name=".MediaPreviewActivity"
  169. android:label="@string/media_preview"
  170. android:windowSoftInputMode="stateHidden"
  171. android:launchMode="singleTask"
  172. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  173. <activity android:name=".ProfileActivity"
  174. android:theme="@style/TextSecure.LightNoActionBar"
  175. android:windowSoftInputMode="stateHidden"
  176. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  177. <activity android:name=".DummyActivity"
  178. android:theme="@android:style/Theme.NoDisplay"
  179. android:enabled="true"
  180. android:allowTaskReparenting="true"
  181. android:noHistory="true"
  182. android:excludeFromRecents="true"
  183. android:alwaysRetainTaskState="false"
  184. android:stateNotNeeded="true"
  185. android:clearTaskOnLaunch="true"
  186. android:finishOnTaskLaunch="true" />
  187. <activity android:name=".BlockedAndShareContactsActivity"
  188. android:theme="@style/TextSecure.LightTheme"
  189. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  190. <activity android:name=".scribbles.ScribbleActivity"
  191. android:theme="@style/TextSecure.ScribbleTheme"
  192. android:windowSoftInputMode="stateHidden"
  193. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  194. <activity android:name=".scribbles.StickerSelectActivity"
  195. android:theme="@style/TextSecure.ScribbleTheme"
  196. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  197. <activity android:name="com.soundcloud.android.crop.CropImageActivity" />
  198. <activity android:name=".CreateProfileActivity"
  199. android:theme="@style/TextSecure.LightTheme"
  200. android:windowSoftInputMode="stateHidden|adjustResize"
  201. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  202. <activity android:name=".QrScanActivity"
  203. android:theme="@style/TextSecure.LightTheme"
  204. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  205. <activity android:name=".QrShowActivity"
  206. android:theme="@style/TextSecure.LightTheme"
  207. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  208. <activity android:name=".ClearProfileAvatarActivity"
  209. android:theme="@style/Theme.AppCompat.Dialog.Alert"
  210. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"
  211. android:icon="@drawable/clear_profile_avatar"
  212. android:label="@string/menu_delete_image">
  213. <intent-filter>
  214. <action android:name="org.thoughtcrime.securesms.action.CLEAR_PROFILE_PHOTO"/>
  215. <category android:name="android.intent.category.DEFAULT"/>
  216. </intent-filter>
  217. </activity>
  218. <activity android:name=".preferences.ChatBackgroundActivity"
  219. android:theme="@style/TextSecure.LightTheme"
  220. android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
  221. <activity android:name=".map.MapActivity" />
  222. <service android:name=".connect.KeepAliveService" android:enabled="true" />
  223. <service android:name=".geolocation.LocationBackgroundService" />
  224. <service android:name=".service.DirectShareService"
  225. android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
  226. <intent-filter>
  227. <action android:name="android.service.chooser.ChooserTargetService" />
  228. </intent-filter>
  229. </service>
  230. <receiver android:name=".connect.TimerReceiver" android:enabled="true"/>
  231. <receiver android:name=".notifications.MarkReadReceiver"
  232. android:enabled="true"
  233. android:exported="false">
  234. <intent-filter>
  235. <action android:name="org.thoughtcrime.securesms.notifications.CLEAR"/>
  236. </intent-filter>
  237. </receiver>
  238. <receiver android:name=".notifications.RemoteReplyReceiver"
  239. android:enabled="true"
  240. android:exported="false">
  241. <intent-filter>
  242. <action android:name="org.thoughtcrime.securesms.notifications.WEAR_REPLY"/>
  243. </intent-filter>
  244. </receiver>
  245. <provider android:name="android.support.v4.content.FileProvider"
  246. android:authorities="${applicationId}.fileprovider"
  247. android:exported="false"
  248. android:grantUriPermissions="true">
  249. <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_provider_paths" />
  250. </provider>
  251. <provider
  252. android:name=".connect.AttachmentsContentProvider"
  253. android:authorities="${applicationId}.attachments"
  254. android:grantUriPermissions="true"
  255. android:exported="false">
  256. </provider>
  257. <receiver android:name=".service.BootReceiver">
  258. <intent-filter>
  259. <action android:name="android.intent.action.BOOT_COMPLETED"/>
  260. <action android:name="org.thoughtcrime.securesms.RESTART"/>
  261. </intent-filter>
  262. </receiver>
  263. <receiver
  264. android:name=".service.PanicResponderListener"
  265. android:exported="true">
  266. <intent-filter>
  267. <action android:name="info.guardianproject.panic.action.TRIGGER" />
  268. </intent-filter>
  269. </receiver>
  270. <uses-library android:name="com.sec.android.app.multiwindow" android:required="false"/>
  271. <meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
  272. <meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632.0dip" />
  273. <meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:value="598.0dip" />
  274. <meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:value="632.0dip" />
  275. <meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:value="598.0dip" />
  276. </application>
  277. </manifest>