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

Skip to content
Commit e6af10f8 authored by Weijie Wang's avatar Weijie Wang Committed by Mohammed Althaf Thayyil
Browse files

SystemUI: Add support for displaying Volte icon



Aex edits:
- update ImsManager code for S
- Port to S

Squashed commit of the following:

commit a4fdfbdf00e2087a36644532232c380558315c72
Author: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Date:   Sun Dec 16 06:05:09 2018 -0500

    base: Fix padding for VoLTE icon

    Change-Id: I546ef623d79e648c873354a5b2501e3093a6a729
Signed-off-by: default avatarJosh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit 4998fc6b3069be8288bcd5192cecbb51263b1ef1
Author: theimpulson <aayushgupta219@gmail.com>
Date:   Sun Sep 29 06:10:42 2019 +0000

    SystemUI: Use VoLTE icon from v6.x

Signed-off-by: default avatartheimpulson <aayushgupta219@gmail.com>
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit 3588c1360cf86c2e2d70b02df079b33a6959b287
Author: Steven Laver <lavers@google.com>
Date:   Tue Feb 18 12:56:05 2020 -0800

    MobileSignalController fix corresponding to upstream FeatureConnector change

    FeatureConnector was changed upstream, in
    platform/frameworks/opt/net/ims:c514e52ea6b0c89ae8f5e2ab8666585ed815900a%5E%21/#F0.
    Adjust code in MobileSignalController to match.

    Change-Id: Ie21bf189b70e4e16eb9f31e8b85eb6bc0c9f5f20
Signed-off-by: default avatarDennySPb <dennyspb@gmail.com>
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit 914b01376f73e92ca61148e40623779cef044dad
Author: Daniel Norman <danielnorman@google.com>
Date:   Fri Nov 1 15:59:48 2019 -0700

    ImsManager.Connector became FeatureConnector.

    See https://r.android.com/1132314



    Bug: 144056746
    Change-Id: I63ac8620390963583bedbd1bcd469890bdb0883a
Signed-off-by: default avatarDennySPb <dennyspb@gmail.com>
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit 8b709b6908142e8bfaaee5a0a3a82e05591c77de
Author: Weijie Wang <weijiew@codeaurora.org>
Date:   Thu Apr 25 14:09:40 2019 +0800

    SystemUI: Enhancement for volte icon

    SystemUI uses callback to get ims capabilities and then check whether
    ims is registered. If low layer updates ims registered later than
    capabilities, SystemUI wil miss the ims registered value.

    In this case, SystemUI monitors both ims capabilities and registered.

    Change-Id: I87400dd4a726e17d31b2b4627e45456e1a44d289
    CRs-Fixed: 2436991
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit 805030dc108414c4949803ee4a453e9a22c09cde
Author: Qimeng Pan <qimengp@codeaurora.org>
Date:   Fri Dec 14 13:42:28 2018 +0800

    SystemUI: Query IMS state after CapabilityCallback is regisered

    Query IMS state after CapabilityCallback is regisered
    CRs-Fixed: 2364714

    Change-Id: I9a527840ab14844f683a5a86602b54ce787581f4
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit 3baf7d54174c1a820a8a894314d767cad1dcbdb9
Author: Weijie Wang <weijiew@codeaurora.org>
Date:   Wed Oct 17 16:46:28 2018 +0800

    SystemUI: Fix HD icon missing

    When SIM is changed to OOS, IMS Connection is closed and
    all the active callbacks are removed, so SystemUI can not
    get the IMS registration messages after that.

    Replace ImsRegistrationImplBase.Callback with
    ImsFeature.CapabilityCallback,
    Register the callback when IMS connection is available.

    Change-Id: Ic4a8a39659413d40fc280f27fa734984f3fc1499
    CRs-Fixed: 2334601
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit c9633c59b06032950d9dc7e7549e5d1f1e9ecbfc
Author: Bill Peckham <bpeckham@google.com>
Date:   Fri Nov 2 16:46:03 2018 -0700

    Adapt to IMS registration changes.

    The upstream change
    https://keystone-qcom.googlesource.com/platform/frameworks/base/+/941c0a5cfd5cdfe8a19c2928486fab9efa489ada


    modified the class to use when registering with ImsManager from
    android.telephony.ims.stub.ImsRegistrationImplBase.Callback to
    android.telephony.ims.ImsMmTelManager.RegistrationCallback. This keystone
    change adapts a Qualcomm addition to the upstream change.

    Change-Id: Ib93bb72797d5f87d35acd16156fc2aa2a073df4a
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit e4857ae2061def850678b4fe84ed8e03a741580e
Author: Adarsh-MR <adarshmr1998@gmail.com>
Date:   Fri Oct 19 11:51:38 2018 +0000

    Fix VOLTE icon color on Light statusbar

    Change-Id: I96803c61311e8fafe8a395c0afe03c9a33d07feb
Signed-off-by: default avatarAdarsh-MR <adarshmr1998@gmail.com>
Signed-off-by: default avatarJosh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit 5813a78294723920e99daf346b08dc1b3959073a
Author: Weijie Wang <weijiew@codeaurora.org>
Date:   Tue Sep 11 18:02:21 2018 +0800

    SystemUI: Refactor the feature of volte icon

    1. Move volte state to MobileState
    2. Notify UI to update only when it is necessary

    Change-Id: I80572f7db7a3839b7261dceb625b358039799959
    CRs-Fixed: 2318167
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit fa0a411cfbcc147fc781df59e1a4110adc94c2fb
Author: Weijie Wang <weijiew@codeaurora.org>
Date:   Tue Aug 28 14:51:58 2018 +0800

    SystemUI: Fix volte icon doesn't update in real time

    SystemUI will clean and reinitialize the subscripiton state
    when active subscripitons are chagned, but telephony doesn't
    report the ims registration state if it is not chagned.

    When two sims are both registered on ims, hotswap sim1.
    In this case, the volte icon of sim2 will not be updated in time

    Now we query the ims registration state first when reinitialize
    the subscripiton state; we also query the ims registration state
    when receiveing ImsRegistrationImplBase.Callback

    Change-Id: Ie12ca7c1e82eb2dcae933d5fb8c93937c5e1a050
    CRs-Fixed: 2304136
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

commit a8b9599ca985ec1c52c5127901b5a486cf5fd71f
Author: Weijie Wang <weijiew@codeaurora.org>
Date:   Fri Jun 29 17:54:25 2018 +0800

    SystemUI: Add new configuration for displaying Volte icon

    Add new configuration for displaying Volte icon
    Delete some unused code

    Change-Id: Idd583ed807b2daad794598c17496bbc99b81a00d
    CRs-Fixed: 2284782
Signed-off-by: default avatarSagarMakhar <sagarmakhar@gmail.com>

Change-Id: I96b4af365cf2efd685cd3ec6c89532214921ccfe
Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>

fixes

SystemUI: Fix QS expand lag when VoLTE icon are enabled

Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
parent 5e637c3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment