Expose IMEI as system property
This is required for factory production checking and to display the IMEI
number in Settings.
Changes for Android 11: setGlobalSystemProperty is not available
anymore. Properly fix setting IMEI twice by setting it for the currently
updated phone ID only.
This contains two commits from Android 9/10:
This is the 1st commit message:
Add IMEI information in system property
Change-Id: I665dbb2066b288185a22a995f6e1cdddd003218c
RiskArea: System property
(cherry picked from commit 734a769d0277c734dc59875ae2a99bba25a83032)
This is the commit message #2:
Fix IMEI property format issue
Root cause:
The setSystemProperty function will write IMEI twice because device
is dual sim.
How to fix:
Replace setSystemProperty function with setGlobalSystemProperty
function to fix this issue.
Change-Id: I84636237cd9854311dfdb81f68ec8787b09a2d8d
RiskArea: System Property
(cherry picked from commit 0f7fd1f9781b46f2035c0a186238b9135b7e252a)
Issue: FP3-A11#231
Change-Id: I37bfd3037c1b33d5c0ffd3de6911d46a045fe13c
1 file changed