Start remoteserver and captured packages by adb commands in native code.

Use adb to enumerate installed 3rd party packages in capture dialog.
Cleaned up all the "adb:" strcmp's.
This commit is contained in:
Michael Rennie
2016-11-02 16:10:29 +01:00
committed by Baldur Karlsson
parent 8899cb8e73
commit bcb9914665
9 changed files with 92 additions and 25 deletions
-6
View File
@@ -1,6 +0,0 @@
adb shell am force-stop %*
adb forward tcp:38970 tcp:38920
adb shell setprop debug.vulkan.layers VK_LAYER_RENDERDOC_Capture
adb shell monkey -p %* -c android.intent.category.LAUNCHER 1
timeout 5
adb shell setprop debug.vulkan.layers \"\"
-6
View File
@@ -1,6 +0,0 @@
adb shell am force-stop org.renderdoc.renderdoccmd
adb forward tcp:39970 tcp:39920
adb forward tcp:38970 tcp:38920
adb shell setprop debug.vulkan.layers \"\"
adb shell pm grant org.renderdoc.renderdoccmd android.permission.READ_EXTERNAL_STORAGE
adb shell am start -n org.renderdoc.renderdoccmd/.Loader -e renderdoccmd remoteserver