News for hackers. Stuff that matters.
Re:Android wallpaper images can threaten privacy by mikeiz404 on Thursday October 07, 2021 @07:48PM (#28793682)
Not saying this would be easy but another approach would be to use references to the colors instead of the actual colors. Other color related APIs would have to be updated to accept the references or, if you wanted to add more flexibility, compound color manipulation operations. It would be the responsibility of the renderer, which I am assuming is protected as I am not familiar at all with android, to compute the final color and not reveal it to the app.

It wouldn’t be a perfect replacement for actual color values but it would give more flexibility while not revealing the value.

Re:Android wallpaper images can threaten privacy by ohgodplsno on Friday October 08, 2021 @03:56AM (#28796781)
Android's theming system does not have the ability to dynamically re-set <color> IDs. And, assuming they managed to do so and keep the reference unaccessible to users (because then you could just do context.getColor(android.R.color.material_you_color_primary) to resolve it), you can still access it through reflection.
Re:Android wallpaper images can threaten privacy by bmicraft on Thursday October 07, 2021 @08:59PM (#28794358)
Or just use much lower precision for the color
Re:Android wallpaper images can threaten privacy by _jal on Thursday October 07, 2021 @08:13PM (#28793891)
Reason #481 virtualization-capable phones would be a huge privacy win.