Since this is my first publication on Habr, let's first introduce myself: my name is Fedor, I am from Nizhny Novgorod and I work at Orion Innovation as a technical manager / service station. In practice, this means that I am responsible for the Android Platform direction - writing firmware for various Android devices. If you, suddenly, know me, then most likely from my speeches at Mobius and other conferences. And this article is a generalization of a couple of my reports, sprinkled with various details, links and deviations from the topic, for which there is usually not enough time in the report. With the presentation finished, then the article.
. – Android. , Google . , , - .
, , Android-:
, Android – . . Android.
Google, , . Google , Android . – .
, - . , , Google . , iOS – iPhone . Google , , .
Apple , Google ? , . - . iOS . : Apple , , Google – . , .
Apple, iPhone? . iOS .
Google Android? Google, :
: Android- , . iOS – , – iPhone. Android . . , .
– Android. , , Android . , , – .
Google , . , . 2011 «Android Update Alliance». , Android- .
, , , . Android Update Alliance . : .
«», Google . 2016 , Google . , , , «» «». . , Google .
, , . . 2017 . Project Treble.
Project Treble
Project Treble Android. , , . Google , . – . , , .
Project Treble. . , YouTube Mobius .
: Project Treble , . , Google . Google , 300 , :
«Vendor» – (, Qualcomm). , : Project Treble Android Framework ( ) Vendor Part ( HAL). , Google .
Vendor . Google, . , .
. ? ? Google 2 Project Treble:
, Android 9 Android 8. Treble. , Treble 9-, Android 8. , Treble 8-, 8- . Android 10:
, Android 10 : 400 10- . , , ? , , . :
1. , . , Android 10 , , Android 10. . – 2,5 Android. 1,5 .
2. - 100 Android. , . , .
3. iOS : iOS, , , iOS 10 .
, , Project Treble , . , Google . 2019 Android 10, – Project Mainline.
Project Mainline
Project Treble . Android . Project Mainline – 2.0. Treble , Mainline . :
Android – « » «». : , , . , Google Google Play. , – Google .
Google ? Android 10 3 , . Google, :
Security – . , , Google ASAP. , , .
Privacy – , Security . , Security. , Privacy -. , , Privacy Security, permissions.
Consistency – , . -, , «, » . , . -, , . – Android Runtime.
Consistency
Android Runtime . , Android 11 ( , Android 12 Runtime ). , . : ? , .
: Google, , Runtime , «» Android. ART – , Android-. , Runtime , . , Runtime Android . , , Runtime «» Android .
: , . Developer Consistency. , , . . Android 11, , API , .
. Google . - :
Google , ;
.
Project Mainline, . Runtime, , . «» , Google . , «consistency» – .
Google, : Mainline Google , , .
Project Mainline , . . – , « ». , .
Project Mainline – . Google - , . Google Android . , .
, Google , , . , Android , . Google , , . , , , .
Android . , Android, iOS, – , . , Google .
, , , . Project Mainline . , , Android , ?