Commit Graph

406 Commits

Author SHA1 Message Date
B. Petersen 72a6627059 Update permanent forground notification on language change. 2017-04-19 22:18:01 +02:00
B. Petersen 4d839e40ca Fix Russian. 2017-04-19 11:31:47 +02:00
B. Petersen a69afe11f4 Pimp notifications. 2017-04-13 23:55:51 +02:00
B. Petersen 4ff15e433b Use 'white' as default LED-color, show text 'Default' if the default LED-color is selected (instead of a white circle on white background). 2017-04-13 23:03:02 +02:00
B. Petersen 6c81d03c50 Use delta-chat default sound if choosing 'default' in the chat-sound-settings. 2017-04-13 22:37:15 +02:00
B. Petersen d6e9ba2ea9 Rewording the 'Mute for' options - thanks for the hint, Tobi. 2017-04-13 12:33:41 +02:00
B. Petersen d2e76a5e61 Pimp 'Notifications and sounds' dialog. 2017-04-12 23:02:54 +02:00
B. Petersen 1cf5039c81 Additional heartbeat call. 2017-04-12 11:36:07 +02:00
B. Petersen 90a5e39872 Personalize needed foreground notification. 2017-04-11 14:44:24 +02:00
B. Petersen 30868b107e Remove dead code. 2017-04-11 12:37:16 +02:00
B. Petersen 546d4a3bda Remove dead code. 2017-04-11 12:23:11 +02:00
B. Petersen 33eaf71e5b Remove currently unused AOSP Volley. 2017-04-11 12:08:15 +02:00
B. Petersen a61e73b91b Improve color selector, selection is still a little bit weird, however, much better. 2017-04-10 22:51:10 +02:00
B. Petersen e2225be331 Installing an permanent foreground service to satisfy Googles battery optimization stuff, hopefully, *REQUEST_IGNORE_BATTERY_OPTIMIZATIONS (which is only possible with the mercy of Google) is no longer needed. 2017-04-10 18:11:52 +02:00
B. Petersen f1f23a5099 Additionally log to a file to fix temporary notification problems. 2017-04-10 13:30:13 +02:00
B. Petersen db3bcb017c Remove void FileLog commands. 2017-04-10 12:39:50 +02:00
B. Petersen ab0ce1393e Remove void FileLog commands. 2017-04-10 12:01:56 +02:00
B. Petersen b941b9e21a Request the user to ignore the battery optimizations which avoid running Delta Chat properly. 2017-04-07 19:36:05 +02:00
B. Petersen b838e0d69e If possible, use Java's Log-class instead of JNI's __android_log_print() which is not available on some devices (eg. LG X Cam). 2017-04-05 16:11:56 +02:00
B. Petersen 8459f5552d Avoid global JNI-namespace pollution. 2017-04-05 14:35:28 +02:00
B. Petersen f4fb855cb6 Add vertical scrollbar, where appropriate, and use system 'glow' color. 2017-04-04 18:49:24 +02:00
B. Petersen 8fa34e8659 Do not connect if we're not configured (otherwise a 'not connected' error pops up during the first app run). 2017-04-04 17:59:32 +02:00
B. Petersen eb2f2de29c Remove Exoplayer, we prefer the native video player. 2017-03-31 21:23:16 +02:00
B. Petersen 1b2c5a028a Remove dead http-code, still continued. 2017-03-31 20:09:24 +02:00
B. Petersen 4057c08df9 Remove dead http-code, still continued. 2017-03-31 20:05:32 +02:00
B. Petersen 074d2054ec Remove dead http-code, continued. 2017-03-31 19:50:53 +02:00
B. Petersen cf2ea4cc56 Remove dead http-code. 2017-03-31 19:34:49 +02:00
B. Petersen 7e7d4176f2 Adapt layout. 2017-03-31 11:36:54 +02:00
B. Petersen 8abaa7bc02 Dynamically adapt video bitrate for longer videos to an attachment-size of max. 25 MB. 2017-03-31 01:40:38 +02:00
B. Petersen 714e079b17 Split video-result-calculation from original-value-loading. 2017-03-31 00:38:10 +02:00
B. Petersen 6983491586 Check, if we can really compress videos. 2017-03-31 00:02:30 +02:00
B. Petersen 2cea64ccff Remove unneeded file loader calls. 2017-03-30 23:35:25 +02:00
B. Petersen 0ef81716c5 Use system 'CheckBox' instead of user-defined 'Switch'; the latter is not a perfect choice in a list of settings, see Android GUI guidelines, and did never worked well, eg. moving the switch did never worked as expected. 2017-03-30 21:14:19 +02:00
B. Petersen c780ddf081 Support intents with mailto:-links, show preview before sending a message. 2017-03-30 17:55:43 +02:00
B. Petersen 30b778c4f6 Allow sharing images or documents from other apps to Delta Chat. 2017-03-29 21:50:57 +02:00
B. Petersen 5e0c7553e2 Show error toasts only if the app is in foreground. 2017-03-29 21:19:44 +02:00
B. Petersen b5fe0acd89 Cleanup. 2017-03-29 21:13:15 +02:00
B. Petersen 01551fe71a Cleanup. 2017-03-29 20:35:08 +02:00
B. Petersen aeb297548c Remove unused variable. 2017-03-28 11:04:52 +02:00
B. Petersen eb3aa46ff7 After the app is paused, show messages the next 10 minutes immediately. Affter that, we sleep most time (11/12th=55 seconds) of a minute. 2017-03-28 10:59:50 +02:00
B. Petersen 05fbf5bdce Add missing file. 2017-03-27 22:17:03 +02:00
B. Petersen 8a5f05fe2e Create an alert that wakes up the app from time to time; if there's stuff to do, the backend acquires a wake loke then. Additionally, if the app is just dismissed, we keep another wakelock for some minutes to catch messages the user just expects in that moment. 2017-03-27 22:16:26 +02:00
B. Petersen 590841d139 Clearer bootup-code naming. 2017-03-24 19:36:16 +01:00
B. Petersen 44caf01cae Cleanup code to load the native library. 2017-03-24 17:11:31 +01:00
B. Petersen db36341251 Cleanup. 2017-03-24 15:43:28 +01:00
B. Petersen 0a63816ece Acquire wakeLock to receive notifications if 'keep-alive' is on. 2017-03-23 22:18:17 +01:00
B. Petersen ceb0155f5f Cleanup keep-alive code. 2017-03-23 21:01:36 +01:00
B. Petersen 723e677b2b Use more general text 'Audio' instead of 'Music' for audio-files with unknown content. 2017-03-23 16:00:11 +01:00
B. Petersen b43f337af9 Show language name in english in language select activity. 2017-03-22 15:49:56 +01:00
B. Petersen 89aaa9c072 Show percentage in the configuration progress dialog. 2017-03-22 00:04:27 +01:00