OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoSettings: Selections of Home app are lost
guangl [Mon, 29 Aug 2016 08:46:38 +0000 (16:46 +0800)]
Settings: Selections of Home app are lost

Selections of Home app are lost after switch to landscape.
Can not use the setPackageNames method int the
onResroreInstanceState method for DefaultHomePreference.

We should use the setComponentName method in the
onRestoreInstanceState method for DefaultHomePreference.

Change-Id: Ibc69a8d176ddfee67b4ae9b48787ec87aeb8581b
CRs-Fixed: 1057971

7 years agoFix HotSpot bugs.
Fang Yunong [Thu, 4 Aug 2016 08:54:56 +0000 (16:54 +0800)]
Fix HotSpot bugs.

1.No notification pop up when the first time
open hotspot.

2.Couldn't pop up message for notify 'Please install
SIM card in order to share your phone' when open
hotsopt without SIM.

3.No check box option "Broadcast network name (SSID).

4.HotSpot setting UI incorrect

Change-Id: I003eb9ae6f0a9bb5cf498fa3f5f51a0fff9fb4e0
CRs-Fixed: 1039259

7 years agoImplement an menu to start MyAccount
Fang Yunong [Thu, 14 Jul 2016 03:16:00 +0000 (11:16 +0800)]
Implement an menu to start MyAccount

Insert an menu in Backup && Reset named Collect Diagnostics
for sending start intent about MyAccount and develop a config
to show/unshow.

CRs-Fixed: 1039368
Change-Id: I30811322ab095e88e2a26dae5744874cb55122f4

7 years agoSettings: add enhanced Wi-Fi Calling menu
Fang Yunong [Thu, 11 Aug 2016 02:52:38 +0000 (10:52 +0800)]
Settings: add enhanced Wi-Fi Calling menu

Add enhanced Wifi calling menu and display wifi call status
message received from WFC service.

Change-Id: I3bf46a8f452f5c886aeb75dd31d2aca04ce671f4
CRs-Fixed: 1039278

7 years agoSettings: porting N code
Fang Yunong [Sat, 30 Jul 2016 06:50:59 +0000 (14:50 +0800)]
Settings: porting N code

1. Change all default language strings contains "WLAN" to "Wi-Fi".
2. Add overlay config to show Alert Dialog and cancel button
3. shows dialog when open wifi while WIFI_Tethering open
4. Display summary "Share your device's mobile data connection via USB
or a Mobile HotSpot" under Tethering & Mobile HotSpot

Change-Id: Ie8533970472222ed837272d976723c049e0e948b
CRs-Fixed: 1039259

7 years agoSettings: N poring combine
Fang Yunong [Thu, 14 Jul 2016 11:39:17 +0000 (19:39 +0800)]
Settings: N poring combine

Settings: tethering & portable hotspot help
merge b721eb5ad037d41cc95883d01d24f8aa26646e49

Settings: Move all carrier specific requirements to extension and these function
merge 05059c4938cd30e23fdaf91cbb02b0f65e0f3971

Settings: add USB tethering to USB connection type
merge 05c5422586495ff49126e2d91a250abe7fd0ee9a

Change-Id: I4ef17691f1aed44a47f38ca950fe6300d1687dcd
CRs-Fixed: 1039263

7 years agoFR33283:QGP-TMO: Data usage for video calls
Fang Yunong [Thu, 4 Aug 2016 07:16:48 +0000 (15:16 +0800)]
FR33283:QGP-TMO: Data usage for video calls

Settings:add phone icon to the  data usage list,
and open WLAN show list;

Change-Id: I512b5c5acd048a7bad957adb16972cf159e7aa47
CRs-Fixed: 1039373

7 years agoTMO: Settings Support for Self Service/MyAccount requirements from TMO
Fang Yunong [Fri, 29 Jul 2016 10:41:48 +0000 (18:41 +0800)]
TMO: Settings Support for Self Service/MyAccount requirements from TMO

Function description:
Support for Self Service/MyAccount requirements from TMO

Change-Id: I281d6a1ae3aa2d6bea3d2fb661652d970e2765ef
CRs-Fixed: 1039219

7 years agoSettings: hide ims and dun APNs.
FangYunong [Tue, 5 Jul 2016 02:59:00 +0000 (10:59 +0800)]
Settings: hide ims and dun APNs.

Some carrier may have specifiic type of APN (such as pcweb, ims, ota)
that need to be invisible to users. This feature is to satisfy this
requirement. nporting

CRs-Fixed: 1039259
Change-Id: I59c487ca536753ab1c3d0525af7948b329aa8ec1

7 years agoFix: Navigate back to 'Cellular network settings' from 'APN settings' screen
Venkatraman Nerellapalli [Mon, 8 Aug 2016 15:24:25 +0000 (20:54 +0530)]
Fix: Navigate back to 'Cellular network settings' from 'APN settings' screen

Navigate back to 'Cellular network settings' from 'APN settings' screen if
'back icon' on Actionbar is pressed

Change-Id: Ie135e69a08175037caa485b2e0320efd516070d6
CRs-Fixed: 1021317

7 years agoSettings: Display network name on statusbar
Fang Yunong [Fri, 29 Jul 2016 10:38:24 +0000 (18:38 +0800)]
Settings: Display network name on statusbar

Display operator name (network name) on the statusbar (top-left)
to meet some carriers' requirement. Here the change is to
provide a UI to turn on/off this feature.--nporting

CRs-Fixed: 1039313
Change-Id: Ia3eaaca3cf84b7c8305387f1d5cb5132825aa82d

7 years agoSettings: re-layout Settings menu
luxiaol [Wed, 10 Aug 2016 02:01:44 +0000 (22:01 -0400)]
Settings: re-layout Settings menu

Change-Id: Iba235df5d069f39a01bc28941bb25d92cf6d7ba3

7 years agoPasspoint:add passpoint swither in settings
Fang Yunong [Thu, 4 Aug 2016 11:09:53 +0000 (19:09 +0800)]
Passpoint:add passpoint swither in settings

Add passpoint switcher in settings.user can control whether enanle it
via it.

CRs-Fixed: 1039339

Change-Id: I3f8ec5cc21fc1ac5bf4a27d07ae5a95e24f7e57e

7 years agoFix: Crash when Progressbar is closed after Homekey is pressed
Venkatraman Nerellapalli [Mon, 8 Aug 2016 06:50:38 +0000 (12:20 +0530)]
Fix: Crash when Progressbar is closed after Homekey is pressed

When Homekey is pressed, Progressbar can not be closed as
Settings app & fragments go to background.
Close Progressbar safely if Settings is not in foreground.

Change-Id: I0324ff66194c14a30105c0949ca6e6caab7393fa
CRs-Fixed: 1022563

7 years agoAdd MBN Version For Global Pass Provisioning pack
Fang Yunong [Mon, 1 Aug 2016 06:29:43 +0000 (14:29 +0800)]
Add MBN Version For Global Pass Provisioning pack

Show mbn version under about phone

Change-Id: I9850ef87aae280212264d81069236f01c37feb31
CRs-Fixed: 1039922

7 years agoHotsport: Fix hotspot auto turn off and Settings app crash issue
Fang Yunong [Fri, 5 Aug 2016 02:50:27 +0000 (10:50 +0800)]
Hotsport: Fix hotspot auto turn off and Settings app crash issue

1. When open hotspot, Switch button be turn off first then auto turn on.
2. When close hotspot, Settings force close;

Change-Id: I8d9a6785db6146e9355287ae59849f97d5a3e3b5
CRs-Fixed: 1039259

7 years agoSettings : Fix Settings crashes when uninstall APK fast in storage
Jian Zhou [Thu, 11 Aug 2016 03:16:43 +0000 (11:16 +0800)]
Settings : Fix Settings crashes when uninstall APK fast in storage

Null pointer causes that Settings crashes when uninstall APK fast in storage.

Add null pointer protect.

Change-Id: I50963dc5de051f76465332515949d6cc1f44ac5f
CRs-Fixed: 1005265

7 years agoMSIM: Remove inter dependency for cellular data options
Venkatraman Nerellapalli [Wed, 3 Aug 2016 12:58:23 +0000 (18:28 +0530)]
MSIM: Remove inter dependency for cellular data options

Removing the depedency of both subs in multi sim device when enabling cellular data
in both subs at a time,to avoid some issues where data on both subs is required.

Change-Id: I901dcae6beea98261181528e7345db504a9bb07d
CRs-Fixed:1018528

7 years agoSettings : Hide the accounts which added as the Local account.
zilong [Thu, 17 Mar 2016 03:11:39 +0000 (11:11 +0800)]
Settings : Hide the accounts which added as the Local account.

There are some accounts created as the local accounts, for example the
Phone local account. These accounts will be created when phone boot,
and the user couldn't add or delete them.

Hide these local accounts in the Settings.

Change-Id: Id8a64d4dc2d90e1aed8e0c63bd04efe7e97d7d45
CRs-Fixed: 980321

7 years agoSettings: Fix data usage crash in Chinese language
Jian Zhou [Thu, 4 Aug 2016 02:18:54 +0000 (10:18 +0800)]
Settings: Fix data usage crash in Chinese language

Data usage crashes in Chinese language for wrong string format.

Correct Chinese string format like English strings.

Change-Id: I1a49120eabe36e2bda2476e0a139ec8d8b275634
CRs-Fixed: 1042215

7 years agoUpdate proper PhoneStates on SIM status tabs
Ruthwar Kumar Ambeer [Fri, 4 Dec 2015 10:53:59 +0000 (16:23 +0530)]
Update proper PhoneStates on SIM status tabs

PhoneStateListener of current tab is cleared when
moving from Current tab to other tab so that Proper
phone States will be updated on each tab.

Change-Id: Ib8a0ce005442f57d9480d2670c26ef7e0d0a452d

7 years agoSettings: Default Remove ProfileMgr Entry
hoffc [Wed, 3 Aug 2016 09:39:40 +0000 (17:39 +0800)]
Settings: Default Remove ProfileMgr Entry

Default Remove ProfileMgr Entry.

Change-Id: If163402b3c2ca371aa72ecc6e219146bdbd5d99b
CRs-Fixed: 1049768

7 years agoSettings: Fix protocol show wrong issue
Jian Zhou [Tue, 2 Aug 2016 06:10:01 +0000 (14:10 +0800)]
Settings: Fix protocol show wrong issue

Summary is reset by wrong case.

Add "if-else" case to correct summary set.

Change-Id: Ib28bdbacb1322f1f6118ede99ca5de6f1cc1eef9
CRs-Fixed: 1044614

7 years agoModified the behavior of encryption failure, when MDTP is activated
Amit Blay [Tue, 1 Sep 2015 14:47:18 +0000 (17:47 +0300)]
Modified the behavior of encryption failure, when MDTP is activated

If MDTP is activated the device will be wiped, instead of recovery.

Change-Id: I6ab1b82841e4d6e90a8d156dea03448674f64446

7 years agoRevert "Settings: Fix no preferred APN"
Nishanth Kumar Sirivolu [Thu, 28 Jul 2016 08:34:47 +0000 (01:34 -0700)]
Revert "Settings: Fix no preferred APN"

This reverts commit 145656a1c3104fa3eb7b0b12baa025c80ee0c38f

This change is not needed.

CRs-Fixed: 777710

Change-Id: Ic1c1bedf781dd0b2868f56859b099c497925f812

7 years agoSettings: Display 14 digit IMEI(Ignore Check Digit)
Prasath Balakrishnan [Mon, 28 Sep 2015 14:51:27 +0000 (20:21 +0530)]
Settings: Display 14 digit IMEI(Ignore Check Digit)

Show 14 digit IMEI instead of 15 digit based on the
config (ignore check digit)

Change-Id: I2bdfb61ad2964cdae7175f0aaa9da53a5ac2642a
CRs-Fixed: 808534

7 years agoSettings: Fix for Chinese translation.
penn [Fri, 11 Dec 2015 09:16:01 +0000 (17:16 +0800)]
Settings: Fix for Chinese translation.

Add Chinese translation and hide some APN.

CRs-Fixed: 947944

Change-Id: I43aca26a5853a2511942f8a54082ebed86700dda

7 years agoWifi: Enhance EAP SIM/AKA/AKA` configuration for multi(dual ) sim
Sravanthi Palakonda [Fri, 17 Jun 2016 14:09:00 +0000 (19:39 +0530)]
Wifi: Enhance EAP SIM/AKA/AKA` configuration for multi(dual ) sim

This commit enhances the user interface by having the provision to
perform EAP authentication on a specific SIM , when the DUT is enabled
with multi (dual) SIM.

Change-Id: I4095d235750c2a46ab33a99f5f4f3937b6d5e314
CRs-Fixed: 1030719

7 years agoSettings: Customize date format,hide kernel version
c_yunong [Mon, 11 Jul 2016 03:41:00 +0000 (11:41 +0800)]
Settings: Customize date format,hide kernel version

Customize date format in Date & Time.

Change-Id: I7c8e7d3ca8cae58aedd6428f29b4c87d25c90fcb
CRs-Fixed: 1043367

7 years agoSettings: Add ProfileMgr in Settings Root Screen.
hoffc [Wed, 20 Jul 2016 05:25:54 +0000 (13:25 +0800)]
Settings: Add ProfileMgr in Settings Root Screen.

Add ProfileMgr Entry in Settings root Screen.

Change-Id: I34fab0ed8ee949f6337a454b49bf030b05c087b3
CRs-Fixed: 1042825

7 years agoremoving compile time dependency from izat module
Kevin Tang [Fri, 8 Jul 2016 20:29:49 +0000 (13:29 -0700)]
removing compile time dependency from izat module

currently there is a compile time dependency to IZat
Opt In library. This removes that hard linkage and
replaces it with run time linkage.

Change-Id: I393420f06e868f6257b0e3c26ea93b03718d6a4e
CRs-Fixed: 1039525

7 years agoCustomize regulatory info.
Fang Yunong [Wed, 20 Jul 2016 02:25:40 +0000 (10:25 +0800)]
Customize regulatory info.

Since the AndroidManifest could not use the overlay boolean,
enable the regulatory info in AndroidManifest.
Add flag checking to make sure it could be customized to enable
or disable.

Change-Id: I95018d94dea271eed9d740b356ad883c0b537e28
CRs-Fixed: 1043367

7 years agoSettings: Add StorageCleaner feature interface in setting
Huang Li [Fri, 22 Jul 2016 06:53:46 +0000 (14:53 +0800)]
Settings: Add StorageCleaner feature interface in setting

Add the entrance in setting->Storage

Change-Id: I46bb3bf871a9cdde3a87c49489569b0ae22171a4
CRs-Fixed: 1024530

7 years agoWifi: Add support for STA + SoftAp concurrency.
Nalla Kartheek [Thu, 19 May 2016 05:39:06 +0000 (11:09 +0530)]
Wifi: Add support for STA + SoftAp concurrency.

Avoid SoftAp turn off if concurrency is enabled during Wifi start.

Change-Id: I123a605930c59cfc0a71d350c4c1859008671d4b
CRs-Fixed: 1017907

7 years agoAdd support for power off alarm
Mao Jinlong [Wed, 29 Jun 2016 12:24:06 +0000 (20:24 +0800)]
Add support for power off alarm

No need to start CryptKeeper activity when power off alarm fires.
There should be only alarm activity.

Change-Id: I4657ae246ee84d05771ee8f70509483d23367ec8

7 years agoSettings: Fix charging mode adb still enable issue
jianzhou [Fri, 8 Apr 2016 08:27:25 +0000 (16:27 +0800)]
Settings: Fix charging mode adb still enable issue

Android set "null" to mode when it is charging mode.

Change "null" to "charging".

Change-Id: I7f1474c7a9f618c33dcfc76ff41ce0aad8223d66
CRs-Fixed: 997842

7 years agoSettings: Display ICCID in IMEI information
FangYunong [Mon, 4 Jul 2016 11:24:31 +0000 (19:24 +0800)]
Settings: Display ICCID in IMEI information

We add this to control whether to display ICCID in IMEI
information.--nporting
CRs-Fixed: 831163

Change-Id: I5cf491bd29c69715d7fc34ac492232bbe1dc2cfc

7 years agoTelephony(MSIM): Disable user selection pop-up
Sandeep Gutta [Mon, 6 Jun 2016 14:40:57 +0000 (20:10 +0530)]
Telephony(MSIM): Disable user selection pop-up

Introduce below system proeprty to control AOSP
behavior of user selection of fallback preference
for sms/data user preference.
persist.radio.aosp_usr_pref_sel"

Change-Id: Ieeda31040de87b96b19598fb12d6a140edf8bd39
CRs-Fixed: 1015296

7 years agoAdd iccid as a type for mvno data
Susheel nyamala [Tue, 24 Nov 2015 14:03:26 +0000 (19:33 +0530)]
Add iccid as a type for mvno data

To support multimode cards, add iccid as a type for mvno data

Change-Id: I1c016851cb4beb9ab08276ef110aadae3b54e126

7 years agoSettings: Fix settings force close when adding a account.
Jian Zhou [Thu, 7 Jul 2016 03:08:33 +0000 (11:08 +0800)]
Settings: Fix settings force close when adding a account.

ChooseAccountActivity is started as activity in executePendingTransactions(),
SettingsPreferenceFragment finish() will call executePendingTransactions() again,
then FragmentManager will throw "Recursive entry" IllegalStateException.

Use Activity finish() directly.

Change-Id: Iae32b6bb61a8091c5265bc887f92307cf05d4092
CRs-Fixed: 1031518

7 years agoSettings: Fix Usage shows inconsistently issues.
Jian Zhou [Thu, 7 Jul 2016 05:33:22 +0000 (13:33 +0800)]
Settings: Fix Usage shows inconsistently issues.

Usage shows inconsistently between Chinese and English.

Adjust Chinese strings format.

Change-Id: If1840d8653e1b26e342b85727543bfeae4bf87a5

7 years agoDataUsageSummary: Invoke vendor part of the MobileNetwiorkSettings
Qiang Chen [Wed, 13 Jul 2016 10:00:49 +0000 (18:00 +0800)]
DataUsageSummary: Invoke vendor part of the MobileNetwiorkSettings

Using vendor part of the MobileNetworkSettings rather than default
one if NetworkSettings Apk is available.

CRs-Fixed: 1041029

Change-Id: Ic5ab9ae3bc7da61151fa26b5e61ecc1b3fb9c74b

7 years agoBluetooth: GAP: Rejecting the empty string in Bluetooth rename
Balraj Selvaraj [Fri, 13 Mar 2015 06:20:15 +0000 (11:50 +0530)]
Bluetooth: GAP: Rejecting the empty string in Bluetooth rename

Fix for rejecting the empty string in bluetooth
rename dialogue as part of DONE button as well as
trimming the empty string at head and tail end of
the valid string as part of both rename tab and
DONE button.

CRs-Fixed: 910174
Change-Id: I0b7472ad7777ff0b0b7e197f3c6b822e0afbb0d4

7 years agoSettings: Disable USB selection view for UsbSecurity feature
farenl [Wed, 22 Jun 2016 02:06:58 +0000 (10:06 +0800)]
Settings: Disable USB selection view for UsbSecurity feature

Disable the default option for USB mode selection view.

Change-Id: Iee876b70f86e76764e3501fa6a85ddca84e574ff
CRs-Fixed: 1028042

7 years agoBluetooth: Handle pairing Cancel intent.
venkata Jagadeesh [Fri, 5 Apr 2013 13:32:43 +0000 (19:02 +0530)]
Bluetooth: Handle pairing Cancel intent.

Receive Pairing cancel intent and clear pairing request
from notification window.

CRs-fixed: 1040544

Change-Id: I63c9299edca4356485f26cbc6332e3be9bdfbf17

7 years agoSettings App: Fix to resolve NULL pointer exceptions
Matadeen Mishra [Tue, 8 Sep 2015 04:53:43 +0000 (10:23 +0530)]
Settings App: Fix to resolve NULL pointer exceptions

This fix resolves any NULL pointer exceptions and
Array Index Out of Bounds exceptions seen in
Settings Application code space.

Change-Id: Ib478a1460910a2eb34b308c94cec9817bab93b34
CRs-Fixed: 1040533

7 years agoP2P : Fix for P2P group name
Nalla Kartheek [Wed, 14 May 2014 05:24:35 +0000 (10:54 +0530)]
P2P : Fix for P2P group name

When device is in Chinese language, P2P group SSID names will be encoded
into UTF-8 hex format. When displaying group SSID in UI Settings, this
UTF-8 should be converted back to UTF-8 binary format.
Implemented method to convert UTF-8 hex to UTF-8 binary format. When
group is created, it checks the hex format by looking '\x' sequence,
then converts to binary format.

Change-Id: I381b9e6c89ea4c82d41d2d4b69effe0d5e71d2e8
CRs-Fixed: 661989

7 years agoIMS: Control Wifi calling mode preference
Pooja Jain [Fri, 17 Jun 2016 11:35:11 +0000 (17:05 +0530)]
IMS: Control Wifi calling mode preference

Control Wifi calling mode preference UI options
If WFC mode should not be displayed, remove the WFC
mode preference from UI

Change-Id: I5a1eda14ee7fa048ceee8cd72a0f9139b1b93786
CRs-Fixed: 1031476

7 years agoSettings: Fix for crashed in saved networks popup when rotate.
jianhuac [Wed, 6 Jul 2016 08:38:36 +0000 (16:38 +0800)]
Settings: Fix for crashed in saved networks popup when rotate.

Don't create new activity when rotate device.

Change-Id: Id514d2b22ed77d075f18e7e62ffaf82a4be24704

7 years agoSettings: Fix no preferred APN
jianzhou [Sun, 15 Jun 2014 11:11:29 +0000 (07:11 -0400)]
Settings: Fix no preferred APN

Add preferred APN if found no match.

CRs-Fixed: 748830

Change-Id: Ibecf88a3e6236de13a0a4291438a6e62159a05e0

7 years agoSettings: Fix Settings App crashing when Tethering data usage stats.
Jian Zhou [Tue, 28 Jun 2016 08:40:13 +0000 (16:40 +0800)]
Settings: Fix  Settings App crashing when Tethering data usage stats.

Settings App crashes when Tethering data usage stats is accessed on UI.
This is caused by wrong userID returned from UidDetailProvider, then
null user info is returned in user manager.

Use UserHandle instead to get user ID.

CRs-Fixed: 1024028

Conflicts:
src/com/android/settings/datausage/AppDataUsage.java

Change-Id: I8cbaeb58e8133202a8c8d10e4d68ae5df93a6a43

7 years agoSettings: Implement app network access control on data and WLAN
farenl [Mon, 13 Jun 2016 04:10:56 +0000 (12:10 +0800)]
Settings: Implement app network access control on data and WLAN

Add an entrance to start the network control app which could restrict
app access network over cellular data and WLAN.

CRs-Fixed: 1027380

Conflicts:
src/com/android/settings/datausage/DataUsageSummary.java

Change-Id: I25f1dcc586e9e2ae82cf36d4d3e8104a94a6c20d

7 years agoSettings: Add enable/disable 4G settings.
pengfeix [Wed, 22 Jun 2016 07:03:56 +0000 (15:03 +0800)]
Settings: Add enable/disable 4G settings.

Add enable/disable 4G settings in settings root screen. When
check/uncheck it, set a default 4G/3G network mode

CRs-Fixed: 676565

Conflicts:
res/values-zh-rCN/strings.xml
res/values/bools.xml
src/com/android/settings/SettingsActivity.java

Change-Id: Ice2c70f8f22253adee4a5574fd797d89dff65572

7 years agoSettings: Support cellular data enabled on both SUBs
Mengjun Leng [Wed, 29 Jun 2016 10:17:55 +0000 (18:17 +0800)]
Settings: Support cellular data enabled on both SUBs

The property "persist.radio.carrier_mode" is used to control
some carriers have restricting DDS requirement.

If the property is enabled for class a, when user enables
cellular data, do not change DDS to its slot, and do not
disable cellular data on other slot.

Change-Id: I4e730b2d21011334ea0706b8fffa0f0e55e498ff
CRs-Fixed: 1032075

7 years agoSettings: show or hide Scheduled power on/off menu automatic
jianhuac [Thu, 23 Jun 2016 05:34:38 +0000 (13:34 +0800)]
Settings: show or hide Scheduled power on/off menu automatic

Show Scheduled power on/off menu if the 'TimerSwitch' enable
otherwise hide.

Change-Id: Ib47bd7465300df3a42afc396ca005ac094fe629e

7 years agoSettings: ExtSettings package name changed
qimengp [Thu, 23 Jun 2016 02:02:55 +0000 (10:02 +0800)]
Settings: ExtSettings package name changed

ExtSettings package name changed, Settings sync.

Change-Id: I5dfd4a58302c6040aa86953b5f08ba006707e8e5

7 years agoSettings: Add Scheduled power on and off feature
jianhuac [Fri, 17 Jun 2016 02:31:30 +0000 (10:31 +0800)]
Settings: Add Scheduled power on and off feature

Add Scheduled power on/off menu and resource.

Change-Id: I9c36b4645de5bbda4bb1ed399833d97d6ea7d1cb

7 years agoGrey out PIN1 enable/disable option when SUB is not ready
Ruthwar Kumar Ambeer [Thu, 15 Oct 2015 14:09:05 +0000 (19:39 +0530)]
Grey out PIN1 enable/disable option when SUB is not ready

Since it is not possible to interact with UICC card for
PIN1 enable/Disable when SIM is deactivated, PIN1 option
is Disabled in UI.

Change-Id: I64d2ad3a85c15c4ea8936987e384ffd013c1f533
CRs-Fixed: 662114

7 years agoSettings: Add the read only APN feature.
Mengjun Leng [Thu, 19 May 2016 05:07:20 +0000 (13:07 +0800)]
Settings: Add the read only APN feature.

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
CRs-Fixed: 774852

7 years agoSettings: Data usage based on Day/Week.
c_pengz [Mon, 31 Aug 2015 02:04:28 +0000 (10:04 +0800)]
Settings: Data usage based on Day/Week.

    Add data sweep UI logical.

CRs-Fixed: 828015

Change-Id: I297b87925c91d4b681428942b234d1f61509dc54

7 years agoSettings: Wifi ap settings feature
c_pengz [Wed, 26 Aug 2015 04:44:06 +0000 (12:44 +0800)]
Settings:  Wifi ap settings feature

    Show the connected devices as a list

Conflicts:
src/com/android/settings/TetherSettings.java
src/com/android/settings/wifi/WifiApEnabler.java

Change-Id: I993d8e5e87011d1223eef0b9430b7880d7777d51

7 years agomade izat Opt In icon indicate the Opt In status
Kevin Tang [Sat, 3 Oct 2015 02:34:36 +0000 (19:34 -0700)]
made izat Opt In icon indicate the Opt In status

Switch the layout entry order and moved up Location
Services; Made Izat Accelerate Location entry's icon
indicate the user consent status; replaced the full
screen view with a dialog box to prompt user with
Opt In message.

Change-Id: Ie4c58ebf1048b03c0d1443532eca2f2f030cfb21
CRs-Fixed: 929695

7 years agoDisable roaming setting optoin by default
Mengjun Leng [Tue, 7 Jun 2016 10:14:02 +0000 (18:14 +0800)]
Disable roaming setting optoin by default

Disable component in manifest by default.
Add roaming setting activity into restricted list so that restricted
users are able to enable/disable it.

Change-Id: I7f2635d4b05fd6834f9c5cf92d06bd410f36f8de
CRs-Fixed: 934228

7 years agoClear traces of temporary stored password after updating password
Dinesh K Garg [Wed, 26 Aug 2015 17:42:54 +0000 (10:42 -0700)]
Clear traces of temporary stored password after updating password

If HW accelerated FDE is in use, LockSettingService would store old
password temporarily in memory untill password update is completed.
Once password update is complete, it resets the old password. This
change would additionally reset password everytime password update
process is started and completed.

Change-Id: I9a92b44678b023336a5d51b61c89cb102166de6c

7 years agoSettings: add roaming settings menu
Mengjun Leng [Wed, 11 May 2016 02:17:12 +0000 (10:17 +0800)]
Settings: add roaming settings menu

Add CDMA international roaming settings for CT spec.

Change-Id: Ia5f9288645dbfda2cdb081281db14eaf4f2694f4
CRs-Fixed: 934228

7 years agoTelephony: Fix some wrong references in comments.
Muhammed Siju [Tue, 24 May 2016 13:15:57 +0000 (18:45 +0530)]
Telephony: Fix some wrong references in comments.

Fix invalid comments.

Change-Id: Iab083775710fc1f5a75f2f27c3753760dc0577ee

7 years agoInvoke vendor part of the MobileNetworkSettings
Ruthwar Kumar Ambeer [Tue, 17 May 2016 11:50:20 +0000 (17:20 +0530)]
Invoke vendor part of the MobileNetworkSettings

Using vendor part of the MobileNetworkSettings
rather than default one if NetworkSettings
Apk is available.

Change-Id: Iebd506bceedcfec31c712cd85a612b3b5e36926b

7 years agoSettings:Fix BT stop searching after rotating screen.
Hu Wang [Fri, 7 Nov 2014 05:27:13 +0000 (13:27 +0800)]
Settings:Fix BT stop searching after rotating screen.

BT will stop searching when rotate screen because activity is
destroyed.
Add attribute to ignore this behavior.

CRs-Fixed: 963818,752275

Change-Id: I3f76ebbfd8c79b46d1586a9e5e38cdec1d4b0d1b

7 years agoSettings: Wifi extension feature.
qimengp [Wed, 11 May 2016 07:48:56 +0000 (15:48 +0800)]
Settings: Wifi extension feature.

    1 Add wifi ap priority setting UI
    2 Add autoconnect UI
    3 Add disconnect menu
    4 Add cell->wlan UI
    5 Add cell->wlan hint UI
    6 Add wlan->cell UI
    7 Add notify ap connected UI

CRs-Fixed: 952877
Change-Id: Id5855c6657115b45491ca789ec0ea3809d41ebe5

7 years agoBluetooth: GAP: Handled Null check for getbluetoothclass
Matadeen Mishra [Wed, 4 May 2016 04:25:49 +0000 (09:55 +0530)]
Bluetooth: GAP: Handled Null check for getbluetoothclass

Handled Null check for getbluetoothclass in BluetoothPairingDialog

Change-Id: I549b3cd997b2749c7f0d0dd01a842267cdd20311
CRs-Fixed: 920191

7 years agoSettings: Data usage based on Day/Week.
wangjing [Tue, 28 Apr 2015 08:02:11 +0000 (16:02 +0800)]
Settings: Data usage based on Day/Week.

Porting data sweep UI res files into M.

Change-Id: I09e63bfe70811f2d09e0e080cb89e03e4ee59adc
(cherry-picked from 6ab0c12ca417aef49d2c287b8d215c9e66ae154d
and 2af35fb44d385d7a04ea1b421c426a0350f0e896)

7 years agoDon't start auto scan if screen recovers from frozen state
venkata Jagadeesh [Wed, 4 Nov 2015 05:59:47 +0000 (11:29 +0530)]
Don't start auto scan if screen recovers from frozen state

Use case:Inquiry initiated from UI after connecting with blackberryZ30

Failure: Inquiry initiated from UI automatically after connecting with
         blackberryZ30,which is not expected

Test steps:
1. Go to BT settings page.
2. Initiate pair and connect remote device from the available devices list

Root cause:mInitialScanStarted set always to false and for every
onActivityCreated,scan will be triggered from UI

Fix: mInitialScanStarted set to false only for new instance,if any screen
recover case,it should not be set as its not a new instance.

Change-Id: Ia38323d5136857e6fe8fa69ed6336d889e29287b
CRs-Fixed: 935058

7 years agoBluetooth: Add Manifest configure to fix settings crash issue.
Matadeen Mishra [Thu, 1 Oct 2015 12:00:16 +0000 (17:30 +0530)]
Bluetooth: Add Manifest configure to fix settings crash issue.

Settings is crashed when press back key after rotating screen when
Bluetooth profile activity is opened. Add manifest configure to
enable screen orientation feature.

Settings: Change the text size of title when rotate screen

The text size of bluetooth settings' title is not changed when
rotate the screen.
According to the configuration, change the text size of title.

Change-Id: I3f08d0dd8181ffc8999ed29ac31dcc19a7dd56e9
CRs-Fixed: 917010

7 years agoTelephony(MSIM): Support to launch SimSettings from vendor space
Sandeep Gutta [Tue, 26 Apr 2016 10:09:13 +0000 (15:39 +0530)]
Telephony(MSIM): Support to launch SimSettings from vendor space

Change-Id: I7513ff3564a9eeccdc5b29517938063f8a853157

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 28 Jun 2016 07:03:47 +0000 (00:03 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoMerge "Fix DND conditional null state" into nyc-dev
Jason Monk [Mon, 27 Jun 2016 18:36:21 +0000 (18:36 +0000)]
Merge "Fix DND conditional null state" into nyc-dev

7 years agoFix DND conditional null state
Jason Monk [Mon, 27 Jun 2016 16:29:47 +0000 (12:29 -0400)]
Fix DND conditional null state

Persist all of the data it needs to produce the UI.

Change-Id: Ifb143b2cd3fef075cd77feaf53051eb8b7153a51
Fixes: 27664882

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 27 Jun 2016 14:34:32 +0000 (07:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: If45fdc9e3e694f67b9aa78b230fc1491f39f0551
Auto-generated-cl: translation import

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 26 Jun 2016 07:03:50 +0000 (00:03 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoFix crash in AppDataUsage
Jason Monk [Fri, 24 Jun 2016 14:37:12 +0000 (10:37 -0400)]
Fix crash in AppDataUsage

Better handling of detecting apps

Change-Id: I15644c8d28f394aeac021af856d0d755d7a986c6
Fixes: 29609311

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 06:22:56 +0000 (06:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 05:02:51 +0000 (22:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: I99973d29e54e0ccd4d0ec2e3e631f0d7d8f57c8a
Auto-generated-cl: translation import

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Fri, 24 Jun 2016 04:01:40 +0000 (21:01 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoDon't toggle Data Saver again until it receives a callback.
Felipe Leme [Thu, 23 Jun 2016 22:18:11 +0000 (15:18 -0700)]
Don't toggle Data Saver again until it receives a callback.

BUG: 29253107
Change-Id: I4371f947086a45be6709d2a560d27d1f5f0e79c4

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 23 Jun 2016 07:04:26 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoMerge "Workaround to avoid crash in user photo selection" into nyc-dev
Jason Monk [Wed, 22 Jun 2016 19:45:07 +0000 (19:45 +0000)]
Merge "Workaround to avoid crash in user photo selection" into nyc-dev

7 years agoMerge "Protect against crash in font size" into nyc-dev
Jason Monk [Wed, 22 Jun 2016 19:04:16 +0000 (19:04 +0000)]
Merge "Protect against crash in font size" into nyc-dev

7 years agoWorkaround to avoid crash in user photo selection
Jason Monk [Wed, 22 Jun 2016 18:46:56 +0000 (14:46 -0400)]
Workaround to avoid crash in user photo selection

Bug: 29556966
Change-Id: I0715dee2a4cef2252b4ed1cc4d242b8b3d0ab45c

7 years agoProtect against crash in font size
Jason Monk [Wed, 22 Jun 2016 17:10:25 +0000 (13:10 -0400)]
Protect against crash in font size

Change-Id: Ib3578e0e82388a4f6aa3eeade0d990fc107b9c14
Fixes: 29438848

7 years agoMerge "Fix tethering re-enable after edit." into nyc-dev
Jason Monk [Wed, 22 Jun 2016 15:22:10 +0000 (15:22 +0000)]
Merge "Fix tethering re-enable after edit." into nyc-dev

7 years agoMerge "Update battery content descriptions with labels" into nyc-dev
Jason Monk [Wed, 22 Jun 2016 13:22:45 +0000 (13:22 +0000)]
Merge "Update battery content descriptions with labels" into nyc-dev

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Wed, 22 Jun 2016 07:04:21 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoMerge "Show "0" instead of "0 B" in storage settings." into nyc-dev
Daniel Sandler [Tue, 21 Jun 2016 18:11:11 +0000 (18:11 +0000)]
Merge "Show "0" instead of "0 B" in storage settings." into nyc-dev

7 years agoFix tethering re-enable after edit.
Jason Monk [Tue, 21 Jun 2016 18:04:39 +0000 (14:04 -0400)]
Fix tethering re-enable after edit.

Sometimes the tether state change comes in late (or seemingly not
at all).  Also listen for wifi ap state changes as a fallback for
this case.

Change-Id: I6677c4277453be881967a3cf2234de11cd0237b8
Fixes: 28851179

7 years agoUpdate battery content descriptions with labels
Jason Monk [Tue, 21 Jun 2016 17:36:57 +0000 (13:36 -0400)]
Update battery content descriptions with labels

Change-Id: I0ad4ca753f8f5e1a01e2e21181526ddb921d487a
Fixes: 28301362

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 21 Jun 2016 16:53:25 +0000 (16:53 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

7 years agoFix non-app non-user preferences in Settings > Data usage
Zoltan Szatmary-Ban [Tue, 21 Jun 2016 11:57:30 +0000 (12:57 +0100)]
Fix non-app non-user preferences in Settings > Data usage

Bug:29466113
Change-Id: Ib7a6d477146a856c0cb9c49143ffbf4fb99e38ed

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 21 Jun 2016 11:28:46 +0000 (04:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iebfc06a928c222879aceec01c3aaf35f2cf78561
Auto-generated-cl: translation import

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 21 Jun 2016 07:03:43 +0000 (00:03 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoShow "0" instead of "0 B" in storage settings.
Dan Sandler [Tue, 21 Jun 2016 03:53:34 +0000 (23:53 -0400)]
Show "0" instead of "0 B" in storage settings.

Two benefits:
  - "0 B" might be a little confusing for sighted users
  - "zero bee" is definitely confusing for TalkBack users

Nonzero storage items will still read as "640 KB" which
should be enough for anyone.

Change-Id: I5c89f7c6382ca14fb91d7d1dd145977f855618ae
Fixes: 27973778