mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Add Tests for work profile toggle
+ Fix minor style issues Bug: 140099753 Bug: 112899690 Test: Manual Change-Id: I1257560be79748abe54a75a74d93caa4390943b5
This commit is contained in:
@@ -119,6 +119,13 @@ public class WorkFooterContainer extends LinearLayout implements Insettable {
|
||||
mWorkModeSwitch.refresh();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns work mode switch
|
||||
*/
|
||||
public WorkModeSwitch getWorkModeSwitch() {
|
||||
return mWorkModeSwitch;
|
||||
}
|
||||
|
||||
private boolean shouldShowWorkFooter() {
|
||||
Launcher launcher = Launcher.getLauncher(getContext());
|
||||
return Utilities.ATLEAST_P && (hasShortcutsPermission(launcher)
|
||||
|
||||
Reference in New Issue
Block a user