Status Update
Comments
vi...@google.com <vi...@google.com> #2
What steps are needed to reproduce this issue? Frequency of occurrence?
Which Android build are you using? (e.g. AP4A.241205.013.A1)
Can you confirm if this issue is reproducible on a Pixel/Nexus device?
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report and screenshot to google drive and share the folder to android-bugreport@google.com, then share the link here.
ji...@zte.corp-partner.google.com <ji...@zte.corp-partner.google.com> #3
Dear google team, Sorry, there is no pixel device for fota test. I uploaded a previous test log in the attachment. After fota, the Y!mobile APN of 44020 was updated and the configuration parameters of the apn were updated.
// Before fota, a new apn for testing was created: test, and its index value in the database is 4859. The index value of preferredApn is 3510. 18162 07-29 22:22:25.439522 1735 1735 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] IMS, 3509, 44020, ims, , null, , null, null, 0, ims, IPV6, IPV6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=ims, null}, preferred=false] 18163 07-29 22:22:25.439663 1735 1735 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] Y!mobile APN, 3510, 44020, plus.acs.jp.v6, , http://mms-s, , 8080, null, 2, mms | supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.acs.jp.v6, null}, preferred=false] 18164 07-29 22:22:25.439768 1735 1735 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] NURO 銉儛銈ゃ儷, 3511, 44020, so-net.jp, , null, , null, null, 3, supl | hipri | default, IP, IP, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=so-net.jp, null}, preferred=false] 18165 07-29 22:22:25.439856 1735 1735 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] SoftBank 4G/5G, 3512, 44020, plus.4g, , null, , null, null, 3, supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.4g, null}, preferred=false] 18166 07-29 22:22:25.439953 1735 1735 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] SoftBank 3G, 3513, 44020, plus.softbank, , null, , null, null, 3, mms | supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.softbank, null}, preferred=false] 18167 07-29 22:22:25.440037 1735 1735 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] zte, 4859, 44020, zte, , null, , null, null, 0, hipri | default, IP, IP, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=zte, null}, preferred=false] 18168 07-29 22:22:25.447684 1735 1735 D MtkDPM : DPM-0: Added default EIMS data profile. 18169 07-29 22:22:25.448236 1735 1735 D MtkDPM : DPM-0: Found 7 data profiles. profiles = [[DataProfile=[ApnSetting] IMS, 3509, 44020, ims, , null, , null, null, 0, ims, IPV6, IPV6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=ims, null}, preferred=false], [DataProfile=[ApnSetting] Y!mobile APN, 3510, 44020, plus.acs.jp.v6, , http://mms-s, , 8080, null, 2, mms | supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.acs.jp.v6, null}, preferred=false], [DataProfile=[ApnSetting] NURO 銉儛銈ゃ儷, 3511, 44020, so-net.jp, , null, , null, null, 3, supl | hipri | default, IP, IP, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=so-net.jp, null}, preferred=false], [DataProfile=[ApnSetting] SoftBank 4G/5G, 3512, 44020, plus.4g, , null, , null, null, 3, supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.4g, null}, preferred=false], [DataProfile=[ApnSetting] SoftBank 3G, 3513, 44020, plus.softbank, , null, , null, null, 3, mms | supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.softbank, null}, preferred=false], [DataProfile=[ApnSetting] zte, 4859, 44020, zte, , null, , null, null, 0, hipri | default, IP, IP, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=zte, null}, preferred=false], [DataProfile=[ApnSetting] DEFAULT EIMS, 0, null, , null, null, null, null, null, 0, emergency, IPV4V6, IPV4V6, true, 0, false, 0, 0, 0, 0, 0, null, null, false, UNKNOWN, UNKNOWN, -1, -1, -1, false, TrafficDescriptor={mDnn=, null}, preferred=false]] 18170 07-29 22:22:25.448276 1735 1735 D MtkDPM : DPM-0: Data profiles changed. 18171 07-29 22:22:25.451335 1735 1735 D DPM-0 : getPreferredDataProfileFromDb: [DataProfile=[ApnSetting] Y!mobile APN, 3510, 44020, plus.acs.jp.v6, , http://mms-s, , 8080, null, 2, mms | supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.acs.jp.v6, null}, preferred=false]
// After fota, set the preferredApn read by the application to empty, and set the first apn in the list as preferredApn. // The key value in the following printout is the index value _id of the apn in the database. // It can be clearly seen that the database has been rebuilt based on the newly created apn. The original apn index value of Operator 44020 has increased by 4859. 12339 03-05 14:55:29.504779 7267 7267 D Settings_sim_tag: ApnSettings: fillList: mSelectedKey:null 12342 03-05 14:55:29.506992 7267 7267 D Settings_sim_tag: ApnSettings: fillList: mSelectedKey = null, key = 4859 12345 03-05 14:55:29.508339 7267 7267 D Settings_sim_tag: ApnSettings: fillList: mSelectedKey = null, key = 8369 12348 03-05 14:55:29.509667 7267 7267 D Settings_sim_tag: ApnSettings: fillList: mSelectedKey = null, key = 8370 12351 03-05 14:55:29.510304 7267 7267 D Settings_sim_tag: ApnSettings: fillList: mSelectedKey = null, key = 8371 12355 03-05 14:55:29.511617 7267 7267 D Settings_sim_tag: ApnSettings: fillList: mSelectedKey = null, key = 8372 12404 03-05 14:55:29.539623 2063 2063 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] zte, 4859, 44020, zte, , null, , null, null, 0, hipri | default, IP, IP, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=zte, null}, preferred=false] 12405 03-05 14:55:29.539776 2063 2063 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] IMS, 8368, 44020, ims, , null, , null, null, 0, ims, IPV6, IPV6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=ims, null}, preferred=false] 12407 03-05 14:55:29.540139 2063 2063 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] Y!mobile APN, 8369, 44020, plus.acs.jp.v6, , http://mms-s, andmms.plusacs.ne.jp, 8080, null, 2, mms | supl | hipri | default | ia, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.acs.jp.v6, null}, preferred=false] 12408 03-05 14:55:29.540583 2063 2063 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] NURO 銉儛銈ゃ儷, 8370, 44020, so-net.jp, , null, , null, null, 3, supl | hipri | default, IP, IP, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=so-net.jp, null}, preferred=false] 12409 03-05 14:55:29.540883 2063 2063 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] SoftBank 4G/5G, 8371, 44020, plus.4g, , null, , null, null, 3, supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.4g, null}, preferred=false] 12410 03-05 14:55:29.542014 2063 2063 D MtkDPM : DPM-0: Added [DataProfile=[ApnSetting] SoftBank 3G, 8372, 44020, plus.softbank, , null, , null, null, 3, mms | supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.softbank, null}, preferred=false] 12445 03-05 14:55:29.557009 2063 2063 D MtkDPM : DPM-0: Added default EIMS data profile. 12448 03-05 14:55:29.557999 2063 2063 D MtkDPM : DPM-0: Found 7 data profiles. profiles = [[DataProfile=[ApnSetting] zte, 4859, 44020, zte, , null, , null, null, 0, hipri | default, IP, IP, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=zte, null}, preferred=false], [DataProfile=[ApnSetting] IMS, 8368, 44020, ims, , null, , null, null, 0, ims, IPV6, IPV6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=ims, null}, preferred=false], [DataProfile=[ApnSetting] Y!mobile APN, 8369, 44020, plus.acs.jp.v6, , http://mms-s, andmms.plusacs.ne.jp, 8080, null, 2, mms | supl | hipri | default | ia, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.acs.jp.v6, null}, preferred=false], [DataProfile=[ApnSetting] NURO 銉儛銈ゃ儷, 8370, 44020, so-net.jp, , null, , null, null, 3, supl | hipri | default, IP, IP, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=so-net.jp, null}, preferred=false], [DataProfile=[ApnSetting] SoftBank 4G/5G, 8371, 44020, plus.4g, , null, , null, null, 3, supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.4g, null}, preferred=false], [DataProfile=[ApnSetting] SoftBank 3G, 8372, 44020, plus.softbank, , null, , null, null, 3, mms | supl | hipri | default, IPV4V6, IPV4V6, true, 0, true, 0, 0, 0, 0, 0, null, , false, UNKNOWN, UNKNOWN, 0, -1, -1, false, TrafficDescriptor={mDnn=plus.softbank, null}, preferred=false], [DataProfile=[ApnSetting] DEFAULT EIMS, 0, null, , null, null, null, null, null, 0, emergency, IPV4V6, IPV4V6, true, 0, false, 0, 0, 0, 0, 0, null, null, false, UNKNOWN, UNKNOWN, -1, -1, -1, false, TrafficDescriptor={mDnn=, null}, preferred=false]]
// Logic for update the apn database after fota, where preferredApn is deleted private synchronized void updateApnDb() { ... // Delete preferred APN for all subIds deletePreferredApnId(getContext()); ... }
ji...@zte.corp-partner.google.com <ji...@zte.corp-partner.google.com> #4
Dear google team, I have re uploaded the analysis, please check the attachment.
thanks
Description
We found a problem during testing. Fota update will cause preferredApn to change.
Is there any solution to deal with the following situation: before and after fota, the user's preferredApn configuration has not changed (other apns are updated), and it is still set to preferredApn after fota.
Problem description:
After fota, the database is rebuilt, the user-configured apn will be at the top of the database, and the index value _id will remain unchanged.
Then the apn in the rebuilt database will increase based on this index value.
Since rebuilding the database will clear the original preferredApn, the user's preferredApn may change after fota. The following two scenarios may occur:
1. Before fota, the user selected the user-configured apn, and preferredApn did not change after fota;
2. Before fota, the user selected a non-user-configured apn, and preferredApn changed after fota. After reading the apn list in DataProfileManager.java, use the first one to initiate pdp activation.After pdp activation is successful, set this apn as preferredApn. Therefore, this will cause preferredApn to change.
ZTE submitter :liyuan