15 Commits
1.1.4 ... 1.2.0

Author SHA1 Message Date
fossifybot[bot]
baf44b3ecf chore(release): v1.2.0 (8) (#203)
Co-authored-by: fossifybot[bot] <212866877+fossifybot[bot]@users.noreply.github.com>
2025-07-15 19:50:38 +05:30
Josep M. Ferrer
7cd94f4c65 chore(l10n): update Catalan translations
Currently translated at 100.0% (18 of 18 strings)

Translation: Fossify/Launcher
Translate-URL: https://hosted.weblate.org/projects/fossify/launcher/ca/
Via: Weblate
2025-07-15 19:49:26 +05:30
Agnieszka C
76bfc030cb chore(l10n): update Polish translations
Currently translated at 100.0% (18 of 18 strings)

Translation: Fossify/Launcher
Translate-URL: https://hosted.weblate.org/projects/fossify/launcher/pl/
Via: Weblate
2025-07-15 19:49:26 +05:30
Kachelkaiser
cadcde79bc chore(l10n): update German translations
Currently translated at 100.0% (18 of 18 strings)

Translation: Fossify/Launcher
Translate-URL: https://hosted.weblate.org/projects/fossify/launcher/de/
Via: Weblate
2025-07-15 19:49:26 +05:30
Kachelkaiser
b60fc160de chore(l10n): update German translations
Currently translated at 100.0% (18 of 18 strings)

Translation: Fossify/Launcher
Translate-URL: https://hosted.weblate.org/projects/fossify/launcher/de/
Via: Weblate
2025-07-15 19:49:26 +05:30
Fjuro
eef787c633 chore(l10n): update Czech translations
Currently translated at 100.0% (18 of 18 strings)

Translation: Fossify/Launcher
Translate-URL: https://hosted.weblate.org/projects/fossify/launcher/cs/
Via: Weblate
2025-07-15 19:49:26 +05:30
Naveen Singh
6bc8240941 feat: add option to automatically show keyboard in app drawer (#202)
* feat: add option to automatically show keyboard in app drawer

See: https://github.com/FossifyOrg/Launcher/issues/106

* docs: update changelog
2025-07-15 15:29:52 +05:30
dependabot[bot]
e4bde274cb chore(deps): bump com.android.application from 8.11.0 to 8.11.1 (#200)
Bumps com.android.application from 8.11.0 to 8.11.1.

---
updated-dependencies:
- dependency-name: com.android.application
  dependency-version: 8.11.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-15 09:13:31 +05:30
dependabot[bot]
b7f5846dd8 chore(deps): bump org.fossify:commons from 4.2.0 to 4.3.0 (#201)
Bumps [org.fossify:commons](https://github.com/FossifyOrg/commons) from 4.2.0 to 4.3.0.
- [Commits](https://github.com/FossifyOrg/commons/compare/4.2.0...4.3.0)

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-15 09:11:18 +05:30
dependabot[bot]
8b791e0e47 chore(deps): bump com.google.devtools.ksp (#188)
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 2.1.21-2.0.2 to 2.2.0-2.0.2.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/2.1.21-2.0.2...2.2.0-2.0.2)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-version: 2.2.0-2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-08 12:24:05 +05:30
dependabot[bot]
7c7e4b56e2 chore(deps): bump com.android.application from 8.10.1 to 8.11.0 (#187)
* chore(deps): bump com.android.application from 8.10.1 to 8.11.0

Bumps com.android.application from 8.10.1 to 8.11.0.

---
updated-dependencies:
- dependency-name: com.android.application
  dependency-version: 8.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): update gradle wrapper

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-07-07 20:11:56 +05:30
dependabot[bot]
c0355fd2e2 chore(deps): bump org.fossify:commons from 4.1.0 to 4.2.0 (#196)
Bumps org.fossify:commons from 4.1.0 to 4.2.0.

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-04 21:17:06 +05:30
Naveen Singh
535398a3c6 chore: ignore extra translations and update detekt rules
* chore: ignore extra translations in lint

Extra translations are removed automatically by Weblate

* chore: update detekt rules

More compose-friendly

* chore: update lint baselines
2025-07-03 21:16:40 +05:30
dependabot[bot]
e9e7788fed chore(deps): bump org.fossify:commons from 4.0.0 to 4.1.0 (#190)
Bumps [org.fossify:commons](https://github.com/FossifyOrg/commons) from 4.0.0 to 4.1.0.
- [Commits](https://github.com/FossifyOrg/commons/compare/4.0.0...4.1.0)

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-01 17:26:46 +05:30
fossifybot[bot]
f0b5e51a45 chore: update lint baselines (#191)
Co-authored-by: fossifybot[bot] <212866877+fossifybot[bot]@users.noreply.github.com>
2025-07-01 10:06:32 +05:30
23 changed files with 166 additions and 110 deletions

View File

@@ -1,2 +1,2 @@
# Auto-generated file. DO NOT EDIT.
1.1.4
1.2.0

View File

@@ -1,5 +1,4 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
@@ -7,79 +6,58 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [1.2.0] - 2025-07-15
### Added
- Option to show keyboard automatically in app drawer ([#106])
### Changed
- Updated translations
## [1.1.4] - 2025-06-28
### Fixed
- Addressed crash on startup due to widgets ([#182])
## [1.1.3] - 2025-06-19
### Changed
- Updated translations
### Fixed
- Addressed frequently occurring crashes ([#6])
## [1.1.2] - 2025-06-06
### Changed
- Updated translations
### Fixed
- Clicking home screen app labels now works as expected ([#115])
- Clicking home screen app labels now works as expected ([#115])
## [1.1.1] - 2025-05-14
### Changed
- Updated translations
### Removed
- Removed redundant launcher settings icon from the app drawer ([#51])
## [1.1.0] - 2025-03-19
### Added
- Added double tap to lock screen feature ([#63])
### Changed
- Added more translations
## [1.0.1] - 2025-01-01
### Changed
- Other minor bug fixes and improvements
- Added more translations
### Fixed
- Fixed scrolling performance issues ([#65])
- Fixed various issues related to widgets ([#5], [#44], [#74])
## [1.0.0] - 2024-10-16
### Added
- Initial release
[Unreleased]: https://github.com/FossifyOrg/Launcher/compare/1.1.4...HEAD
[1.1.4]: https://github.com/FossifyOrg/Launcher/compare/1.1.3...1.1.4
[1.1.3]: https://github.com/FossifyOrg/Launcher/compare/1.1.2...1.1.3
[1.1.2]: https://github.com/FossifyOrg/Launcher/compare/1.1.1...1.1.2
[1.1.1]: https://github.com/FossifyOrg/Launcher/compare/1.1.0...1.1.1
[1.1.0]: https://github.com/FossifyOrg/Launcher/compare/1.0.1...1.1.0
[1.0.1]: https://github.com/FossifyOrg/Launcher/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/FossifyOrg/Launcher/releases/tag/1.0.0
[#5]: https://github.com/FossifyOrg/Launcher/issues/5
[#6]: https://github.com/FossifyOrg/Launcher/issues/6
[#44]: https://github.com/FossifyOrg/Launcher/issues/44
@@ -87,5 +65,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#63]: https://github.com/FossifyOrg/Launcher/issues/63
[#65]: https://github.com/FossifyOrg/Launcher/issues/65
[#74]: https://github.com/FossifyOrg/Launcher/issues/74
[#106]: https://github.com/FossifyOrg/Launcher/issues/106
[#115]: https://github.com/FossifyOrg/Launcher/issues/115
[#182]: https://github.com/FossifyOrg/Launcher/issues/182
[Unreleased]: https://github.com/FossifyOrg/Launcher/compare/1.2.0...HEAD
[1.2.0]: https://github.com/FossifyOrg/Launcher/compare/1.1.4...1.2.0
[1.1.4]: https://github.com/FossifyOrg/Launcher/compare/1.1.3...1.1.4
[1.1.3]: https://github.com/FossifyOrg/Launcher/compare/1.1.2...1.1.3
[1.1.2]: https://github.com/FossifyOrg/Launcher/compare/1.1.1...1.1.2
[1.1.1]: https://github.com/FossifyOrg/Launcher/compare/1.1.0...1.1.1
[1.1.0]: https://github.com/FossifyOrg/Launcher/compare/1.0.1...1.1.0
[1.0.1]: https://github.com/FossifyOrg/Launcher/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/FossifyOrg/Launcher/releases/tag/1.0.0

View File

@@ -131,6 +131,9 @@ android {
detekt {
baseline = file("detekt-baseline.xml")
config.setFrom("$rootDir/detekt.yml")
buildUponDefaultConfig = true
allRules = false
}
dependencies {
@@ -138,4 +141,5 @@ dependencies {
implementation(libs.bundles.room)
ksp(libs.androidx.room.compiler)
detektPlugins(libs.compose.detekt)
}

View File

@@ -24,21 +24,10 @@
<ID>ForbiddenComment:AllAppsFragment.kt$AllAppsFragment$// TODO: Use WindowInsets API</ID>
<ID>LargeClass:HomeScreenGrid.kt$HomeScreenGrid : RelativeLayout</ID>
<ID>LargeClass:MainActivity.kt$MainActivity : SimpleActivityFlingListener</ID>
<ID>LongMethod:Activity.kt$fun Activity.handleGridItemPopupMenu( anchorView: View, gridItem: HomeScreenGridItem, isOnAllAppsFragment: Boolean, listener: ItemMenuListener, ): PopupMenu</ID>
<ID>LongMethod:HomeScreenGrid.kt$HomeScreenGrid$@SuppressLint("ClickableViewAccessibility") fun widgetLongPressed(item: HomeScreenGridItem)</ID>
<ID>LongMethod:HomeScreenGrid.kt$HomeScreenGrid$fun draggedItemMoved(x: Int, y: Int)</ID>
<ID>LongMethod:HomeScreenGrid.kt$HomeScreenGrid$fun drawInto(canvas: Canvas)</ID>
<ID>LongMethod:HomeScreenGrid.kt$HomeScreenGrid$private fun addAppIconOrShortcut( draggedHomeGridItem: HomeScreenGridItem?, xIndex: Int, yIndex: Int, newParentId: Long? = null, toFolderEnd: Boolean = true, )</ID>
<ID>LongMethod:HomeScreenGrid.kt$HomeScreenGrid$private fun addAppIconOrShortcut()</ID>
<ID>LongMethod:HomeScreenGrid.kt$HomeScreenGrid$private fun addWidget()</ID>
<ID>LongMethod:HomeScreenGrid.kt$HomeScreenGrid$private fun moveItem()</ID>
<ID>LongMethod:MainActivity.kt$MainActivity$override fun onTouchEvent(event: MotionEvent?): Boolean</ID>
<ID>LongMethod:MainActivity.kt$MainActivity$private fun getDefaultAppPackages(appLaunchers: ArrayList&lt;AppLauncher&gt;)</ID>
<ID>LongMethod:MyAppWidgetResizeFrame.kt$MyAppWidgetResizeFrame$override fun onTouchEvent(event: MotionEvent?): Boolean</ID>
<ID>LongMethod:WidgetsFragment.kt$WidgetsFragment$@SuppressLint("WrongConstant") fun getAppWidgets()</ID>
<ID>LongParameterList:HomeScreenGrid.kt$AnimatedGridPager$( private val getMaxPage: () -&gt; Int, private val redrawGrid: () -&gt; Unit, private val getWidth: () -&gt; Int, private val getHandler: () -&gt; Handler, private val getNextPageBound: () -&gt; Int, private val getPrevPageBound: () -&gt; Int, private val pageChangeStarted: () -&gt; Unit, )</ID>
<ID>LongParameterList:HomeScreenGridItemsDao.kt$HomeScreenGridItemsDao$(left: Int, top: Int, right: Int, bottom: Int, page: Int, docked: Boolean, parentId: Long?, id: Long)</ID>
<ID>LongParameterList:MyAppWidgetResizeFrame.kt$MyAppWidgetResizeFrame$( coords: Rect, cellWidth: Int, cellHeight: Int, sideMargins: Rect, gridItem: HomeScreenGridItem, allGridItems: ArrayList&lt;HomeScreenGridItem&gt; )</ID>
<ID>LoopWithTooManyJumpStatements:MainActivity.kt$MainActivity$for</ID>
<ID>MagicNumber:Context.kt$30</ID>
<ID>MagicNumber:Context.kt$70.0</ID>

View File

@@ -48,21 +48,10 @@
errorLine2=" ~~~~">
<location
file="$HOME/Projects/Fossify/FossifyOrg/Launcher/gradle/libs.versions.toml"
line="16"
line="17"
column="23"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `localeConfig` is only used in API level 33 and higher (current min is 26)"
errorLine1=" android:localeConfig=&quot;@xml/locale_config&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="31"
column="9"/>
</issue>
<issue
id="CustomSplashScreen"
message="The application should not provide its own launch screen"
@@ -86,47 +75,14 @@
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.room:room-compiler than 2.7.1 is available: 2.7.2"
errorLine1="room = &quot;2.7.1&quot;"
errorLine2=" ~~~~~~~">
id="AndroidGradlePluginVersion"
message="A newer version of com.android.application than 8.10.1 is available: 8.11.0"
errorLine1="gradlePlugins-agp = &quot;8.10.1&quot;"
errorLine2=" ~~~~~~~~">
<location
file="$HOME/Projects/Fossify/FossifyOrg/Launcher/gradle/libs.versions.toml"
line="9"
column="8"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.room:room-ktx than 2.7.1 is available: 2.7.2"
errorLine1="room = &quot;2.7.1&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/Projects/Fossify/FossifyOrg/Launcher/gradle/libs.versions.toml"
line="9"
column="8"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.room:room-runtime than 2.7.1 is available: 2.7.2"
errorLine1="room = &quot;2.7.1&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/Projects/Fossify/FossifyOrg/Launcher/gradle/libs.versions.toml"
line="9"
column="8"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of org.fossify:commons than 3.0.5 is available: 3.1.0"
errorLine1="commons = &quot;3.0.5&quot;"
errorLine2=" ~~~~~~~">
<location
file="$HOME/Projects/Fossify/FossifyOrg/Launcher/gradle/libs.versions.toml"
line="11"
column="11"/>
line="14"
column="21"/>
</issue>
<issue
@@ -136,7 +92,7 @@
errorLine2=" ~~~~">
<location
file="$HOME/Projects/Fossify/FossifyOrg/Launcher/gradle/libs.versions.toml"
line="15"
line="16"
column="31"/>
</issue>
@@ -147,7 +103,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="48"
line="47"
column="13"/>
</issue>
@@ -158,7 +114,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="48"
line="47"
column="13"/>
</issue>

View File

@@ -33,6 +33,7 @@ import android.view.animation.DecelerateInterpolator
import android.widget.PopupMenu
import androidx.core.graphics.drawable.toBitmap
import androidx.core.graphics.drawable.toDrawable
import androidx.core.net.toUri
import androidx.core.view.GestureDetectorCompat
import androidx.core.view.WindowCompat
import androidx.core.view.WindowInsetsCompat
@@ -51,6 +52,7 @@ import org.fossify.commons.extensions.onGlobalLayout
import org.fossify.commons.extensions.performHapticFeedback
import org.fossify.commons.extensions.realScreenSize
import org.fossify.commons.extensions.showErrorToast
import org.fossify.commons.extensions.showKeyboard
import org.fossify.commons.extensions.toast
import org.fossify.commons.extensions.viewBinding
import org.fossify.commons.helpers.DARK_GREY
@@ -94,7 +96,6 @@ import org.fossify.home.receivers.LockDeviceAdminReceiver
import kotlin.math.abs
import kotlin.math.max
import kotlin.math.min
import androidx.core.net.toUri
class MainActivity : SimpleActivity(), FlingListener {
private var mTouchDownX = -1
@@ -581,6 +582,16 @@ class MainActivity : SimpleActivity(), FlingListener {
null
)
if (
fragment is AllAppsFragmentBinding
&& config.showSearchBar
&& config.autoShowKeyboardInAppDrawer
) {
fragment.root.postDelayed({
showKeyboard(fragment.searchBar.binding.topToolbarSearch)
}, animationDuration)
}
Handler(Looper.getMainLooper()).postDelayed({
updateStatusBarIcons()
}, animationDuration)

View File

@@ -59,6 +59,7 @@ class SettingsActivity : SimpleActivity() {
setupUseEnglish()
setupDoubleTapToLock()
setupCloseAppDrawerOnOtherAppOpen()
setupOpenKeyboardOnAppDrawer()
setupDrawerColumnCount()
setupDrawerSearchBar()
setupHomeRowCount()
@@ -152,6 +153,15 @@ class SettingsActivity : SimpleActivity() {
}
}
private fun setupOpenKeyboardOnAppDrawer() {
binding.settingsOpenKeyboardOnAppDrawerHolder.beVisibleIf(config.showSearchBar)
binding.settingsOpenKeyboardOnAppDrawer.isChecked = config.autoShowKeyboardInAppDrawer
binding.settingsOpenKeyboardOnAppDrawerHolder.setOnClickListener {
binding.settingsOpenKeyboardOnAppDrawer.toggle()
config.autoShowKeyboardInAppDrawer = binding.settingsOpenKeyboardOnAppDrawer.isChecked
}
}
private fun setupCloseAppDrawerOnOtherAppOpen() {
binding.settingsCloseAppDrawerOnOtherApp.isChecked = config.closeAppDrawer
binding.settingsCloseAppDrawerOnOtherAppHolder.setOnClickListener {
@@ -192,6 +202,7 @@ class SettingsActivity : SimpleActivity() {
binding.settingsDrawerSearchHolder.setOnClickListener {
binding.settingsShowSearchBar.toggle()
config.showSearchBar = binding.settingsShowSearchBar.isChecked
binding.settingsOpenKeyboardOnAppDrawerHolder.beVisibleIf(config.showSearchBar)
}
}

View File

@@ -32,4 +32,9 @@ class Config(context: Context) : BaseConfig(context) {
var closeAppDrawer: Boolean
get() = prefs.getBoolean(CLOSE_APP_DRAWER, false)
set(closeAppDrawer) = prefs.edit().putBoolean(CLOSE_APP_DRAWER, closeAppDrawer).apply()
var autoShowKeyboardInAppDrawer: Boolean
get() = prefs.getBoolean(AUTO_SHOW_KEYBOARD_IN_APP_DRAWER, false)
set(autoShowKeyboardInAppDrawer) = prefs.edit()
.putBoolean(AUTO_SHOW_KEYBOARD_IN_APP_DRAWER, autoShowKeyboardInAppDrawer).apply()
}

View File

@@ -12,6 +12,7 @@ const val HOME_COLUMN_COUNT = "home_column_count"
const val DRAWER_COLUMN_COUNT = "drawer_column_count"
const val SHOW_SEARCH_BAR = "show_search_bar"
const val CLOSE_APP_DRAWER = "close_app_drawer"
const val AUTO_SHOW_KEYBOARD_IN_APP_DRAWER = "auto_show_keyboard_in_app_drawer"
// default home screen grid size
const val ROW_COUNT = 6

View File

@@ -203,6 +203,22 @@
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_open_keyboard_on_app_drawer_holder"
style="@style/SettingsHolderSwitchStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/ripple_background">
<org.fossify.commons.views.MyMaterialSwitch
android:id="@+id/settings_open_keyboard_on_app_drawer"
style="@style/SettingsSwitchStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/auto_show_keyboard_in_app_drawer" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_close_app_drawer_on_other_app_holder"
style="@style/SettingsHolderSwitchStyle"

View File

@@ -17,4 +17,5 @@
<string name="double_tap_to_lock">Toc doble per a bloquejar la pantalla</string>
<string name="lock_device_admin_hint">Per a activar la funció de toc doble per a bloquejar la pantalla, heu de concedir permís d\'administració. Tingueu en compte que l\'aplicació no es pot desinstal·lar fins que no s\'elimini aquest permís.</string>
<string name="lock_device_admin_warning">Desactivant el permís d\'administració es desactivarà la funció de toc doble per a bloquejar la pantalla.</string>
</resources>
<string name="auto_show_keyboard_in_app_drawer">Mostra automàticament el teclat al calaix</string>
</resources>

View File

@@ -17,4 +17,5 @@
<string name="lock_device_admin_hint">Chcete-li povolit funkci zamykání obrazovky dvojitým klepnutím, musíte udělit oprávnění správce. Upozornění: aplikaci nelze odinstalovat, dokud toto oprávnění neodeberete.</string>
<string name="lock_device_admin_warning">Deaktivací oprávnění správce zakážete funkci zamykání obrazovky dvojitým klepnutím.</string>
<string name="double_tap_to_lock">Klepněte dvakrát pro zamknutí obrazovky</string>
</resources>
<string name="auto_show_keyboard_in_app_drawer">Automaticky zobrazit klávesnici v seznamu aplikací</string>
</resources>

View File

@@ -17,4 +17,5 @@
<string name="lock_device_admin_hint">Um die Funktion „Doppeltes Antippen zum Sperren des Bildschirms“ zu aktivieren, musst du die Administratorberechtigung erteilen. Beachte, dass die App nicht deinstalliert werden kann, bis diese Berechtigung entfernt wird.</string>
<string name="double_tap_to_lock">Doppeltes Antippen zum Sperren des Bildschirms</string>
<string name="lock_device_admin_warning">Durch Entfernen der Administratorberechtigung wird die Funktion „Doppeltes Antippen zum Sperren des Bildschirms“ deaktiviert.</string>
</resources>
<string name="auto_show_keyboard_in_app_drawer">Keyboard automatisch in App-Schublade anzeigen</string>
</resources>

View File

@@ -17,4 +17,5 @@
<string name="double_tap_to_lock">Naciśnij dwukrotnie, aby zablokować ekran</string>
<string name="lock_device_admin_hint">Aby włączyć funkcję dwukrotnego naciśnięcia w celu zablokowania ekranu, musisz udzielić uprawnienia administratora. Uwaga: aplikacja nie może zostać odinstalowana, dopóki to uprawnienie nie zostanie usunięte.</string>
<string name="lock_device_admin_warning">Dezaktywacja uprawnienia administratora spowoduje wyłączenie funkcji dwukrotnego naciśnięcia w celu zablokowania ekranu.</string>
</resources>
<string name="auto_show_keyboard_in_app_drawer">Automatycznie pokazuj klawiaturę w szufladzie</string>
</resources>

View File

@@ -12,6 +12,7 @@
<string name="hidden_icons_placeholder">Some apps cannot be uninstalled due to system restrictions, but you can at least hide their icons to avoid seeing them.</string>
<string name="app_drawer_settings">App drawer</string>
<string name="close_app_drawer_on_app_open">Close app drawer on opening an app</string>
<string name="auto_show_keyboard_in_app_drawer">Automatically show keyboard in drawer</string>
<string name="home_screen_settings">Home screen</string>
<string name="widget_too_big">Widget is too big for current home screen size</string>
<string name="double_tap_to_lock">Double tap to lock screen</string>

58
detekt.yml Normal file
View File

@@ -0,0 +1,58 @@
build:
maxIssues: 0
weights:
complexity: 2
LongParameterList: 2
style: 1
processors:
active: true
exclude:
- "FunctionCountProcessor"
- "PropertyCountProcessor"
config:
validation: true
complexity:
LongParameterList:
active: true
functionThreshold: 10
constructorThreshold: 8
ignoreDefaultParameters: true
ignoreAnnotated:
- "Composable"
LongMethod:
active: true
threshold: 120
ignoreAnnotated:
- "Composable"
- "Preview"
style:
MagicNumber:
active: true
ignoreAnnotated: ["Composable"]
ignoreEnums: true
ignoreNumbers: ["-1", "0", "1", "2", "42", "1000"]
MaxLineLength:
active: true
maxLineLength: 120
excludePackageStatements: true
excludeImportStatements: true
naming:
FunctionNaming:
active: true
ignoreAnnotated: ["Composable", "Preview"]
functionPattern: "[a-z][A-Za-z0-9]*"
Compose: # io.nlopez.compose.rules
ComposableParametersOrdering:
active: true
ModifierDefaultValue:
active: true
MissingModifierDefaultValue:
active: true
PublicComposablePreview:
active: true

View File

@@ -0,0 +1,8 @@
Added:
• Option to show keyboard automatically in app drawer
Changed:
• Updated translations

View File

@@ -5,6 +5,6 @@ android.nonTransitiveRClass=true
org.gradle.jvmargs=-Xmx4096M
# Versioning
VERSION_NAME=1.1.4
VERSION_CODE=7
VERSION_NAME=1.2.0
VERSION_CODE=8
APP_ID=org.fossify.home

View File

@@ -2,15 +2,16 @@
#jetbrains
kotlin = "2.2.0"
#KSP
ksp = "2.1.21-2.0.2"
ksp = "2.2.0-2.0.2"
#Detekt
detekt = "1.23.8"
detektCompose = "0.4.22"
#Room
room = "2.7.2"
#Fossify
commons = "4.0.0"
commons = "4.3.0"
#Gradle
gradlePlugins-agp = "8.10.1"
gradlePlugins-agp = "8.11.1"
#build
app-build-compileSDKVersion = "34"
app-build-targetSDK = "34"
@@ -22,6 +23,8 @@ app-build-kotlinJVMTarget = "17"
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
#Compose
compose-detekt = { module = "io.nlopez.compose.rules:detekt", version.ref = "detektCompose" }
#Fossify
fossify-commons = { module = "org.fossify:commons", version.ref = "commons" }
[bundles]

View File

Binary file not shown.

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

5
gradlew vendored
View File

@@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -206,7 +205,7 @@ fi
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.

View File

@@ -31,4 +31,5 @@
<issue id="IconDensities" severity="warning" />
<issue id="GradleDependency" severity="warning" />
<issue id="Overdraw" severity="warning" />
<issue id="ExtraTranslation" severity="warning" />
</lint>