Compare commits
191 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9c7687ce2 | ||
|
|
b0e0011060 | ||
|
|
9c0db4c259 | ||
|
|
9cf1751c49 | ||
|
|
981c9a1543 | ||
|
|
73bf21602a | ||
|
|
8d8a6ab998 | ||
|
|
798e3c0656 | ||
|
|
891e3aeb97 | ||
|
|
2c2a03e5e2 | ||
|
|
c7b39eca11 | ||
|
|
3d690faff0 | ||
|
|
f3fdde6040 | ||
|
|
f49c62793b | ||
|
|
f27c7c4178 | ||
|
|
ee6a74cb66 | ||
|
|
cfc255a7b7 | ||
|
|
615ca931d4 | ||
|
|
04eafd5fab | ||
|
|
73b1e3f3d4 | ||
|
|
8d115562f0 | ||
|
|
f26b9070f2 | ||
|
|
2cbc4d3b0a | ||
|
|
ee8c8530bf | ||
|
|
763e4b1b27 | ||
|
|
4f49216103 | ||
|
|
ed4c8cd799 | ||
|
|
4826dbcc34 | ||
|
|
2cf7f82f07 | ||
|
|
1c8f8666ba | ||
|
|
91dd558f7a | ||
|
|
99e3e596bb | ||
|
|
f23fc9b3dd | ||
|
|
1149d8b625 | ||
|
|
282e40db40 | ||
|
|
27fadf70f0 | ||
|
|
45f4faaf4c | ||
|
|
f58f79a459 | ||
|
|
124bcf2624 | ||
|
|
69bfb20531 | ||
|
|
b14d9d84ad | ||
|
|
8ecf972534 | ||
|
|
8281ef18d4 | ||
|
|
4722b7f005 | ||
|
|
af19da3ab2 | ||
|
|
4240dc80a1 | ||
|
|
7bd520cb41 | ||
|
|
7d07d56fc3 | ||
|
|
4281df7a28 | ||
|
|
c827f0a2a7 | ||
|
|
8464bc775a | ||
|
|
0ff5056365 | ||
|
|
f66710a7ea | ||
|
|
10fd757cb4 | ||
|
|
719d791962 | ||
|
|
c89cac8785 | ||
|
|
dfa710a6fc | ||
|
|
87e8214bae | ||
|
|
bccf4895f6 | ||
|
|
184537e691 | ||
|
|
d97252d8d6 | ||
|
|
68b82c168e | ||
|
|
4977092f7a | ||
|
|
7f532fc37f | ||
|
|
767d790b3d | ||
|
|
93c222fe9c | ||
|
|
71e161c792 | ||
|
|
2e31cfed11 | ||
|
|
2db274080c | ||
|
|
408672b0b8 | ||
|
|
4d723a21f6 | ||
|
|
d6f7b4cc5a | ||
|
|
288b416988 | ||
|
|
e00914c977 | ||
|
|
614e962110 | ||
|
|
aa25f94291 | ||
|
|
903ab92f5f | ||
|
|
5263ac1f1a | ||
|
|
2ffc70a95b | ||
|
|
0e4eef9785 | ||
|
|
6c164df815 | ||
|
|
2928abc98f | ||
|
|
38565488a4 | ||
|
|
bf03b31dde | ||
|
|
8524cc5598 | ||
|
|
d2a78ea84c | ||
|
|
ea98fe2d4f | ||
|
|
ad1d927437 | ||
|
|
0534f9d95a | ||
|
|
dda5bc8838 | ||
|
|
a1e82ab403 | ||
|
|
8c1ca6c9e0 | ||
|
|
95eb62190a | ||
|
|
3743c57edd | ||
|
|
5e2b31af60 | ||
|
|
24fc93e9ae | ||
|
|
ef7977128b | ||
|
|
e080449383 | ||
|
|
a0a6c3f211 | ||
|
|
3df67a1643 | ||
|
|
018f5eccf3 | ||
|
|
b99cca8bfa | ||
|
|
d8e3e4c683 | ||
|
|
c86e414c5f | ||
|
|
e5f634ba45 | ||
|
|
be34f30719 | ||
|
|
f44ee4a41a | ||
|
|
ad6760b62c | ||
|
|
3d49e90779 | ||
|
|
ef554ed265 | ||
|
|
5c8fa148ca | ||
|
|
5d910a2997 | ||
|
|
e07c1a8e92 | ||
|
|
43214a854c | ||
|
|
ff41c6763d | ||
|
|
6fedc6b737 | ||
|
|
7090ca4a42 | ||
|
|
81107a98eb | ||
|
|
a057b628eb | ||
|
|
01658cc454 | ||
|
|
1aa84b145f | ||
|
|
4af7fdabda | ||
|
|
b1b9846971 | ||
|
|
68ee1c8e62 | ||
|
|
c35aa09806 | ||
|
|
50fae64330 | ||
|
|
a362c8755a | ||
|
|
0b172cebce | ||
|
|
79c554fcc7 | ||
|
|
723fb4ffdd | ||
|
|
2305a648fb | ||
|
|
e80882b83b | ||
|
|
7c47ea5cec | ||
|
|
dd0aecc811 | ||
|
|
83e260436b | ||
|
|
303d1acd45 | ||
|
|
2f39283da3 | ||
|
|
f2475491fe | ||
|
|
14d88f615c | ||
|
|
815613cfaa | ||
|
|
e3c5e837e1 | ||
|
|
40eca5e0f6 | ||
|
|
eae499052b | ||
|
|
5cd044a6cc | ||
|
|
c3e21f3f75 | ||
|
|
45b044f3e4 | ||
|
|
fcea8ebc3f | ||
|
|
8e2288205c | ||
|
|
fb21c09dbe | ||
|
|
2d92b99fb3 | ||
|
|
09ce848b16 | ||
|
|
5df88cc0a7 | ||
|
|
0a769da9de | ||
|
|
4f8078c28a | ||
|
|
ecaaff50da | ||
|
|
cdd6d59e6e | ||
|
|
674cd68ebd | ||
|
|
b05c840616 | ||
|
|
6687aa0911 | ||
|
|
58961fe0a8 | ||
|
|
bb3777aa68 | ||
|
|
5dabe1069d | ||
|
|
07c59d969a | ||
|
|
fa8208de33 | ||
|
|
9c4d973bef | ||
|
|
01fdb1115d | ||
|
|
2e55e9cdca | ||
|
|
6230abb524 | ||
|
|
ef6a5c69af | ||
|
|
27e039c4a6 | ||
|
|
48576dbb58 | ||
|
|
5ca7b1080c | ||
|
|
eb9b2ef318 | ||
|
|
6bd0f35787 | ||
|
|
2397176d9e | ||
|
|
c7e6a2afeb | ||
|
|
4730ef1324 | ||
|
|
34822557a6 | ||
|
|
bac6b78b11 | ||
|
|
5bf5b404a1 | ||
|
|
f73adfc8f5 | ||
|
|
df05508a6f | ||
|
|
1e2adadae2 | ||
|
|
6c1572e0ec | ||
|
|
1ff4fd842c | ||
|
|
5eb04328d3 | ||
|
|
9e3da08d45 | ||
|
|
0a7181670c | ||
|
|
d0d85ea52c | ||
|
|
c38bcc72c8 | ||
|
|
114d4ae798 |
8
.gitignore
vendored
@@ -12,3 +12,11 @@ lint.xml
|
||||
local.properties
|
||||
ant.properties
|
||||
.DS_Store
|
||||
build.log
|
||||
build-log.xml
|
||||
.gradle
|
||||
build
|
||||
signing.properties
|
||||
gradle
|
||||
gradlew
|
||||
gradlew.bat
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
lang_map = fr_CA:fr-rCA,pt_BR:pt-rBR,pt_PT:pt,zh_CN:zh-rCN,zh_HK:zh-rHK,zh_TW:zh-rTW,da_DK:da-rDK,de_DE:de,fr_FR:fr,es_ES:es,hu_HU:hu,sv_SE:sv-rSE
|
||||
lang_map = fr_CA:fr-rCA,pt_BR:pt-rBR,pt_PT:pt,zh_CN:zh-rCN,zh_HK:zh-rHK,zh_TW:zh-rTW,da_DK:da-rDK,de_DE:de,fr_FR:fr,es_ES:es,hu_HU:hu,sv_SE:sv-rSE,bg_BG:bg,el_GR:el
|
||||
|
||||
|
||||
[textsecure-official.master]
|
||||
|
||||
@@ -1,28 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.thoughtcrime.securesms"
|
||||
android:versionCode="37"
|
||||
android:versionName="0.9">
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="org.thoughtcrime.securesms"
|
||||
android:versionCode="58"
|
||||
android:versionName="1.0.2">
|
||||
|
||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16"/>
|
||||
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>
|
||||
|
||||
<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="org.thoughtcrime.securesms.ACCESS_SECRETS"/>
|
||||
<uses-permission android:name="android.permission.READ_PROFILE"/>
|
||||
<uses-permission android:name="android.permission.WRITE_PROFILE"/>
|
||||
<uses-permission android:name="android.permission.BROADCAST_WAP_PUSH"
|
||||
tools:ignore="ProtectedPermissions"/>
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
||||
<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.RECEIVE_SMS"/>
|
||||
<uses-permission android:name="android.permission.RECEIVE_MMS"/>
|
||||
<uses-permission android:name="android.permission.READ_SMS"/>
|
||||
<uses-permission android:name="android.permission.SEND_SMS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_SMS"/>
|
||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
||||
<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" />
|
||||
@@ -30,15 +32,22 @@
|
||||
<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" />
|
||||
|
||||
<application android:icon="@drawable/icon"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.Sherlock.Light.DarkActionBar">
|
||||
<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" />
|
||||
|
||||
<activity android:name=".ConversationListActivity"
|
||||
android:label="@string/app_name"
|
||||
<permission android:name="org.thoughtcrime.securesms.permission.C2D_MESSAGE"
|
||||
android:protectionLevel="signature" />
|
||||
<uses-permission android:name="org.thoughtcrime.securesms.permission.C2D_MESSAGE" />
|
||||
|
||||
<application android:name="org.thoughtcrime.securesms.ApplicationListener"
|
||||
android:icon="@drawable/icon"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/TextSecure.LightTheme">
|
||||
|
||||
<activity android:name=".RoutingActivity"
|
||||
android:theme="@style/NoAnimation.Theme.Sherlock.Light.DarkActionBar"
|
||||
android:launchMode="singleTask"
|
||||
android:uiOptions="splitActionBarWhenNarrow"
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize">
|
||||
|
||||
<intent-filter>
|
||||
@@ -63,21 +72,49 @@
|
||||
|
||||
</activity>
|
||||
|
||||
<activity android:name=".ImportExportActivity"
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
|
||||
<activity android:name=".PromptMmsActivity"
|
||||
android:label="Configure MMS Settings"
|
||||
android:windowSoftInputMode="stateUnchanged"
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
|
||||
<activity android:name=".MmsPreferencesActivity"
|
||||
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:theme="@style/Theme.Sherlock.Light.Dialog"
|
||||
android:label="@string/AndroidManifest__create_passphrase"
|
||||
android:launchMode="singleInstance"
|
||||
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:theme="@style/Theme.Sherlock.Light.Dialog"
|
||||
android:label="@string/AndroidManifest__enter_passphrase"
|
||||
android:launchMode="singleInstance"
|
||||
android:windowSoftInputMode="stateVisible"
|
||||
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"
|
||||
@@ -85,19 +122,19 @@
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
|
||||
<activity android:name=".AutoInitiateActivity"
|
||||
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
||||
android:theme="@style/TextSecure.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=".ViewLocalIdentityActivity"
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
|
||||
<activity android:name=".PassphraseChangeActivity"
|
||||
android:theme="@style/Theme.Sherlock.Light.Dialog"
|
||||
android:label="@string/AndroidManifest__change_passphrase"
|
||||
android:launchMode="singleInstance"
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
|
||||
<activity android:name=".VerifyKeysActivity"
|
||||
@@ -108,32 +145,30 @@
|
||||
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:label="@string/AndroidManifest__complete_key_exchange"
|
||||
android:theme="@style/TextSecure.Light.Dialog"
|
||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
|
||||
<activity android:name=".ApplicationPreferencesActivity"
|
||||
<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"
|
||||
<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" -->
|
||||
@@ -143,14 +178,22 @@
|
||||
<!-- </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>
|
||||
<action android:name="android.provider.Telephony.SMS_RECEIVED"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="org.thoughtcrime.securesms.services.MESSAGE_SENT"></action>
|
||||
<action android:name="org.thoughtcrime.securesms.services.MESSAGE_SENT"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
@@ -159,7 +202,7 @@
|
||||
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>
|
||||
<action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED"/>
|
||||
<data android:mimeType="application/vnd.wap.mms-message" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
@@ -168,12 +211,20 @@
|
||||
android:enabled="true"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SERVICE_STATE"></action>
|
||||
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"></action>
|
||||
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<provider android:name=".providers.PartProvider"
|
||||
<receiver android:name=".notifications.MarkReadReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="org.thoughtcrime.securesms.notifications.CLEAR"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<provider android:name=".providers.PartProvider"
|
||||
android:grantUriPermissions="true"
|
||||
android:authorities="org.thoughtcrime.provider.securesms" />
|
||||
|
||||
<uses-library android:name="android.test.runner" />
|
||||
|
||||
9
BUILDING.md
Normal file
@@ -0,0 +1,9 @@
|
||||
Building TextSecure
|
||||
===================
|
||||
|
||||
1. Ensure the 'Android Support Repository' is installed from the Android SDK manager.
|
||||
1. Ensure gradle >= 1.8 is installed.
|
||||
|
||||
Execute Gradle:
|
||||
|
||||
gradle build
|
||||
BIN
artwork/ic_send_holo_light_encrypted.psd
Normal file
BIN
assets/emoji/1f601.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/emoji/1f602.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
assets/emoji/1f603.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/emoji/1f604.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
assets/emoji/1f605.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
assets/emoji/1f606.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
assets/emoji/1f609.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
assets/emoji/1f60a.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
assets/emoji/1f60b.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/emoji/1f60c.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/emoji/1f60d.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/emoji/1f60f.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
assets/emoji/1f612.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
assets/emoji/1f613.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
assets/emoji/1f614.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
assets/emoji/1f616.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/emoji/1f618.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/emoji/1f61a.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
assets/emoji/1f61c.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
assets/emoji/1f61d.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/emoji/1f61e.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
assets/emoji/1f620.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
assets/emoji/1f621.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/emoji/1f622.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/emoji/1f623.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
assets/emoji/1f624.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
assets/emoji/1f625.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
assets/emoji/1f628.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
assets/emoji/1f629.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
assets/emoji/1f62a.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/emoji/1f62b.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
assets/emoji/1f62d.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/emoji/1f630.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
assets/emoji/1f631.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
assets/emoji/1f632.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
assets/emoji/1f633.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/emoji/1f635.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
assets/emoji/1f637.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
assets/emoji/1f638.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
assets/emoji/1f639.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
assets/emoji/1f63a.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
assets/emoji/1f63b.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
assets/emoji/1f63c.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
assets/emoji/1f63d.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
assets/emoji/1f63e.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
assets/emoji/1f63f.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
assets/emoji/1f640.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
assets/emoji/1f645.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
assets/emoji/1f646.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
assets/emoji/1f647.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
assets/emoji/1f648.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
assets/emoji/1f649.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
assets/emoji/1f64a.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
assets/emoji/1f64b.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
assets/emoji/1f64c.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
assets/emoji/1f64d.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
assets/emoji/1f64e.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
assets/emoji/1f64f.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
assets/whisper.store
Normal file
86
build.gradle
Normal file
@@ -0,0 +1,86 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:0.5.+'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'android'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url "https://raw.github.com/whispersystems/maven/master/gcm-client/releases/"
|
||||
}
|
||||
maven {
|
||||
url "https://raw.github.com/whispersystems/maven/master/gson/releases/"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
|
||||
compile 'com.googlecode.libphonenumber:libphonenumber:5.3'
|
||||
compile 'com.android.support:support-v4:18.0.0'
|
||||
compile 'org.whispersystems:gson:2.1'
|
||||
compile 'com.google.android.gcm:gcm-client:1.0.2'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 17
|
||||
buildToolsVersion '17.0.0'
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 8
|
||||
targetSdkVersion 17
|
||||
}
|
||||
|
||||
android {
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
java.srcDirs = ['src']
|
||||
resources.srcDirs = ['src']
|
||||
aild.srcDirs = ['src']
|
||||
renderscript.srcDirs = ['src']
|
||||
res.srcDirs = ['res']
|
||||
assets.srcDirs = ['assets']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
release
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def Properties props = new Properties()
|
||||
def propFile = new File('signing.properties')
|
||||
|
||||
if (propFile.canRead()){
|
||||
props.load(new FileInputStream(propFile))
|
||||
|
||||
if (props !=null &&
|
||||
props.containsKey('STORE_FILE') &&
|
||||
props.containsKey('STORE_PASSWORD') &&
|
||||
props.containsKey('KEY_ALIAS') &&
|
||||
props.containsKey('KEY_PASSWORD'))
|
||||
{
|
||||
android.signingConfigs.release.storeFile = file(props['STORE_FILE'])
|
||||
android.signingConfigs.release.storePassword = props['STORE_PASSWORD']
|
||||
android.signingConfigs.release.keyAlias = props['KEY_ALIAS']
|
||||
android.signingConfigs.release.keyPassword = props['KEY_PASSWORD']
|
||||
} else {
|
||||
println 'signing.properties found but some entries are missing'
|
||||
android.buildTypes.release.signingConfig = null
|
||||
}
|
||||
}else {
|
||||
println 'signing.properties not found'
|
||||
android.buildTypes.release.signingConfig = null
|
||||
}
|
||||
25
build.xml
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="TextSecure" default="help">
|
||||
|
||||
<property file="local.properties" />
|
||||
|
||||
<property file="ant.properties" />
|
||||
|
||||
<property environment="env" />
|
||||
<condition property="sdk.dir" value="${env.ANDROID_HOME}">
|
||||
<isset property="env.ANDROID_HOME" />
|
||||
</condition>
|
||||
|
||||
<loadproperties srcFile="project.properties" />
|
||||
|
||||
<fail
|
||||
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable."
|
||||
unless="sdk.dir"
|
||||
/>
|
||||
|
||||
<import file="custom_rules.xml" optional="true" />
|
||||
|
||||
<!-- version-tag: 1 -->
|
||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||
|
||||
</project>
|
||||
BIN
res/drawable-hdpi/alert.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-hdpi/card.9.png
Normal file
|
After Width: | Height: | Size: 266 B |
BIN
res/drawable-hdpi/check.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-hdpi/contacts_identities_dark.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
res/drawable-hdpi/contacts_identities_light.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
res/drawable-hdpi/dialog_full_holo_light.9.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-hdpi/divet_left_dark.png
Normal file
|
After Width: | Height: | Size: 312 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/divet_right_dark.png
Normal file
|
After Width: | Height: | Size: 319 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/drawer_shadow_dark.9.png
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
res/drawable-hdpi/drawer_shadow_light.9.png
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
res/drawable-hdpi/encrypted_backup.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-hdpi/group_distribute.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-hdpi/ic_drawer.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
res/drawable-hdpi/ic_emoji_dark.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/ic_emoji_light.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/ic_emoji_recent_light.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-hdpi/ic_ime_dark.png
Normal file
|
After Width: | Height: | Size: 669 B |
BIN
res/drawable-hdpi/ic_ime_light.png
Normal file
|
After Width: | Height: | Size: 669 B |
BIN
res/drawable-hdpi/ic_menu_friendslist.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-hdpi/ic_menu_search_holo_light.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/ic_menu_unlock_holo_dark.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
res/drawable-hdpi/ic_send_encrypted_holo_light.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
res/drawable-hdpi/ic_send_holo_dark.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
res/drawable-hdpi/ic_send_holo_dark_encrypted.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
res/drawable-hdpi/ic_send_holo_light.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
res/drawable-hdpi/ic_sms_mms_delivered_dark.png
Normal file
|
After Width: | Height: | Size: 827 B |
|
Before Width: | Height: | Size: 927 B After Width: | Height: | Size: 927 B |
BIN
res/drawable-hdpi/import_database.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
res/drawable-hdpi/import_export_dark.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-hdpi/import_export_light.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-hdpi/list_selected_holo_dark.9.png
Normal file
|
After Width: | Height: | Size: 156 B |