OSDN Git Service

Use the layout for calculating IME inset.
authorUdam Saini <udam@google.com>
Mon, 22 Feb 2016 22:51:44 +0000 (14:51 -0800)
committerUdam Saini <udam@google.com>
Thu, 3 Mar 2016 22:25:46 +0000 (14:25 -0800)
commit2b7d99782fd7823b47d24bb16c5e51e104290412
treef75b4223a005dcaca85a7dab0fd60ed762be641a
parentd553f4f9a94a16bb19463fb42294212dbc21c09a
Use the layout for calculating IME inset.

We should calculate the offset for the entire layout rather than
just the scroll view. This allows us to not special case the navigation
bar inside SystemBarHelper.setImeInsetView, as the logic before always
assumed the scroll view was passed into setImeInsetView.

bug:27063940
Change-Id: If3f09e1e07ea584097a050b987c1ab3985b4991c
src/com/android/settings/SetupChooseLockPassword.java