default SMS app is a special case with IMEI access

This commit is contained in:
Daniel Micay 2025-01-14 17:44:24 -05:00
parent 560226adae
commit 24e910506a

View File

@ -676,8 +676,11 @@
identifiers such as the serial number, MAC addresses, IMEIs/MEIDs, SIM card serial
numbers and subscriber IDs. Only privileged apps included in the base system with
<code>READ_PRIVILEGED_PHONE_STATE</code> whitelisted can access these hardware
identifiers. Apps targeting Android 10 will receive a <code>SecurityException</code>
and older apps will receive an empty value for compatibility.</p>
identifiers. Apps targeting Android 10 will receive a
<code>SecurityException</code> and older apps will receive an empty value for
compatibility. The default SMS app is a special case that's given access to the
IMEI, which is normally the GrapheneOS fork of the AOSP Messaging app unless
users explicitly change it to another app.</p>
<p>Since these restrictions became standard, GrapheneOS only makes a small change to
remove a legacy form of access to the serial number by legacy apps, which was still