LightBlog

lundi 3 août 2020

YouTube Music can now play recommended music via Google Assistant, allow external devices to start music, and more

Google is slowly but surely getting ready to shut down Google Play Music, and YouTube Music is its replacement, for better or worse. The company has been adding features to bring YouTube Music up to speed with Google Play Music, and it has made some fair progress in recent months. The latest set of updates rolling out to YouTube Music add new features such as the ability to play recommended music via Google Assistant, allowing external devices to start playback, and bring over the “Recent Activity” section, in addition to other recent changes such as Android TV support and Google Maps integration.

Play recommended music on YouTube Music via Google Assistant

You can now play recommended music with simple Google Assistant voice commands. On Assistant-enabled phones and Google Nest smart speakers, you can say “Hey Google, play recommended music from YouTube Music” and have personalized music suggestions across your favorite artists and genres based on your listening history, play on your device.

Recent Activity

The “Last Played” section within the Library tab has been renamed to “Recent Activity”. This section now also shows recent albums and song additions to your library, much like how Google Play Music did.

YouTube Music Recent Activity

Google did not note this feature in its press release, but the change has been spotted by users on Reddit.

Initiate YouTube Music playback via external devices

The app is now also surfacing an option that allows users to start playback through external devices, a feature that already existed in Google Play Music.

Google did not note this feature in its press release, but the change has been spotted by users on Reddit.

YouTube Music comes to Android TV

Google has brought over Android TV support for YouTube Music in a rather strange way. Instead of releasing a dedicated YouTube Music app for Android TV, Google has decided to instead bake the functionality within the existing YouTube for Android TV app. This server-side change was already spotted last month, so Google’s press release confirms its official rollout.

Google Maps integration

This is another feature that has already been rolling out to users over the past month, but Google is announcing the same nonetheless. You can now add YouTube Music’s playback controls to the navigation screen on Google Maps, making it easier to control music playback during your commute. To do so, tap on your profile picture in the top right corner of Google Maps and then tap on the Settings option. In the Settings menu, select Navigation settings and then tap on the toggle next to the “Show media playback controls” setting. Then select YouTube Music from the pop-up window, tap on Next, and then OK to confirm your selection.


YouTube Music - Stream Songs & Music Videos (Free, Google Play) →

The post YouTube Music can now play recommended music via Google Assistant, allow external devices to start music, and more appeared first on xda-developers.



from xda-developers https://ift.tt/3i3MtDT
via IFTTT

Gboard adds 3 new suggestions: Smart replies, GIF search, and stickers

Google is starting to roll out new types of suggestions on Gboard, making it easier than ever for users to communicate. Or more accurately, it’s easier than ever for Gboard to communicate for users.

According to Android Police, some Gboard users on Android are reporting seeing smart replies, sticker recommendations, and GIF search recommendations based on the last text that was sent. Here’s an album showing off these 3 new types of suggestions:

Screenshots via AndroidPolice

 

In the instance of smart replies, users might see suggested replies to a question. The screenshot above shows this new system in action. After a question is asked, one-word answers in bubbles are recommended. It doesn’t get any easier to communicate than that.

Sticker recommendations show up in much the same way. As you’re typing a message, a sticker may show up above the keyboard. Tap on it and you’ll get a larger preview; tap and hold it and a pop-up will let you see more items or turn off stickers entirely.

As for GIF search recommendations, they’ll show up in the search bar based on the last texts you’ve sent. So, if you send a text saying, “I’m so happy,” you might see GIF search recommendations for happy, excited, or joy. Likewise, messages with sad-sounding text in it might surface GIF search recommendations for relevant GIFs.

Obviously, much of this can already easily be done by a user with Gboard. The whole point is to reduce the friction of communication and surface these features without much interaction.

AndroidPolice says these features are being tested among a small group of Gboard users, so not everyone has access to them just yet. If all things go well, however, we may see more users gain access to these features to make communication easier than ever.

Gboard - the Google Keyboard (Free, Google Play) →

The post Gboard adds 3 new suggestions: Smart replies, GIF search, and stickers appeared first on xda-developers.



from xda-developers https://ift.tt/3k7ALtZ
via IFTTT

WhatsApp now lets you quickly search Google for forwarded messages

WhatsApp users can now search the web when receiving certain forwarded messages flagged by the platform. The messaging platform on Monday detailed the new feature, saying it provides users with a quick way to find news results and other sources of information.

When a forwarded message is shared, a magnifying glass will appear next to the message, signifying you can tap the magnifying glass button to search the web. To preserve privacy, users choose to upload messages via their browser without WhatsApp itself ever seeing the message. That way, end-to-end encryption will be preserved as the user is the one sending the contents of forwarded messages to their web browser.

The messaging platform first started flagging forwarded messages back in 2018. Earlier this year, they tightened restrictions on frequently forwarded messages by preventing users from sharing these messages to more than one chat at a time. With this new feature, users can quickly verify the veracity of any claims in a forwarded message for themselves by performing a quick Google search query.

WhatsApp said its “search the web” option will be available starting today in Brazil, Italy, Ireland, Mexico, Spain, UK, and the US for Android, iOS, and WhatsApp Web. This feature was spotted in beta tests earlier this year alongside other upcoming features like multi-device access, searching by date, and more.

WhatsApp Messenger (Free, Google Play) →


Source: WhatsApp

The post WhatsApp now lets you quickly search Google for forwarded messages appeared first on xda-developers.



from xda-developers https://ift.tt/3i652HS
via IFTTT

The Google Play Console will soon require 2FA for most developers

Besides the Android Studio IDE, the online Google Play Console webpage is probably the most important place for Android app developers. On the Play Console, you can see how your applications are performing in various metrics, read user reviews, gather manual and/or automatic feedback for improving your app, and much more. Because most of this information is sensitive and highly valuable, it is crucial for developers to protect their Google accounts. One of the best ways to do that is to enable two-factor authentication (2FA) during the sign-in process. Google already offers optional 2FA sign-in options for all their products, but they will soon make it mandatory for most developers looking to sign into the Google Play Console.

2FA adds a second layer of protection to your account by requiring you to authenticate with something other than just a password. You can use a token generated by a 2FA app, send a sign-in request or a one-time passcode to your device, or even use an external hardware key. Each of these options decreases the chance of someone gaining unauthorized access to your account.

According to Google, making 2FA mandatory for Play Console accounts will be a two-part process:

  1. New users of Google Play Console will be required to set-up 2FA starting Q3 of 2020;
  2. Existing users with high-risk permissions (app publishing, changing the price, removing the app, etc.) will be required to set-up 2FA later this year.

Google will also send out emails to developers 30 days before the change takes effect on their accounts. The company is also providing a feedback form for those who think that their workflow will be negatively affected by the change. If that describes you, then you can follow this link and detail your concerns. I think that pushing mandatory 2FA is the right thing to do for a platform like the Google Play Console which not only holds a lot of sensitive information but also affects the experience of regular users downloading apps from Google Play. However secure the service may be, you should always take precautions like enabling 2FA to guarantee the safety of your accounts.


Source: Android Developers Blog

The post The Google Play Console will soon require 2FA for most developers appeared first on xda-developers.



from xda-developers https://ift.tt/31fjUfZ
via IFTTT

Huawei Mate 40 leaked renders show massive circular camera bump and waterfall display

Despite many setbacks, Huawei is still pushing forward with new smartphone launches. Last year, the company launched the Huawei Mate 30 series, the first smartphones from the company that, as a direct result of U.S. trade sanctions, didn’t ship with Google Mobile Services preloaded. With the Mate 30, Huawei doubled down on packing impressive camera hardware and bleeding-edge features. Earlier this year, they followed up with the Huawei P40 series, a trio of smartphones that packed even more bleeding-edge features like 10X optical zoom and 40W wireless charging (in the Pro+ model). Now, Huawei is gearing up to launch the Huawei Mate 40 lineup, and we have a good understanding of what they’ll look like thanks to famed leaker OnLeaks. He partnered with two different publications for his Mate 40 series leaks: HandsetExpert in the case of the Mate 40 and Pricebaba in the case of the Mate 40 Pro.

The Huawei P40 Pro made headlines for launching with a display that curved not only to the sides but also to the top and bottom of the device. That might not be what we will see in the Huawei Mate 40, though. Instead, we have something more similar to what we saw with the Mate 30. In the case of the standard Mate 40, the display is noticeably curved to the sides like on other Huawei smartphones. However, the Huawei Mate 40 Pro has a waterfall display similar to the one in the Mate 30 Pro. Unlike the Mate 30 Pro, though, the Mate 40 Pro seems to ditch the virtual controls for volume rockers and instead features a standard physical volume rocker. On both smartphones, the notch is replaced with a dual hole-punch camera cutout similar to the one we saw with the P40 series. Within this hole-punch cutout seems to be a more conventional dual camera setup instead of the 3D face unlock system that was included with the Mate 30.

Huawei Mate 40 Huawei Mate 40

Huawei Mate 40 renders. It measures approximately 158.6 x 72.5 x 8.9mm (10.4mm including the camera bump). Source: @OnLeaks/HandsetExpert

The biggest star of the show, though, is the camera bump. It is massive. While similar in shape to the one in the Mate 30, the camera bump on the Mate 40 and Mate 40 Pro is noticeably bigger and more protruding. Huawei tends to make massive improvements in camera hardware with each flagship generation, so we’re expecting this massive camera bump size to be justified by what Huawei has packed into it. Judging by the renders, the regular Mate 40 will have a triple rear camera setup, while the higher-end, more expensive Huawei Mate 40 Pro will be packing a quad rear camera setup.

Huawei Mate 40 Pro Huawei Mate 40 Pro Huawei Mate 40 Pro

Huawei Mate 40 Pro renders. It measures approximately 162.8 x 75.5 x 9mm (10.4mm including the camera bump). Source: @OnLeaks/PriceBaba

Based on the dimensions, the regular Mate 40 will have a 6.4-inch display while the Mate 40 Pro will have a 6.7-inch display. As for what other specs these two phones could have, some rumors claim that Huawei will introduce the new HiSilicon Kirin 1020 processor, which is allegedly fabricated on a 5nm process. This is a big if, though: contract chip-makers have been barred from using U.S.-developed tech to make chips for Huawei, effectively barring TSMC from making Kirin processors. According to rumors, though, the production of these SoCs is apparently not affected by this action, or at least not right now, and Huawei will be getting the chips to make the phones. Regardless, it will be very interesting to see what Huawei comes up with, and we can’t wait to check it out.

The post Huawei Mate 40 leaked renders show massive circular camera bump and waterfall display appeared first on xda-developers.



from xda-developers https://ift.tt/2PirQaX
via IFTTT

[Update 2: Fixed] This wallpaper triggers a rare bug causing Android devices to bootloop

Update 2 (08/03/2020 @ 3:03 PM ET): With the August 2020 Android Security Patches, Google has updated Android to fix this bug. More details can be found at the bottom.

Update 1 (06/04/2020 @ 03:12 AM ET): Newer explanations have emerged on what causes the “cursed wallpaper” to crash phones, alongside a response from Google. Scroll to the bottom for more information. The article as published on June 1, 2020, is preserved below.

Imagine you’re scouring the internet for cool wallpapers and you come across a picturesque landscape. It has everything; a lush green forest, a pristine lake with a tiny island, snow-capped mountains in the background, and a thick cloud cover with sunlight seeping in through the gaps. You immediately download the image, set it as your phone’s wallpaper, and boom! Your Android phone gets stuck in a bootloop. Sounds unlikely, doesn’t it? Well, it’s true for this particular wallpaper.

The wallpaper was recently shared on Twitter by renowned Samsung leakster Ice Universe, who claimed that the wallpaper “will cause your phone to crash!” Despite their warning, several users downloaded the wallpaper to check if it actually did do anything on their phone and they were met with the following results:

According to Davide Bianco, lead developer of the AOSP-based custom ROM “POSP”, this particular wallpaper causes some Android devices to crash as it makes use of the RGB color space, instead of the sRGB color space that is supported natively on Android. Bianco has submitted a patch to AOSP that reportedly fixes the issue and the description of the patch states that “The issue occurs when the user tries to set as wallpaper an image that is not sRGB. What happens is that variable y value is higher than the histogram bounds, making SysUI crash. One possible fix is to limit y value to be always less than 256.” Along with Bianco, two developers, XDA Senior Member BadDaemon and XDA Recognized Developer luca020400, from the popular LineageOS custom ROM team have also come up with a unique solution to the problem. You can check out the patch descriptions over on the LineageOS Gerrit by following this link and this link.

We strongly recommend against using this image as your wallpaper under any circumstances. In case you have already used it and your device is stuck in a bootloop, please check the instructions below on how you may be able to recover your device.

A report from 9to5Google on the matter further reveals that the issue is limited to devices running Android 10 or older and it doesn’t affect devices running the Android 11 Developer Preview. This is due to the fact that on Android 11, the system converts the color space if it’s not supported, but on Android 10 it does not. Which means that this isn’t an issue with this particular image and could be caused by other images using the RGB color space.

Do note that while the issue doesn’t affect all Android devices, we strongly recommend against trying the wallpaper on your phone. In case you try it anyway, you might be able to recover your device by either resetting it completely or by entering safe mode and changing the wallpaper. But since some users over on Twitter weren’t able to recover their devices using the aforementioned methods, it would be best if you don’t use the exact image as your wallpaper. If you really like the wallpaper, just take a screenshot of the image and use that as your wallpaper instead.


Update 1: New Explanation, Response from Google

Expanding on the causes of the bug as explained by XDA Senior Member BadDaemon and XDA Recognized Developer luca020400, the “cursed” wallpaper is encoded in a special color space which is called “Google/Skia/E3CADAB7BD3DE5E3436874D2A9DEE126” (this is the full name of the color space, and Skia refers to the 2D graphics library made by Google.) In contrast, most other wallpaper images are encoded in a color space called “sRGB”.

In Android versions 10 and older, all images are converted to sRGB unless otherwise specified by the developers. There’s a rare bug that can occur when converting the image to sRGB, wherein the code that calculates the “luminance” value of each pixel manages to exceed the maximum limit of 255.

Luminance is calculated using the following formula:

Luminance = .2126f * r + .7152f * g + .0722f * b

Here “r”, “g”, and “b” are red, green, and blue color values represented in an 8-bit value from 0 to 255.

The problem with this calculation is that each part is always rounded up before the final summation. One of the pixels in the “cursed” wallpaper, when in the process of converting the image from sRGB and then to greyscale, has the following RGB values: 255, 255, 243, which when plugged into the above equation looks like:

r: .2126 * 255 = 54.213 => 55

g: .7152 * 255 = 182.376 => 183

b: .0722 * 255 = 18.411 => 19

Luminance = r+ g + b = 257

This value causes SystemUI, and basically the whole OS, to crash because it exceeds the maximum value. It’s a bug that’s so incredibly specific because it involves a combination of a rounding error and color space conversion error.

This bug does not affect Android 11 because the image’s “Skia” color space is not converted to sRGB by default. Thus, this color space conversion error and the rounding error does not occur on Android 11.

However, Romain Guy from the Android Toolkit team at Google believes that the root cause of this issue is only in the way that luminance is calculated and not in any color space conversion issues. Google is conducting its own internal testing, so we will likely see what they come up with soon.

This explanation was updated to clarify that one of the pixels in the “cursed” wallpaper is the cause of this specific luminance rounding calculation error. We also clarified that the rounding occurs during each step of the luminance calculation and not at the end.


Update 2: Fixed in August 2020 patches

The Android security patches for the month of August just went live, and XDA Recognized Developer luca020400 spotted a commit in AOSP that merges a fix for this wallpaper bug.

The post [Update 2: Fixed] This wallpaper triggers a rare bug causing Android devices to bootloop appeared first on xda-developers.



from xda-developers https://ift.tt/2TY96QH
via IFTTT

August 2020 security update rolls out for Google Pixel, Samsung Galaxy S20, and more Samsung phones

It’s the first Monday of a new month, which means it’s time for a new round of Android security updates from Google. The search giant on Monday published the latest Android Security Bulletin and Pixel Update Bulletin for August 2020. The update is rolling out now for Google Pixel devices, of course, but several Samsung phones, including the Samsung Galaxy S20, have also already started to get the update.

Similar to last month, there doesn’t appear to be any functional changes for Google’s Pixel devices — at least Google doesn’t specifically mention anything in the bulletin. There are, however, plenty of patches that address high and critical severity issues.

Build numbers (Global)

  • Pixel 2: QQ3A.200805.001
  • Pixel 3: QQ3A.200805.001
  • Pixel 3a: QQ3A.200805.001
  • Pixel 4: QQ3A.200805.001

Pixel 2 Forums ||| Pixel 2 XL Forums ||| Pixel 3 Forums ||| Pixel 3 XL Forums

Pixel 3a Forums ||| Pixel 3a XL Forums ||| Pixel 4 Forums ||| Pixel 4 XL Forums

Download Factory Images ||| Download OTA Images

Samsung devices including the Galaxy S10 series, Galaxy Note 10 series, Galaxy A50, and Galaxy S20 series are also receiving the August 2020 security update in some regions, so be on the look out for that. Apparently, some of the other improvements included in the update from Samsung feature camera and Wi-Fi improvements.

For more information on how Android security patch updates work, check out our in-depth explainer on the topic.


Source: Android Bulletin, Pixel Bulletin

The post August 2020 security update rolls out for Google Pixel, Samsung Galaxy S20, and more Samsung phones appeared first on xda-developers.



from xda-developers https://ift.tt/3k73uPA
via IFTTT