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

Commit 3b19d7aa authored by Chaitanya Saggurthi's avatar Chaitanya Saggurthi Committed by Steve Kondik
Browse files

Telephony(MSIM): MultiSim support for PIN/PUK & Operator Name.

- Add CarrierText, SimPinView and SimPukView classes for MSIM.
  Add support to Display Multiple operator name.
  Add Support for Multiple PIN/PUK Lock screens.
  Overload few Keyguard methods to take sub info.

Add keyguard simpin/simpuk RTL-ization
 -Add support for SIM PIN and SIM PUK keyboards to keep the
  keys in the same position for all languages.

Add DETECTED state and PIN/PUK retry count.
 - Add App state DETECTED in the IccCardConstants.State enum.
   Modified logic for allowing PIN cancel based on number of
   cards configured/activated instead of number of cards present.
 - Add method in ITelephonyMSim.aidl to retrieve PIN1RetryCount.
   Display Attempts remaining in PIN/PUK lockscreen UI.
 - Clean up KeyguardUpdateMonitorCallback and MSimCarrierText by
   removing Initialize method from Callback.

Change-Id: I500129a5dc09adcb2cd8eb664d30ae2e8bad2642
(cherry picked from commit 13545ca99ffd932d9d04a94fb20f9669845b6f74)
(cherry picked from commit 1d7a713e73d4bd1964f62f8ae38852074bc0a9ad)
parent cf18123a
Loading
Loading
Loading
Loading
+573 B
Loading image diff...
+573 B
Loading image diff...
+573 B
Loading image diff...
+573 B
Loading image diff...
+9 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
** Not a Contribution.
** Copyright 2012, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License")
@@ -28,6 +30,13 @@
    android:layout_alignParentBottom="true"
    android:clickable="true">

    <!-- Used only for Multi Sim case -->
    <ViewStub android:id="@+id/stub_msim_carrier_text"
        android:inflatedId="@+id/msim_keyguard_carrier_area"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout="@layout/msim_keyguard_carrier_area" />

    <com.android.keyguard.CarrierText
        android:id="@+id/carrier_text"
        android:layout_width="wrap_content"
Loading