Commit Graph

68 Commits

Author SHA1 Message Date
Torsten Grote
90cc920234 [app] split up name and summary in app list items 2024-05-22 09:20:55 +00:00
Torsten Grote
d774255598 [app] basic targetSdk 34 2024-03-12 18:34:56 +00:00
Conny Duck
13af087715 add monochrome icon for basic flavor 2024-01-03 17:30:27 +01:00
Torsten Grote
c8482ca2dd [app] unify preferences.xml from build flavors
previously basic and main source set had a different preferences.xml which we needed to keep in sync manually. When we forgot to do this, this caused crash bugs. Hence, this commit unifies both files into one and uses a boolean resource to hide full preferences in basic flavor.
2023-11-28 15:39:01 +00:00
Hans-Christoph Steiner
878da915e1 "Expert mode" category in Settings to show which settings belong
Before !1016, Expert Mode settings had a checkbox.  Now they have the same
switch.  So this adds a category header to highlight which settings belong
to Expert Mode.
2023-11-28 12:40:07 +00:00
Michael Pöhn
a8bfad0bd0 🪲 fix settings crash in basic build flavor
Some changes to preferences.xml in the latest alpha weren't copied over
to the basic build flavor version of that file. Hence the some code in
the basic build flavor couldn't bind to the messing preferences Views
and crashed instead.
2023-11-23 21:57:15 +01:00
proletarius101
0c789be476 Migrate CheckBoxPreference to SwitchPreferenceCompat 2023-11-23 13:53:51 +00:00
Torsten Grote
bd8db11990 [app] Move old repo related classes into new package 2023-10-20 09:26:16 -03:00
Torsten Grote
e677ec2f6e [app] kill old code for adding repos
The new code (added previously) is cleaner and takes proxy settings as well as mirrors into account. It has some extra features like showing a repo preview before the user adds the repo. Also, the UX is hopefully simpler now.
2023-10-20 09:26:16 -03:00
Hans-Christoph Steiner
c289351910 Expert Setting to disable the SessionInstaller
In case of bugs, let the user disable this while it is still beta.
2023-10-10 15:06:23 +00:00
Michael Pöhn
4fe154351b 👴 swap: add stub for static notification passing
Since we're using static methods (with static references to views) a
(IMHO likely error prone) hack to pass events from MainActivity to
NearbyViewBinder we have high coupling betweens those two classes. In
nearby buildflavor spaw is removed. So we need stubs because of
coupling.
2023-09-22 07:04:31 +00:00
Henrik Tunedal
3790dfb386 Add simplified LatestLayoutPolicy for basic flavor
Closes #2650.
2023-07-13 13:20:47 +00:00
Hans-Christoph Steiner
48a10cac17 whitespace fixes from spotless applying AOSP code format 2023-07-05 21:40:12 +02:00
Hans-Christoph Steiner
bdb9365746 register WifiStateChangeReceiver on app start
From the _full_ flavor, only `android.net.wifi.STATE_CHANGE` needed to
be moved from Manifest-declared to Context-registered.  The others are
covered under the exceptions:

https://developer.android.com/guide/components/broadcast-exceptions
2023-06-14 18:31:27 +00:00
Torsten Grote
2048d6f478 Add code style to repo and fix it 2023-06-09 17:24:58 +00:00
Torsten Grote
c3ba9d33a4 [app] Fix nsfw anti-feature 2023-06-07 13:52:21 +00:00
Hans-Christoph Steiner
62b3828d39 Revert "[app] Split out NFC logic properly between basic and full"
This reverts commit 8cf868c1a8.
2023-06-06 12:08:14 +00:00
Torsten Grote
415fd0c59d Revert "[app] Disable auto-download of APKs because basic can't do it yet due to recent targetSdk"
This reverts commit f8a0c1c448.
2023-06-01 13:57:19 -03:00
Torsten Grote
cd5023fbb5 [app] Split out strings for full/basic flavor, but keeping them translatable in main resource 2023-05-29 12:00:50 -03:00
Torsten Grote
8cf868c1a8 [app] Split out NFC logic properly between basic and full
so basic doesn't need NFC permission

(cherry picked from commit 28ded23c9c943084b645ebe63e1566f92469da7f)
2023-05-29 12:00:50 -03:00
Torsten Grote
7f18a13ad4 [app] Bring pure black OLED setting to basic flavor 2023-05-29 12:00:49 -03:00
Torsten Grote
ede9e41673 [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-05-29 12:00:49 -03:00
Torsten Grote
b7206c8abe [app] Bring categories back to basic app 2023-05-29 12:00:49 -03:00
Conny Duck
8e694090ff change app icon of basic flavor 2023-05-28 14:05:23 +00:00
Elias Howell
37323e1dbb fix typos and spelling errors 2023-05-10 16:56:47 -04:00
Raphael Michel
362e9f7a06 fix navigation in basic build (fix #2261) 2022-01-19 16:13:53 +01:00
Sylvia van Os
ec0e3d2e3b Use F-Droid Debug app label for debug builds 2021-10-14 12:31:05 +00:00
Sylvia van Os
5f922444ae Allow choosing which antifeatures to show 2021-10-14 09:25:25 +00:00
proletarius101
1ddc36e597 Set the default theme variant to follow system 2021-08-26 11:28:23 +00:00
proletarius101
755588202f feat: rebase app themes to material themes 2021-04-12 16:36:17 +00:00
Hans-Christoph Steiner
a207798f5c add expert preference to enable Popularity Contest
closes #396
2021-03-08 15:30:30 +00:00
Hans-Christoph Steiner
ce7d241196 CleanCacheWorker: delete all package files, not just *.apk
The installer can copy OTA .zip, *.obf, etc. there too.

refs #1869
2021-03-03 18:49:47 +01:00
Hans-Christoph Steiner
4caab6a135 rename WhatsNew* to Latest* to match source string name 2021-02-08 13:16:04 +01:00
proletarius101
e2979f632d Change Activity to AppCompatActivity 2021-01-28 16:52:58 +00:00
Dominik Schürmann
78e81fb781 Use androidx.preference artifact
- use PreferenceFragmentCompat
- this requires androidx Fragments
- explicit declaration of androidx widgets in preferences.xml
  no longer required
2020-07-14 14:10:21 +02:00
Marcus Hoffmann
18592150c1 perform androidX migration through android studio
Project compiles and works fine after this.
2020-07-14 14:10:21 +02:00
Chirayu Desai
6c4315f9a1 Handle USB-OTG support differently
* Use separate receivers instead of one combined activity
  to avoid showing the "Use F-Droid to handle Mass Storage"
  prompt every time a drive is plugged in.
2020-02-03 02:36:17 +05:30
Hans-Christoph Steiner
cc9796127d run new zopflipng compression settings from !844 2020-01-02 22:38:54 +01:00
Hans-Christoph Steiner
ca5996c5b3 detect when USB OTG device is plugged in and show Nearby tab 2019-06-17 18:37:26 +02:00
Hans-Christoph Steiner
525f99b056 implement mirror/repos on USB OTG via Storage Access Framework
* https://developer.android.com/training/articles/scoped-directory-access

One potential future direction, if this proves too limiting:
https://github.com/magnusja/libaums
2019-06-17 18:36:58 +02:00
Hans-Christoph Steiner
842db03d8a fold ".views.hiding" into ".panic", it is only use there 2019-06-17 11:28:52 +02:00
Hans-Christoph Steiner
69642d88f7 add placeholder SwapWorkflowActivity for basic flavor 2019-06-17 11:28:52 +02:00
Hans-Christoph Steiner
32aad6b562 move ".net.bluetooth" into ".nearby" package 2019-06-17 11:18:07 +02:00
Hans-Christoph Steiner
15d349f863 move LocalHTTPD and WifiStateChangeService into ".nearby" package 2019-06-17 11:18:07 +02:00
Hans-Christoph Steiner
43c7574228 fold ".views.swap" package into ".nearby" class 2019-06-17 10:50:56 +02:00
Hans-Christoph Steiner
790b5ab27d rename 'localrepo' package to 'nearby' to cover the whole thing 2019-06-17 10:50:56 +02:00
Hans-Christoph Steiner
df3a09dd2b ensure SwapService is running first, after Location perm prompt 2019-06-14 11:25:41 +02:00
Hans-Christoph Steiner
23fc17ba5f purge confusing, unused duplicate string/icon assignment in bottom nav
fdroid/fdroidclient#1785
2019-05-24 15:47:48 +02:00
Hans-Christoph Steiner
d5f2e26ea7 use one method everywhere for the "swap back" requests 2019-05-24 10:00:07 +02:00
Hans-Christoph Steiner
c5a6445239 fix bottom bar loading the wrong "Updates" string
closes #1785
2019-05-20 14:14:29 +02:00