Can you let me know Why AndroidX source code is available outside of AOSP. Why it has been maintained separate source code from AOSP?
What happen if we deploy AndroidX source code into AOSP?
Can someone explain the reason of maintaining it as separate source code from AOSP?
AOSP source code: https://cs.android.com/android AndroidX source code: https://cs.android.com/androidx
I have a thought process of creating a folder called as android into AOSP path: frameworks/base/core/java/androidx
Let me know whether you tried and how long is it feasible to proceed?
Because its not possible to make it part of AOSP. It's an external library built on top of Android that is used to smooth over differences between versions of Android. So if the parameters to a function X change between versions of Android, the support library (androidx) will provide a consistent interface across all those versions and you don't have to worry about it. Given this, it can't be part of AOSP, as it needs to change over time with new versions of Android.