OSDN Git Service
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>
Braden Farmer [Sun, 5 Jul 2020 19:35:40 +0000 (13:35 -0600)]
Merge pull request #135 from utzcoz/master
Split StartMenuController large methods part03
utzcoz [Sat, 4 Jul 2020 09:26:46 +0000 (17:26 +0800)]
Extract method to generate app entries for StartMenuController
It also extracts common test used constants to Constants.java
Test: ./gradlew test
Braden Farmer [Fri, 26 Jun 2020 05:24:21 +0000 (23:24 -0600)]
Spanish translation fixes
Braden Farmer [Fri, 26 Jun 2020 05:21:50 +0000 (23:21 -0600)]
Merge pull request #132 from sguinetti/master
Spanish translation
Braden Farmer [Fri, 26 Jun 2020 04:49:47 +0000 (22:49 -0600)]
Merge pull request #131 from utzcoz/master
Split StartMenuController large methods part02
Diego [Tue, 23 Jun 2020 13:51:04 +0000 (08:51 -0500)]
Add "es" in resconfigs
Diego [Tue, 23 Jun 2020 13:38:14 +0000 (08:38 -0500)]
Update "modo ventana" expression
Diego [Tue, 23 Jun 2020 13:38:03 +0000 (08:38 -0500)]
Extend spanish translation
Diego [Tue, 23 Jun 2020 00:38:34 +0000 (19:38 -0500)]
Spanish translation
utzcoz [Mon, 22 Jun 2020 14:33:37 +0000 (22:33 +0800)]
Extract methods to generate search intent for StartMenuController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Sun, 21 Jun 2020 06:14:49 +0000 (00:14 -0600)]
Minor cleanup
Braden Farmer [Sun, 21 Jun 2020 05:58:53 +0000 (23:58 -0600)]
Merge pull request #130 from utzcoz/master
Split StartMenuController large methods part01
utzcoz [Sat, 20 Jun 2020 15:55:07 +0000 (23:55 +0800)]
Extract methods to get start menu gravity and layout id for StartMenuController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sat, 20 Jun 2020 15:30:28 +0000 (23:30 +0800)]
Extract method to check shouldShowSearchBox for StartMenuController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Thu, 18 Jun 2020 03:20:40 +0000 (21:20 -0600)]
Merge pull request #128 from RaspberryPiFan/master
Update german translations
RaspberryPiFan [Wed, 17 Jun 2020 17:05:58 +0000 (19:05 +0200)]
Update german translations
Braden Farmer [Mon, 15 Jun 2020 02:36:32 +0000 (20:36 -0600)]
Filter out Shell from list of launchers in HSLConfigActivity
Braden Farmer [Sun, 14 Jun 2020 20:10:12 +0000 (14:10 -0600)]
Fix tests
Braden Farmer [Sun, 14 Jun 2020 19:59:14 +0000 (13:59 -0600)]
Fix Taskbar being drawn below the navigation bar in desktop mode on Android 11
Braden Farmer [Sun, 14 Jun 2020 18:19:20 +0000 (12:19 -0600)]
Don't show option to hide navbar on Android 11 due to removal of overscan support
Braden Farmer [Sun, 14 Jun 2020 17:09:45 +0000 (11:09 -0600)]
Minor changes to libtaskbar readme
Braden Farmer [Sun, 14 Jun 2020 16:45:20 +0000 (10:45 -0600)]
Merge pull request #127 from utzcoz/master
Split TaskbarController large methods part07
utzcoz [Sun, 14 Jun 2020 13:02:28 +0000 (21:02 +0800)]
Extract raw string to constant in TaskbarControllerTest
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sun, 14 Jun 2020 12:52:02 +0000 (20:52 +0800)]
Extract method to generate app entries for TaskbarController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Sun, 14 Jun 2020 09:22:04 +0000 (17:22 +0800)]
Use instance methods to replace static methods in TaskbarShadowLauncherApps
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Wed, 10 Jun 2020 16:53:23 +0000 (10:53 -0600)]
Merge pull request #124 from utzcoz/master
Split TaskbarController large methods part06
utzcoz [Mon, 8 Jun 2020 06:38:30 +0000 (14:38 +0800)]
Remove unused public modifier for @VisibleForTesting methods
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Mon, 8 Jun 2020 06:27:18 +0000 (14:27 +0800)]
Extract method to popuplate final app entry in TaskbarController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Mon, 8 Jun 2020 05:10:14 +0000 (13:10 +0800)]
Extract method to filter real pinned apps in TaskbarController
Robolectric doesn't support LauncherApps.isPackageEnabled in this shadow
implementation, so we should add a new implementation to support it. And
we should ignore custom shadows from powermock to avoid the problem
that the classloader of custom shadow isn't equals to classloader
used by robolectric. For example, if we don't ignore custom shadow from
powermock, the following casting can't be executed:
TaskbarShadowLauncherApps shadowLauncherApps =
Shadows.shadowOf(launcherApps);
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Wed, 3 Jun 2020 18:24:15 +0000 (12:24 -0600)]
Fix tests
Braden Farmer [Wed, 3 Jun 2020 16:49:44 +0000 (10:49 -0600)]
Taskbar 6.0 (release 3)
* String tweaks to better assist ROG Phone 2 users
* Minor dependency updates
Braden Farmer [Mon, 1 Jun 2020 05:04:48 +0000 (23:04 -0600)]
Taskbar 6.0 (release 2)
* Make LauncherHelper.isOnSecondaryHomeScreen() return false if a secondary display is not attached
* Fix dashboard focus issues on Android 10
Braden Farmer [Mon, 1 Jun 2020 02:01:30 +0000 (20:01 -0600)]
Taskbar 6.0 (release 1)
* Bump version code for 6.0 release
Braden Farmer [Mon, 1 Jun 2020 01:38:19 +0000 (19:38 -0600)]
Lock orientation of DimScreenActivity programatically
Braden Farmer [Mon, 1 Jun 2020 01:35:00 +0000 (19:35 -0600)]
Add link to xda article
Braden Farmer [Mon, 1 Jun 2020 01:28:33 +0000 (19:28 -0600)]
Clarifications regarding DisplayLink support
Braden Farmer [Mon, 1 Jun 2020 00:13:40 +0000 (18:13 -0600)]
Update libtaskbar readme
Braden Farmer [Sun, 31 May 2020 21:43:33 +0000 (15:43 -0600)]
Iconics and HTML formatting don't play well together
Braden Farmer [Sun, 31 May 2020 21:42:16 +0000 (15:42 -0600)]
Revert "Use Iconics when rendering help text"
This reverts commit
0b7cde3f8de7917d4a8a3a64f2c9a1036d0fb4bf.
Braden Farmer [Sun, 31 May 2020 21:04:23 +0000 (15:04 -0600)]
Use Iconics when rendering help text
Braden Farmer [Sun, 31 May 2020 20:34:47 +0000 (14:34 -0600)]
String tweaks
Braden Farmer [Sun, 31 May 2020 20:05:35 +0000 (14:05 -0600)]
Proactively finish DimScreenActivity in case of System UI crashes