Status Update
Comments
ka...@gmail.com <ka...@gmail.com> #2
I'm not sure why the 3 min limit was put in place. It looks like it arbitrarily put in for Emulator recording in ag/3265023 and later in ag/3455232 was enforced on non-emulator recording as well.
I'll investigate why it was added in the first place and then experiment with a no limit version.
ra...@google.com <ra...@google.com> #3
It's about time, no?
ru...@gmail.com <ru...@gmail.com> #4
Seems like there was an arbitrary decision at some point to limit the screenrecord command to 3 minutes.
ag/350897
I have reopened internal bug
Note that if my request is approved, it'll only take affect for new API levels.
lb...@gmail.com <lb...@gmail.com> #5
Maybe let us set the limit instead (size/duration) ?
As for new API levels, can you please make it reach Android 13?
vi...@google.com <vi...@google.com>
lb...@gmail.com <lb...@gmail.com> #6
I suspect that removing the limitation will not be accepted. The screenrecord command writes to a file on the device. Having no limitation can result in the device being rendered unusable due to lack of space on the file system where the file is written. For example, if a user runs adb screenrecord /sdcard/foo.mp4
and forgets about it, the sdcard will eventually be full and many apps will start to fail.
Description
So, as READ_EXTERNAL_STORAGE was split into multiple storage permissions, I think out of them all, if your app has READ_MEDIA_IMAGES , it should be able to get the current wallpaper.
In addition, please consider having a new permission that is much more reduced, used only to get the current wallpaper (image and live wallpaper app). For this, I created this request: