summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/ApnSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Settings: Apn: Don't dereference a null mSubscriptionInfoDiogo Ferreira2016-10-251-1/+2
| | | | | | | | | When switching sims mSubscriptionInfo can be temporarily null, don't dereference it in those cases. The interface will be updated afterwards when the subscription status changes. Change-Id: I1011a10434fad8fd911164217b9fb2d0dfb82b2a Ticket: CYNGNOS-3291
* Settings:Fix mImsi null cause ApnSettings crashxiaognol2016-08-111-5/+2
| | | | | | | | mImsi may be "null" in some case,if we use "" instead may cause crash in ApnSettings&com.android.phone. so fix it to use old way to set Apn in that "null" case. Change-Id: I0119e9a3f58c688e0e271ae62f50484ad8a29da9
* Settings: use subid & imsi for MSIM apn lookupsRoman Birg2016-06-071-7/+33
| | | | | | | Ticket: PAELLA-158 Change-Id: Icca65a9a46533e1bbcfd4dd08e974d736ea1253b Signed-off-by: Roman Birg <roman@cyngn.com>
* apn: Update the add actionbar iconDiogo Ferreira2015-12-261-1/+1
| | | | | | The add icon was using pre-L drawables and looked out of place. Change-Id: I4851c41091985ab1eca42e40d56e987262ee0cee
* Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-071-9/+13
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Settings into HEAD Android 6.0.1 release 3 Change-Id: If54bacef03fc826fd02ca48db5ef3a25c8fc7127
| * Change to add user_visible field to Carriers table.Amit Mahajan2015-10-081-10/+14
| | | | | | | | | | | | | | | | Also adding config to control if adding APNs is allowed. Bug: 24519879 Bug: 24681288 Change-Id: I59466f5489606162a10e883ede378e575a189fb3
* | apn: Update the add actionbar iconDiogo Ferreira2015-11-231-1/+1
| | | | | | | | | | | | The add icon was using pre-L drawables and looked out of place. Change-Id: Icd2a522590b3ed01da99d8b1dc093019b5f46218
* | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-1/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: res/values-fr/strings.xml res/values-it/strings.xml res/values-ja/strings.xml res/values-nl/strings.xml res/values-pl/strings.xml res/values-ro/strings.xml res/values-ru/strings.xml res/values-zh-rCN/strings.xml res/values/bools.xml res/values/strings.xml res/xml/development_prefs.xml src/com/android/settings/DevelopmentSettings.java src/com/android/settings/DeviceInfoSettings.java src/com/android/settings/DisplaySettings.java Change-Id: I9fd9e793cf6097d950f8a1e30771c8bdf5067906
| * Hide or show APNs with type="ims" as CarrierConfigSungmin Choi2015-09-081-1/+13
| | | | | | | | | | | | | | | | | | | | | | APN with type="ims" is used to attach IMS APN to the modem. This APN is meaningless and confusing to end users. Most carriers don't care to show this APN from apn list. Some carriers want to show this APN from apn list and others don't. This change hides or shows this as CarrierConfig from the APN list. Bug: 23770219 Change-Id: Ia632f39401d84e8c63ac96f1c3b12aa3d8d2a4e6
* | Fix apn population issueSusheel nyamala2015-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | With Uicc card, when device is camped for eHRPD network, mcc-mnc values populated on APN editor are wrong. This is because the icc property used to read mcc-mnc is updated with mcc-mnc value from RuimRecords. Fix is to get family type from PS RAT and read mcc-mnc value from icc records obtained from RAT family type Change-Id: I42cde5c6acfcc08f1ce5e8a1f0d4830aafe93351 CRs-Fixed: 727780
* | Settings: Fix no preferred APNjianzhou2015-10-061-0/+12
| | | | | | | | | | | | | | | | Add preferred APN if found no match. CRs-Fixed: 748830 Change-Id: Ibecf88a3e6236de13a0a4291438a6e62159a05e0
* | Settings: Add the read only APN feature.jianzhou2015-10-061-2/+5
|/ | | | | | | | | | Disable the edit screen for read only APNs Some operators don't want their APNs to be edited by end user to avoid mistaken changes. End user should be able to only view the APNs, but not edit. Change-Id: I89f26ccc687d6989c562f164dbe53961a4d8a057
* Don't allow secondary users apps to start restricted Settings fragment.Nicolas Prevot2015-06-021-1/+3
| | | | | | | | | | | | | | On a secondary user, the fragments ApnSettings, TetherSettings and VpnSettings should not be started. But an app can still send an intent to start these fragments. Prevent this by checkin the userId in these fragments. BUG:15313261 BUG:15312781 BUG:15312494 Change-Id: I2a36bb89a8e37e4440aa28372d7a1800b33dae37
* Show only APNs belonging to carrier (mno/mvno) under apn settings.Amit Mahajan2015-05-121-7/+60
| | | | | Bug: 10719093 Change-Id: I942ce59995afffd395f7d73e4fd70674db0f643f
* Correct the way settings deals with subscriptions.Stuart Scott2015-04-081-1/+1
| | | | Change-Id: I19e9dfaf248fce7376b124ee91de7e73fdc99fb3
* log visibility of viewsChris Wren2015-03-271-0/+6
| | | | | Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
* Settings: Remove all unused imports.John Spurlock2015-03-181-5/+0
| | | | Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
* [DS] Correct the access method for telephony system propertyMick Lin2015-01-271-2/+8
| | | | | | | | Bug: 18675498 Review: https://partner-android-review.git.corp.google.com/#/c/198822 Change-Id: I7d6eab7d8f513de20bd8995b999a124097f725e7
* Hide APNs with type="ia" and apn=""Sanket Padawe2015-01-231-1/+1
| | | | | | | | | | | APNs with type="ia" and no APN address (apn="") are used to prevent an initial attach APN from being sent to the modem. This in turn prevents the LTE ESM information procedure from being used during the LTE attach. These APNs are meaningless and confusing to end users - so this change hides them from the APN list. Bug: 19101183 Change-Id: I9aacf787f8c175a301ad546f972f8972aad2a6b3
* Getting mcc/mnc from system prop instead of subInfoRecord.Sanket Padawe2014-12-181-2/+4
| | | | | Bug: 18781129 Change-Id: Idb4c70c9b936a947460e6c6d03bd40dc2ae4279a
* Revert "Getting mcc/mnc from system prop instead of subInfoRecord."Sanket Padawe2014-12-181-6/+4
| | | | | | This reverts commit 579b66f28da710b5a1e68e211f5bd54ea466ab8b. Change-Id: I0b142b40c697992b60bca9020673a0828ec44977
* Getting mcc/mnc from system prop instead of subInfoRecord.Sanket Padawe2014-12-171-4/+6
| | | | | Bug: 18781129 Change-Id: Idefe2dfc26bef2bba2b5b1792bb5ac43a44aa6cc
* Added Multi-SIM capability to Access Point NamesPauloftheWest2014-12-081-2/+11
| | | | | | | | + In Settings->More->Cellular networks->AccessPoint Names will display the APNs for the selected SubscriptionInfo. Bug: 18246837 Change-Id: If8f46c2fa82cf4b2051ddb5f15afc8c59cb9b850
* Fix bug #17976062 Stability: ISE in Settings: Fragment ApnSettings{4da9ae0} ↵Fabrice Di Meglio2014-10-141-3/+7
| | | | | | | | not attached to Activity - prevent IllegalStateException Change-Id: I63fa1bb6240c7ff82c04be938b72940049409dee
* Supress menu if screen ought to be hidden.Julia Reynolds2014-08-181-1/+3
| | | | | Bug: 14081992 Change-Id: I56183413a001b3e6dd74de249e9afc131e6671e4
* Fix bug #16703191 APN settings shows back button even when you intent into itFabrice Di Meglio2014-08-151-33/+46
| | | | | | | | - change a bit the way we recognize a SubSetting. Now we can pass the new ":settings:show_fragment_as_subsetting" Intent extra for forcing it. - convert ApnSettings to a SettingsPreferenceFragment Change-Id: I22167ad317530c0a58c4d522a72826f9d34ad2d3
* Settings user restriction changes: wireless & networks changes.Julia Reynolds2014-05-291-0/+21
| | | | | Bug: 14081992 Change-Id: I32b0f06da7e7ff9bd8303ce26be2584e6cddbedc
* Fix bug #12979102 Menu (Reset to default) and Add icon missing in APNsFabrice Di Meglio2014-02-111-23/+24
| | | | | | - revert the changes on the ApnSettings to be again an Activity... Change-Id: I7a12e25456f0a0df0f7618183f49fd8db10a5441
* Fix bug #12910775 Settings crash after tap on Access Point Names under ↵Fabrice Di Meglio2014-02-061-1/+7
| | | | | | | | | | | | Mobile networks - ApnSettings is now a fragment so introduce a new ApnSettingsActivity - ApsSettingsActivity will use the ApnSettings fragment - move the getListView() call to onActivityCreated(...) as the ListView needs to be created before this call can be done. - add also an alias for the old activity name ".ApsSettings" Change-Id: Id228722d7f34415d4b036282f0845e28546111df
* Use Drawer in Settings appFabrice Di Meglio2014-02-031-23/+16
| | | | | | | | | | | | | | | | | | | | - get rid of PreferenceActivity as much as we can and use fragments instead - add Drawer widget - add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL) - add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external call thru an Intent Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we would have two Home). Also, verified that: - the WiFi settings still work when called from SetupWizard - when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
* avoid stopping app in case of accessing empty dbHyejin Kim2013-02-161-35/+37
| | | | | | | When accessing empty database, Setting App is stopped, sometimes. To avoid stopping app, check null for cursor Change-Id: I71ec067f502d12a9215a9abdbe9e23fc07af17bb
* Makes the add button for new APNs appear in the action bar.Manuel R. Ciosici2012-09-211-1/+2
| | | | | | | The APN add button (a plus sign) now appears in the action bar if possible. The APN list interface is now more consistent with the WiFi list interface. Previously the user had to press the 'Menu' hardware button or the three dot button on the screen in order to reveal the actions. Change-Id: Iae622054ec080ba4775c22223dd75a865c83fc27 Signed-off-by: Manuel R. Ciosici <manuelrciosici@gmail.com>
* Fix memory leak in ApnSettings-activityJack Wang2012-08-131-5/+16
| | | | | | | | | When destroying the activity, the HandlerThread isnt stopped. This results in that the thread remains, and if you enter/exit the activity multiple times, you will end up with multiple threads and a small memory leak Change-Id: I4779d2625e6002b55066dd034c84d743b9f80ef5
* Use telephony-common - DO NOT MERGEWink Saville2012-07-171-5/+6
| | | | Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
* Fix crash in APN settings.Jeff Brown2011-09-121-4/+4
| | | | | | | | Bug: 4968921 Don't use managedQuery for one-shot queries. Change-Id: I5d2e1bef0f399cb9dbe95d633c2ee014f6cd7f79
* Findbug fixes in Settings appMichael Chan2009-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | modified: src/com/android/settings/ApnPreference.java modified: src/com/android/settings/ApnSettings.java modified: src/com/android/settings/BandMode.java modified: src/com/android/settings/BatteryInfo.java modified: src/com/android/settings/LanguageSettings.java modified: src/com/android/settings/ManageApplications.java modified: src/com/android/settings/RadioInfo.java modified: src/com/android/settings/SdCardSettings.java modified: src/com/android/settings/UsageStats.java modified: src/com/android/settings/ZoneList.java modified: src/com/android/settings/bluetooth/LocalBluetoothDevice.java modified: src/com/android/settings/deviceinfo/Status.java modified: src/com/android/settings/quicklaunch/QuickLaunchSettings.java modified: src/com/android/settings/wifi/AccessPointDialog.java modified: src/com/android/settings/wifi/AccessPointPreference.java modified: src/com/android/settings/wifi/WifiLayer.java modified: src/com/android/settings/wifi/WifiSettings.java
* AI 144245: Fix merge conflict for megering in the CDMA changes in to master ↵Wink Saville2009-04-021-1/+1
| | | | | | from donutburger. Automated import of CL 144245
* Automated import from //branches/master/...@140758,140758John Huang2009-03-241-18/+134
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+229
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-117/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-127/+15
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-15/+127
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-1/+2
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-6/+11
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+111