Fix the tests
Window types changed, need to use a different one Test: runtest systemui Change-Id: Iac2641feb49e54af98ac523363d387647552eb0a
This commit is contained in:
@@ -29,7 +29,7 @@ public class ViewUtils {
|
||||
public static void attachView(View view) {
|
||||
WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
|
||||
LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT,
|
||||
LayoutParams.TYPE_SYSTEM_ALERT,
|
||||
LayoutParams.TYPE_APPLICATION_OVERLAY,
|
||||
0, PixelFormat.TRANSLUCENT);
|
||||
Handler handler = new Handler(Looper.getMainLooper());
|
||||
handler.post(() -> InstrumentationRegistry.getContext()
|
||||
|
||||
Reference in New Issue
Block a user