OSDN Git Service
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
Braden Farmer [Sun, 31 May 2020 19:40:05 +0000 (13:40 -0600)]
Use display context when hiding navbar from desktop mode settings
Braden Farmer [Sun, 31 May 2020 18:03:52 +0000 (12:03 -0600)]
Filter out group summary notifications instead
Braden Farmer [Sun, 31 May 2020 15:51:00 +0000 (09:51 -0600)]
Don't include notifications with id 0 in the notification count
Braden Farmer [Sun, 31 May 2020 15:07:00 +0000 (09:07 -0600)]
Make GlobalHelper account for multiple instances of MainActivity
Braden Farmer [Sun, 31 May 2020 14:40:52 +0000 (08:40 -0600)]
Rename AppHelper to GlobalHelper
Braden Farmer [Sun, 31 May 2020 06:49:30 +0000 (00:49 -0600)]
Bug fixes
Braden Farmer [Sun, 31 May 2020 05:40:30 +0000 (23:40 -0600)]
Dependency updates
Braden Farmer [Sun, 31 May 2020 05:34:47 +0000 (23:34 -0600)]
Move helpers into their own package
Braden Farmer [Sun, 31 May 2020 05:19:05 +0000 (23:19 -0600)]
Prevent DimScreenActivity from starting while on MainActivity
Braden Farmer [Sun, 31 May 2020 05:01:24 +0000 (23:01 -0600)]
Update CHANGELOG.md
Braden Farmer [Sun, 31 May 2020 04:26:17 +0000 (22:26 -0600)]
Couple of bug fixes
Braden Farmer [Sun, 31 May 2020 02:47:56 +0000 (20:47 -0600)]
Better method of allowing reflection at runtime
Braden Farmer [Sun, 31 May 2020 01:50:08 +0000 (19:50 -0600)]
Properly fix rawtypes suppressions
Braden Farmer [Sat, 30 May 2020 23:34:44 +0000 (17:34 -0600)]
Move reflection removal code
Braden Farmer [Sat, 30 May 2020 21:19:12 +0000 (15:19 -0600)]
Update README.md
Braden Farmer [Sat, 30 May 2020 17:55:54 +0000 (11:55 -0600)]
Update libtaskbar readme
Braden Farmer [Sat, 30 May 2020 17:07:53 +0000 (11:07 -0600)]
Decouple the changelog version from the version code
Braden Farmer [Sat, 30 May 2020 05:03:16 +0000 (23:03 -0600)]
Fix libtaskbar compilation
Braden Farmer [Sat, 30 May 2020 04:56:00 +0000 (22:56 -0600)]
Update dependencies
Braden Farmer [Sat, 30 May 2020 04:28:35 +0000 (22:28 -0600)]
Show "see what's new" snackbar if a new changelog is available
Braden Farmer [Fri, 29 May 2020 15:06:44 +0000 (09:06 -0600)]
Disallow building the libtaskbar demo app by default
Braden Farmer [Fri, 29 May 2020 06:29:14 +0000 (00:29 -0600)]
Crash fix for notification listener
Braden Farmer [Fri, 29 May 2020 06:29:00 +0000 (00:29 -0600)]
Add help button documentation for desktop mode
Braden Farmer [Thu, 28 May 2020 16:52:23 +0000 (10:52 -0600)]
Merge pull request #122 from utzcoz/master
Split TaskbarController large methods part05
utzcoz [Thu, 28 May 2020 07:05:43 +0000 (15:05 +0800)]
Extract method to filter foreground app in TaskbarController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
utzcoz [Thu, 28 May 2020 06:21:13 +0000 (14:21 +0800)]
Extract method to check whether to need to reverse order in TaskbarController
Test: ./gradlew test
Signed-off-by: utzcoz <utzcoz@outlook.com>
Braden Farmer [Thu, 28 May 2020 03:02:03 +0000 (21:02 -0600)]
More changelog tweaks
Braden Farmer [Thu, 28 May 2020 02:59:59 +0000 (20:59 -0600)]
Changelog tweaks
Braden Farmer [Thu, 28 May 2020 02:56:30 +0000 (20:56 -0600)]
Taskbar 6.0 changelog
Braden Farmer [Mon, 25 May 2020 04:55:50 +0000 (22:55 -0600)]
Small crash fix
Braden Farmer [Sun, 24 May 2020 19:52:26 +0000 (13:52 -0600)]
Padding tweak
Braden Farmer [Sun, 24 May 2020 19:42:41 +0000 (13:42 -0600)]
String tweaks
Braden Farmer [Sun, 24 May 2020 18:37:13 +0000 (12:37 -0600)]
Implement first-run experience for desktop mode
Braden Farmer [Sun, 24 May 2020 06:14:37 +0000 (00:14 -0600)]
Small fix
Braden Farmer [Sun, 24 May 2020 05:59:01 +0000 (23:59 -0600)]
Begin in-app documentation of desktop mode
Braden Farmer [Sat, 23 May 2020 23:22:04 +0000 (17:22 -0600)]
Fix resetting default dashboard grid size pref
Braden Farmer [Sat, 23 May 2020 22:51:25 +0000 (16:51 -0600)]
Remove string aliases
Braden Farmer [Sat, 23 May 2020 22:46:01 +0000 (16:46 -0600)]
Remove unused import
Braden Farmer [Sat, 23 May 2020 22:19:34 +0000 (16:19 -0600)]
Don't sanitize prefs if they have already been changed in previous app versions
Braden Farmer [Sat, 23 May 2020 20:22:23 +0000 (14:22 -0600)]
Remove notification-related preferences on Android TV
Braden Farmer [Sat, 23 May 2020 18:09:54 +0000 (12:09 -0600)]
Handle recent apps & notification access dialogs on Android TV
Braden Farmer [Sat, 23 May 2020 17:34:02 +0000 (11:34 -0600)]
Refactor permission dialog strings
Braden Farmer [Sat, 23 May 2020 16:52:50 +0000 (10:52 -0600)]
Desktop icon fixes
Braden Farmer [Sat, 23 May 2020 16:52:38 +0000 (10:52 -0600)]
Add preference for enabling notification count in system tray
Braden Farmer [Sat, 23 May 2020 06:42:40 +0000 (00:42 -0600)]
Remove unnecessary annotation
Braden Farmer [Sat, 23 May 2020 06:16:44 +0000 (00:16 -0600)]
Add a notification count indicator to the system tray
Braden Farmer [Fri, 22 May 2020 05:55:30 +0000 (23:55 -0600)]
"Low-density" -> "Recommended"
Braden Farmer [Fri, 22 May 2020 05:19:14 +0000 (23:19 -0600)]
Enforce black navbar when custom desktop mode wallpaper is set
Braden Farmer [Fri, 22 May 2020 05:06:12 +0000 (23:06 -0600)]
Fix janky navbar transition between desktop mode and fullscreen apps
Braden Farmer [Fri, 22 May 2020 04:55:08 +0000 (22:55 -0600)]
Undim screen when showing system UI elements on the primary display
Braden Farmer [Fri, 22 May 2020 04:04:43 +0000 (22:04 -0600)]
Various fixes + string tweaks
Braden Farmer [Thu, 21 May 2020 23:38:42 +0000 (17:38 -0600)]
Revert "Ensure that the primary launcher is always launched in fullscreen"
This reverts commit
6ef566ad34c638ff05416e4ccfde2d1ab970d4f4.