Android: Automaticaly add MANAGE_EXTERNAL_STORAGE
permission to apps
#2991
ci.yml
on: pull_request
Baseline cmake check
0s
Documentation Build
0s
Android
0s
Matrix: Linux
Matrix: Mac
Matrix: Windows
Annotations
2 errors
Code formatting check
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);
|
Code formatting check
Process completed with exit code 1.
|