Torsten Grote
2b013cf2dd
[app] crash when long pressing version name in about dialog
2023-04-20 11:59:20 -03:00
Torsten Grote
994002428b
[app] Fix notification icon loading for downloading/installing apps
2023-04-20 11:59:20 -03:00
Torsten Grote
0cdc85793f
Revert "[app] Disable auto-download of APKs because basic can't do it yet due to recent targetSdk"
...
This reverts commit f8a0c1c448 .
2023-04-20 11:59:20 -03:00
Torsten Grote
f5d0ac23e9
[app] Move install file operations off the UiThread
2023-04-20 11:59:20 -03:00
Torsten Grote
205966869b
[app] Turn InstallHistoryService into a JobIntentService
...
so it can be started while the app is in the background
(cherry picked from commit 99cafe72d41d23c4d77ef4a2f5c02f4a505509c8)
2023-04-20 11:59:20 -03:00
Torsten Grote
bd75e4ff73
[app] Allow background downloads/installs on Android 8
...
It is not allowed anymore to start services while the app is in the background. To work around this, the InstallManagerService was turned into a singleton (it needs to receive broadcasts for as long as possible) and DownloaderService was turned into a JobIntentService which we are still allowed to "start" from the background. This start might be delayed, but better late than never.
This is a temporary workaround that allows us to start this service from the background. The long term plan is to use WorkManager for it as well.
2023-04-20 11:47:31 -03:00
Torsten Grote
20d99c2ebd
[app] Add SessionInstaller
...
# The commit message #2 will be skipped:
# f sessioninstaller
2023-04-20 11:40:14 -03:00
Torsten Grote
69ed9fb551
[app] Split out strings for full/basic flavor, but keeping them translatable in main resource
2023-04-10 14:54:20 -03:00
Torsten Grote
de08dbbb0e
[app] Split out NFC logic properly between basic and full
...
so basic doesn't need NFC permission
(cherry picked from commit 28ded23c9c943084b645ebe63e1566f92469da7f)
2023-04-07 14:39:35 -03:00
Jochen Sprickerhof
9942c2de71
Move Bluetooth and NFC permissions to full flavor
2023-04-07 14:16:36 -03:00
Torsten Grote
6d9d365513
[app] Add missing REQUEST_DELETE_PACKAGES permission
...
so uninstalling is working again.
2023-04-07 14:16:36 -03:00
Torsten Grote
c54c9678e7
[app] Bring pure black OLED setting to basic flavor
2023-04-07 14:16:36 -03:00
Torsten Grote
752c741f69
[app] Disable auto-download of APKs because basic can't do it yet due to recent targetSdk
...
(starting services from the background isn't allowed anymore)
2023-04-07 14:16:36 -03:00
Torsten Grote
a38b5253e4
Compile libraries with SDK 33 as well
2023-04-07 14:16:36 -03:00
Torsten Grote
b9bc54c56d
[app] Fix flavor applicationId setup for debug builds
...
These were always using the package name of the full flavor.
2023-04-07 14:16:35 -03:00
Torsten Grote
8c99256b43
[app] Bring categories back to basic app
2023-04-07 14:16:35 -03:00
Torsten Grote
938fcf7260
[app] Handle POST_NOTIFICATIONS permission for Android 13 (SDK 33)
2023-04-07 14:16:35 -03:00
Torsten Grote
079eaf2988
[app] Move DeviceStorageReceiver from Manifest to manual registration
...
Part of Android 8 Broadcast Limitations
2023-04-07 08:49:10 -03:00
Torsten Grote
426e375bef
[app] Ask user to enable unknown sources for F-Droid when needed
...
This still needs to be tested on old Android versions < 31
2023-04-07 08:49:10 -03:00
Torsten Grote
44fd5f8f82
[app] Move panic dependency to full flavor
2023-04-07 08:49:10 -03:00
Torsten Grote
e34b33e8b8
[app] Mark all PendingIntents as FLAG_IMMUTABLE for now
...
Some might need to be mutable, but we find this out later.
2023-04-07 08:49:10 -03:00
Torsten Grote
5609157559
[app] Upgrade basic to targetSdk 33 and make it compile
2023-04-07 08:49:08 -03:00
Hans-Christoph Steiner
a4bbef5c70
Merge branch 'fix-reset-transient' into 'master'
...
Fix critical bug that prevents repo updates after Android updates
See merge request fdroid/fdroidclient!1210
2023-04-06 18:24:31 +00:00
Torsten Grote
d7b52abf43
[db] Clarify method documentation for clearing/resetting
2023-04-06 08:34:02 -03:00
Torsten Grote
8f02240419
[app] Switch to new method for clearing all app data
...
to avoid stuck repo updates when doing major Android upgrades
2023-04-05 17:35:38 -03:00
Torsten Grote
7489f8466b
[db] Rework AppDao#clearAll() method to fix critical bug
...
This is a breaking change.
The new method is in FDroidDatabase and called clearAllAppData(). It now also resets repository timestamps, so we will not try to apply a diff when we should use a full index.
2023-04-05 17:34:36 -03:00
Hans-Christoph Steiner
f66a4def4d
Merge branch 'Locale.getDefault' into 'master'
...
use Locale DISPLAY category on Android >= 24
See merge request fdroid/fdroidclient!1208
2023-03-16 15:24:13 +00:00
Hans-Christoph Steiner
034de8e7f9
UpdateServiceTest needs app-full-debug.apk to work
...
see 3fa5e98fc4 in !1135
2023-03-16 14:30:40 +01:00
Hans-Christoph Steiner
29e69fcf1d
use Locale DISPLAY category on Android >= 24
...
https://gitlab.com/fdroid/fdroidclient/-/issues/1440#note_1315001793
2023-03-15 16:35:56 +01:00
Hans-Christoph Steiner
1f7ed43c12
Merge branch 'Remove_Base64' into 'master'
...
Replace custom Base64 class with the Android platform class.
See merge request fdroid/fdroidclient!1151
2023-03-14 16:37:20 +00:00
Isira Seneviratne
e3e2db13d8
Replace custom Base64 class with the Android platform class.
2023-03-14 16:36:30 +00:00
Hans-Christoph Steiner
37286ac7d4
Merge branch 'download-request-constructor' into 'master'
...
Remove usages of deprecated DownloadRequest constructor
See merge request fdroid/fdroidclient!1197
2023-03-14 16:33:36 +00:00
Torsten Grote
30dd9bc217
Remove usages of deprecated DownloadRequest constructor
2023-03-14 16:33:17 +00:00
Hans-Christoph Steiner
a5c547e104
Merge branch 'fix_description_more_jump' into 'master'
...
fix expanding description causing jump to top
Closes #2524
See merge request fdroid/fdroidclient!1205
2023-03-14 16:32:14 +00:00
Conny Duck
51e5027aa4
fix expanding description causing jump to top
2023-03-14 16:32:14 +00:00
Hans-Christoph Steiner
92e13aab20
Merge branch 'dontstart' into 'master'
...
Hide Run button for yourself
See merge request fdroid/fdroidclient!1206
2023-03-14 16:31:31 +00:00
Licaon_Kter
a9cad7839d
Hide Run button for yourself
2023-03-14 16:31:18 +00:00
Hans-Christoph Steiner
b34ebfe9f5
Merge branch 'acra-crashes' into 'master'
...
Fix some more ACRA crashes
Closes acra-crash-reports#218, acra-crash-reports#217, acra-crash-reports#197, and acra-crash-reports#185
See merge request fdroid/fdroidclient!1203
2023-03-14 13:29:30 +00:00
Torsten Grote
21f40158a2
[db] escape search query
...
to prevent sqlite FTS search features from messing up query
Fixes acra-crash-reports#217
2023-03-14 13:28:48 +00:00
Torsten Grote
8d61de333b
[app] don't crash on invalid repo URLs
...
Fixes acra-crash-reports#218
2023-03-14 13:28:48 +00:00
Torsten Grote
00b68f0442
[app] don't show app details menu before the app and its preferences haven't been loaded
...
Fixes acra-crash-reports#185, acra-crash-reports#197
2023-03-14 13:28:48 +00:00
Hans-Christoph Steiner
cbf422a03c
Merge branch 'fix_secure_mode' into 'master'
...
apply secure window to all activities
Closes #2248
See merge request fdroid/fdroidclient!1204
2023-03-03 09:00:13 +00:00
Conny Duck
50ce4088b4
apply secure window to all activities
2023-02-28 20:46:52 +01:00
Torsten Grote
94705db997
Merge branch 'build-fixes' into 'master'
...
three build fixes
Closes #2493
See merge request fdroid/fdroidclient!1200
2023-02-28 14:15:50 +00:00
Hans-Christoph Steiner
ab2e855f26
add job to check whether database schema needs updating, closes #2493
2023-02-28 13:37:41 +00:00
Hans-Christoph Steiner
0788688e75
remove -XX:MaxPermSize=2g from gradle.properties
...
This is not supported in Java17 and it just some detailed optimization
that is better left to the local configuration.
Unrecognized VM option 'MaxPermSize=2g'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
2023-02-28 13:37:41 +00:00
Hans-Christoph Steiner
51513c5508
include verification metadata for buildEnvironment task
...
./gradlew --write-verification-metadata pgp,sha256 --export-keys buildEnvironment --scan
Hopefully this helps with #2475 . My hunch is that Android Studio is
running some tasks that gradle from the command line never does. This
confirms that idea to some degree, since running the buildEnvironment
task found new dependencies.
2023-02-28 13:37:41 +00:00
Hans-Christoph Steiner
a1d3388190
update CHANGELOG
2023-02-27 21:44:55 +01:00
Hans-Christoph Steiner
f995270177
version code 1016051
2023-02-27 21:44:50 +01:00
Hans-Christoph Steiner
276126cf08
Merge branch 'weblate' into 'master'
...
weblate
See merge request fdroid/fdroidclient!1202
2023-02-27 17:36:41 +00:00