B. Petersen
5ab682f2ab
use same rationale in device message (the device message is only added when the direct-ask was cancelled)
2020-09-08 12:41:02 +02:00
B. Petersen
fa214e0163
reword, use 'continue' instead of 'ok'
2020-09-07 15:50:46 +02:00
B. Petersen
34c217576e
reword rationale dialog, remove 'cancel' button
2020-09-07 13:56:37 +02:00
B. Petersen
14dc59d78c
add rationale to ignore-battery-optimization request
...
while it is more straight-forward to let the system ask the user directly -
as we do for most other permissions -
this is probably not favorable for requesting ignore-battery-optimization:
- other permissions requests are preceded by a clear user intention -
tap on the camera, record voice etc.
so it is clear to the user why a permission is needed.
this is not true at the moment after installation
(maybe the moment can be improved, btw)
- different systems have completely different text,
partly focusing on "battery drain" - it is not clear to the user
what would be the advantage of that
- some guidelines say, user interaction is needed before querying permission.
there is room for interpretation, of couse,
however, adding a rational with a "continue" button
seems to fit better to these guidelines.
2020-09-06 23:44:34 +02:00
B. Petersen
537ea4a195
move maybeAskDirectly() to the updateReminders()-AsyncTask, this avoids the keyboard not being closed during the permission-quesions
2020-09-06 21:20:13 +02:00
B. Petersen
1caaac58b9
move always-executed doze-checks to a try/catch block
2020-09-06 17:31:56 +02:00
B. Petersen
94cda3f81f
move pref-string 'DOZE_ASKED_DIRECTLY' to the other pref-strings
2020-09-06 17:31:56 +02:00
Hocuri
954ca9b2d1
Already ask the user to disable doze on the first start
2020-09-06 17:31:56 +02:00
bjoern
ded8d0b181
Merge pull request #1608 from deltachat/notify-bg-switch
...
add switch to enable/disable battery optimizations
2020-09-06 13:44:10 +02:00
B. Petersen
877a49e0ef
close generic foreground-service when hitting 'cancel' button
2020-09-05 00:49:21 +02:00
B. Petersen
6fa07b99fa
move generic-notification-id to NotificationCenter to keep the overview
2020-09-03 18:50:09 +02:00
cyberta
42837ad56d
no content intent for generic forground service - don't open the ConversationListActivity on notification click
2020-09-03 17:30:52 +02:00
cyberta
7a4e6a2982
close notification on export error
2020-09-03 17:30:52 +02:00
cyberta
653db39f6c
tweak import export notification messages
2020-09-03 17:30:52 +02:00
cyberta
7a22513c7a
use ContextCompat to start foreground services
2020-09-03 17:30:52 +02:00
cyberta
ce8f4a58d2
reuse signals generic foreground service for import export
2020-09-03 17:30:52 +02:00
bjoern
868d4f46ee
Merge pull request #1589 from deltachat/add_poi_improvements
...
Add POI improvements
2020-09-03 12:45:00 +02:00
B. Petersen
34755f05ff
add a switch to 'settings / notifications' to disable battery optimisations
2020-09-01 01:44:43 +02:00
B. Petersen
87b46a037f
adapt to new server_flags/mail_security/send_security api
2020-08-26 18:35:14 +02:00
B. Petersen
7f96c065e4
compile command-pattern only once on startup
2020-08-26 11:31:17 +02:00
B. Petersen
2e8aa15df5
use auto-linkify together with custom-linkify
...
unfortunately, auto-linking such as Linkify.addLinks(WEB_URLS...)
replaces custom-links set before by Linkify.addLinks(custom-pattern).
calling custom-linking after auto-linking may be too inaccurate
as in case of bot-commands such as /xkcd_123456
are treated partly as a phone number.
skipping auto-linking is hard as there are lots of things to do to get a
similar experience, see #1600 .
finally, we solve the problem by replacing URLSpan by some other span after.
in fact, we do that anyway to get a different long-click behaviour.
the only important thing is that the span-replacement
must not be derived from URLSpan.
2020-08-26 01:18:06 +02:00
bjoern
375f9ac847
Merge pull request #1599 from deltachat/fix-burner
...
connect immediately after burner account scan
2020-08-25 18:22:32 +02:00
B. Petersen
9f98494a17
remove double call to Util.assertMainThread() as in original pr #802
2020-08-25 17:16:39 +02:00
cyberta
89b26fa590
fix regression caused by diversied emoji update. reintroduce 4707efb26a in order to fix app crash on map #793
2020-08-25 17:15:18 +02:00
B. Petersen
5656062728
connect immediately after burner account scan
...
the startIo() call after scanning a burner account was just missing,
putting the app for a second to background fixes the issue,
so it was maybe not that visible.
the issue was probably introduced on the switch to async,
before, startIo() was not existant.
2020-08-25 15:30:02 +02:00
B. Petersen
0778fee77b
show PermanentDenialDialog also on share, avoid users getting lost
2020-08-22 00:55:35 +02:00
B. Petersen
83e9860aa9
fix PermanentDenialDialog for save-attachment (query by activity, not by fragment), remove toasts that do not contain useful information that are not shown before
2020-08-22 00:52:24 +02:00
B. Petersen
4a2f6a32da
request mic/cam permission more directly, a toast is not needed as all important information are already shown and it would appear on 'cancel' only
2020-08-22 00:52:24 +02:00
B. Petersen
430e42c3ea
request import/export permission more properly and directly, on permentent denial, show appropriate information about how to fix the issue
2020-08-22 00:52:24 +02:00
bjoern
9e0c4535d3
Merge pull request #1590 from deltachat/faster-camera-permission
...
Fix #1585 User asked for camera permission twice
2020-08-21 16:48:39 +02:00
Hocuri
81effe2350
Fix #1585 User asked for camera permission twice
...
The R.string.perm_explain_need_for_camera_access string is also used elsewhere, so we can't delete it.
2020-08-20 09:20:41 +02:00
link2xt
37e99b659f
Linkify commands ( #1567 )
...
This makes bot commands similar to /echo clickable.
Patch from @adbenitez
2020-08-20 09:04:19 +02:00
bjoern
03e6dc449a
Merge pull request #1584 from deltachat/fix_notifications_on_API16
...
set notification group only for Android API 24+
2020-08-19 23:43:44 +02:00
cyBerta
a7ff66a28e
Merge pull request #1587 from deltachat/improve_keyboard_layouts
...
Improve keyboard layouts
2020-08-19 22:42:27 +02:00
cyberta
a11c5b9ad4
improve AddPoiView moving while map is moved
2020-08-19 22:27:57 +02:00
cyberta
c58636d3c5
always remove MarkerView references, even if mapView already destroyed
2020-08-19 22:26:33 +02:00
cyberta
2c8eb99555
remove unused method
2020-08-19 22:25:06 +02:00
cyberta
bf2dab20bd
center AddPoiView on map, adapt centering to keyboard appearing/disappearing
2020-08-19 22:23:42 +02:00
cyberta
dba11cd907
use inputType TYPE_TEXT_VARIATION_URI for webrtc EditText view
2020-08-19 16:06:41 +02:00
cyberta
e37d341c29
remove pois from map, fixes #1577
2020-08-19 15:08:28 +02:00
cyberta
9c28d7280b
set notification group only for Android API 24+, fixes #1525
2020-08-19 11:41:46 +02:00
bjoern
a29c9498cf
Merge pull request #1568 from deltachat/improve_mailto_link_parsing
...
Improve mailto link parsing
2020-08-18 17:00:47 +02:00
bjoern
5dbc344fed
Merge pull request #1575 from deltachat/fix_camera_initialization
...
reinitialize camera on orientation change
2020-08-18 16:55:12 +02:00
bjoern
8315390e86
Merge pull request #1581 from deltachat/unarchive_update
...
update archive menu option, rely on core for chat visibility
2020-08-18 16:52:58 +02:00
cyberta
d9c3731276
update list every minute so that time labels are updated correctly
2020-08-18 14:50:23 +02:00
cyberta
72411429cc
update archive menu option, rely on core for chat visibility
2020-08-18 12:56:46 +02:00
Angelo Fuchs
7963b91bdb
Merge pull request #1562 from deltachat/fiximagerotationcrash
...
#1544 image rotation not working sometimes, situation improved (crash averted)
2020-08-18 12:53:07 +02:00
Hocuri
e11252ab28
oops, wrong operator
2020-08-18 12:37:57 +02:00
Hocuri
84c492192a
angelo-fuchs' requests
2020-08-18 09:48:32 +02:00
cyberta
f9f2f87c7c
reinitialize camera on orientation change
2020-08-17 19:03:49 +02:00