summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/precall/externalreceiver/LaunchPreCallActivity.java
diff options
context:
space:
mode:
authorlinyuh <linyuh@google.com>2017-11-22 17:19:06 -0800
committerCopybara-Service <copybara-piper@google.com>2017-11-22 17:22:01 -0800
commitf5e2a62f806f32d5f505f2c1dbc5b99e4a7ce849 (patch)
treedb634a8c4f15f081c637fb85f36f43755a3dee87 /java/com/android/dialer/precall/externalreceiver/LaunchPreCallActivity.java
parent38af651c6e0181957533fc31fca265c09dab05d2 (diff)
Fix the crash caused by DialpadView's OnPreDrawListener.
OnPreDrawListener can be triggered AFTER a device orientation change but BEFORE DialpadView's onDetachedFromWindow() and onFinishInflate() are called, i.e., the listener will attempt to adjust the layout before it is inflated, which results in a crash. This fix is to remove the listener after all keys are adjusted for the first time since no more adjustments will be needed during the rest of DialpadView's lifecycle. Bug: 69665429 Test: DialpadFragmentIntegrationTest PiperOrigin-RevId: 176718488 Change-Id: Iff8a4108c73054a9e76725ef85e2559b90fe5f3e
Diffstat (limited to 'java/com/android/dialer/precall/externalreceiver/LaunchPreCallActivity.java')
0 files changed, 0 insertions, 0 deletions