How Do You Test the Android 6.0 Full-Backup Behavior?

After having discussed and tested various scenarios (refer to comments below the question), I’ve decided to combine and write up those results into an answer. In reality, this doesn’t actually solve the problem presented, but it will answer the question of “How do you successfuly use the command-line tools (or anything else) to test the … Read more

Calling DialogFragment’s show() from within onRequestPermissionsResult() causes IllegalStateException in Marshmallow

The bug is accepted and will be fixed, however, I strongly disagree with the postDelayed and timer solutions. The best way to do this would be introducing a state flag in the Activity, in which you set in the callback, and use in onResume or similar. For example: private boolean someFlag; public void onRequestPermissionsResult(int requestCode, … Read more

tech