-
Notifications
You must be signed in to change notification settings - Fork 604
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
fix: crash on android N #735
Conversation
@therajanmaurya @puneetkohli521 |
A better and less hacky way of doing this would be to configure a VM Policy yourself. Here's why: If you configure a VM policy on App Start you'll have the luxury of exploiting the fileExposure throughout the app without ever worry about it and when we migrate in future to a code level where we don't use file:// URI anymore, we'll just edit the VM Policy on app start and you won't need to change anything else anywhere. Thanks for adding a link to the SO answer for this problem. I actually found this solution in the comment of the Top Voted Answer and when I read about, this made more sense. I'd still like to hear your thoughts, what do you think? Here is what you'll have to do somewhere at
|
@droidchef Thanks for your comment. But I have one doubt. |
d293625
to
15f6116
Compare
@therajanmaurya I have changed the code according to @droidchef suggestion. |
@mayank-kgp Yes, but what is the doubt ? |
@droidchef Sorry, I misunderstood your comment. Now it's fine. :D |
@mayank-kgp Need coffee ? Have some |
It's wiser to not having hot drinks in 90% humidity. :P |
@mayank-kgp I second that !! Here you go ! |
:P |
Fixes #734 and #725
Please make sure these boxes are checked before submitting your pull request - thanks!
Apply the
MifosStyle.xml
style template to your code in Android Studio.Run the unit tests with
./gradlew check
to make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them.