Add emergency call buttons to the work challenge screens in the case of

managed subscription for work telephony

Test: manually tested for now

Bug: b/258631630
Change-Id: I700d0408e3ffa86a595072b1a4aad62bac33b01d
This commit is contained in:
Oli Thompson
2023-01-16 17:40:42 +00:00
parent 96e6398e52
commit cd3bbc6162
10 changed files with 137 additions and 0 deletions

View File

@@ -3256,6 +3256,8 @@
<!-- Security & location settings screen, change unlock pattern screen instruction if user
draws incorrect pattern [CHAR LIMIT=30] -->
<string name="lockpattern_need_to_unlock_wrong">Wrong pattern</string>
<!-- Work challenge screen, this string is the label for an emergency call button, which opens the personal safety app to allow the user to make an emergency call. [CHAR LIMIT=20] -->
<string name="work_challenge_emergency_button_text">Emergency</string>
<!-- Lock Pattern settings -->
<!-- Security & location settings screen, header -->

View File

@@ -406,6 +406,17 @@
<item name="android:layout_gravity">start|top</item>
</style>
<style name="WorkChallengeEmergencyButtonStyle">
<item name="android:background">@drawable/work_challenge_emergency_button_background</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:outlineProvider">none</item>
<item name="android:paddingTop">15dp</item>
<item name="android:paddingBottom">15dp</item>
<item name="android:paddingLeft">30dp</item>
<item name="android:paddingRight">30dp</item>
<item name="android:textSize">16dp</item>
</style>
<style name="device_info_dialog_label">
<item name="android:textAlignment">viewStart</item>
<item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>