mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
83e260436b
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.
229 lines
12 KiB
XML
229 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.thoughtcrime.securesms"
|
|
android:versionCode="45"
|
|
android:versionName="0.9.8">
|
|
|
|
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16"/>
|
|
|
|
<permission android:name="org.thoughtcrime.securesms.ACCESS_SECRETS"
|
|
android:label="Access to TextSecure Secrets"
|
|
android:protectionLevel="signature" />
|
|
|
|
<uses-permission android:name="org.thoughtcrime.securesms.ACCESS_SECRETS"></uses-permission>
|
|
<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" />
|
|
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
|
<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" />
|
|
|
|
<permission android:name="org.thoughtcrime.securesms.permission.C2D_MESSAGE"
|
|
android:protectionLevel="signature" />
|
|
<uses-permission android:name="org.thoughtcrime.securesms.permission.C2D_MESSAGE" />
|
|
|
|
<application android:icon="@drawable/icon"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/Theme.Sherlock.Light.DarkActionBar">
|
|
|
|
<activity android:name=".RoutingActivity"
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
|
android:launchMode="singleTask"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SENDTO"/>
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:scheme="sms" />
|
|
<data android:scheme="smsto" />
|
|
</intent-filter>
|
|
|
|
<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>
|
|
|
|
</activity>
|
|
|
|
<activity android:name=".PromptApnActivity"
|
|
android:label="Configure MMS Settings"
|
|
android:windowSoftInputMode="stateUnchanged"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".ConversationListActivity"
|
|
android:label="@string/app_name"
|
|
android:launchMode="singleTask"
|
|
android:uiOptions="splitActionBarWhenNarrow"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".ConversationActivity"
|
|
android:windowSoftInputMode="stateUnchanged"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".DatabaseMigrationActivity"
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
|
android:launchMode="singleTask"
|
|
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"/>
|
|
|
|
<activity android:name=".PassphraseCreateActivity"
|
|
android:label="@string/AndroidManifest__create_passphrase"
|
|
android:windowSoftInputMode="stateUnchanged"
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
|
android:launchMode="singleTop"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".PassphrasePromptActivity"
|
|
android:label="@string/AndroidManifest__enter_passphrase"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
|
android:windowSoftInputMode="stateUnchanged"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".ContactSelectionActivity"
|
|
android:label="@string/AndroidManifest__select_contacts"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".AutoInitiateActivity"
|
|
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
|
android:label="@string/AndroidManifest__textsecure_detected"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".ViewIdentityActivity"
|
|
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
|
android:label="@string/AndroidManifest__public_identity_key"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".PassphraseChangeActivity"
|
|
android:label="@string/AndroidManifest__change_passphrase"
|
|
android:launchMode="singleInstance"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".VerifyKeysActivity"
|
|
android:label="@string/AndroidManifest__verify_session"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".VerifyIdentityActivity"
|
|
android:label="@string/AndroidManifest__verify_identity"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".SaveIdentityActivity"
|
|
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
|
android:label="@string/AndroidManifest__save_identity"
|
|
android:windowSoftInputMode="stateVisible"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".ReviewIdentitiesActivity"
|
|
android:label="@string/AndroidManifest__manage_identity_keys"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".ReceiveKeyActivity"
|
|
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
|
android:label="@string/AndroidManifest__complete_key_exchange"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".ApplicationPreferencesActivity"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<activity android:name=".VerifyImportedIdentityActivity"
|
|
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
|
android:label="@string/AndroidManifest__verify_imported_identity"
|
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
|
|
|
<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"/>
|
|
|
|
<service android:enabled="true" android:name=".service.ApplicationMigrationService"/>
|
|
<service android:enabled="true" android:name=".service.KeyCachingService"/>
|
|
<service android:enabled="true" android:name=".service.SendReceiveService"/>
|
|
<service android:enabled="true" android:name=".service.RegistrationService"/>
|
|
<service android:enabled="true" android:name=".gcm.GcmIntentService"/>
|
|
|
|
<!-- <receiver android:name=".service.BootListener" -->
|
|
<!-- android:enabled="true" -->
|
|
<!-- android:exported="false">-->
|
|
<!-- <intent-filter>-->
|
|
<!-- <action android:name="android.intent.action.BOOT_COMPLETED" />-->
|
|
<!-- </intent-filter>-->
|
|
<!-- </receiver>-->
|
|
|
|
<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>
|
|
|
|
<receiver android:name=".service.SmsListener"
|
|
android:enabled="true"
|
|
android:exported="true">
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<provider android:name=".providers.PartProvider"
|
|
android:authorities="org.thoughtcrime.provider.securesms" />
|
|
|
|
<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" />
|
|
|
|
</manifest>
|