Touch is not working
Problem: {
1. Sometime ActivityRecordInputSink does not move to the same display as like it's parent ActivityRecord
2. Due to which touch events does not work for the device
}
Solution: {
1. During onDisplayChanged update the ActivityRecordInputSink's inputHandle's display ID
}
Bug: 268301238
Signed-off-by: pioush.kumar-IN009423 <pioush.kumar@oppo.com>
Change-Id: Ia0361fd98e9ff7128153ff664825fd62c5ca6258
This commit is contained in:
committed by
Linus Tufvesson
parent
c1992841ee
commit
4861a80205
@@ -92,6 +92,7 @@ class ActivityRecordInputSink {
|
||||
} else {
|
||||
mInputWindowHandleWrapper.setInputConfigMasked(0, InputConfig.NOT_TOUCHABLE);
|
||||
}
|
||||
mInputWindowHandleWrapper.setDisplayId(mActivityRecord.getDisplayId());
|
||||
return mInputWindowHandleWrapper;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user