J
J
Jungles2020-06-04 19:13:21
Android
Jungles, 2020-06-04 19:13:21

About killer wallpapers?

Why an incorrectly selected color space of a picture can lead to an android crash?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2020-06-04
@Jungles

because a picture is a data format that is often compressed (gif, jpg, png), and there is an algorithm for decompressing it.
The library that was used in android had a bug, which consisted in the fact that when trying to decode an image in a color space (format) that was incomprehensible to it, it did not give an error that the format was unknown, but tried to do this and crashed with an exception, leading to a crash of the application responsible for the user interface. And since this is an important application, without which the user cannot use the phone, the error turned out to be too critical and difficult to fix.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question