XCLUB-COOL STUFF AROUND YOU

 找回密码
 Register
查看: 90|回复: 1
打印 上一主题 下一主题

Files on Android Q Beta 2

[复制链接]

201

主题

340

帖子

540

积分

Jade Star LV3

post star1sign star1post star2sign star2sign star3sign star4X'Club badge exclusive for Nigeria

跳转到指定楼层
#1
发表于 2019-04-09 12:22:18 来自手机 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
Privacy has been one of the main themes with Android Q so far. Permissions can be blocked to background apps, clipboard managers have been killed off, and runtime permissions are changing for old apps. It seems Google is just getting started, as Android Q Beta 2 comes with major changes to how apps can access local files.[br][br]Applications are already encouraged to use their own folders for storing data, or using one of the generic system folders in the main directory (Music, Downloads, etc.). Android Q Beta 2 is taking this a step further, by limiting how apps can access files on internal and external storage.[br][br]With 'Scoped Storage,' Android creates isolated storage sandboxes for each app. Apps no longer need special permissions to write to their own files, and no other apps can directly access another app's sandbox. The default Photos, Videos, Music, and Downloads folders are 'shared collections' - meaning they are accessible by any app.[br][br]There are several new permissions to go with Scoped Storage. READ_MEDIA_AUDIO grants permission to the Music folder, READ_MEDIA_IMAGES gives access to the Photos folder, and READ_MEDIA_VIDEO is for the Videos folder.[br][br]There are other changes to file access as well. By default, Android Q removes Exif data from images when apps try to access them, unless the apps have the new ACCESS_MEDIA_LOCATION permission. Exif information usually contains GPS coordinates for where the photo was taken, along with other data about the phone's cameras.[br][br]Android Q also now assigns unique names to all external storage devices (flash drives, SD cards, etc.). On Android 9 Pie and lower, they were all listed under the single "external" volume name.[br][br]Finally, Android Q includes a 'compatibility mode' that disables these new restrictions. The mode is only enabled for apps installed before a device was updated to Android Q, and if the app is still built for Android 9 Pie or older. Uninstalling and re-installing the app won't re-enable compatibility mode.[br][br]This might be the most important API change in Android Q, as it represents a major shift in how Android lays out files. Instead of the free-for-all file system that desktop operating systems use, most app data will be kept private. Most people probably won't notice anything different, but the existing storage permissions aren't going away right now anyway.[br][br]Update 1: 2019/04/08 2:04pm PDT by Corbin Davenport[br][br][br][br][br]  •  Source:[br][br]  •  Android Developers
EddieEd
回复

使用道具 举报

146

主题

1378

帖子

1526

积分

Jade Star LV5

2019post star1post star2Xclub Kolsign star1post star1post star2sign star2sign star3X'Club badge exclusive for Nigeria

#2
发表于 2019-04-09 16:55:33 来自手机 | 只看该作者
nice share baba
回复

使用道具 举报

高级模式
B Color Link Quote Code Smilies |上传

本版积分规则

Infinix Official Website|Infinix official mall|infinix Note 4|XCLUB-COOL STUFF AROUND YOU

GMT+8, 2025-02-01 05:56 , Processed in 0.034494 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表