Pixel 2 XL desktop mode

We’ve detected that JavaScript is disabled in this browser. Please enable JavaScript or switch to a supported browser to continue using twitter.com. You can see a list of supported browsers in our Help Center.

Help Center

When I first leaked Android Q back in January, there was one feature that I really wanted to show off but sadly couldn’t because it wasn’t fully implemented: the experimental desktop mode. We found a setting in Developer Options that would “force experimental desktop mode on secondary displays.” While we could toggle the setting, nothing we tried would make this “desktop mode” show up anywhere. Now that the first Android Q beta has been released for all Google Pixel smartphones and the Android Studio emulator, it’s possible to try it out.

Twitter user @Shad0wKn1ght93 noticed that the AOSP Launcher has a new component that, when launched, brings up a new Android desktop interface. I noticed a reference to this launcher component in Q’s framework, but the AOSP Launcher that shipped with the leaked build did not have this component at the time. Now that it does, it’s possible to launch the component manually. If you have the Android Studio emulator, all you have to do is run the following ADB command depending on which Q image you downloaded:

  • Non-GMS: adb shell am start -n "com.android.launcher3/com.android.launcher3.SecondaryDisplayLauncher"
  • GMS: adb shell am start -n "com.google.android.apps.nexuslauncher/com.android.launcher3.SecondaryDisplayLauncher"

Once launched, here’s what the desktop interface looks like on the non-GMS build using the AOSP Launcher.

You can add app shortcuts to the desktop which launch in freeform multi-windows, a feature which first launched with Android 7.0 Nougat. You can also set a custom wallpaper for the desktop. The status bar and navigation bar seem unchanged, but you have a lot more room to work with now.

It’s possible to enable this desktop mode by going to Developer Options on a Google Pixel, Pixel 2, or Pixel 3 running the beta and enabling the “force desktop mode” Developer Option, then launching the activity in the Pixel Launcher using the “GMS” command from above. You’ll need to change your Pixel’s DPI before casting or connecting your phone’s screen to any external displays, though.

The Google Pixel Launcher, AOSP Launcher, and other OEM launchers may not be the only launchers that work in the new desktop mode. Developers of launcher apps can add an intent receiver to filter for calls to launch secondary home launchers, as described here. Once called, the third-party launcher’s secondary launcher component may be what’s shown in the desktop mode.

This article will be updated as we get more details. Check back for more information on the new desktop mode!

Update 1 3/14/19 @ 5:51PM CT: Added the command for the GMS Android Studio builds.

Update 2 3/14/19 @ 5:56PM CT: Added information on the fact that you can use this desktop mode on a Pixel phone by launching the activity, changing the DPI, and then casting your phone screen. Also added a fourth screenshot.

Update 3 3/14/19 @ 10:16AM CT: Added information on third-party launchers.

Hi, I'm not a Pixel owner but I've heard about a full desktop mode being baked into Android 11. Has anyone had to the to look for or test it out on the latest beta release?
I am aware that it was an experimental feature in 10. I'm a fan of Samsung Dex and this is one of the few things that prevents me from switching.

There is no desktop mode on any Pixel devices.

In developer option there is a experimental desktop mode. It was there in Android 10 and Android 11 beta 1 also, but i never tried it.

Reactions: diando

I haven't flashed 11 yet but from my understanding it's in dev options, is still experimental and requires connection through HDMI.

Sent from my coral using XDA Labs

Just tried it on my Pixel 4XL with latest Beta of Android 11. No go. I don't know why google refuses to enable HDMI out over USB-C on it's devices when nearly every other device supports it. Chromecast is not a viable alternative.

Video liên quan

Chủ Đề