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

Commit 3a9b5a98 authored by Dieter Hsu's avatar Dieter Hsu
Browse files

Trigger action for app ops icon for keyboard navigation

Bug: 79671932
Test: manually check talkback, switch access and kb navigation
Change-Id: I8a2ed0fc8e6b565e923954fa87e61a20c83438c0
parent 09a0c2d5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -282,6 +282,9 @@ public class NotificationHeaderView extends ViewGroup {
    public void setAppOpsOnClickListener(OnClickListener l) {
        mAppOpsListener = l;
        mAppOps.setOnClickListener(mAppOpsListener);
        mCameraIcon.setOnClickListener(mAppOpsListener);
        mMicIcon.setOnClickListener(mAppOpsListener);
        mOverlayIcon.setOnClickListener(mAppOpsListener);
        updateTouchListener();
    }

+0 −3
Original line number Diff line number Diff line
@@ -139,7 +139,6 @@
            android:src="@drawable/ic_camera"
            android:background="?android:selectableItemBackgroundBorderless"
            android:visibility="gone"
            android:clickable="false"
            android:contentDescription="@string/notification_appops_camera_active"
            />
        <ImageButton
@@ -150,7 +149,6 @@
            android:background="?android:selectableItemBackgroundBorderless"
            android:layout_marginStart="4dp"
            android:visibility="gone"
            android:clickable="false"
            android:contentDescription="@string/notification_appops_microphone_active"
            />
        <ImageButton
@@ -161,7 +159,6 @@
            android:background="?android:selectableItemBackgroundBorderless"
            android:layout_marginStart="4dp"
            android:visibility="gone"
            android:clickable="false"
            android:contentDescription="@string/notification_appops_overlay_active"
            />
    </LinearLayout>