OSDN Git Service

Fixes an issue where the padding to the clock was wrong
authorSelim Cinek <cinek@google.com>
Wed, 12 Jun 2019 23:39:43 +0000 (16:39 -0700)
committerSelim Cinek <cinek@google.com>
Wed, 12 Jun 2019 23:44:11 +0000 (16:44 -0700)
commitb543f846aa2f6a3cafb1607dac1dc0762a92e5aa
treebfe53c46e7bbcf4d75b04c6454a05a6691166671
parentabb9bd35c7ce3c5e629bb5b676ecadf336be5d07
Fixes an issue where the padding to the clock was wrong

Because I moved around where the padding was set and there
was also setting the same padding programmically, we ended
up with double the padding after an event came in that
never went away anymore. This is now fixed.
I also adjusted the paddings slightly to adjust it back to
the spec again, since the calculation was off by 1dp before.

Fixes: 134927633
Test: atest SystemUITests
Change-Id: I67395cb9b7bf54a95ceee51c3384539c4d53578e
packages/SystemUI/res-keyguard/layout/keyguard_presentation.xml
packages/SystemUI/res-keyguard/layout/keyguard_status_view.xml
packages/SystemUI/res-keyguard/values/dimens.xml
packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java