summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/ApnEditor.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix mcc-mnc population issue in apn editorSusheel nyamala2016-07-011-2/+2
| | | | | | | | | | When creating a new apn in LTE mode, mcc-mnc values populated on apn editor are wrong if uicc card is used. Replace getSimOperator with getIccOperatorNumericForData method, which returns mcc-mnc values based on PS RAT registered. Change-Id: I263848bfbeabd4636dccd203c366ab00858ceaaf CRs-Fixed: 931556
* Settings: don't allow duplicate APN entriesRoman Birg2016-02-081-1/+80
| | | | | | | | Prompt user with warning if they are about to add a new APN which is a duplicate. Change-Id: I86c6a6d272a7ba079b81dedb05b44575fd4d86e7 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: add config for new APN type defaultsRoman Birg2016-02-051-0/+1
| | | | | | | This way a specific mcc-mnc combo can overlay some defaults as needed. Change-Id: I5e0c46830c1ab7845ce3372dcb06a70a144c651a Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Set the default protocol as "PROTOCOL_IPV4V6" when createdjianzhou2015-11-041-1/+6
| | | | | | | Set the default protocol as "IPV4V6" when created, take it as a common requirement. Change-Id: I3564c499a1a8898c1b9b13a7ef631a51e02c4457
* Settings: Add the read only APN feature.jianzhou2015-10-061-0/+17
| | | | | | | | | | 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
* Settings: Display APN PPP numberjianzhou2015-10-061-2/+28
| | | | | | Display the APN PPP number if it is present in the APN settings Change-Id: Iec30a2beadcdf078eaa6acd3a12f2e406ba9174e
* Fix bug to force to close once change Bearer on APNSungmin Choi2015-07-201-1/+1
| | | | | Bug: 22544257 Change-Id: I43eea4034c3d106b8e3f8e4f999f389db04b7567
* Show only APNs belonging to carrier (mno/mvno) under apn settings.Amit Mahajan2015-05-121-1/+10
| | | | | Bug: 10719093 Change-Id: I942ce59995afffd395f7d73e4fd70674db0f643f
* ApnEditor changes to support bearer as a bitmask.Amit Mahajan2015-04-301-22/+98
| | | | Change-Id: I8d97f7e789a6ab75f2c5931624fe9694589fc215
* log visibility of viewsChris Wren2015-03-271-1/+7
| | | | | Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
* Settings: Remove all unused imports.John Spurlock2015-03-181-7/+0
| | | | Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
* [DS] Correct the access method for telephony system propertyMick Lin2015-01-271-4/+5
| | | | | | | | Bug: 18675498 Review: https://partner-android-review.git.corp.google.com/#/c/198822 Change-Id: I7d6eab7d8f513de20bd8995b999a124097f725e7
* Fix bug #15730311 Checkboxes on R side should update to Quantum/Material ↵Fabrice Di Meglio2014-10-151-2/+3
| | | | | | | | on/off switch Per UX request, convert more CheckBoxes to Switches Change-Id: I04712bce4c0a54516d9ecedbb554f403fd6dd9e7
* Test APNsJing Zhao2014-08-281-0/+10
| | | | | | | | | Add test APNs to carriers table. Enable APN Setting editing for testing PLMNs. Allow user to toggle carrier_enabled for test APNs. Bug: 17136661 Change-Id: Ieabfac5ea02a5b9971c7050d8278ad0095863e3a
* More User Settings improvementsAmith Yamasani2014-07-261-1/+1
| | | | | | | | | | | | | Add a menu checkbox to allow creation of users from lockscreen. Add a delete icon in restricted profiles settings. Other little fixes to icons. Update some strings based on feedback. Bug: 15761405 Bug: 16550371 Bug: 16298824 Change-Id: Ib876bd57f15c6ce2d71856f72571c6b8b0e3102d
* Fix bug #12978671 RTE while tapping on Access pointsFabrice Di Meglio2014-02-111-14/+43
| | | | | | - revert back to a PreferenceActivity Change-Id: Ie79b46908c9d8dcf3c2b77bd0999341c7e72050e
* Use Drawer in Settings appFabrice Di Meglio2014-02-031-43/+14
| | | | | | | | | | | | | | | | | | | | - 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
* pre-provide the mvno data of the edited apnSungmin Choi2013-04-011-3/+18
| | | | | | | | | | | For mvno, user can add or edit mvno data field. Pre-provide the mvno data of the edited apn when the user selects one of the mvno types. For example if user choose gid, populate the data field with the current sim's gid1 data, or if user choose the SPN option, fill in data with the current carrier string. If IMSI, fill in imsi data. Change-Id: I1bc280054cc7cd37e78a279866cefd62872a19fb
* add MVNO field for APN EditorSungmin Choi2013-02-281-1/+49
| | | | | | | For MVNO, add related data fields. Bug: 8143480 Change-Id: Idfa06c6f39a2c15ff4f0815724823f44b76ac819
* Enable "APN roaming protocol" for all platformsTore Anderson2012-08-081-9/+1
| | | | | | | | | | | | Allows users to change the protocol (the PDP context type) used when roaming in the same way they already can for when they are in their home network. This is required in order to make IPv6 and IPv4v6 data roaming work correctly in 3GPP networks. See also: http://code.google.com/p/android/issues/detail?id=32631 Change-Id: I052842122e5fe96a8779077f0ae9ff4bc83066c5 Signed-off-by: Tore Anderson <tore@fud.no>
* Use telephony-common - DO NOT MERGEWink Saville2012-07-171-1/+2
| | | | Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
* Add "Roaming protocol" to APN editor.John Huang2011-10-161-17/+35
| | | | | | | | | | Field already exists in the APN database. Now it is user updatable. Only enable it on CDMA for this release (means it is not really user visible, but available for testing purposes). Will revisit enabling for all in a future release. Bug: 5420680 Change-Id: Ia2c551c48ae9ce47c57ad36ec73d152441a27284
* Modify ApnEditor app for new APN schema.sinikang2011-09-151-0/+47
| | | | | | | | | | | As the telephony db is changed, The ApnEditor app has to be changed also. As your request, I changed the ListPreference object to read-only CheckBoxPreference object and "The Others" to "Unspecified".This is a pair set with below change-ids. - https://partner.source.android.com/g/#/c/8515/ - https://partner.source.android.com/g/#/c/8517/ - https://partner.source.android.com/g/#/c/9048/ Change-Id: I2bdd4f3076adfbee0f277ddb59a150e51e45ac9b bug:4991683
* resolved conflicts for merge of a4fb8c86 to honeycomb-plus-aospLorenzo Colitti2011-03-041-0/+6
|\ | | | | | | Change-Id: I8edb2e7f07f793e78c15bcf9b2f048d91b1f6504
| * am f4393101: Merge "Support configuring the protocol in APN settings." into ↵Lorenzo Colitti2011-03-031-1/+49
| |\ | | | | | | | | | | | | | | | | | | gingerbread * commit 'f4393101f80f0ca1a10771613a18565323b69fa2': Support configuring the protocol in APN settings.
| | * Support configuring the protocol in APN settings.Lorenzo Colitti2011-02-221-1/+49
| | | | | | | | | | | | | | | Bug: 3333633 Change-Id: I0797cd97074fe1b8a1318168b86fe4627488215a
* | | Support configuring the protocol in APN settings.Lorenzo Colitti2011-02-041-1/+43
| | | | | | | | | | | | Change-Id: I435061a631bdb2f58935af607abf8cd7c5d252ba
* | | Updating Delete and Refresh icons to Honeycomb styleJustin Ho2011-01-271-1/+1
|/ / | | | | | | | | Bug: 3362749 Change-Id: Ib4b61c9e7db05b0627c1f353d3747268455dab6c
* | Always set right auth_type value in apn.Marta Białka2010-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | It fixes a bug that automatically sets auth_type value of editing apn that has and should have that value set to null (-1 = Not yet set) to auth_type value of an apn previously displayed in the apn editor. It is caused by careless persisting and reading data from SharedPreferences. Fixed to keep and persist (to be consistent with other apn's Preferences) null value for not yet set auth_type property. Change-Id: I4e125a4cdbad968c9f6ea8781a8c849f4c31c929
* | Fix window leak problems in settings.Jiehua.Dai2010-07-141-19/+52
|/ | | | | | | | There were window leak in the settings application. These leak happens when an AlertDialog displays, rotate the phone, then it would cause window leak. Change-Id: I914897bf657933efea72eeea66076dc288098420
* The password in the APN settings is shown instead of starsJiehua Dai2010-03-051-1/+5
| | | | | | | The password is presented as stars in the edit box, also if one exits and then enters the APN editor the password is stars. With this patch the APN password is consistently starified.
* Fix for 1974140. Delete entry if not valid on hitting home.Amith Yamasani2009-10-281-6/+18
| | | | | | | If user doesn't enter an APN or name, then delete the entry on hitting home. And if user has enough information but doesn't enter a name, then set the name to "Untitled" to avoid blank APNs in the list.
* Add Authentication Type field to the APN settings.Jaikumar Ganesh2009-10-261-41/+90
| | | | Bug: 1817100
* 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
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+403
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-403/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+10
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+393