From 0ea74de3423c5050b96053794ec6d984bc09d320 Mon Sep 17 00:00:00 2001 From: zhubx0704 Date: Wed, 26 Jul 2023 15:35:18 +0800 Subject: [PATCH] Add auto screen brightening and unlocking Signed-off-by: zhubx0704 --- .../media_js_standard/screenCapture_ndk_test/Test.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/multimedia/media/media_js_standard/screenCapture_ndk_test/Test.json b/multimedia/media/media_js_standard/screenCapture_ndk_test/Test.json index eb796db58..2fcbcde37 100644 --- a/multimedia/media/media_js_standard/screenCapture_ndk_test/Test.json +++ b/multimedia/media/media_js_standard/screenCapture_ndk_test/Test.json @@ -17,7 +17,15 @@ }, { "type": "ShellKit", - "run-command": [] + "run-command": [ + "param set persist.ace.testmode.enabled 1", + "power-shell wakeup", + "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", + "power-shell setmode 602" + ], + "teardown-command":[ + "power-shell setmode 600" + ] } ] } \ No newline at end of file -- GitLab