-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add method for denying permissions #378
Conversation
Tests failed because of some configuration problems: Error: Unable to process command '##[add-path]/Users/runner/Library/Android/sdk/cmdline-tools/tools:/Users/runner/Library/Android/sdk/cmdline-tools/tools/bin:/Users/runner/Library/Android/sdk/platform-tools' successfully. |
Hi @milhauscz! |
Hi, I use Android Studio 4.1.1 and I don't have this problem... |
Can you try running the tests in PermissionGranterTest from Barista? I just tried it with Android Studio 4.1.1 and tests fail. Please run them from Android Studio, not Gradle, because the behavior is different (until Barista is updated to Android Gradle Pplugin 4.1). |
In some cases we also need to test the app's behavior when the user denies a permission. This change adds the denyPermissions() method.
The issue seems to be fixed with the latest version of tools, so let's go ahead with the feature! Thanks @milhauscz. |
In some cases we also need to test the app's behavior when the user denies a permission. This change adds the denyPermissions() method.