Commit Graph

56 Commits

Author SHA1 Message Date
akwizgran
160adca198 Merge branch 'use-android-executor' into 'master'
Use Android executor for background API calls

Some Android API calls need to be made from a thread with a message queue, but to keep the UI responsive they shouldn't be made from the UI thread.

This patch gives AndroidExecutor a captive thread with a message queue to execute tasks, and converts various background tasks from creating their own threads to using AndroidExecutor and IoExecutor.

This allows us to upgrade the support library to 23.2.1. Fixes #332.

See merge request !161
2016-05-03 14:34:49 +00:00
akwizgran
ea973b61c6 Bumped expiry date to 1 June 2016. 2016-05-02 17:02:01 +01:00
akwizgran
c21854fbe4 Use AndroidExecutor for background tasks that make API calls. 2016-05-02 16:54:35 +01:00
akwizgran
141d6497ef Removed unused layout code and imports. 2016-04-26 09:34:48 +01:00
Santiago Torres
e535be6d18 WIP: Converts the splash screen to XML format
Removes all programatic calls that modify the layout and uses the XML
resource instead.
2016-04-25 12:19:48 -04:00
akwizgran
845d3fa47e Bumped expiry date to 1 May 2016. 2016-04-01 12:21:58 +01:00
akwizgran
e39a74bd40 Finish SplashScreenActivity when starting next activity.
Fixes #270.
2016-03-15 20:58:57 +00:00
Ernir Erlingsson
11bfa212cc minor tweaks 2016-03-14 21:02:51 +01:00
Ernir Erlingsson
85c66417b5 branch cleanup 2016-03-14 21:02:51 +01:00
Ernir Erlingsson
4da63b3800 Modified the project structure, removed module extension and went instead for a non-complete core dependency graph 2016-03-14 21:02:51 +01:00
Ernir Erlingsson
9af3ce123a Added eager singletons and made some fixes 2016-03-14 21:02:51 +01:00
Ernir Erlingsson
25324697ac cleanup and added missing desktop modules 2016-03-14 21:01:21 +01:00
Ernir Erlingsson
1be400eb84 Switched Roboguice/Guice out for Dagger 2 2016-03-14 21:01:21 +01:00
akwizgran
30c3a33a0a Delete all app data when deleting account. #263 2016-03-03 16:23:10 +00:00
akwizgran
08099714ba Bumped expiry date to 1 April 2016. 2016-03-02 09:58:23 +00:00
akwizgran
35090f4d0e Bumped expiry date to 1 March 2016. 2016-02-01 15:16:15 +00:00
Ernir Erlingsson
dae29eecce Navigation drawer (squashed and rebased). 2016-01-21 16:49:21 +00:00
akwizgran
5355951466 Separate the sync layer from its clients. #112 2016-01-20 10:35:09 +00:00
Torsten Grote
f9f3696fb9 run bluetooth adapter enabling/disabling in background thread
also run setting the default preferences in a background thread

Closes #184
2016-01-19 11:10:34 -02:00
Torsten Grote
e603b4f60e Implemented Sign Out as a first PanicKit Response
This closes #204
2016-01-12 10:49:14 -02:00
akwizgran
6e26391e03 Bumped expiry date to 1 Feb 2016. 2016-01-06 12:40:11 +00:00
akwizgran
79d9b4b6af Raised minimum Android version to 2.3 (API 9). #23 2015-12-02 13:20:55 +00:00
akwizgran
db6d277887 Bumped expiry date to 1 Jan 2016. 2015-11-30 11:02:33 +00:00
akwizgran
027ae8340f Whitespace-only code formatting changes. 2015-11-30 09:38:25 +00:00
akwizgran
ec7eb386f5 Bumped expiry date to 15 May 2015. 2015-04-27 15:20:53 +01:00
akwizgran
92d26f7867 Use strict mode to log potential problems with testing builds. 2015-04-08 08:50:40 +01:00
akwizgran
84596baddb Bumped expiry date to 1 May 2015. 2015-04-05 16:37:46 +01:00
Alexander Løvik Stevenson
35212a49dc Bumped expiry date to 1 PAril 2015. 2015-03-05 14:05:24 +01:00
akwizgran
316e4c88fd Bumped expiry date to 1 March 2015. 2015-02-05 14:32:43 +00:00
akwizgran
73d4f39726 Bumped expiry date to 1 February 2015. 2015-01-14 16:04:01 +00:00
akwizgran
0d12e39107 Bumped expiry date to 1 January 2015. 2014-12-05 10:28:51 +00:00
akwizgran
5fec373689 Bumped expiry date to 14 November 2014. 2014-11-09 09:46:07 +00:00
akwizgran
1151c35d1c Bumped expiry date to 7 November 2014. 2014-11-04 16:53:13 +00:00
akwizgran
58a2b725bf Bumped expiry date to 31 October 2014 and build target to android-20.
This should make it easier for people to build the project with a freshly
downloaded ADT Bundle.
2014-10-07 11:44:39 +01:00
akwizgran
941efb4bbe Merged IncomingConnectionExecutor and PluginExecutor into IoExecutor.
We don't need two separate executors for long-running IO threads.
2014-10-02 18:02:53 +01:00
akwizgran
14c5b4e4ff Removed DatabaseUiExecutor as DatabaseExecutor is now single-threaded. 2014-07-04 15:16:55 +01:00
akwizgran
458d52e7ea Bumped expiry date to 17 May 2014. 2014-05-09 20:13:31 +01:00
akwizgran
4aae062ea7 Created switches for disabling alpha/beta testing code. 2014-04-30 13:41:09 +01:00
akwizgran
b7b619d348 Bumped the expiry date to 10 May 2014. 2014-04-24 13:33:42 +01:00
akwizgran
4dd631a997 Bumped the expiry date to 26 April 2014. 2014-04-18 19:59:36 +01:00
akwizgran
639a5e8e76 Prevent screenshots (including the Recents menu).
Thanks to the team that audited CryptoCat for this idea. :-)
2014-04-07 20:35:10 +01:00
akwizgran
1923dba345 Bumped the version number and expiry date. 2014-04-05 00:00:58 +01:00
akwizgran
56f1eb80db Bumped the expiry date to 7 April 2014. 2014-04-01 19:37:54 +01:00
akwizgran
b99a503f24 Removed unnecessary conditionals from logging statements.
Very important stuff.
2014-03-12 21:00:14 +00:00
akwizgran
28ac6ced05 Bumped the expiry date of the alpha to 31 March 2014. 2014-03-11 09:58:51 +00:00
akwizgran
4560cf17ff Notification settings. Dev task #76. 2014-03-10 18:00:36 +00:00
akwizgran
74159f6e71 Check whether data has been deleted when resuming from recents. Bug #44. 2014-03-02 18:37:24 +00:00
akwizgran
95605891f3 Bumped the expiry date to 16 March. 2014-02-26 16:42:59 +00:00
Ximin Luo
97585ebc8a bump expiry to Feb 14 2014-02-07 12:34:43 +00:00
akwizgran
54bc30ee39 Removed unnecessary intent flags. 2014-02-06 15:15:02 +00:00