Skip to main content

Android 12 features we love: The Android runtime is a Mainline module

By putting the Android runtime under the Mainline umbrella, Google gets to control how apps perform across all devices running Android 12 or later.

Android 12 is here for those willing to try their luck with beta software but it will be coming in its final form sometime later in 2021. There are plenty of changes — both under the hood and things we can see — that make it one of the best updates we've received in quite a while, and one of them is something you've probably never thought about — the Android runtime will now be a part of Project Mainline.

This is an important change for every Android phone, from the best Android phone to the cheapest Android phone. But to understand how important it is, you need to know exactly what Project Mainline entails and what the Android runtime is. That's where we come in.

Project Mainline

Project Mainline extends the work Google did with Project Treble to try and do two things: make it easier for phone makers to update their products faster and keep every phone more up-to-date regarding critical features and security issues. It debuted with Android 10, so it probably affects your phone even if you didn't know what it was or that it even existed.

Using a new way to unpack system components, Google uses Mainline to update things through the Google Play Store — in fact, one of the things it updates with Mainline is the Google Play Store. You get these updates seamlessly, and unless you dig deep into the settings, you don't even know when anything is getting updated.

Mainline lets Google update critical system components without having to send a full OTA update.

Mainline is simply a good way for Google to make sure things like the media codecs and media frameworks stay updated, the permissions controller is at the latest version, and all its networking components are ready for changes. Before Mainline, you needed a full system OTA (over the air) update for any of this to happen, and we all know how carriers and phone makers can drag their feet when it comes to OTA updates.

The Android runtime

In a nutshell, the Android runtime is what it takes to makes the apps on your phone work. ART (that's the shorter name for it) translates an application's bytecode into instructions that the CPU in your phone can execute and, in turn, tell the rest of the hardware, like the display, to do stuff. ART uses what's known as ahead-of-time compilation to make the switch to machine code when an app is installed, and without it, your phone is just a piece of glass with a battery inside.

With ART as a Project Mainline module, Google can update it without any OTA update. That means every phone maker will have to include an unaltered version of ART that's been digitally signed by Google, and that gives Google more control over how apps work.

Every app in Google Play needs to work on every phone that can install it. This helps achieve that goal.

Normally, Google having more control can be worrisome. But when it comes to how applications work, it's important for every app in the Play Store to work the same on every Android phone that can install it. Developers need this peace of mind; making a great app then finding out it doesn't work well on some phones is a hassle and can be almost impossible to fix.

As a bonus, any sort of security exploits that could be found in how the Android runtime works could be quickly and easily fixed across the entire Android ecosystem, which is equally important.

A big part of the allure of Android to phone makers and carriers is how it can be customized. But some things need to stay consistent, and the Android runtime is one of those things. Seeing Google put it into Project Mainline is a great thing for every Android user.



Source: androidcentral

Popular posts from this blog

How to watch England vs New Zealand: Live stream 2nd Test series cricket on

With the first Test ending in a draw, the series is on a knife edge at Edgbaston, as Joe Root's side look to put off the field controversies to one side and claim a much needed win against the Kiwis. Don't miss a single ball of the 2nd Test with our England vs New Zealand live stream guide below. The series has been somewhat overshadowed by the emergence of offensive historic tweets posted by Ollie Robinson who made his debut in the opening Test but has since been suspended. With the controversy still brewing amid interventions from politicians and accusations leveled at other members of the team, Root has a battle on his hands to keep his side focused on the game ahead. One positive for Root coming into the game is that they'll be playing in front of a near capacity crowd at Egbaston, with the overwhelming majority of the expected 18,000 spectators set to be cheering on the home side. The tourists have been delivered a huge blow coming intot his final match, with s

6 things Apple stole from Android at WWDC— and one that Google should steal

Every year, Apple and Google trade ideas for their newest versions of iOS and Android, respectively. But this year, during Apple's WWDC 2021, it seems like Apple purloined more than a few ideas that Google's integrated into Android over the last few years. Millions of iOS users won't get their hands on iOS 15 and iPadOS 15 until later this year, so until then, we don't know until then how the new features will fare in the real world. For now, here's a tongue-in-cheek look at six features Apple, um, borrowed from Android with its latest software releases. Jump to: iPad widgets and app drawer Live Text Apple Maps AR navigation iOS notifications New Siri capabilities Apple Photos Bonus: What Google needs to steal iPad widgets and app drawer iPad OS 15 introduced two big new updates for the iPad home screen today: widgets and the App Library. If you think this sounds awfully familiar, there's a good reason for that. 2020's iOS 14 introduced both

Every armor set in Ratchet and Clank: Rift Apart

Armor up Ratchet and Rivet before taking down their enemies. Ratchet and Clank: Rift Apart features several armor sets that both Ratchet and Rivet can wear throughout the game, giving them damage buffs and other benefits. Each armor set is comprised of three pieces; the helmet, chest, and boots. Without all three pieces of a complete set, you won't get their collection bonus buffs. Thankfully, each map tells you exactly where to find the armor you need. It's then all about exploring the area and picking it up. You'll find most pieces within optional dimensional rifts that feature platforming puzzles of some kind, and there are eight total sets to be found. Here's every armor set in Ratchet and Clank: Rift Apart and the buffs that they offer: Galactic Ranger Description: The classic helmet of the Solana Galactic Rangers. The Galactic Rangers' chest armor is forged with justice and Raritarium. The Galactic Rangers' pants protect the galaxy... and your legs

Best Roku Stick deals May 2021: $30 off Roku Ultra, Streambar and more

Transforming nearly any TV into a smart TV is affordable and easy with a Roku streaming stick. These tiny devices plug into your TV's HDMI port to unlock access to a world of streaming services, live TV channels, and other apps that will never leave you without entertainment. While prices are rather comparable to its main competition, the Amazon Fire TV Stick , Roku's devices have a few interesting features you won't find on a Fire stick. Roku Ultra - HD/4K/HDR/Dolby Vision with Dolby Atmos | $31 off at Amazon The Roku Ultra is the fastest, most powerful Roku streaming device so far, and it's even compatible with Dolby Vision and Dolby Atmos for a more cinematic experience. It has a better wireless range than other models as well. Today's deal saves you over $30 off its regular price. $69 at Amazon Once you've plugged in your new Roku streaming device, you can download the Roku app and use it as a remote or even plug headphones into your phone and listen to