History log of /packages/apps/Settings/src/com/android/settings/ApnSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
27b908f6d140bcfa80202dba154b70890f3d60e9 15-Apr-2016 yifan.bai <yifan.bai@spreadtrum.com> Fix ApnSettings crash issue.

Steps:
1. Add a new APN;
2. Click 'Reset to default';
3. During reset, click the new APN;
4. Crash happened.
Solution:
Disable menu items when reseting default APN.

Bug: 28314239
Change-Id: I8df439d066e58039e9f91a9be642127eb7298159
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
4249d7589b98befaf0314ab66e3e61fa5b7a6103 24-Mar-2016 Sudheer Shanka <sudheersai@google.com> Fix crash in ApnSettings.

ApnSettings runs with uid android.uid.phone and since it doesn't has
the MANAGE_DEVICE_ADMINS and MANAGE_PROFILE_AND_DEVICE_OWNERS
permission, show the generic support instead of the admin specific
message.

Bug: 27826969
Change-Id: I556a8b74aa1f692ebac1f4e30aeab3ed78ec5078
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
f1e78d35dc481aa18990b2a0fb1aaf3889836273 14-Mar-2016 Sudheer Shanka <sudheersai@google.com> Add disabled by policy empty views to more screens.

Bug: 27588316
Bug: 27588671
Bug: 27588740
Change-Id: Id614067d76e936e9c3c585fdaed304bfbc88dc74
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
2ffc11c069910cc0fb8205109341155278974e7f 15-Oct-2015 Amit Mahajan <amitmahajan@google.com> am 7b990298: am f20d51f3: am 6d042a69: am 1704ca96: Merge "Change to add user_visible field to Carriers table." into mnc-dr-dev

* commit '7b990298323f0e24c87123d955cfd08717a079d3':
Change to add user_visible field to Carriers table.
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
5787be339f75f6f04c04477c249c4b0069b1f8b5 05-Oct-2015 Amit Mahajan <amitmahajan@google.com> Change to add user_visible field to Carriers table.

Also adding config to control if adding APNs is allowed.

Bug: 24519879
Bug: 24681288
Change-Id: I59466f5489606162a10e883ede378e575a189fb3
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
7149a85507fab83ec94db2c7e17d8777404d5e56 09-Sep-2015 Sungmin Choi <sungmin.choi@lge.com> am 605685ce: am 5fc62441: am 9819dcb9: am 9fcc7e1b: Hide or show APNs with type="ims" as CarrierConfig

* commit '605685ceae58d6a0c920ec4f809cf11cd32c34e1':
Hide or show APNs with type="ims" as CarrierConfig
9fcc7e1b20b890283dfe9a02999f40637d27dbb2 29-Aug-2015 Sungmin Choi <sungmin.choi@lge.com> Hide or show APNs with type="ims" as CarrierConfig

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
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
44879a387a6be6b93cdcc8894227d68af7dbbb1a 22-Jul-2015 Xiaohui Chen <xiaohuic@google.com> sys user split: first pass updating Settings

Update various places in Settings to use "admin" ueser flag
instead of checking user id "0". This should be no-op in
single user mode since the only admin user would be user 0.
In split system user mode, this will correctly ACL admin
user instead of non-interactive system user.

Bug: 19913735
Change-Id: Ida4d59c5f689ea0dc34b3b3ff0822b087fa0afd6
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
a5df4779a04331294c15e6d22d749a734b59400f 02-Jun-2015 Nicolas Prevot <nprevot@google.com> Don't allow secondary users apps to start restricted Settings fragment.

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
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
17b0c481e0b08505dfe7a7700953c8016f1cc0ce 13-May-2015 Amit Mahajan <amitmahajan@google.com> Show only APNs belonging to carrier (mno/mvno) under apn settings.

Bug: 10719093
Change-Id: I942ce59995afffd395f7d73e4fd70674db0f643f
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
f51d00635028c0b87dd431c33c932ad20202d032 08-Apr-2015 Stuart Scott <stuartscott@google.com> Correct the way settings deals with subscriptions.

Change-Id: I19e9dfaf248fce7376b124ee91de7e73fdc99fb3
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
09c9e5eb5d8d223b3b3faa29ce8b03f8873d0553 22-Jan-2015 Mick Lin <Mick.Lin@mediatek.com> [DS] Correct the access method for telephony system property

Bug: 18675498

Review: https://partner-android-review.git.corp.google.com/#/c/198822

Change-Id: I7d6eab7d8f513de20bd8995b999a124097f725e7
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
a7f21a31003f0480411455880e794b9ff9955c5d 23-Jan-2015 Sanket Padawe <sanketpadawe@google.com> Hide APNs with type="ia" and apn=""

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
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
19627ca215fa643a443722f183f3f781d4a2b041 18-Dec-2014 Sanket Padawe <sanketpadawe@google.com> Getting mcc/mnc from system prop instead of subInfoRecord.

Bug: 18781129
Change-Id: Idb4c70c9b936a947460e6c6d03bd40dc2ae4279a
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
4be06d9c482bdf20f31f5f4609b73a3fed7be755 18-Dec-2014 Sanket Padawe <sanketpadawe@google.com> Revert "Getting mcc/mnc from system prop instead of subInfoRecord."

This reverts commit 579b66f28da710b5a1e68e211f5bd54ea466ab8b.

Change-Id: I0b142b40c697992b60bca9020673a0828ec44977
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
579b66f28da710b5a1e68e211f5bd54ea466ab8b 18-Dec-2014 Sanket Padawe <sanketpadawe@google.com> Getting mcc/mnc from system prop instead of subInfoRecord.

Bug: 18781129
Change-Id: Idefe2dfc26bef2bba2b5b1792bb5ac43a44aa6cc
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
6f341b2c3ecede3ea19d59300b1a6dc9643f28d5 02-Dec-2014 PauloftheWest <paulofthewest@google.com> Added Multi-SIM capability to Access Point Names

+ In Settings->More->Cellular networks->AccessPoint Names will display
the APNs for the selected SubscriptionInfo.

Bug: 18246837
Change-Id: If8f46c2fa82cf4b2051ddb5f15afc8c59cb9b850
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
3e825febca4daed4ec1baec5f94ef2b067c650fb 14-Oct-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #17976062 Stability: ISE in Settings: Fragment ApnSettings{4da9ae0} not attached to Activity

- prevent IllegalStateException

Change-Id: I63fa1bb6240c7ff82c04be938b72940049409dee
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
6cc7cccf11ffd4397b8d02209c00ac7153e8d638 18-Aug-2014 Julia Reynolds <juliacr@google.com> Supress menu if screen ought to be hidden.

Bug: 14081992
Change-Id: I56183413a001b3e6dd74de249e9afc131e6671e4
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
61a1fec49fbfbe8bdd0137ddb06e5eacf4f8ec54 14-Aug-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16703191 APN settings shows back button even when you intent into it

- 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
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
ee27b9de8f2ab17d50b90dd8c13546aebb4e9fc1 09-May-2014 Julia Reynolds <juliacr@google.com> Settings user restriction changes: wireless & networks changes.

Bug: 14081992
Change-Id: I32b0f06da7e7ff9bd8303ce26be2584e6cddbedc
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
e6c9a5da01e4c1d8a83561404590a8ad3ab75890 12-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12979102 Menu (Reset to default) and Add icon missing in APNs

- revert the changes on the ApnSettings to be again an Activity...

Change-Id: I7a12e25456f0a0df0f7618183f49fd8db10a5441
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
ca915668af1dfea973c2789d9ae48c958ca8362d 07-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12910775 Settings crash after tap on Access Point Names under 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
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
263bcc8b732dbb47d3ce63904e0e05191fabbad6 18-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Use Drawer in Settings app

- 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
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
88c80b10a23f52e5312dcd42565b18854b6dd158 14-Feb-2013 Hyejin Kim <hyejin.kim@lge.com> avoid stopping app in case of accessing empty db

When accessing empty database, Setting App is stopped, sometimes.
To avoid stopping app, check null for cursor

Change-Id: I71ec067f502d12a9215a9abdbe9e23fc07af17bb
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
ec8f68a527ecd10e42fcd77e05254c050fed7919 21-Sep-2012 Manuel R. Ciosici <manuelrciosici@gmail.com> Makes the add button for new APNs appear in the action bar.

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>
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
481582f4ecf0d1c3c58551b11b667630cfdf032b 27-Jan-2011 Jack Wang <jack.wang@sonyericsson.com> Fix memory leak in ApnSettings-activity

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
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
9ad4a89877363a6f1128b258f6535b29d2f778e2 14-Jun-2012 Wink Saville <wink@google.com> Use telephony-common - DO NOT MERGE

Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
b4ea1e491f0f21e73f6939afd9ad14d5cac015b1 12-Sep-2011 Jeff Brown <jeffbrown@google.com> Fix crash in APN settings.
Bug: 4968921

Don't use managedQuery for one-shot queries.

Change-Id: I5d2e1bef0f399cb9dbe95d633c2ee014f6cd7f79
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
8762093e0094e09493fa6cbac8e8fbf265f18165 15-May-2009 Michael Chan <mchan@android.com> Findbug fixes in Settings app

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
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
c38866843e966622346dc8f7b028749cac9c2198 02-Apr-2009 Wink Saville <> AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.

Automated import of CL 144245
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
682968870616d9e9540980921a5302836c45da33 25-Mar-2009 John Huang <> Automated import from //branches/master/...@140758,140758
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
a578a6c4ad2924236a8882e3eb794474d57ca450 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
8a156091eff22a360f802332daf2fe00b4267ad7 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
1feaa85791b3b5cc66a16142afc2259a2356bc9e 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
abc48f80d8747b4fc051b7dd364355ee667a9bac 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Settings/src/com/android/settings/ApnSettings.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/ApnSettings.java