Commit Graph

7206 Commits

Author SHA1 Message Date
Vincent Breitmoser
9e079329d5 ditch ThreadPoolExecutor for AsyncTask 2018-07-17 14:25:14 +02:00
Vincent Breitmoser
2c8e219aa8 use ThreadPool for background task execution 2018-07-17 14:25:14 +02:00
Vincent Breitmoser
f0f01eef55 Merge pull request #2381 from open-keychain/token-livedata
Use LiveData and ViewModel for ManageSecurityToken fragment
2018-07-17 12:37:23 +02:00
Vincent Breitmoser
4ea8c4a8f6 Use LiveData and ViewModel for ManageSecurityToken fragment
This hopefully also prevents some NPEs from google play crash reports.
2018-07-17 12:20:56 +02:00
Vincent Breitmoser
6ed110f1ee Remove unused field in KeyListFragment (fixes build) 2018-07-16 17:54:33 +02:00
Vincent Breitmoser
74ee94683b request FOREGROUND_SERVICE permission
starting in Android P, this permission is required to run a foreground
service. see https://developer.android.com/reference/android/app/Service#startForeground(int,%20android.app.Notification)
2018-07-16 17:49:30 +02:00
Vincent Breitmoser
555f335dbc Introduce NotificationChannelManager 2018-07-16 13:24:44 +02:00
Vincent Breitmoser
ffa5b84593 prevent NPEs in linked id creation 2018-07-16 11:10:42 +02:00
Vincent Breitmoser
e7dede56ca fix NPE in KeychainService 2018-07-16 10:34:31 +02:00
Vincent Breitmoser
a3021bbd83 Clean up security token transport if connection procedure failed 2018-07-15 12:29:06 +02:00
Vincent Breitmoser
fbbc77335b fix NPE for data signed with an unknown key 2018-07-15 12:25:32 +02:00
Dominik Schürmann
891c0e10c4 Version 5.2-beta4 2018-07-14 15:10:11 +02:00
Vincent Breitmoser
634694b20e force reinserting keys on manual key update 2018-07-14 13:18:08 +02:00
Vincent Breitmoser
e3e5f7feec use explicit order for insert operations
This prevents a problem from different column orders in database tables.
In particular, this occurred with the user_packets table, where the `rank` column moved up in order.
2018-07-14 13:05:08 +02:00
Vincent Breitmoser
a69eaab0ea fix insertion of data into KeySignature table 2018-07-14 12:03:44 +02:00
Dominik Schürmann
9df9682c77 Version 5.2-beta3 2018-07-13 19:02:45 +02:00
Vincent Breitmoser
a48efc6835 use key_list_item layout for RequestKeyPermissionActivity 2018-07-13 17:22:27 +02:00
Vincent Breitmoser
aa9132b4c6 small NPE fix 2018-07-13 17:06:23 +02:00
Vincent Breitmoser
acc8e82e92 Merge pull request #2375 from open-keychain/ditch-keychain-provider
Ditch keychain provider
2018-07-13 16:56:24 +02:00
Vincent Breitmoser
133b099b2f Merge pull request #2379 from open-keychain/usb-permission
Request missing permission when rescanning USB devices
2018-07-13 16:56:04 +02:00
Vincent Breitmoser
54f50a7311 Merge pull request #2376 from open-keychain/notification-channel
Introduce Notification channel for passphrase cache
2018-07-13 16:33:06 +02:00
Vincent Breitmoser
acb9544195 return KeychainExternalProvider as MatrixCursor 2018-07-13 16:27:12 +02:00
Vincent Breitmoser
3150d2d3f9 move UidStatus querying logic into UserIdDao 2018-07-13 16:27:12 +02:00
Vincent Breitmoser
58e0da0d8c always set trust db to initialized once it's there 2018-07-13 16:27:12 +02:00
Vincent Breitmoser
4c8fda0798 Introduce uidStatus view for external provider 2018-07-13 16:27:12 +02:00
Vincent Breitmoser
86ecd13c1d use correct sqlite expression for expiry 2018-07-13 16:26:35 +02:00
Vincent Breitmoser
0b28add654 Use SQLDelight for inserts instead of KeychainProvider 2018-07-13 16:26:35 +02:00
Vincent Breitmoser
36b48bc282 Update target sdk to 28 2018-07-13 16:24:23 +02:00
Vincent Breitmoser
76a8aa1fbc Fix selectFingerprintsForKeysolderThan query 2018-07-13 16:13:42 +02:00
Vincent Breitmoser
f97531d628 Prevent flicker of dummy item during key update 2018-07-13 16:13:42 +02:00
Dominik Schürmann
1e51cf1aaf Merge pull request #2377 from open-keychain/highlight-after-import
Scroll to new key after import
2018-07-13 15:26:55 +02:00
Dominik Schürmann
54a7860d2a Merge pull request #2378 from open-keychain/decrypt-context-button
Use overflow menu instead of long click in decrypt file list
2018-07-13 15:25:43 +02:00
Vincent Breitmoser
84f20f6646 synchronously schedule background work, to avoid cancelling race condition 2018-07-13 14:52:50 +02:00
Vincent Breitmoser
de3123b2c3 Merge pull request #2380 from kowalski7cc/adaptive-icon
Add adaptive icons, fixes #2273
2018-07-13 14:35:24 +02:00
Vincent Breitmoser
c7bef6efda fix bug with KeyserverSyncManager updates in SettingsActivity 2018-07-13 14:32:58 +02:00
Kowalski Prime
17f3db6557 Add adaptive icons, fixes #2273
Add support for adaptive icons in devices running API 26 or greater, preserving old icon for older devices and providing round icon.
2018-07-13 01:24:28 +02:00
Vincent Breitmoser
a4e2e2f4af Request missing permission when rescanning USB devices 2018-07-12 18:34:17 +02:00
Vincent Breitmoser
4f4be8ed47 make recreation of views atomic operation 2018-07-12 17:38:10 +02:00
Vincent Breitmoser
16802dc259 Use overflow menu instead of long click in decrypt file list
Fixes #2370
2018-07-12 17:28:19 +02:00
Vincent Breitmoser
03ddbbe9a2 small cleanup of DecryptListFragment 2018-07-12 17:19:21 +02:00
Vincent Breitmoser
be1853d789 Introduce Notification channel for passphrase cache 2018-07-12 16:37:22 +02:00
Vincent Breitmoser
750aa42035 Scroll to new key after import 2018-07-12 14:12:00 +02:00
Vincent Breitmoser
00caf28ee2 use ContextCompat instead of deprecated methods 2018-07-12 13:39:13 +02:00
Vincent Breitmoser
639b6994ce set ViewKeyActivity title to key id for anonymous keys 2018-07-12 13:39:02 +02:00
Vincent Breitmoser
da9f34bb8e hide identities card if there are no identities 2018-07-12 13:27:18 +02:00
Vincent Breitmoser
e8bec994bf show keys with no uids in their own "anonymous" category
Fixes #2373
2018-07-12 13:17:43 +02:00
Vincent Breitmoser
b5d49f9ae8 fix potential NPE in TransferFragment 2018-07-12 12:59:12 +02:00
Vincent Breitmoser
33a749a115 load data from correct masterKeyId in ViewKeyActivity
Fixes showing key info from linked contacts
2018-07-12 12:32:49 +02:00
Dominik Schürmann
a115456deb Merge pull request #2369 from open-keychain/update_gradle_plugin_ssh_auth_api
Update android gradle plugin for sshauthentication-api
2018-07-10 07:37:42 +02:00
Christian Hagau
9e4755d73c Fix whitespace 2018-07-09 00:00:00 +00:00