Files
app_Settings/res/layout/supervision_generic_error_screen.xml
juquan 95e6c1a303 [Device Supervision] Surface Generic Error Screen for Unexpected Supervision Setup Issues.
Introduces a generic error screen with a retry option for unexpected
errors during supervision setup, including supervising profile
creation or start failures. Provides clear user feedback.

Bug: 399705794
Flag: android.app.supervision.flags.enable_supervision_settings_screen
Test: atest
Change-Id: I46d5c21be8a61a6310a091946890492e5660eae8
2025-08-21 08:59:56 +00:00

28 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2025 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/supervision_generic_error_page_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:icon="@drawable/ic_info_outline_24"
app:sucHeaderText="@string/supervision_generic_error_page_title"
app:sudDescriptionText="@string/supervision_generic_error_page_message"
app:sudIconTint="?attr/colorPrimary">
</com.google.android.setupdesign.GlifLayout>