@echo off
for /l %%i in (1,1,200) do (
timeout /t 1
adb shell am broadcast -a "com.szchoiceway.uiModeNightChanged" --ez mode true
timeout /t 1
adb shell am broadcast -a "com.szchoiceway.uiModeNightChanged" --ez mode false
echo loop number %%i
)
*************************************************************************
@echo off
:Loop
timeout /t 1
adb shell am broadcast -a "com.szchoiceway.uiModeNightChanged" --ez mode true
timeout /t 1
adb shell am broadcast -a "com.szchoiceway.uiModeNightChanged" --ez mode false
goto Loop