androidandroid-12clipboardmanager

How to disable Clipboard editor overlay Android Emulator API 33?


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


Solution

  • 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.

    Update 2024/05/14

    Google has removed this flag in android13 with below commit in frameworks/base:

    5b2dd140682e 2023-01-24 Miranda Kephart  Remove clipboard refactor flag
    

    So this answer not work any more.