mozilla-mobile / FirefoxLite

Emerging Market Experiment
Mozilla Public License 2.0
282 stars 95 forks source link

After the API 29 upgrade, screenshots do not work anymore on Android 10 or newer #5348

Closed st3fan closed 3 years ago

st3fan commented 3 years ago

After the API 29 upgrade, screenshots do not work anymore on Android 10 or newer. I'm looking at adb logcat but there are no exceptions and AFAICT no messages. But I could be wrong about the latter. We do get a toast saying "Screenshot failed" so maybe that is triggered by application code in a failure path.

I tried the Screenshot functionality on 2.5.1 (Which is linked against API level 28) and there it works on the same Android 11 devices that I have for testing.

st3fan commented 3 years ago

The root cause of this turned out to be storage changes in Android 10. A fix is in #5351