OSDN Git Service

Move Emergency call button
authorAnamika Singh <anamika.singh@mediatek.com>
Wed, 9 Oct 2019 12:36:41 +0000 (20:36 +0800)
committerJeiFeng Lee <linger.lee@mediatek.com>
Mon, 14 Oct 2019 07:20:15 +0000 (07:20 +0000)
This is google issue because in Q DecorView (base of CryptKeeper view)
has added Navigation bar forcefully due to which Emergency call button
was hidden on CryptKeeper view.
Made changes to shift ECC button above navigation bar.
Hence it will show just below CryptKeeper password entry view pattern/pin/password).

Bug: 142626673
Test: Manual

Change-Id: If60fad3936bc67adcf26019bdf16975b5706be83

res/layout/crypt_keeper_emergency_button.xml

index 0b6f810..6efcf5a 100644 (file)
@@ -24,8 +24,7 @@
     android:layout_width="match_parent"
     android:layout_height="0dp"
     android:layout_weight="1"
-    android:orientation="vertical"
-    android:gravity="bottom">
+    android:orientation="vertical">
     <Button
         android:id="@+id/emergencyCallButton"
         android:layout_width="wrap_content"