View Single Post
Old 11-10-2022, 03:24 PM   #40
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 4,007
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by csdvrx View Post
We have the same desire to remove useless cruft, but some of it seem present for good reasons we don't understand yet (here: pre Android 11 compatibility) maybe because these reasons are very obscure!
Yes, you can find (poor) documentation of how compat_config.xml files get generated, but no indication of where they are supposed to go. In any case it seem to only be for debugging applications: https://developer.android.com/guide/...ity/test-debug
I do not believe these files have anything to do with compatibility of older apps for general users or even that they are in the right place. Look at that maven stuff. What is that doing there?

From https://android.googlesource.com/too...Processor.java we can see
Code:
/**
 * Annotation processor for ChangeId annotations.
 *
 * This processor outputs an XML file containing all the changeIds defined by this
 * annotation. The file is bundled into the pratform image and used by the system server.
 * Design doc: go/gating-and-logging.
 */
Oh, so it goes in the "pratform"?
Renate is offline   Reply With Quote