http://www.androidpolice.com/2015/10/20/googles-ground-rules-for-android-6-0s
-permission-system-wont-let-oems-easily-grant-permissions-to-pre-installed
-apps-read-especially-bloatware/
昨天晚上令人失望的HTC One A9發表會上 有個細節不知道大家有沒有發現
"HTC內建的軟體變得很少"
原因是這樣的: Android M在權限系統上面做了重大的變動
In it, Google explains that apps that target API level 23 will have to
request permissions to access certain protected features. OEMs won't be
able to avoid this, they will need to have dialogue windows for
permission requests (ie the pop-ups) and a central location to manage
all permissions (as in the Settings). These are non-negotiable (MUST)
requirements.
從API Level 23開始 符合權限系統要求的APP都需要跳出權限需求視窗
而且OEM自己的軟體也一樣無法避免 用到一個額外的權限就要跳一個
設定裏面也要特別寫控制所有權限的頁面
這是毫無妥協餘地的要求
More important however, is the fact that OEMs won't be able to (MUST NOT)
grant permissions to pre-installed apps. There are two exceptions here.
The first treats these like any other app, requiring them to ask for
permissions before doing anything substantial. The second is when these
apps are standard replacements for default ones, like the phone, camera,
contacts app, etc.
OEM不能直接開綠燈給他們自己的APP 只有兩種情況:
1) 每個APP用到的時候自己跳視窗問
2) 撥號介面、相機、聯絡人這種預設會取代Google原版的