Skip to main content

Google releases Android 12 Developer Preview 2

 

Today Google released Developer Preview 2 of Android 12 to developers. Some features included in DP2 are user-facing updates to PIP, lockscreen pin entry, one-handed mode, tweaks to the dark theme, and many more.


In a blog post Google’s Dave Burke, VP of Engineering writes


Last month we shared the first preview of Android 12, an early look at the next version of Android. Today we’re bringing you the next milestone build in this year’s release, with more new features and changes for you to try with your apps.


In Android 12 we’re making the OS smarter, easier to use, and better performing, with privacy and security at the core. We’re also working to give you new tools for building great experiences for users, whether they’re using phones, laptops, tablets, TVs, or cars. Some things to look for in today’s release include new rounded corners APIs, improved picture-in-picture APIs, better companion device management, easier effects like blur and color filter, app overlay controls, and more.


More on the release and what's new under the hood can be found below.


Trust and safety


We’re continuing to focus on giving users more transparency and control while keeping their devices and data secure. In today’s release, we’ve added some new features to check out and test with your apps.


App overlay controls - Android’s system alert window gives apps a way to get users’ attention for important actions by showing an overlay on top of the active app. These windows can interrupt the user, though, so we already require apps to request permission before displaying them. Now in Android 12 we’re giving you control over whether these overlays can be shown over your content. 


Extended security for lockscreen notification actions - Android 12 adds finer-grained privacy and security controls for notifications displayed on the device lockscreen. 


Access to app digests - For apps that need to validate the integrity of app packages installed on Android devices, we’re introducing a new API that lets you query the platform directly for the checksum of an installed app.


Better user experience tools


We’re working to give you more tools to help you deliver a polished experience and better performance for users. Here are some of the updates in today’s release.



Support for Rounded corners - Many modern devices use screens with rounded corners, giving them a clean modern look, but also introducing some extra considerations for app developers. To deliver a great UX on these devices, developers need to account for the rounded corners and adjust any nearby UI elements to prevent them from being truncated.


Picture in Picture (PIP) improvements - for people using gesture nav, we’ve improved how apps transition to picture-in-picture (PIP) mode on swipe up-to-home. If an app enables auto-PIP, the system now directly transitions the app to PIP mode on up-to-home, instead of waiting for the up-to-home animation to complete. This makes the transition smoother and improves perceived performance. We’ve also improved PIP window resizing for non-video content. Apps can now enable seamless resize to let the system resize the PIP Activity when needed. Android 12 also supports stashing the PiP window by dragging it to the left or right edge of the screen.


Keeping companion device apps awake - For apps that manage companion devices like smartwatches and fitness trackers, it can be a challenge to make sure the app is running and connected whenever an associated companion device is nearby. To make this easier, we’re extending the Companion Device Manager with a new CompanionDeviceService API. Apps that manage companion devices can implement this service to let the system wake the app whenever the associated companion device is nearby. The system keeps the service bound whenever the device is nearby, and notifies the service when the device goes in and out of range or is turned off, to let the app clean up state as needed.


Bandwidth estimation improvements - for developers who need to know the typical bandwidth available to each user so you can tailor their experience, we now provide improved bandwidth estimation.


Easier blurs, color filters and other effects - In Android 12, we’re making it easier to apply common graphics effects to your Views and rendering hierarchies. 


This appears to be another huge release and I’m looking forward to future DPs and Betas. Android 12 is shaping up to be a massive release in the fall.


Link(s)

Android Developers Blog


Comments

Popular posts from this blog

I attended a Pixel Superfans event at the new Google Store in Santa Monica, CA

Last Friday, I had the opportunity to attend a Pixel Superfans event at the new Google Store in Santa Monica. It was a soft launch of the store and a good way to meet like minded people. The staff were very nice and helpful. While I was at the store I was able to finally check out the Pixel 9 Pro Fold and wow that device is extremely impressive. Outside of that, I was able to look around the store and check out other Google products which there are quite a bit to see. I'm looking forward to my next visit to the new Google Store. Take a look at the pictures below including one of some swag I got from Google at the event.

Reviewing the Pixelbook Go after 5 yrs | Software that is outpacing the hardware

  No doubt, the Pixelbook Go has served me well in my 5 yrs with the laptop. This is not necessarily a review of the features on the laptop but a review of the PBG hardware and its usability in 2025. I acknowledge that I am a part of a very small club of users that still have and use this device but I must say that I still enjoy using the PBG every single day. Now, to the review. Hardware Right off the bat. The hardware is probably the least compelling aspect of the PBG. When the laptop was first released in 2019 it was already a year or two behind the competition with the onboard soc. Surprisingly, this has not negatively impacted using the laptop with most tasks. Web surfing is a breeze and most Android apps run pretty effortlessly. The 8th Gen i5 Intel soc paired with 8GB of RAM is well optimized and I feel that Google is getting as much as it can out of the chip.  Where the PBG falls short is with video editing apps. I've tried several Android apps and a couple of Linux ap...

Soundcore K20i review | A look at Ankers budget friendly earbuds (video)

Soundcore K20i by Anker, Semi-in-Ear Earbuds, Bluetooth Wireless, 36H Playtime, Fast Charge, Clear Sound, Comfortable Fit, ENC 2-Mic Clear Calls, Custom EQ, IPX5, Bluetooth 5.3, App Control. https://a.co/d/a27Mi9t