Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

added permission for WRITE_SETTINGS #332

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

added permission for WRITE_SETTINGS #332

wants to merge 3 commits into from

Conversation

SaumiaSinghal
Copy link
Contributor

@SaumiaSinghal SaumiaSinghal commented Jan 2, 2020

Closes #238

What has been done to verify that this works as intended?

I tested it on Android P, and on Android M.

Why is this the best possible solution? Were any other approaches considered?

I added a check for the WRITE_SETTINGS runtime permission, before sending the form.

ezgif com-video-to-gif (1)

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

There are no such regression risks, as of now.

Before submitting this PR, please make sure you have:

  • run ./gradlew checkCode and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.

Copy link
Contributor

@ajay-prabhakar ajay-prabhakar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @SaumiaSinghal, just one check
Here you are checking for blank forms only. You should also check for filled forms too, try to add this check when we click send button in MainActivity

@SaumiaSinghal
Copy link
Contributor Author

Thanks @Chromicle for pointing it out. I somehow missed that:(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add runtime permission to allow write_settings permission
2 participants