adb shell wm size 1080x1920
Exception occurred while executing 'size':
java.lang.SecurityException: Must hold permission android.permission.WRITE_SECURE_SETTINGS
at com.android.server.wm.WindowManagerService.setForcedDisplaySize(WindowManagerService.java:6004)
at com.android.server.wm.WindowManagerShellCommand.runDisplaySize(WindowManagerShellCommand.java:198)
at com.android.server.wm.WindowManagerShellCommand.onCommand(WindowManagerShellCommand.java:76)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.wm.WindowManagerService.onShellCommand(WindowManagerService.java:1239)
at android.os.Binder.shellCommand(Binder.java:1073)
at android.os.Binder.onTransact(Binder.java:901)
at android.view.IWindowManager$Stub.onTransact(IWindowManager.java:2886)
at com.android.server.wm.WindowManagerService.onTransact(WindowManagerService.java:1490)
at com.android.server.wm.OplusWindowManagerService.onTransact(OplusWindowManagerService.java:255)
at android.os.Binder.execTransactInternal(Binder.java:1331)
at android.os.Binder.execTransact(Binder.java:1268)
Granting permission via ADB (Oneplus) - Using the Equalizer - Q&A - Poweramp
重启设备(重要),重启设备(重要),重启设备(重要)