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

Commit 4fcc4906 authored by Jack Yu's avatar Jack Yu
Browse files

Added setIconTint

Test: atest FrameworksTelephonyTests
Bug: 239607619#
Change-Id: If6b3c99c35e4b06c6d6085abe5737583bfc8b665
parent df8fdacf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2132,7 +2132,7 @@ public class SubscriptionManager {
    /**
     * Set SIM icon tint color for subscription ID
     * @param tint the RGB value of icon tint color of the SIM
     * @param subId the unique Subscritpion ID in database
     * @param subId the unique subscription ID in database
     * @return the number of records updated
     * @hide
     */
@@ -2140,7 +2140,7 @@ public class SubscriptionManager {
    public int setIconTint(@ColorInt int tint, int subId) {
        if (VDBG) logd("[setIconTint]+ tint:" + tint + " subId:" + subId);
        return setSubscriptionPropertyHelper(subId, "setIconTint",
                (iSub)-> iSub.setIconTint(tint, subId)
                (iSub)-> iSub.setIconTint(subId, tint)
        );
    }

+2 −2
Original line number Diff line number Diff line
@@ -135,11 +135,11 @@ interface ISub {

    /**
     * Set SIM icon tint color by simInfo index
     * @param tint the icon tint color of the SIM
     * @param subId the unique SubscriptionInfo index in database
     * @param tint the icon tint color of the SIM
     * @return the number of records updated
     */
    int setIconTint(int tint, int subId);
    int setIconTint(int subId, int tint);

    /**
     * Set display name by simInfo index with name source