Merge "Fix navigation input consumer not working when first window is invisible"
This commit is contained in:
@@ -520,7 +520,8 @@ final class InputMonitor {
|
||||
}
|
||||
|
||||
if (mAddNavInputConsumerHandle) {
|
||||
mNavInputConsumer.show(mInputTransaction, w);
|
||||
// We set the layer to z=MAX-1 so that it's always on top.
|
||||
mNavInputConsumer.show(mInputTransaction, Integer.MAX_VALUE - 1);
|
||||
mAddNavInputConsumerHandle = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user