mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Merge "Cleanup taskbar+assistant interactions" into tm-qpr-dev
This commit is contained in:
@@ -627,7 +627,9 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
|
||||
|
||||
/** Adds the given view to WindowManager with the provided LayoutParams (creates new window). */
|
||||
public void addWindowView(View view, WindowManager.LayoutParams windowLayoutParams) {
|
||||
mWindowManager.addView(view, windowLayoutParams);
|
||||
if (!view.isAttachedToWindow()) {
|
||||
mWindowManager.addView(view, windowLayoutParams);
|
||||
}
|
||||
}
|
||||
|
||||
/** Removes the given view from WindowManager. See {@link #addWindowView}. */
|
||||
|
||||
Reference in New Issue
Block a user