Android: Automaticaly add MANAGE_EXTERNAL_STORAGE
permission to apps
#2991
Annotations
2 errors
Check formatting
clang-format issues were found. See CONTRIBUTING.md for more information.
diff --git a/renderdoc/android/android.cpp b/renderdoc/android/android.cpp
index 46f665c..245fd65 100644
--- a/renderdoc/android/android.cpp
+++ b/renderdoc/android/android.cpp
@@ -1224,10 +1224,10 @@ struct AndroidController : public IDeviceProtocolHandler
if(apiVersion >= 30)
{
for(Android::ABI abi : abis)
- Android::adbExecCommand(deviceID, "shell pm grant " + GetRenderDocPackageForABI(abi) + " android.permission.MANAGE_EXTERNAL_STORAGE");
+ Android::adbExecCommand(deviceID, "shell pm grant " + GetRenderDocPackageForABI(abi) +
+ " android.permission.MANAGE_EXTERNAL_STORAGE");
}
-
Android::adbForwardPorts(dev.portbase, deviceID, 0, 0, false);
Android::ResetCaptureSettings(deviceID);
|
Check formatting
Process completed with exit code 1.
|
Loading