Posted by Dave Burke, VP of Engineering

Android 12 logo

Just a number of weeks in the past at Google I/O we unwrapped the primary beta of Android 12, specializing in a brand new UI that adapts to you, improved efficiency, and privateness and safety on the core. For builders, Android 12 provides you higher instruments to construct pleasant experiences for folks on telephones, laptops, tablets, wearables, TVs, and automobiles.

Today we’re releasing the second Beta of Android 12 so that you can strive. Beta 2 provides new privateness options just like the Privacy Dashboard and continues our work of refining the discharge.

End-to-end there’s quite a bit for builders in Android 12 – from the redesigned UI and app widgets, to wealthy haptics, improved video and picture high quality, privateness options like approximate location, and way more. For a fast take a look at associated Google I/O classes, see Android 12 at Google I/O later within the put up.

You can get Beta 2 right this moment in your Pixel gadget by enrolling right here for over-the-air updates, and in case you beforehand enrolled for Beta 1, you’ll routinely get right this moment’s replace. Android 12 Beta can also be out there on choose units from a number of of our companions – study extra at android.com/beta.

Visit the Android 12 developer website for particulars on learn how to get began.

What’s new in Beta 2?

Beta 2 consists of a number of of the brand new privateness options we talked about at Google I/O, in addition to varied function updates to enhance performance, stability, and efficiency. Here are a number of highlights.

Privacy Dashboard – We’ve added a Privacy Dashboard to present customers higher visibility over the information that apps are accessing. The dashboard presents a easy and clear timeline view of all current app accesses to microphone, digital camera, and placement. Users may request particulars from an app on why it has accessed delicate knowledge, and builders can present this data in an exercise by dealing with a brand new system intent, ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD. We suggest that apps benefit from this intent to proactively assist customers perceive accesses within the given time interval. To show you how to observe these accesses in your code and any third-party libraries, we suggest utilizing the Data Auditing APIs. More right here.

Privacy Dashboard and location access gif

Privacy dashboard and placement entry timeline.

Mic and digital camera indicators – We’ve added indicators to the standing bar to let customers know when apps are utilizing the gadget digital camera or microphone. Users can go to Quick Settings to see which apps are accessing their digital camera or microphone knowledge and handle permissions if wanted. For builders, we suggest reviewing your app’s makes use of of the microphone and digital camera and eradicating any that customers wouldn’t count on. More right here.

Microphone & digital camera toggles – We’ve added Quick Settings toggles on supported units that make it straightforward for customers to immediately disable app entry to the microphone and digital camera. When the toggles are turned off, an app accessing these sensors will obtain clean digital camera and audio feeds, and the system handles notifying the consumer to allow entry to make use of the app’s options. Developers can use a brand new API, SensorPrivacySupervisor, to verify whether or not toggles are supported on the gadget. The microphone and digital camera controls apply to all apps no matter their platform concentrating on. More right here.

Clipboard learn notification – To give customers extra transparency on when apps are studying from the clipboard, Android 12 now shows a toast on the backside of the display every time an app calls getPrimaryClip(). Android gained’t present the toast if the clipboard was copied from the identical app. We suggest minimizing your app’s reads from the clipboard, and ensuring that you just solely entry the clipboard when it will likely be anticipated by customers. More right here.

More intuitive connectivity expertise – To assist customers perceive and handle their community connections higher, we’re introducing an easier and extra intuitive connectivity expertise throughout the Status Bar, Quick Settings, and Settings. The new Internet Panel helps customers swap between their Internet suppliers and troubleshoot community connectivity points extra simply. Let us know what you assume!

Quick Settings controls

New Internet controls by way of Quick Settings.

Visit the Android 12 developer website to study extra about all the new options in Android 12.

Android 12 at Google I/O

At Google I/O we talked about the whole lot that’s new in Android for builders – from Android 12 to Modern Android Development instruments, new type elements like Wear and foldables, and Google Play. Here are the highest 3 issues to learn about Android 12 at Google I/O.



#1 A brand new UI for Android – Android 12 brings the largest design change in Android’s historical past. We rethought the whole expertise, from the colours to the shapes, gentle and movement, making Android 12 extra expressive, dynamic, and private, below a single design language referred to as Material You.

#2 Performance – With Android 12, we made vital and deep investments in efficiency, from foundational system efficiency and battery life to foreground service adjustments, media high quality and efficiency, and new instruments to optimize apps.

#3 Privacy and safety – In Android 12 we’re persevering with to present customers extra transparency and management whereas protecting their units and knowledge safe.

For an outline of Android 12 for builders, watch this 12 months’s What’s new in Android speak, and take a look at Top 12 tricks to prepare for Android 12 for an outline of the place to check your app for compatibility. The full record of Android content material at Google I/O is right here.

App compatibility

With extra early-adopter customers and builders getting Android 12 beta on Pixel and different units, now could be the time to ensure your apps are prepared!

To check your app for compatibility, set up the revealed model from Google Play or different supply onto a tool or emulator working Android 12 Beta. Work by way of all the app’s flows and look ahead to practical or UI points. Review the habits adjustments to focus your testing. There’s no want to alter your app’s targetSdkVersion at the moment, so whenever you’ve resolved any points, publish an replace as quickly as potential in your Android 12 Beta customers.

timeline for Android 12

With Beta 2, Android 12 is closing in on Platform Stability in August 2021. Starting then, app-facing system behaviors, SDK/NDK APIs, and non-SDK lists might be finalized. At that point, you must end up your ultimate compatibility testing and launch a totally suitable model of your app, SDK, or library. More on the timeline for builders is right here.

Get began with Android 12!

Today’s Beta launch has the whole lot you could strive the newest Android 12 options, check your apps, and provides us suggestions. Just enroll any supported Pixel gadget to get the replace over-the-air. To get began growing, arrange the Android 12 SDK.

You may get Android 12 Beta 2 on units from a few of our prime device-maker companions like Sharp. Visit android.com/beta to see the complete record of companions collaborating in Android 12 Beta. For even broader testing, you possibly can strive Android 12 Beta on Android GSI photographs, and in case you don’t have a tool you possibly can check on the Android Emulator.

Beta 2 can also be out there for Android TV, so you possibly can take a look at the newest TV options and check your apps on the all-new Google TV expertise. Try it out with the ADT-3 developer equipment. More right here.

For full particulars on Android 12 Beta, go to the Android 12 developer website.