OSDN Git Service

RootViewImpl: Fix measure size hint for WRAP_CONTENT windows
authorAdrian Roos <roosa@google.com>
Fri, 31 May 2019 12:26:28 +0000 (14:26 +0200)
committerAdrian Roos <roosa@google.com>
Fri, 31 May 2019 12:26:35 +0000 (14:26 +0200)
commitc18c6da44185ce4a8b387dc367181781834cfc5f
treee8da970f86c0ce0c981d864f7227ae603ed5bbaf
parent2cf040d6024c5e056c2ceba899e9ecdd3393f897
RootViewImpl: Fix measure size hint for WRAP_CONTENT windows

Fixes an issue where we would measure WRAP_CONTENT windows inconsistently
in the measure passes before and after relayoutWindow.

Fixes: 119839070
Bug: 73813813
Change-Id: I376e416d648f31a0dedecd6a70b476c3bf82b8b0
Test: Install test case app from 119839070, verify dialog is correctly laid out.
core/java/android/view/ViewRootImpl.java