2

How can i disable Clipboard editor overlay, that is enabled by default in Android Emulator API 33?. It is very annoying while debugging apps.It always popup over my debugging apps, and i have to close this every time to do something in my debugging app.

enter image description here

Lins Louis
  • 2,393
  • 2
  • 25
  • 30
  • Is there a reason your app is putting class definitions in the system clipboard in the first place? – ianhanniballake May 20 '22 at 05:01
  • 1
    It will show when `getPrimaryClip()` is being called and there seems to be no way to control that. – Martin Zeitler May 20 '22 at 05:04
  • @ianhanniballake Sorry for the confusion!!, My question was about android emulator. I updated my question . Those class definitions are from my clipboard , that i copied from android studio while coding.. – Lins Louis May 20 '22 at 07:31
  • @Martin Zeitler Sorry !!!, i forgot to mention that, the question was about android emulator and the screenshot also was also from my emulator. – Lins Louis May 20 '22 at 07:34

2 Answers2

2

To disable clipboard overlay:

adb shell device_config put systemui clipboard_overlay_enabled false
adb reboot

We need reboot since SystemUI read the config too earlier.

lucky1928
  • 8,708
  • 10
  • 43
  • 92
1

This answer might not be helpful but I also getting annoyed by this. I can't click bottom nav without sliding clipboard pop up. But you can disable clipboard sharing access from emulator setting.

  1. Start Android Studio
  2. Start the AVD
  3. Click the three dots, down on the sidebar
  4. Click Settings Toggle the switch "Enable clipboard sharing".

Source solution

Saddam Azy
  • 61
  • 4
  • Hi, This setting is not available in the current stable version of Android studio Chipmunk 2021.2.1 Patch1. They removed, and may be available in future versions – Lins Louis Jun 01 '22 at 11:35
  • Upps... My bad. It seems right now the only solution is downgrade android emulator image to API 32 – Saddam Azy Jun 02 '22 at 12:03