Merge "Add TYPE_STATUS_BAR_ADDITIONAL to trusted overlay"

This commit is contained in:
Arthur Hung
2021-08-09 14:10:54 +00:00
committed by Android (Google) Code Review

View File

@@ -38,6 +38,7 @@ import static android.view.WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL;
import static android.view.WindowManager.LayoutParams.TYPE_NOTIFICATION_SHADE;
import static android.view.WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY;
import static android.view.WindowManager.LayoutParams.TYPE_STATUS_BAR;
import static android.view.WindowManager.LayoutParams.TYPE_STATUS_BAR_ADDITIONAL;
import static android.view.WindowManager.LayoutParams.TYPE_VOICE_INTERACTION;
import static android.view.WindowManager.LayoutParams.TYPE_WALLPAPER;
@@ -652,6 +653,7 @@ final class InputMonitor {
|| type == TYPE_DOCK_DIVIDER
|| type == TYPE_ACCESSIBILITY_OVERLAY
|| type == TYPE_INPUT_CONSUMER
|| type == TYPE_VOICE_INTERACTION;
|| type == TYPE_VOICE_INTERACTION
|| type == TYPE_STATUS_BAR_ADDITIONAL;
}
}