mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-09 01:00:51 +00:00
android: Add execCommand and update adbExecCommand
This adds a convenient way to call out to commands other than adb and see their result. Updated adbExecCommand to use the new helper.
This commit is contained in:
committed by
Baldur Karlsson
parent
930cc2cfb0
commit
e0dfdedb24
@@ -833,7 +833,7 @@ public:
|
||||
std::string deviceID;
|
||||
Android::extractDeviceIDAndIndex(m_hostname, index, deviceID);
|
||||
|
||||
string adbStdout = Android::adbExecCommand(deviceID, "shell pm list packages -3");
|
||||
string adbStdout = Android::adbExecCommand(deviceID, "shell pm list packages -3").strStdout;
|
||||
using namespace std;
|
||||
istringstream stdoutStream(adbStdout);
|
||||
string line;
|
||||
|
||||
Reference in New Issue
Block a user