今天小編分享的科技經驗:谷歌安卓 15 将添加藍牙新特性:關閉後第二天可自動重新打開,歡迎閲讀。
IT 之家 4 月 6 日消息,國外科技媒體 Android Authority 挖掘安卓 15 DP2 代碼,發現了 "Bluetooth auto-on" 新特性,就是幫助用户自動打開藍牙功能。
IT 之家翻譯谷歌代碼部分内容如下,包括 Quick Share、Find My Device 已經設備定位都需要藍牙,會在用户關閉之後隔天自動拉開藍牙。
Features like Quick Share Find My Device and device location use Bluetooth Automatically turn on again tomorrow
目前相關代碼已經發布到 AOSP 上。首先,只有系統應用程式才能啓用該特性,因此第三方應用程式無法在你不知情的情況下切換設備的藍牙無線功能。
When Bluetooth is on, your device can communicate with other nearby Bluetooth devices. Features like Quick Share, Find My Device, and device location use Bluetooth. "When Bluetooth is on, your device can communicate with other nearby Bluetooth devices. Features like Quick Share, Find My Device, and device location use Bluetooth.Apps and services can still scan for nearby devices at any time, even when Bluetooth is off. This can be used, for example, to improve location-based features and services. You can change this in Bluetooth scanning settings." Automatically turn on again tomorrow
其次,API 并不局限于安卓 15,這意味着它可以在此前安卓版本上使用。不過,設備必須使用 AOSP 的藍牙堆棧,無法調用自定義堆棧。即便如此,代碼注釋也指出并非所有設備都支持藍牙自動開啓功能。