From 9eb9acc5b3de55cd38f1ddcd74142b2cabab358a Mon Sep 17 00:00:00 2001 From: FearlessTobi Date: Sat, 28 Mar 2020 23:51:51 +0100 Subject: [PATCH] Android: Expand the comment for NVidiaShieldWorkaroundView This text has been taken from the message of the commit that added the class. (I don't have an Nvidia Shield to reproduce the bug with.) Original commit by JosJuice for Dolphin-emu. --- .../org/citra/citra_emu/ui/NVidiaShieldWorkaroundView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/android/app/src/main/java/org/citra/citra_emu/ui/NVidiaShieldWorkaroundView.java b/src/android/app/src/main/java/org/citra/citra_emu/ui/NVidiaShieldWorkaroundView.java index 816c6aafe..2a0bb369c 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/ui/NVidiaShieldWorkaroundView.java +++ b/src/android/app/src/main/java/org/citra/citra_emu/ui/NVidiaShieldWorkaroundView.java @@ -12,6 +12,9 @@ import android.view.View; /** * Work around a bug with the nVidia Shield. + * + * Without this View, the emulation SurfaceView acts like it has the + * highest Z-value, blocking any other View, such as the menu fragments. */ public final class NVidiaShieldWorkaroundView extends View { public NVidiaShieldWorkaroundView(Context context, AttributeSet attrs) {