mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Add support to Tapl to recreateTaskbar
Also moved references of "tasbkar_view" to share TASKBAR_RES_ID constant Test: compiles; see follow up CLs Bug: 235986838 Change-Id: I69bcfa975550e567f3daa35af8a810546297d79c
This commit is contained in:
@@ -36,6 +36,7 @@ import android.view.Display;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.launcher3.DeviceProfile;
|
||||
import com.android.launcher3.LauncherAppState;
|
||||
@@ -277,7 +278,8 @@ public class TaskbarManager {
|
||||
* we fully want to destroy an existing taskbar and create a new one.
|
||||
* In other case (folding/unfolding) we don't need to remove and add window.
|
||||
*/
|
||||
private void recreateTaskbar() {
|
||||
@VisibleForTesting
|
||||
public void recreateTaskbar() {
|
||||
DeviceProfile dp = mUserUnlocked ?
|
||||
LauncherAppState.getIDP(mContext).getDeviceProfile(mContext) : null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user