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

Commit 5ae10d44 authored by Robin Lee's avatar Robin Lee
Browse files

Add multi-state permission UI on TV devices

Test: atest android.os.cts.AutoRevokeTest
Bug: 158098457
Change-Id: I64b3e34aba4cfd21cf7c7733765e3e7abb7b6017
parent 580ef47f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@
                    android:layout_height="match_parent"
                    android:text="@string/no_permissions"
                    android:gravity="center"
                    android:visibility="gone"
                    android:textAppearance="@android:style/TextAppearance.Large"
            />

+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<!--
  ~ Copyright (C) 2020 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.
  -->

<RadioButton xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/checkbox"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:focusable="false"
    android:clickable="false" />
+476 −0

File added.

Preview size limit exceeded, changes collapsed.

+67 −67

File changed.

Preview size limit exceeded, changes collapsed.

+12 −16

File changed.

Preview size limit exceeded, changes collapsed.

Loading