Loading packages/SystemUI/res/layout/ongoing_call_chip.xml +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ android:background="@drawable/ongoing_call_chip_bg" android:paddingStart="@dimen/ongoing_call_chip_side_padding" android:paddingEnd="@dimen/ongoing_call_chip_side_padding" android:contentDescription="@string/ongoing_phone_call_content_description" > <ImageView Loading packages/SystemUI/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -2968,4 +2968,6 @@ <!-- Message shown to suggest authentication using [CHAR LIMIT=60]--> <string name="keyguard_try_fingerprint">Use fingerprint to open</string> <!-- Content description for a chip in the status bar showing that the user is currently on a phone call. [CHAR LIMIT=NONE] --> <string name="ongoing_phone_call_content_description">Ongoing phone call</string> </resources> packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/OngoingCallChronometer.kt +4 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,7 @@ class OngoingCallChronometer @JvmOverloads constructor( // call starts. minimumTextWidth = 0 shouldHideText = false visibility = VISIBLE super.setBase(base) } Loading @@ -76,6 +77,9 @@ class OngoingCallChronometer @JvmOverloads constructor( if (desiredTextWidth > enforcedTextWidth) { shouldHideText = true // Changing visibility ensures that the content description is not read aloud when the // time isn't displayed. visibility = GONE setMeasuredDimension(0, 0) } else { // It's possible that the current text could fit in a smaller width, but we don't want Loading Loading
packages/SystemUI/res/layout/ongoing_call_chip.xml +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ android:background="@drawable/ongoing_call_chip_bg" android:paddingStart="@dimen/ongoing_call_chip_side_padding" android:paddingEnd="@dimen/ongoing_call_chip_side_padding" android:contentDescription="@string/ongoing_phone_call_content_description" > <ImageView Loading
packages/SystemUI/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -2968,4 +2968,6 @@ <!-- Message shown to suggest authentication using [CHAR LIMIT=60]--> <string name="keyguard_try_fingerprint">Use fingerprint to open</string> <!-- Content description for a chip in the status bar showing that the user is currently on a phone call. [CHAR LIMIT=NONE] --> <string name="ongoing_phone_call_content_description">Ongoing phone call</string> </resources>
packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/OngoingCallChronometer.kt +4 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,7 @@ class OngoingCallChronometer @JvmOverloads constructor( // call starts. minimumTextWidth = 0 shouldHideText = false visibility = VISIBLE super.setBase(base) } Loading @@ -76,6 +77,9 @@ class OngoingCallChronometer @JvmOverloads constructor( if (desiredTextWidth > enforcedTextWidth) { shouldHideText = true // Changing visibility ensures that the content description is not read aloud when the // time isn't displayed. visibility = GONE setMeasuredDimension(0, 0) } else { // It's possible that the current text could fit in a smaller width, but we don't want Loading