OSDN Git Service

android-x86/packages-apps-Taskbar.git
4 years agoMake GlobalHelper account for multiple instances of MainActivity
Braden Farmer [Sun, 31 May 2020 15:07:00 +0000 (09:07 -0600)]
Make GlobalHelper account for multiple instances of MainActivity

4 years agoRename AppHelper to GlobalHelper
Braden Farmer [Sun, 31 May 2020 14:40:52 +0000 (08:40 -0600)]
Rename AppHelper to GlobalHelper

4 years agoBug fixes
Braden Farmer [Sun, 31 May 2020 06:49:30 +0000 (00:49 -0600)]
Bug fixes

4 years agoDependency updates
Braden Farmer [Sun, 31 May 2020 05:40:30 +0000 (23:40 -0600)]
Dependency updates

4 years agoMove helpers into their own package
Braden Farmer [Sun, 31 May 2020 05:34:47 +0000 (23:34 -0600)]
Move helpers into their own package

4 years agoPrevent DimScreenActivity from starting while on MainActivity
Braden Farmer [Sun, 31 May 2020 05:19:05 +0000 (23:19 -0600)]
Prevent DimScreenActivity from starting while on MainActivity

4 years agoUpdate CHANGELOG.md
Braden Farmer [Sun, 31 May 2020 05:01:24 +0000 (23:01 -0600)]
Update CHANGELOG.md

4 years agoCouple of bug fixes
Braden Farmer [Sun, 31 May 2020 04:26:17 +0000 (22:26 -0600)]
Couple of bug fixes

4 years agoBetter method of allowing reflection at runtime
Braden Farmer [Sun, 31 May 2020 02:47:56 +0000 (20:47 -0600)]
Better method of allowing reflection at runtime

4 years agoProperly fix rawtypes suppressions
Braden Farmer [Sun, 31 May 2020 01:50:08 +0000 (19:50 -0600)]
Properly fix rawtypes suppressions

4 years agoMove reflection removal code
Braden Farmer [Sat, 30 May 2020 23:34:44 +0000 (17:34 -0600)]
Move reflection removal code

4 years agoUpdate README.md
Braden Farmer [Sat, 30 May 2020 21:19:12 +0000 (15:19 -0600)]
Update README.md

4 years agoUpdate libtaskbar readme
Braden Farmer [Sat, 30 May 2020 17:55:54 +0000 (11:55 -0600)]
Update libtaskbar readme

4 years agoDecouple the changelog version from the version code
Braden Farmer [Sat, 30 May 2020 17:07:53 +0000 (11:07 -0600)]
Decouple the changelog version from the version code

4 years agoFix libtaskbar compilation
Braden Farmer [Sat, 30 May 2020 05:03:16 +0000 (23:03 -0600)]
Fix libtaskbar compilation

4 years agoUpdate dependencies
Braden Farmer [Sat, 30 May 2020 04:56:00 +0000 (22:56 -0600)]
Update dependencies

4 years agoShow "see what's new" snackbar if a new changelog is available
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

4 years agoDisallow building the libtaskbar demo app by default
Braden Farmer [Fri, 29 May 2020 15:06:44 +0000 (09:06 -0600)]
Disallow building the libtaskbar demo app by default

4 years agoCrash fix for notification listener
Braden Farmer [Fri, 29 May 2020 06:29:14 +0000 (00:29 -0600)]
Crash fix for notification listener

4 years agoAdd help button documentation for desktop mode
Braden Farmer [Fri, 29 May 2020 06:29:00 +0000 (00:29 -0600)]
Add help button documentation for desktop mode

4 years agoMerge pull request #122 from utzcoz/master
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

4 years agoExtract method to filter foreground app in TaskbarController
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>
4 years agoExtract method to check whether to need to reverse order in TaskbarController
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>
4 years agoMore changelog tweaks
Braden Farmer [Thu, 28 May 2020 03:02:03 +0000 (21:02 -0600)]
More changelog tweaks

4 years agoChangelog tweaks
Braden Farmer [Thu, 28 May 2020 02:59:59 +0000 (20:59 -0600)]
Changelog tweaks

4 years agoTaskbar 6.0 changelog
Braden Farmer [Thu, 28 May 2020 02:56:30 +0000 (20:56 -0600)]
Taskbar 6.0 changelog

4 years agoSmall crash fix
Braden Farmer [Mon, 25 May 2020 04:55:50 +0000 (22:55 -0600)]
Small crash fix

4 years agoPadding tweak
Braden Farmer [Sun, 24 May 2020 19:52:26 +0000 (13:52 -0600)]
Padding tweak

4 years agoString tweaks
Braden Farmer [Sun, 24 May 2020 19:42:41 +0000 (13:42 -0600)]
String tweaks

4 years agoImplement first-run experience for desktop mode
Braden Farmer [Sun, 24 May 2020 18:37:13 +0000 (12:37 -0600)]
Implement first-run experience for desktop mode

4 years agoSmall fix
Braden Farmer [Sun, 24 May 2020 06:14:37 +0000 (00:14 -0600)]
Small fix

4 years agoBegin in-app documentation of desktop mode
Braden Farmer [Sun, 24 May 2020 05:59:01 +0000 (23:59 -0600)]
Begin in-app documentation of desktop mode

4 years agoFix resetting default dashboard grid size pref
Braden Farmer [Sat, 23 May 2020 23:22:04 +0000 (17:22 -0600)]
Fix resetting default dashboard grid size pref

4 years agoRemove string aliases
Braden Farmer [Sat, 23 May 2020 22:51:25 +0000 (16:51 -0600)]
Remove string aliases

4 years agoRemove unused import
Braden Farmer [Sat, 23 May 2020 22:46:01 +0000 (16:46 -0600)]
Remove unused import

4 years agoDon't sanitize prefs if they have already been changed in previous app versions
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

4 years agoRemove notification-related preferences on Android TV
Braden Farmer [Sat, 23 May 2020 20:22:23 +0000 (14:22 -0600)]
Remove notification-related preferences on Android TV

4 years agoHandle recent apps & notification access dialogs 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

4 years agoRefactor permission dialog strings
Braden Farmer [Sat, 23 May 2020 17:34:02 +0000 (11:34 -0600)]
Refactor permission dialog strings

4 years agoDesktop icon fixes
Braden Farmer [Sat, 23 May 2020 16:52:50 +0000 (10:52 -0600)]
Desktop icon fixes

4 years agoAdd preference for enabling notification count in system tray
Braden Farmer [Sat, 23 May 2020 16:52:38 +0000 (10:52 -0600)]
Add preference for enabling notification count in system tray

4 years agoRemove unnecessary annotation
Braden Farmer [Sat, 23 May 2020 06:42:40 +0000 (00:42 -0600)]
Remove unnecessary annotation

4 years agoAdd a notification count indicator to the system tray
Braden Farmer [Sat, 23 May 2020 06:16:44 +0000 (00:16 -0600)]
Add a notification count indicator to the system tray

4 years ago"Low-density" -> "Recommended"
Braden Farmer [Fri, 22 May 2020 05:55:30 +0000 (23:55 -0600)]
"Low-density" -> "Recommended"

4 years agoEnforce black navbar when custom desktop mode wallpaper is set
Braden Farmer [Fri, 22 May 2020 05:19:14 +0000 (23:19 -0600)]
Enforce black navbar when custom desktop mode wallpaper is set

4 years agoFix janky navbar transition between desktop mode and fullscreen apps
Braden Farmer [Fri, 22 May 2020 05:06:12 +0000 (23:06 -0600)]
Fix janky navbar transition between desktop mode and fullscreen apps

4 years agoUndim screen when showing system UI elements on the primary display
Braden Farmer [Fri, 22 May 2020 04:55:08 +0000 (22:55 -0600)]
Undim screen when showing system UI elements on the primary display

4 years agoVarious fixes + string tweaks
Braden Farmer [Fri, 22 May 2020 04:04:43 +0000 (22:04 -0600)]
Various fixes + string tweaks

4 years agoRevert "Ensure that the primary launcher is always launched in fullscreen"
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.

4 years agoAdd support for removing custom desktop wallpaper
Braden Farmer [Thu, 21 May 2020 20:44:29 +0000 (14:44 -0600)]
Add support for removing custom desktop wallpaper

4 years agoDesktop wallpaper fixes
Braden Farmer [Thu, 21 May 2020 20:16:19 +0000 (14:16 -0600)]
Desktop wallpaper fixes

4 years agoRemove READ_EXTERNAL_STORAGE permission in favor of enabling desktop mode wallpaper...
Braden Farmer [Thu, 21 May 2020 19:57:46 +0000 (13:57 -0600)]
Remove READ_EXTERNAL_STORAGE permission in favor of enabling desktop mode wallpaper implementation on Chrome OS

4 years agoBegin implementing custom wallpaper for desktop mode + ContextMenuActivity cleanup
Braden Farmer [Thu, 21 May 2020 18:03:53 +0000 (12:03 -0600)]
Begin implementing custom wallpaper for desktop mode + ContextMenuActivity cleanup

4 years agoEnsure that the primary launcher is always launched in fullscreen
Braden Farmer [Wed, 20 May 2020 22:29:27 +0000 (16:29 -0600)]
Ensure that the primary launcher is always launched in fullscreen

4 years agoCouple of changes for consistency
Braden Farmer [Wed, 20 May 2020 22:21:09 +0000 (16:21 -0600)]
Couple of changes for consistency

4 years agoMerge pull request #120 from SunshinyLyq/master
Braden Farmer [Wed, 20 May 2020 22:18:02 +0000 (16:18 -0600)]
Merge pull request #120 from SunshinyLyq/master

add intent extra key contants

4 years agoadd intent extra key contants
SunshinyLyq [Wed, 20 May 2020 13:00:37 +0000 (21:00 +0800)]
add intent extra key contants

Test: ./gradlew test

4 years agoGenericize logic for importing / exporting images
Braden Farmer [Wed, 20 May 2020 05:48:30 +0000 (23:48 -0600)]
Genericize logic for importing / exporting images

4 years agoAdd option to lock and dim phone screen while desktop mode is active
Braden Farmer [Wed, 20 May 2020 05:21:23 +0000 (23:21 -0600)]
Add option to lock and dim phone screen while desktop mode is active

4 years agoAdd missing copyright headers to libtaskbar demo app
Braden Farmer [Tue, 19 May 2020 16:13:45 +0000 (10:13 -0600)]
Add missing copyright headers to libtaskbar demo app

4 years agoOpen usage access settings screen in new window from HomeActivityDelegate
Braden Farmer [Tue, 19 May 2020 05:54:19 +0000 (23:54 -0600)]
Open usage access settings screen in new window from HomeActivityDelegate

4 years agoStart freeform hack after granting system alert window permission via HomeActivityDel...
Braden Farmer [Tue, 19 May 2020 05:48:50 +0000 (23:48 -0600)]
Start freeform hack after granting system alert window permission via HomeActivityDelegate

4 years agoSmall tweak to status bar & navbar size logic
Braden Farmer [Mon, 18 May 2020 06:27:40 +0000 (00:27 -0600)]
Small tweak to status bar & navbar size logic

4 years agoHandle certain config changes in SecondaryHomeActivity to work around a bug with...
Braden Farmer [Mon, 18 May 2020 04:08:31 +0000 (22:08 -0600)]
Handle certain config changes in SecondaryHomeActivity to work around a bug with permission dialogs

4 years agoFix window sizes in desktop mode
Braden Farmer [Sun, 17 May 2020 20:30:35 +0000 (14:30 -0600)]
Fix window sizes in desktop mode

4 years agoSwitch most instances of getApplicationContext() over to U.getDisplayContext()
Braden Farmer [Sun, 17 May 2020 20:05:30 +0000 (14:05 -0600)]
Switch most instances of getApplicationContext() over to U.getDisplayContext()

4 years agoFix showing toasts on external display
Braden Farmer [Sun, 17 May 2020 17:54:05 +0000 (11:54 -0600)]
Fix showing toasts on external display

4 years agoAlways open Taskbar settings in new window while on home screen
Braden Farmer [Sun, 17 May 2020 17:31:20 +0000 (11:31 -0600)]
Always open Taskbar settings in new window while on home screen

4 years agoChange drawDashboard() method name to drawDashboardButton()
Braden Farmer [Sun, 17 May 2020 05:45:36 +0000 (23:45 -0600)]
Change drawDashboard() method name to drawDashboardButton()

4 years agoMerge pull request #119 from utzcoz/master
Braden Farmer [Sun, 17 May 2020 05:38:21 +0000 (23:38 -0600)]
Merge pull request #119 from utzcoz/master

Split TaskbarController large methods part04

4 years agoFix failing tests
Braden Farmer [Sun, 17 May 2020 05:36:07 +0000 (23:36 -0600)]
Fix failing tests

4 years agoExtract method to calculate scroll view params in TaskbarController
utzcoz [Sat, 16 May 2020 06:46:23 +0000 (14:46 +0800)]
Extract method to calculate scroll view params in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract method to scroll taskbar in TaskbarController
utzcoz [Sat, 16 May 2020 05:50:44 +0000 (13:50 +0800)]
Extract method to scroll taskbar in TaskbarController

The origin logic calculates the scroll location based on whether the
taskbar position is vertical or not, so new method simplifies the switch
checking with TaskbarPosition.isVertical.

The robolectric's ShadowScrollView doesn't support scrollTo correctly,
so we add a new TaskbarShadowScrollView to support it.

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoRun libtaskbar inside a separate process from the host application
Braden Farmer [Sat, 16 May 2020 05:38:02 +0000 (23:38 -0600)]
Run libtaskbar inside a separate process from the host application

4 years agoFix handling of default preferences
Braden Farmer [Sat, 16 May 2020 04:59:39 +0000 (22:59 -0600)]
Fix handling of default preferences

4 years agoSmall tweak allowing the Taskbar to display its full width instantly once it's started
Braden Farmer [Sat, 16 May 2020 04:34:06 +0000 (22:34 -0600)]
Small tweak allowing the Taskbar to display its full width instantly once it's started

4 years agoShow more toasts when performing actions that can't be done on secondary displays
Braden Farmer [Sat, 16 May 2020 04:05:24 +0000 (22:05 -0600)]
Show more toasts when performing actions that can't be done on secondary displays

4 years agoMore fixes for dashboard + desktop mode
Braden Farmer [Sat, 16 May 2020 03:59:04 +0000 (21:59 -0600)]
More fixes for dashboard + desktop mode

4 years agoCouple more fixes
Braden Farmer [Fri, 15 May 2020 18:21:49 +0000 (12:21 -0600)]
Couple more fixes

4 years agoFew tweaks + fixes for desktop mode
Braden Farmer [Fri, 15 May 2020 17:58:26 +0000 (11:58 -0600)]
Few tweaks + fixes for desktop mode

4 years agoChange SecondScreen pref description when desktop mode is supported
Braden Farmer [Fri, 15 May 2020 10:04:11 +0000 (04:04 -0600)]
Change SecondScreen pref description when desktop mode is supported

4 years agoSmall typo fix
Braden Farmer [Fri, 15 May 2020 09:54:29 +0000 (03:54 -0600)]
Small typo fix

4 years agoMerge pull request #118 from utzcoz/master
Braden Farmer [Fri, 15 May 2020 09:51:47 +0000 (03:51 -0600)]
Merge pull request #118 from utzcoz/master

Split TaskbarController large methods part03

4 years agoExtract method to initialize dashboard in TaskbarController
utzcoz [Fri, 15 May 2020 07:59:28 +0000 (15:59 +0800)]
Extract method to initialize dashboard in TaskbarController

There is a behavior change, setting dashboard button to visible when
initializing dashboard with dashboard enabled.

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract PREF_RECENTS_AMOUNT values to constant
utzcoz [Fri, 15 May 2020 07:21:29 +0000 (15:21 +0800)]
Extract PREF_RECENTS_AMOUNT values to constant

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract method to initialize recents serach interval in TaskbarController
utzcoz [Fri, 15 May 2020 06:45:44 +0000 (14:45 +0800)]
Extract method to initialize recents serach interval in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoSmall layout tweak to libtaskbar demo app
Braden Farmer [Fri, 15 May 2020 06:02:10 +0000 (00:02 -0600)]
Small layout tweak to libtaskbar demo app

4 years agoMerge pull request #116 from utzcoz/master
Braden Farmer [Fri, 15 May 2020 05:57:11 +0000 (23:57 -0600)]
Merge pull request #116 from utzcoz/master

Split TaskbarController large methods part02

4 years agoExtract methods to initialize systray in TaskbarController
utzcoz [Fri, 15 May 2020 04:00:09 +0000 (12:00 +0800)]
Extract methods to initialize systray in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoExtract methods to initialize navbar buttons in TaskbarController
utzcoz [Fri, 15 May 2020 03:12:10 +0000 (11:12 +0800)]
Extract methods to initialize navbar buttons in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>
4 years agoUpdate README.md
Braden Farmer [Thu, 14 May 2020 17:58:27 +0000 (11:58 -0600)]
Update README.md

4 years agoMerge pull request #115 from farmerbb/proposed_changes
Braden Farmer [Thu, 14 May 2020 17:55:05 +0000 (11:55 -0600)]
Merge pull request #115 from farmerbb/proposed_changes

Proposed changes to TaskbarControllerTest

4 years agoAdd a very simple MockUIHost so that TaskbarControllerTest can call the onCreateHost...
Braden Farmer [Thu, 14 May 2020 17:44:38 +0000 (11:44 -0600)]
Add a very simple MockUIHost so that TaskbarControllerTest can call the onCreateHost() and onDestroyHost() lifecycle methods

4 years agoAdd returns
Braden Farmer [Thu, 14 May 2020 16:33:29 +0000 (10:33 -0600)]
Add returns

4 years agoProposed changes to TaskbarControllerTest
Braden Farmer [Thu, 14 May 2020 06:21:32 +0000 (00:21 -0600)]
Proposed changes to TaskbarControllerTest

4 years agoFix tests
Braden Farmer [Thu, 14 May 2020 05:44:13 +0000 (23:44 -0600)]
Fix tests

4 years agoMerge pull request #114 from utzcoz/master
Braden Farmer [Thu, 14 May 2020 05:31:37 +0000 (23:31 -0600)]
Merge pull request #114 from utzcoz/master

Split TasbarController large methods part01

4 years agoStore runnables in a POJO instead of creating duplicates for permission dialogs
Braden Farmer [Wed, 13 May 2020 20:52:56 +0000 (14:52 -0600)]
Store runnables in a POJO instead of creating duplicates for permission dialogs

4 years agoMerge pull request #112 from utzcoz/master
Braden Farmer [Wed, 13 May 2020 16:00:59 +0000 (10:00 -0600)]
Merge pull request #112 from utzcoz/master

Fix tests of UTest

4 years agoExtract methods to initialize taskbar layout in TaskbarController
utzcoz [Wed, 13 May 2020 12:19:43 +0000 (20:19 +0800)]
Extract methods to initialize taskbar layout in TaskbarController

Test: ./gradlew test

Signed-off-by: utzcoz <utzcoz@outlook.com>