diff options
author | Niklas Lindgren <niklas.lindgren@sony.com> | 2018-05-18 14:48:43 +0200 |
---|---|---|
committer | Jordan Liu <jminjie@google.com> | 2018-05-21 12:08:20 -0700 |
commit | 633d129975a1a4780f0a13e183192bfe09cb80db (patch) | |
tree | b7690fa2b5d76f1db691c9386b3247c12666adc6 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 44aeaafc34523ae7d60a8abe017276de6842d80a (diff) |
Change directory where apns-conf.xml is stored
When apns are downloaded OTA they are stored directly under data/misc
by system server. Files created there gets assigned with file context
system_data_file which TelephonyProvider cannot read.
In order to make sure that downloaded apns gets a file context TelephonyProvider
can read we create an apns sub directory in init where radio_data_file:s are
created. The data path to where apns-conf is stored is here changed from /data/misc/
to /data/misc/apns/.
This change is aligned with other files that ConfigUpdateInstallReceiver writes.
Test: Trigger Apn update via intent UPDATE_APN_DB
Go to settings/apn-list and verify that newly downloaded are present
Bug: 79948106
Change-Id: I5a9ec262bfbac291cca9fee5accf93eb6c06f253
Merged-In: I5a9ec262bfbac291cca9fee5accf93eb6c06f253
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions