OSDN Git Service
Braden Farmer [Tue, 24 Nov 2020 06:36:56 +0000 (23:36 -0700)]
Couple more fixes
Braden Farmer [Tue, 24 Nov 2020 06:19:39 +0000 (23:19 -0700)]
Fix build
Braden Farmer [Tue, 24 Nov 2020 06:12:10 +0000 (23:12 -0700)]
No need to show a notification after all
Braden Farmer [Tue, 24 Nov 2020 05:57:46 +0000 (22:57 -0700)]
Assign notification channel to IME fix notification
Braden Farmer [Tue, 24 Nov 2020 04:56:16 +0000 (21:56 -0700)]
Expose IME fix in desktop mode settings
Braden Farmer [Tue, 24 Nov 2020 03:34:48 +0000 (20:34 -0700)]
Small fix for keyboard disabled logic
Braden Farmer [Sun, 22 Nov 2020 06:47:22 +0000 (23:47 -0700)]
Fix crashes on Android-x86
Braden Farmer [Sun, 22 Nov 2020 03:51:36 +0000 (20:51 -0700)]
Remove deprecated usage of Handler constructor
Braden Farmer [Sun, 22 Nov 2020 03:43:08 +0000 (20:43 -0700)]
No reason to send broadcasts to receivers within the same component
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
Braden Farmer [Sat, 21 Nov 2020 08:04:17 +0000 (01:04 -0700)]
Add small amount of margin between notification count icon in systray
Braden Farmer [Sat, 21 Nov 2020 03:35:15 +0000 (20:35 -0700)]
Revise logic for determing if keyboard is disabled
Braden Farmer [Fri, 20 Nov 2020 23:58:10 +0000 (16:58 -0700)]
Tweaks for displaying Android-Generic ROM name inside Appearance settings
Braden Farmer [Fri, 20 Nov 2020 16:56:07 +0000 (09:56 -0700)]
String tweak
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
Braden Farmer [Fri, 20 Nov 2020 06:10:01 +0000 (23:10 -0700)]
Small fix for Chrome OS
Braden Farmer [Fri, 20 Nov 2020 05:59:55 +0000 (22:59 -0700)]
Fix tests
Braden Farmer [Fri, 20 Nov 2020 05:42:29 +0000 (22:42 -0700)]
Fix instances where startHeight or endHeight could be less than 0
Braden Farmer [Fri, 20 Nov 2020 05:21:42 +0000 (22:21 -0700)]
Center-align Taskbar icons according to screen width
Braden Farmer [Fri, 20 Nov 2020 04:22:32 +0000 (21:22 -0700)]
Split getBaseTaskbarSize() function into start and end versions
Braden Farmer [Wed, 18 Nov 2020 05:26:17 +0000 (22:26 -0700)]
Remove duplicate check for isScreenOff()
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
Braden Farmer [Tue, 17 Nov 2020 20:57:41 +0000 (13:57 -0700)]
Move IME fix disable logic to DisableKeyboardService
Braden Farmer [Tue, 17 Nov 2020 15:28:21 +0000 (08:28 -0700)]
Gradle 6.7.1
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
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
Braden Farmer [Mon, 16 Nov 2020 04:47:50 +0000 (21:47 -0700)]
Disable WindowManager animations
Braden Farmer [Mon, 16 Nov 2020 03:54:58 +0000 (20:54 -0700)]
Fix quick settings tile bug + more code cleanup
Braden Farmer [Mon, 16 Nov 2020 01:05:57 +0000 (18:05 -0700)]
Update dependencies
Braden Farmer [Mon, 16 Nov 2020 00:35:49 +0000 (17:35 -0700)]
Fix unit test compilation
Braden Farmer [Sun, 15 Nov 2020 06:54:04 +0000 (23:54 -0700)]
Tweaks to start menu dimensions + font size on lower-res devices
Braden Farmer [Sun, 15 Nov 2020 06:38:30 +0000 (23:38 -0700)]
Fix previous commit
Braden Farmer [Sun, 15 Nov 2020 06:00:10 +0000 (23:00 -0700)]
Set layout params to MATCH_PARENT if Taskbar size is the full width (or height) of the screen
Braden Farmer [Sun, 15 Nov 2020 04:47:59 +0000 (21:47 -0700)]
Resolve a couple more warnings
Braden Farmer [Sat, 14 Nov 2020 21:11:24 +0000 (14:11 -0700)]
General code cleanup
Braden Farmer [Sat, 14 Nov 2020 15:08:53 +0000 (08:08 -0700)]
More system tray tweaks
Braden Farmer [Sat, 14 Nov 2020 08:03:25 +0000 (01:03 -0700)]
Remove unnecessary empty space when certain system tray icons aren't showing
Braden Farmer [Sat, 14 Nov 2020 05:04:09 +0000 (22:04 -0700)]
Rename ignored exceptions to `ignored`
Braden Farmer [Sat, 14 Nov 2020 04:50:03 +0000 (21:50 -0700)]
Move isImeVisible() to CompatUtils
Braden Farmer [Mon, 9 Nov 2020 18:12:12 +0000 (11:12 -0700)]
Cleanup imports
Braden Farmer [Mon, 9 Nov 2020 18:11:01 +0000 (11:11 -0700)]
Somewhat janky fix for bottom margin appearing when IME is active in desktop mode on Android 11
Braden Farmer [Mon, 9 Nov 2020 17:08:01 +0000 (10:08 -0700)]
Crash fix
Braden Farmer [Mon, 9 Nov 2020 05:33:41 +0000 (22:33 -0700)]
Update .gitignore
Braden Farmer [Mon, 9 Nov 2020 05:33:08 +0000 (22:33 -0700)]
Register Android-Iconics font before attempting to use it
Braden Farmer [Mon, 9 Nov 2020 03:07:08 +0000 (20:07 -0700)]
Hide option for showing notification count from libtaskbar
Braden Farmer [Mon, 9 Nov 2020 02:44:28 +0000 (19:44 -0700)]
Fix libtaskbar build
Braden Farmer [Thu, 29 Oct 2020 22:25:42 +0000 (16:25 -0600)]
Switch to reading `ro.ag.product.manufacturer` property for determining Android-Generic builds
Braden Farmer [Wed, 28 Oct 2020 03:30:19 +0000 (21:30 -0600)]
Distinguish between Bliss OS and Android-Generic builds when applying Bliss customizations
Braden Farmer [Tue, 27 Oct 2020 19:03:58 +0000 (13:03 -0600)]
Update proguard-rules.pro
Braden Farmer [Thu, 15 Oct 2020 14:36:58 +0000 (08:36 -0600)]
Fix F-Droid link
Braden Farmer [Thu, 15 Oct 2020 05:17:13 +0000 (23:17 -0600)]
Update dependencies + compile with SDK 30
Braden Farmer [Thu, 15 Oct 2020 04:57:19 +0000 (22:57 -0600)]
More crash fixes
Braden Farmer [Thu, 15 Oct 2020 04:29:43 +0000 (22:29 -0600)]
Add error handling for widget creation failures
Braden Farmer [Mon, 12 Oct 2020 14:44:41 +0000 (08:44 -0600)]
Work around commonly reported crash when determining default launcher
Braden Farmer [Mon, 12 Oct 2020 14:35:05 +0000 (08:35 -0600)]
Work around commonly reported crash when fetching icons
Braden Farmer [Tue, 6 Oct 2020 18:31:00 +0000 (12:31 -0600)]
Merge pull request #154 from utzcoz/master
Add tests for package com.farmerbb.taskbar.service part02
utzcoz [Tue, 6 Oct 2020 14:27:34 +0000 (22:27 +0800)]
Add left tests for FavoriteAppTileService
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Tue, 6 Oct 2020 13:40:27 +0000 (21:40 +0800)]
Extract string to contants for FavoriteAppTileService
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 29 Aug 2020 12:20:06 +0000 (20:20 +0800)]
Extract qs_tile and added to costants
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Mon, 28 Sep 2020 20:14:00 +0000 (14:14 -0600)]
Update README.md
Braden Farmer [Mon, 28 Sep 2020 20:06:11 +0000 (14:06 -0600)]
Fix secondary display toast placement on Android 11
Braden Farmer [Mon, 28 Sep 2020 19:57:07 +0000 (13:57 -0600)]
Fix bottom margin for dashboard on Android 11
Braden Farmer [Mon, 14 Sep 2020 04:39:25 +0000 (22:39 -0600)]
Determine minimum screen brightness programatically when dimming screen
Braden Farmer [Mon, 14 Sep 2020 02:25:44 +0000 (20:25 -0600)]
Update dependencies
Braden Farmer [Thu, 27 Aug 2020 17:03:15 +0000 (11:03 -0600)]
Merge pull request #149 from utzcoz/master
Add description to run test and jacoco to README
utzcoz [Thu, 27 Aug 2020 16:59:34 +0000 (00:59 +0800)]
Add description to run test and jacoco to README
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Thu, 27 Aug 2020 16:46:57 +0000 (10:46 -0600)]
Merge pull request #148 from utzcoz/master
Upgrade robolectric to 4.4
utzcoz [Thu, 27 Aug 2020 16:43:51 +0000 (00:43 +0800)]
Fix OutOfMemoryErrors when running robolectric tests
See https://github.com/robolectric/robolectric/issues/5131
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Thu, 27 Aug 2020 16:22:35 +0000 (00:22 +0800)]
Remove TaskbarShadowLauncherApps
Use shadow methods from robolectric.
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Thu, 27 Aug 2020 16:09:24 +0000 (00:09 +0800)]
Upgrade robolectric to 4.4
Use legacy looper mode for tests compatibility. Tests will be updated
later to remove legacy looper mode.
Test: ./gardlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Sun, 23 Aug 2020 15:09:57 +0000 (09:09 -0600)]
Merge pull request #145 from utzcoz/master
Add tests for package com.farmerbb.taskbar.service part01
utzcoz [Sat, 22 Aug 2020 12:09:25 +0000 (20:09 +0800)]
Add basic tests for FavoriteApp*
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 22 Aug 2020 10:28:21 +0000 (18:28 +0800)]
Extract intent extra count to constants
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 22 Aug 2020 10:18:23 +0000 (18:18 +0800)]
Extract value of pref start_button_image to constants
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 22 Aug 2020 10:09:42 +0000 (18:09 +0800)]
Extract start_services to EXTRA_START_SERVICES
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 22 Aug 2020 10:06:32 +0000 (18:06 +0800)]
Add test for PowerMenuService
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 22 Aug 2020 07:03:22 +0000 (15:03 +0800)]
Extract action to EXTRA_ACTION
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 22 Aug 2020 06:59:43 +0000 (14:59 +0800)]
Simplify UIHostServiceNewControllerTest
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 22 Aug 2020 06:57:37 +0000 (14:57 +0800)]
Add test for QuickSettingsTileService.updateState
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 22 Aug 2020 05:56:46 +0000 (13:56 +0800)]
Add tests for specific UIHostService newController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Wed, 19 Aug 2020 03:25:16 +0000 (21:25 -0600)]
Merge pull request #144 from utzcoz/master
Split DashboardController large methods part03
utzcoz [Sat, 15 Aug 2020 07:43:07 +0000 (15:43 +0800)]
Extract method DashboardController#showPlaceholderToast
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 15 Aug 2020 06:59:39 +0000 (14:59 +0800)]
Extract method DashboardController#shouldSendDisappearingBroadcast
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Tue, 28 Jul 2020 16:26:22 +0000 (10:26 -0600)]
Merge pull request #140 from utzcoz/master
Split DashboardController large methods part02
utzcoz [Tue, 28 Jul 2020 14:06:26 +0000 (22:06 +0800)]
Rename mAppWidgetHost to appWidgetHost
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Tue, 28 Jul 2020 14:05:49 +0000 (22:05 +0800)]
Rename mAppWidgetManager to appWidgetManager
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Tue, 28 Jul 2020 13:44:59 +0000 (21:44 +0800)]
Extract methods to provider pref keys for DashboardController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Tue, 28 Jul 2020 12:55:51 +0000 (20:55 +0800)]
Extract method to show dashboard tutorial toast for DashboardController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Mon, 27 Jul 2020 15:53:56 +0000 (09:53 -0600)]
Merge pull request #138 from Refactor4Green/Refactor4Green
Improve energy efficiency by applying Cache Energy Pattern
Braden Farmer [Mon, 27 Jul 2020 15:53:22 +0000 (09:53 -0600)]
Merge pull request #139 from lovenemesis/master
Update Chinese translation for desktop mode and a few terms.
Tommy He [Sat, 25 Jul 2020 02:35:32 +0000 (10:35 +0800)]
Update Chinese translation for desktop mode and a few terms.
anasofiagribeiro [Fri, 24 Jul 2020 14:50:35 +0000 (15:50 +0100)]
Refactor4Green - added comment
anasofiagribeiro [Fri, 24 Jul 2020 14:06:13 +0000 (15:06 +0100)]
Refactor4Green - Cache EP
Braden Farmer [Sun, 19 Jul 2020 14:37:24 +0000 (08:37 -0600)]
Merge pull request #137 from utzcoz/master
Split DashboardController large methods part01
utzcoz [Sun, 19 Jul 2020 11:25:25 +0000 (19:25 +0800)]
Extract context_menu_fix to constant
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sun, 19 Jul 2020 11:03:13 +0000 (19:03 +0800)]
Extract method to save widget info for DashboardController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sun, 19 Jul 2020 10:20:39 +0000 (18:20 +0800)]
Extract dashbarod widget string to constants
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sun, 19 Jul 2020 10:04:39 +0000 (18:04 +0800)]
Extract method to add widget from Intent for DashboardController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sun, 19 Jul 2020 08:51:46 +0000 (16:51 +0800)]
Extract intent extra appWidgetId and cellId to constants
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 18 Jul 2020 15:08:44 +0000 (23:08 +0800)]
Extract method to update layout padding size based on position for DashboardController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>