OSDN Git Service

android-x86/packages-apps-Taskbar.git
2 years agoUpdate dependencies pie-x86 q-x86 r-x86
Braden Farmer [Tue, 8 Jun 2021 06:03:10 +0000 (00:03 -0600)]
Update dependencies

2 years agoVarious fixes for Chrome OS devices running Android 11
Braden Farmer [Tue, 8 Jun 2021 05:05:54 +0000 (23:05 -0600)]
Various fixes for Chrome OS devices running Android 11

Fixes #204

2 years agoMerge pull request #206 from utzcoz/extract-backup-key-to-constants
Braden Farmer [Mon, 31 May 2021 15:47:38 +0000 (09:47 -0600)]
Merge pull request #206 from utzcoz/extract-backup-key-to-constants

Extract backup key to constants

2 years agoExtract backup key to constants
utzcoz [Sun, 30 May 2021 08:03:49 +0000 (16:03 +0800)]
Extract backup key to constants

Signed-off-by: utzcoz <utzcoz@outlook.com>
2 years agoUpdate dependencies
Braden Farmer [Mon, 24 May 2021 05:31:49 +0000 (23:31 -0600)]
Update dependencies

2 years agoFix Tasker-related crash
Braden Farmer [Mon, 24 May 2021 05:21:00 +0000 (23:21 -0600)]
Fix Tasker-related crash

3 years agoMerge pull request #200 from utzcoz/use-built-in-bliss-logo-directly
Braden Farmer [Mon, 19 Apr 2021 16:14:06 +0000 (10:14 -0600)]
Merge pull request #200 from utzcoz/use-built-in-bliss-logo-directly

Use built in bliss logo directly

3 years agoDon't read start button from BoringdroidSystemUI for AG/BlissOS
utzcoz [Sun, 11 Apr 2021 15:27:01 +0000 (23:27 +0800)]
Don't read start button from BoringdroidSystemUI for AG/BlissOS

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoUpdate bliss logo
utzcoz [Sun, 11 Apr 2021 15:22:14 +0000 (23:22 +0800)]
Update bliss logo

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoUpdate dependencies
Braden Farmer [Sat, 10 Apr 2021 05:24:58 +0000 (23:24 -0600)]
Update dependencies

3 years agoMerge pull request #197 from utzcoz/migrate-jcenter-to-mavenCentral
Braden Farmer [Wed, 24 Mar 2021 15:24:22 +0000 (09:24 -0600)]
Merge pull request #197 from utzcoz/migrate-jcenter-to-mavenCentral

Migrate jcenter to mavenCentral

3 years agoMigrate jcenter to mavenCentral
utzcoz [Wed, 24 Mar 2021 14:32:00 +0000 (22:32 +0800)]
Migrate jcenter to mavenCentral

See https://developer.android.com/studio/build/jcenter-migration
and https://stackoverflow.com/questions/49573157/android-studio-3-1-could-not-find-org-jetbrains-trove4jtrove4j20160824.

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #194 from utzcoz/add-tests-for-ToastHelper-and-GlobalHelper
Braden Farmer [Fri, 12 Mar 2021 19:43:51 +0000 (12:43 -0700)]
Merge pull request #194 from utzcoz/add-tests-for-ToastHelper-and-GlobalHelper

Add tests for ToastHelper and GlobalHelper

3 years agoAdd tests for ToastHelper
utzcoz [Fri, 12 Mar 2021 15:20:54 +0000 (23:20 +0800)]
Add tests for ToastHelper

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoAdd tests for GlobalHelper
utzcoz [Fri, 12 Mar 2021 15:01:22 +0000 (23:01 +0800)]
Add tests for GlobalHelper

There are also some changes for tests:

1. Prefer to use assertThat from Truth to check value to get more
   meaningful debug info.
2. Use yourTestMethod_YourExpectedValue() as test method name pattern.
   The old name pattern will be kept, and migrated to the new name
   pattern with continuous commits.

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #190 from utzcoz/add-basic-github-action
Braden Farmer [Mon, 1 Mar 2021 20:07:29 +0000 (13:07 -0700)]
Merge pull request #190 from utzcoz/add-basic-github-action

Add basic github action to build, check format and run tests

3 years agoAdd basic github action to build, check format and run tests
utzcoz [Sat, 27 Feb 2021 05:01:07 +0000 (13:01 +0800)]
Add basic github action to build, check format and run tests

It will help to double check the commits when the Travis doesn't work
correctly.

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #189 from utzcoz/add-spotless-to-format-kotlin-code
Braden Farmer [Fri, 26 Feb 2021 17:42:40 +0000 (10:42 -0700)]
Merge pull request #189 from utzcoz/add-spotless-to-format-kotlin-code

Add Spotless to format kotlin code

3 years agoAdd Spotless to format kotlin code
utzcoz [Wed, 24 Feb 2021 15:03:20 +0000 (23:03 +0800)]
Add Spotless to format kotlin code

Use it to find the kotlin test code's format problem, and fix it.

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoUpdate dependencies
Braden Farmer [Wed, 10 Feb 2021 18:10:12 +0000 (11:10 -0700)]
Update dependencies

3 years agoMerge pull request #180 from utzcoz/clean-test-code-after-kotlin-converting
Braden Farmer [Wed, 10 Feb 2021 17:33:10 +0000 (10:33 -0700)]
Merge pull request #180 from utzcoz/clean-test-code-after-kotlin-converting

Clean test code after kotlin converting

3 years agoUse org.junit.Assert to replace junit.framework.Assert
utzcoz [Wed, 10 Feb 2021 16:37:40 +0000 (00:37 +0800)]
Use org.junit.Assert to replace junit.framework.Assert

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoRemove unnecessary !! for LauncherHelperTest
utzcoz [Wed, 10 Feb 2021 16:35:51 +0000 (00:35 +0800)]
Remove unnecessary !! for LauncherHelperTest

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoRemove unnecessary !! for UTest
utzcoz [Wed, 10 Feb 2021 16:33:17 +0000 (00:33 +0800)]
Remove unnecessary !! for UTest

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #179 from utzcoz/convert-test-code-to-kotlin
Braden Farmer [Wed, 10 Feb 2021 16:06:44 +0000 (09:06 -0700)]
Merge pull request #179 from utzcoz/convert-test-code-to-kotlin

Convert test code to kotlin

3 years agoUse latinit var to replace var to reduce null
utzcoz [Wed, 10 Feb 2021 11:07:02 +0000 (19:07 +0800)]
Use latinit var to replace var to reduce null

It will help to reduce many !!.

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoFix typo of gradle
utzcoz [Wed, 10 Feb 2021 10:54:38 +0000 (18:54 +0800)]
Fix typo of gradle

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoConvert test code to kotlin
utzcoz [Sun, 7 Feb 2021 15:48:31 +0000 (23:48 +0800)]
Convert test code to kotlin

1. Use Android Studio tool to convert test code to kotlin.
2. Fix null checking error, just adding !! and remove some ?.
3. Fix incompatibility of type between Int and Long in assert.

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #178 from utzcoz/bump-robolectric-sdk-to-30
Braden Farmer [Wed, 10 Feb 2021 07:05:44 +0000 (00:05 -0700)]
Merge pull request #178 from utzcoz/bump-robolectric-sdk-to-30

Bump robolectric sdk to 30

3 years agoBump robolectric sdk to 30
utzcoz [Sun, 7 Feb 2021 15:52:34 +0000 (23:52 +0800)]
Bump robolectric sdk to 30

The developer should configure Android Studio JDK to local JDK 9 and
above.

See
https://stackoverflow.com/questions/56821193/does-robolectric-require-java-9.

Test: ./gradlew build

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMove AGP version to dependencies.gradle
Braden Farmer [Fri, 5 Feb 2021 15:21:24 +0000 (08:21 -0700)]
Move AGP version to dependencies.gradle

3 years agoUpdate .gitignore
Braden Farmer [Fri, 5 Feb 2021 07:18:07 +0000 (00:18 -0700)]
Update .gitignore

3 years agoPrepare to move libtaskbar into its own repository
Braden Farmer [Fri, 5 Feb 2021 07:09:10 +0000 (00:09 -0700)]
Prepare to move libtaskbar into its own repository

3 years agoMerge pull request #175 from utzcoz/master
Braden Farmer [Fri, 5 Feb 2021 06:13:27 +0000 (23:13 -0700)]
Merge pull request #175 from utzcoz/master

Bump robolectric to 4.5.1

3 years agoBump robolectric to 4.5.1
utzcoz [Thu, 4 Feb 2021 14:25:21 +0000 (22:25 +0800)]
Bump robolectric to 4.5.1

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #174 from utzcoz/master
Braden Farmer [Wed, 27 Jan 2021 16:44:53 +0000 (09:44 -0700)]
Merge pull request #174 from utzcoz/master

Keep androidx.browser to 1.0.0 for Android-x86

3 years agoKeep androidx.browser to 1.0.0 for Android-x86
utzcoz [Mon, 25 Jan 2021 16:06:55 +0000 (00:06 +0800)]
Keep androidx.browser to 1.0.0 for Android-x86

Test: ./gradlew test && build with pie-x86

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #173 from utzcoz/master
Braden Farmer [Mon, 25 Jan 2021 18:04:35 +0000 (11:04 -0700)]
Merge pull request #173 from utzcoz/master

Remove applicationId placeholder from Android-x86 AndroidManifest.xml

3 years agoRemove applicationId placeholder from Android-x86 AndroidManifest.xml
utzcoz [Mon, 25 Jan 2021 15:31:21 +0000 (23:31 +0800)]
Remove applicationId placeholder from Android-x86 AndroidManifest.xml

It will fix Android-x86 building.

Test: test building with Android-x86 pie-x86.

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #172 from utzcoz/upgrade-robolectric-to-4.5
Braden Farmer [Sun, 24 Jan 2021 17:06:00 +0000 (10:06 -0700)]
Merge pull request #172 from utzcoz/upgrade-robolectric-to-4.5

Update robolectric to 4.5

3 years agoUpdate robolectric to 4.5
utzcoz [Sat, 23 Jan 2021 02:37:05 +0000 (10:37 +0800)]
Update robolectric to 4.5

Some customized shadows are merged to robolectric 4.5, so I remove them
when upgrading robolectric to 4.5.

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoUpdate README.md
Braden Farmer [Sun, 3 Jan 2021 05:00:15 +0000 (22:00 -0700)]
Update README.md

3 years agoMerge pull request #165 from AaronDewes/patch-1
Braden Farmer [Sun, 3 Jan 2021 04:58:54 +0000 (21:58 -0700)]
Merge pull request #165 from AaronDewes/patch-1

Update German translations

3 years agoMerge pull request #164 from utzcoz/master
Braden Farmer [Sun, 3 Jan 2021 04:57:34 +0000 (21:57 -0700)]
Merge pull request #164 from utzcoz/master

Add tests for QuitReceiver and ShowHideTaskbarReceiver

3 years agoUpdate German translations
Aaron Dewes [Tue, 29 Dec 2020 09:41:44 +0000 (09:41 +0000)]
Update German translations

3 years agoAdd tests for ShowHideTaskbarReceiver
utzcoz [Sun, 27 Dec 2020 06:49:19 +0000 (14:49 +0800)]
Add tests for ShowHideTaskbarReceiver

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoAdd tests for QuitReceiver
utzcoz [Sun, 27 Dec 2020 06:15:14 +0000 (14:15 +0800)]
Add tests for QuitReceiver

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #163 from utzcoz/master
Braden Farmer [Sun, 29 Nov 2020 14:57:35 +0000 (07:57 -0700)]
Merge pull request #163 from utzcoz/master

Add tests for BootReceiver and PackageUpgradeReceiver

3 years agoAdd tests for PackageUpgradeReceiver
utzcoz [Sun, 29 Nov 2020 09:44:16 +0000 (17:44 +0800)]
Add tests for PackageUpgradeReceiver

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoAdd tests for BootReceiver
utzcoz [Sun, 29 Nov 2020 08:12:13 +0000 (16:12 +0800)]
Add tests for BootReceiver

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoFix typos in Constants symbol names
Braden Farmer [Sun, 29 Nov 2020 07:45:31 +0000 (00:45 -0700)]
Fix typos in Constants symbol names

3 years agoMerge pull request #162 from utzcoz/master
Braden Farmer [Sun, 29 Nov 2020 06:15:25 +0000 (23:15 -0700)]
Merge pull request #162 from utzcoz/master

Extra strings used by receiver package to constant

3 years agoExtra show_recent_apps_dialog to a constant string
utzcoz [Sat, 28 Nov 2020 15:56:02 +0000 (23:56 +0800)]
Extra show_recent_apps_dialog to a constant string

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoExtra show_permission_dialog to a constant string
utzcoz [Sat, 28 Nov 2020 15:53:11 +0000 (23:53 +0800)]
Extra show_permission_dialog to a constant string

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoExtra secondscreen to a constant string
utzcoz [Sat, 28 Nov 2020 15:50:11 +0000 (23:50 +0800)]
Extra secondscreen to a constant string

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoExtra start_freeform_hack to a constant string
utzcoz [Sat, 28 Nov 2020 15:48:17 +0000 (23:48 +0800)]
Extra start_freeform_hack to a constant string

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoMerge pull request #161 from utzcoz/add-basic-tests-for-NotificationCountService
Braden Farmer [Sat, 28 Nov 2020 14:33:11 +0000 (07:33 -0700)]
Merge pull request #161 from utzcoz/add-basic-tests-for-NotificationCountService

Add tests for NotificationCountService

3 years agoTaskbar 6.1.1 (release 1)
Braden Farmer [Sat, 28 Nov 2020 05:24:37 +0000 (22:24 -0700)]
Taskbar 6.1.1 (release 1)

* Bump version code for 6.1.1 release

3 years agoUpdate libtaskbar readme
Braden Farmer [Sat, 28 Nov 2020 05:23:00 +0000 (22:23 -0700)]
Update libtaskbar readme

3 years agoMove Kustom5SecsProvider to nonlib directory
Braden Farmer [Sat, 28 Nov 2020 05:11:14 +0000 (22:11 -0700)]
Move Kustom5SecsProvider to nonlib directory

3 years agoDon't allow MainActivity to restore its instance state (fixes issues with Taskbar...
Braden Farmer [Sat, 28 Nov 2020 03:53:16 +0000 (20:53 -0700)]
Don't allow MainActivity to restore its instance state (fixes issues with Taskbar starting itself due to MainActivity going through a config change while in the background)

3 years agoCatch IllegalArgumentException when updating view layout
Braden Farmer [Sat, 28 Nov 2020 03:14:28 +0000 (20:14 -0700)]
Catch IllegalArgumentException when updating view layout

3 years agoFix immediate crash when starting Taskbar with an icon pack applied
Braden Farmer [Sat, 28 Nov 2020 03:01:54 +0000 (20:01 -0700)]
Fix immediate crash when starting Taskbar with an icon pack applied

3 years agoAdd support for preventing 5 second delay for activity launches from Kustom widgets
Braden Farmer [Fri, 27 Nov 2020 15:35:32 +0000 (08:35 -0700)]
Add support for preventing 5 second delay for activity launches from Kustom widgets

3 years agoAdd tests for NotificationCountService
utzcoz [Sun, 11 Oct 2020 11:15:12 +0000 (19:15 +0800)]
Add tests for NotificationCountService

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
3 years agoTaskbar 6.1 (release 1)
Braden Farmer [Wed, 25 Nov 2020 07:01:45 +0000 (00:01 -0700)]
Taskbar 6.1 (release 1)

* Bump version code for 6.1 release

3 years agoBump latestChangelogVersion
Braden Farmer [Wed, 25 Nov 2020 06:56:49 +0000 (23:56 -0700)]
Bump latestChangelogVersion

3 years agoUpdate libtaskbar readme
Braden Farmer [Wed, 25 Nov 2020 04:34:43 +0000 (21:34 -0700)]
Update libtaskbar readme

3 years agoAdd changelog for Taskbar 6.1
Braden Farmer [Wed, 25 Nov 2020 04:26:01 +0000 (21:26 -0700)]
Add changelog for Taskbar 6.1

3 years agoAdd animations to Chrome custom tab
Braden Farmer [Wed, 25 Nov 2020 03:58:06 +0000 (20:58 -0700)]
Add animations to Chrome custom tab

3 years agoOpen changelog in a Chrome custom tab
Braden Farmer [Wed, 25 Nov 2020 03:49:29 +0000 (20:49 -0700)]
Open changelog in a Chrome custom tab

3 years agoFix references to "Taskbar" in the context of the current app's label (for libtaskbar)
Braden Farmer [Tue, 24 Nov 2020 16:44:17 +0000 (09:44 -0700)]
Fix references to "Taskbar" in the context of the current app's label (for libtaskbar)

3 years agoCouple more fixes
Braden Farmer [Tue, 24 Nov 2020 06:36:56 +0000 (23:36 -0700)]
Couple more fixes

3 years agoFix build
Braden Farmer [Tue, 24 Nov 2020 06:19:39 +0000 (23:19 -0700)]
Fix build

3 years agoNo need to show a notification after all
Braden Farmer [Tue, 24 Nov 2020 06:12:10 +0000 (23:12 -0700)]
No need to show a notification after all

3 years agoAssign notification channel to IME fix notification
Braden Farmer [Tue, 24 Nov 2020 05:57:46 +0000 (22:57 -0700)]
Assign notification channel to IME fix notification

3 years agoExpose IME fix in desktop mode settings
Braden Farmer [Tue, 24 Nov 2020 04:56:16 +0000 (21:56 -0700)]
Expose IME fix in desktop mode settings

3 years agoSmall fix for keyboard disabled logic
Braden Farmer [Tue, 24 Nov 2020 03:34:48 +0000 (20:34 -0700)]
Small fix for keyboard disabled logic

3 years agoFix crashes on Android-x86
Braden Farmer [Sun, 22 Nov 2020 06:47:22 +0000 (23:47 -0700)]
Fix crashes on Android-x86

3 years agoRemove deprecated usage of Handler constructor
Braden Farmer [Sun, 22 Nov 2020 03:51:36 +0000 (20:51 -0700)]
Remove deprecated usage of Handler constructor

3 years agoNo reason to send broadcasts to receivers within the same component
Braden Farmer [Sun, 22 Nov 2020 03:43:08 +0000 (20:43 -0700)]
No reason to send broadcasts to receivers within the same component

3 years agoFix start menu disappearing when hovering cursor over app icons on Bliss OS Pie
Braden Farmer [Sun, 22 Nov 2020 03:36:11 +0000 (20:36 -0700)]
Fix start menu disappearing when hovering cursor over app icons on Bliss OS Pie

3 years agoAdd small amount of margin between notification count icon in systray
Braden Farmer [Sat, 21 Nov 2020 08:04:17 +0000 (01:04 -0700)]
Add small amount of margin between notification count icon in systray

3 years agoRevise logic for determing if keyboard is disabled
Braden Farmer [Sat, 21 Nov 2020 03:35:15 +0000 (20:35 -0700)]
Revise logic for determing if keyboard is disabled

3 years agoTweaks for displaying Android-Generic ROM name inside Appearance settings
Braden Farmer [Fri, 20 Nov 2020 23:58:10 +0000 (16:58 -0700)]
Tweaks for displaying Android-Generic ROM name inside Appearance settings

3 years agoString tweak
Braden Farmer [Fri, 20 Nov 2020 16:56:07 +0000 (09:56 -0700)]
String tweak

3 years agoPull in branded start button image from BoringdroidSystemUI on Android-Generic builds
Braden Farmer [Fri, 20 Nov 2020 06:36:33 +0000 (23:36 -0700)]
Pull in branded start button image from BoringdroidSystemUI on Android-Generic builds

3 years agoSmall fix for Chrome OS
Braden Farmer [Fri, 20 Nov 2020 06:10:01 +0000 (23:10 -0700)]
Small fix for Chrome OS

3 years agoFix tests
Braden Farmer [Fri, 20 Nov 2020 05:59:55 +0000 (22:59 -0700)]
Fix tests

3 years agoFix instances where startHeight or endHeight could be less than 0
Braden Farmer [Fri, 20 Nov 2020 05:42:29 +0000 (22:42 -0700)]
Fix instances where startHeight or endHeight could be less than 0

3 years agoCenter-align Taskbar icons according to screen width
Braden Farmer [Fri, 20 Nov 2020 05:21:42 +0000 (22:21 -0700)]
Center-align Taskbar icons according to screen width

3 years agoSplit getBaseTaskbarSize() function into start and end versions
Braden Farmer [Fri, 20 Nov 2020 04:22:32 +0000 (21:22 -0700)]
Split getBaseTaskbarSize() function into start and end versions

3 years agoRemove duplicate check for isScreenOff()
Braden Farmer [Wed, 18 Nov 2020 05:26:17 +0000 (22:26 -0700)]
Remove duplicate check for isScreenOff()

3 years agoDon't show Taskbar when desktop mode is enabled and Bubbles are active
Braden Farmer [Wed, 18 Nov 2020 03:47:57 +0000 (20:47 -0700)]
Don't show Taskbar when desktop mode is enabled and Bubbles are active

3 years agoMove IME fix disable logic to DisableKeyboardService
Braden Farmer [Tue, 17 Nov 2020 20:57:41 +0000 (13:57 -0700)]
Move IME fix disable logic to DisableKeyboardService

3 years agoGradle 6.7.1
Braden Farmer [Tue, 17 Nov 2020 15:28:21 +0000 (08:28 -0700)]
Gradle 6.7.1

3 years agoOnly enable IME fix while desktop mode is active on Android 11
Braden Farmer [Tue, 17 Nov 2020 15:21:16 +0000 (08:21 -0700)]
Only enable IME fix while desktop mode is active on Android 11

3 years agoAdd dummy IME meant to solve desktop mode IME issues on Android 11
Braden Farmer [Mon, 16 Nov 2020 06:52:31 +0000 (23:52 -0700)]
Add dummy IME meant to solve desktop mode IME issues on Android 11

3 years agoDisable WindowManager animations
Braden Farmer [Mon, 16 Nov 2020 04:47:50 +0000 (21:47 -0700)]
Disable WindowManager animations

3 years agoFix quick settings tile bug + more code cleanup
Braden Farmer [Mon, 16 Nov 2020 03:54:58 +0000 (20:54 -0700)]
Fix quick settings tile bug + more code cleanup