Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 789a25eb authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Add emergency call button to PUK'd lockscreen.

The user unlocks a PUK-locked SIM via the e-call dialer, so
we absolutely need the button there.

This is the layout portion; it requires change
I6872c3ad135bc34348adafa76e08a3878f1b506f from
frameworks/policies/base.

Bug: 2568732
Change-Id: I8aa0fc2223428ba15a57269ac5a624e74e91a5f3
parent 6e52b5d7
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -152,5 +152,19 @@
        android:layout_marginBottom="80dip"
        />

    <!-- emergency call button shown when sim is PUKd and tab_selector is
         hidden -->
    <Button
        android:id="@+id/emergencyCallButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:drawableLeft="@drawable/ic_emergency"
        android:layout_centerInParent="true"
        android:layout_alignParentBottom="true"
        android:layout_marginBottom="80dip"
        style="@style/Widget.Button.Transparent"
        android:drawablePadding="8dip"
        />

</RelativeLayout>
+12 −0
Original line number Diff line number Diff line
@@ -153,4 +153,16 @@
        android:layout_marginRight="80dip"
        />

    <!-- emergency call button shown when sim is PUKd and tab_selector is
         hidden -->
    <Button
        android:id="@+id/emergencyCallButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:drawableLeft="@drawable/ic_emergency"
        style="@style/Widget.Button.Transparent"
        android:drawablePadding="8dip"
        android:layout_marginRight="80dip"
        />

</LinearLayout>