2011-12-20 18:20:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="org.thoughtcrime.securesms"
|
2013-05-22 01:11:18 +00:00
|
|
|
android:versionCode="49"
|
|
|
|
android:versionName="0.9.9.3">
|
2012-07-17 02:47:57 +00:00
|
|
|
|
2012-09-14 03:47:33 +00:00
|
|
|
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16"/>
|
2012-07-17 02:47:57 +00:00
|
|
|
|
2012-09-09 23:10:46 +00:00
|
|
|
<permission android:name="org.thoughtcrime.securesms.ACCESS_SECRETS"
|
2012-10-23 02:17:08 +00:00
|
|
|
android:label="Access to TextSecure Secrets"
|
|
|
|
android:protectionLevel="signature" />
|
2012-09-09 23:10:46 +00:00
|
|
|
|
|
|
|
<uses-permission android:name="org.thoughtcrime.securesms.ACCESS_SECRETS"></uses-permission>
|
2012-10-23 02:17:08 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_PROFILE"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_PROFILE"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.BROADCAST_WAP_PUSH"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_MMS"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.READ_SMS"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.SEND_SMS"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SMS"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE"></uses-permission>
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
|
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2012-11-21 03:09:46 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
2013-03-26 04:26:03 +00:00
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
|
|
|
|
2013-04-01 02:16:06 +00:00
|
|
|
<permission android:name="org.thoughtcrime.securesms.permission.C2D_MESSAGE"
|
2013-03-26 04:26:03 +00:00
|
|
|
android:protectionLevel="signature" />
|
|
|
|
<uses-permission android:name="org.thoughtcrime.securesms.permission.C2D_MESSAGE" />
|
2012-09-09 23:10:46 +00:00
|
|
|
|
2012-07-17 02:47:57 +00:00
|
|
|
<application android:icon="@drawable/icon"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:theme="@style/Theme.Sherlock.Light.DarkActionBar">
|
|
|
|
|
2013-02-17 19:42:30 +00:00
|
|
|
<activity android:name=".RoutingActivity"
|
|
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
2011-12-20 18:20:44 +00:00
|
|
|
android:launchMode="singleTask"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
|
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
2012-08-05 00:16:32 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<intent-filter>
|
2012-07-17 02:47:57 +00:00
|
|
|
<action android:name="android.intent.action.SENDTO"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2012-08-05 00:16:32 +00:00
|
|
|
<data android:scheme="sms" />
|
|
|
|
<data android:scheme="smsto" />
|
2012-07-17 02:47:57 +00:00
|
|
|
</intent-filter>
|
2012-08-05 00:16:32 +00:00
|
|
|
|
2013-02-03 04:37:40 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
<data android:mimeType="audio/*" />
|
|
|
|
<data android:mimeType="image/*" />
|
|
|
|
<data android:mimeType="text/*" />
|
|
|
|
</intent-filter>
|
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
</activity>
|
2013-02-17 19:42:30 +00:00
|
|
|
|
2013-03-05 01:43:04 +00:00
|
|
|
<activity android:name=".PromptApnActivity"
|
|
|
|
android:label="Configure MMS Settings"
|
|
|
|
android:windowSoftInputMode="stateUnchanged"
|
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
|
2013-02-17 19:42:30 +00:00
|
|
|
<activity android:name=".ConversationListActivity"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:launchMode="singleTask"
|
|
|
|
android:uiOptions="splitActionBarWhenNarrow"
|
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2011-12-20 18:20:44 +00:00
|
|
|
|
2012-07-20 00:02:31 +00:00
|
|
|
<activity android:name=".ConversationActivity"
|
2012-08-04 23:21:01 +00:00
|
|
|
android:windowSoftInputMode="stateUnchanged"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-20 00:02:31 +00:00
|
|
|
|
2013-02-17 19:42:30 +00:00
|
|
|
<activity android:name=".DatabaseMigrationActivity"
|
|
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
|
|
|
android:launchMode="singleTask"
|
Major storage layer refactoring to set the stage for clean GCM.
1) We now try to hand out cursors at a minimum. There has always been
a fairly clean insertion layer that handles encrypting message bodies,
but the process of decrypting message bodies has always been less than
ideal. Here we introduce a "Reader" interface that will decrypt message
bodies when appropriate and return objects that encapsulate record state.
No more MessageDisplayHelper. The MmsSmsDatabase interface is also more
sane.
2) We finally rid ourselves of the technical debt associated with TextSecure's
initial usage of the default SMS DB. In that world, we weren't able to use
anything other than the default "Inbox, Outbox, Sent" types to describe a
message, and had to overload the message content itself with a set of
local "prefixes" to describe what it was (encrypted, asymetric encrypted,
remote encrypted, a key exchange, procssed key exchange), and so on.
This includes a major schema update that transforms the "type" field into
a bitmask that describes everything that used to be encoded in a prefix,
and prefixes have been completely eliminated from the system.
No more Prefix.java
3) Refactoring of the MultipartMessageHandler code. It's less of a mess, and
hopefully more clear as to what's going on.
The next step is to remove what we can from SmsTransportDetails and genericize
that interface for a GCM equivalent.
2013-04-20 19:22:04 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
|
|
|
|
<activity android:name=".DatabaseUpgradeActivity"
|
|
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
|
|
|
android:launchMode="singleTask"
|
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
|
2012-07-31 00:15:49 +00:00
|
|
|
<activity android:name=".PassphraseCreateActivity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__create_passphrase"
|
2013-02-17 19:42:30 +00:00
|
|
|
android:windowSoftInputMode="stateUnchanged"
|
|
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
|
|
|
android:launchMode="singleTop"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-31 00:15:49 +00:00
|
|
|
|
2012-07-20 05:54:44 +00:00
|
|
|
<activity android:name=".PassphrasePromptActivity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__enter_passphrase"
|
2013-02-17 19:42:30 +00:00
|
|
|
android:launchMode="singleTop"
|
|
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
|
|
|
android:windowSoftInputMode="stateUnchanged"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-20 05:54:44 +00:00
|
|
|
|
2012-07-21 05:23:25 +00:00
|
|
|
<activity android:name=".ContactSelectionActivity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__select_contacts"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-21 05:23:25 +00:00
|
|
|
|
2012-07-23 20:42:29 +00:00
|
|
|
<activity android:name=".AutoInitiateActivity"
|
2012-07-31 21:18:14 +00:00
|
|
|
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__textsecure_detected"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-23 20:42:29 +00:00
|
|
|
|
|
|
|
<activity android:name=".ViewIdentityActivity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__public_identity_key"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-23 20:42:29 +00:00
|
|
|
|
|
|
|
<activity android:name=".PassphraseChangeActivity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__change_passphrase"
|
2012-07-23 20:42:29 +00:00
|
|
|
android:launchMode="singleInstance"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-23 20:42:29 +00:00
|
|
|
|
|
|
|
<activity android:name=".VerifyKeysActivity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__verify_session"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-23 20:42:29 +00:00
|
|
|
|
|
|
|
<activity android:name=".VerifyIdentityActivity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__verify_identity"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
2012-07-23 20:42:29 +00:00
|
|
|
|
2012-07-24 04:43:55 +00:00
|
|
|
<activity android:name=".ReviewIdentitiesActivity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__manage_identity_keys"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
|
|
|
|
<activity android:name=".ReceiveKeyActivity"
|
|
|
|
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:label="@string/AndroidManifest__complete_key_exchange"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
|
2013-03-26 04:26:03 +00:00
|
|
|
<activity android:name=".ApplicationPreferencesActivity"
|
2012-08-05 00:16:32 +00:00
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
|
2013-03-26 04:26:03 +00:00
|
|
|
<activity android:name=".RegistrationActivity"
|
|
|
|
android:windowSoftInputMode="stateUnchanged"
|
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
|
|
|
|
<activity android:name=".RegistrationProgressActivity"
|
|
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
|
2012-08-03 03:23:41 +00:00
|
|
|
<service android:enabled="true" android:name=".service.ApplicationMigrationService"/>
|
|
|
|
<service android:enabled="true" android:name=".service.KeyCachingService"/>
|
|
|
|
<service android:enabled="true" android:name=".service.SendReceiveService"/>
|
2013-03-26 04:26:03 +00:00
|
|
|
<service android:enabled="true" android:name=".service.RegistrationService"/>
|
|
|
|
<service android:enabled="true" android:name=".gcm.GcmIntentService"/>
|
2012-07-17 02:47:57 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<!-- <receiver android:name=".service.BootListener" -->
|
|
|
|
<!-- android:enabled="true" -->
|
|
|
|
<!-- android:exported="false">-->
|
|
|
|
<!-- <intent-filter>-->
|
|
|
|
<!-- <action android:name="android.intent.action.BOOT_COMPLETED" />-->
|
|
|
|
<!-- </intent-filter>-->
|
|
|
|
<!-- </receiver>-->
|
2012-07-17 02:47:57 +00:00
|
|
|
|
2013-03-26 04:26:03 +00:00
|
|
|
<receiver android:name=".gcm.GcmBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" >
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
|
|
|
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
|
|
|
|
<category android:name="org.thoughtcrime.securesms" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2012-07-17 02:47:57 +00:00
|
|
|
<receiver android:name=".service.SmsListener"
|
|
|
|
android:enabled="true"
|
2013-01-02 21:42:56 +00:00
|
|
|
android:exported="true">
|
2012-07-17 02:47:57 +00:00
|
|
|
<intent-filter android:priority="1001">
|
|
|
|
<action android:name="android.provider.Telephony.SMS_RECEIVED"></action>
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.thoughtcrime.securesms.services.MESSAGE_SENT"></action>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
<receiver android:name=".service.MmsListener"
|
|
|
|
android:enabled="true"
|
|
|
|
android:exported="true"
|
|
|
|
android:permission="android.permission.BROADCAST_WAP_PUSH">
|
|
|
|
<intent-filter android:priority="1001">
|
|
|
|
<action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED"></action>
|
|
|
|
<data android:mimeType="application/vnd.wap.mms-message" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2013-02-09 23:17:55 +00:00
|
|
|
|
|
|
|
<receiver android:name=".service.SystemStateListener"
|
|
|
|
android:enabled="true"
|
|
|
|
android:exported="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"></action>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2012-07-17 02:47:57 +00:00
|
|
|
|
2013-05-30 19:39:56 +00:00
|
|
|
<receiver android:name=".notifications.MarkReadReceiver"
|
|
|
|
android:enabled="true"
|
|
|
|
android:exported="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.thoughtcrime.securesms.notifications.CLEAR"></action>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2012-09-09 23:10:46 +00:00
|
|
|
<provider android:name=".providers.PartProvider"
|
|
|
|
android:authorities="org.thoughtcrime.provider.securesms" />
|
2012-07-17 02:47:57 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<uses-library android:name="android.test.runner" />
|
|
|
|
</application>
|
|
|
|
|
|
|
|
<instrumentation android:name="android.test.InstrumentationTestRunner"
|
|
|
|
android:targetPackage="org.thoughtcrime.securesms.tests" android:label="Tests for My App" />
|
|
|
|
|
2012-07-17 02:47:57 +00:00
|
|
|
</manifest>
|