OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoHide uninstalled app in restrict app dialog
Lei Yu [Tue, 3 Apr 2018 01:08:03 +0000 (18:08 -0700)]
Hide uninstalled app in restrict app dialog

Change-Id: Ic615d8b1150890e6ad0d393e410d0f5ab8648986
Fixes: 77429442
Test: RunSettingsRoboTests

6 years agoMerge "Move apn settings to network" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:41:39 +0000 (19:41 +0000)]
Merge "Move apn settings to network" into pi-dev

6 years agoMerge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev
Jean-Michel Trivi [Tue, 3 Apr 2018 19:24:35 +0000 (19:24 +0000)]
Merge "Sound: VolumeSeekBarPreference must observe min vol index" into pi-dev

6 years agoMerge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 18:31:39 +0000 (18:31 +0000)]
Merge "Remove wrapper for ConnectionManager/IPackageManager" into pi-dev

6 years agoMerge "In High usage, hide apps without screen time." into pi-dev
Lei Yu [Tue, 3 Apr 2018 17:37:46 +0000 (17:37 +0000)]
Merge "In High usage, hide apps without screen time." into pi-dev

6 years agoEnterprice privacy: let the user know if admin enabled backups.
Lenka Trochtova [Fri, 23 Mar 2018 15:08:28 +0000 (16:08 +0100)]
Enterprice privacy: let the user know if admin enabled backups.

Bug: 73750212
Bug: 64012357
Test: make RunSettingsGoogleRoboTests

Change-Id: I586eaccaebb89a8b3e5b4014b3d6427ab2eb15a9

6 years agoMerge "Move the Private DNS dialog back to the top level." into pi-dev
Chalard Jean [Tue, 3 Apr 2018 05:17:56 +0000 (05:17 +0000)]
Merge "Move the Private DNS dialog back to the top level." into pi-dev

6 years agoMerge "Remove more wrappers" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 02:07:17 +0000 (02:07 +0000)]
Merge "Remove more wrappers" into pi-dev

6 years agoSound: VolumeSeekBarPreference must observe min vol index
Jean-Michel Trivi [Mon, 2 Apr 2018 21:55:27 +0000 (14:55 -0700)]
Sound: VolumeSeekBarPreference must observe min vol index

The volume sliders must observe the minimum volume stream
  index, not just the maximum.

Bug: 74985293
Test: try to mute alarms through UI and fail
Change-Id: Icc5173898eb951239d02f5822239085f1ec3fc9a

6 years agoMove apn settings to network
Pengquan Meng [Mon, 2 Apr 2018 23:41:54 +0000 (16:41 -0700)]
Move apn settings to network

This is a clean up CL, move the apn settings related class from settings'
root to network's directory.

Bug: 77339683
Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests
Change-Id: I751a6c2a27c9a1e08d7308407d75ccb355f295aa

6 years agoRemove wrapper for ConnectionManager/IPackageManager
Fan Zhang [Mon, 2 Apr 2018 21:22:50 +0000 (14:22 -0700)]
Remove wrapper for ConnectionManager/IPackageManager

Bug: 76167422
Test: robotests
Change-Id: I5f051b0ce58b97a3cfd5d4bae469463dcd6d83ac

6 years agoRemove more wrappers
Fan Zhang [Mon, 2 Apr 2018 18:33:16 +0000 (11:33 -0700)]
Remove more wrappers

- WallpaperManagerWrapper
- UserManagerWrapper

Bug: 76167422
Test: robotests
Change-Id: I3ca866089082e01f1e9d7a4554387962f45a5437

6 years agoMerge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 23:49:22 +0000 (23:49 +0000)]
Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev

6 years agoMerge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 22:25:04 +0000 (22:25 +0000)]
Merge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev

6 years agoMagnificationPreferenceFragment use DashboardFragment
rafftsai [Wed, 28 Mar 2018 08:07:24 +0000 (16:07 +0800)]
MagnificationPreferenceFragment use DashboardFragment

- Move preference related logic to Controller
- Add settings:controller in xml file

Bug: 73899467
Test: manual
Test: make RunSettingsRoboTests

Change-Id: I3eaccc617c4408f50110bf1f5df3482f491f7393
Signed-off-by: rafftsai <rafftsai@android.com>
6 years agoExpand isAvailable to include DISABLED_DEPENDENT
Matthew Fritze [Fri, 30 Mar 2018 20:54:08 +0000 (13:54 -0700)]
Expand isAvailable to include DISABLED_DEPENDENT

isAvailable will now return true when getAvailabilityStatus
returns DISABLED_DEPENDENT_SETTING. This is because the setting
should be displayed in the Fragment even if it has a dependent setting,
which matches existing behaviour. Slices will still display the warning
slice without inline content, where the main action brings you to the
setting page. For now, we have to assume the user will be able to figure
out how to enable the setting. In Q, we would like to build a more
intelligent flow so that we can prompt or even help the user fix the
dependency (we just ran out of time in P).

The only setting that had previously used DISABLE_DEPENDENT_SETTING
was a developer option.

Change-Id: I1f774a2e09cb60de01388cf6c35785c8b5dea176
Fixes: 77334915
Test: robotests

6 years agoFixed ApnEditor issue
Pengquan Meng [Fri, 23 Feb 2018 00:01:39 +0000 (16:01 -0800)]
Fixed ApnEditor issue

The mainly changed:
1. Will not insert invalid apn data to database.
2. Clicking back button will save the APN data to database if the data is valid.

Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests
Bug: 73745458
Bug: 67327863
Merged-In: Ie2c147cae03ad78d43c351e05add761b2dffac0c
Change-Id: Ie2c147cae03ad78d43c351e05add761b2dffac0c
(cherry picked from commit f39ef85653508cfcbdcc21373638f9a852a5f4e5)

6 years agoMerge "Remove wrapper for device policy manager" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 18:45:53 +0000 (18:45 +0000)]
Merge "Remove wrapper for device policy manager" into pi-dev

6 years agoUpdate color whitelist for check color repohook
Salvador Martinez [Mon, 2 Apr 2018 18:32:06 +0000 (11:32 -0700)]
Update color whitelist for check color repohook

It is blocking cl's being uploaded due to someone skipping the
repo-hooks.

Test: Can build and upload CL's
Bug: 77478756
Change-Id: I3ae4212fb06a5b82c0afe57dcd839f5a55583cce

6 years agoMerge changes Ib497aca6,Ic6def54a into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 16:44:51 +0000 (16:44 +0000)]
Merge changes Ib497aca6,Ic6def54a into pi-dev

* changes:
  Make anomaly jobs persistent.
  Update job ids in Settings

6 years agoMove the Private DNS dialog back to the top level.
Chalard Jean [Wed, 14 Mar 2018 11:54:53 +0000 (20:54 +0900)]
Move the Private DNS dialog back to the top level.

Bug: 64133961
Fixes: 74844869
Test: visual test and interaction
      also updated tests and checked they pass
Change-Id: I7c8d50e5941c2a7dd46014932bdace14dc222c80

6 years agoMerge "Update auto wi-fi to prompt user for permissions" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 01:36:37 +0000 (01:36 +0000)]
Merge "Update auto wi-fi to prompt user for permissions" into pi-dev

6 years agoMerge "Update the battery string." into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 01:33:28 +0000 (01:33 +0000)]
Merge "Update the battery string." into pi-dev

6 years agoMerge "Let battery status icon has consist UI in PowerSummaryPage" into pi-dev
Jyun LuoLai [Mon, 2 Apr 2018 01:27:56 +0000 (01:27 +0000)]
Merge "Let battery status icon has consist UI in PowerSummaryPage" into pi-dev

6 years agoMerge "Remove wrappers" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 11:00:25 +0000 (11:00 +0000)]
Merge "Remove wrappers" into pi-dev

6 years agoMerge "Add callback onProfileAudioStateChanged()" into pi-dev
Ryan Lin [Sat, 31 Mar 2018 06:23:26 +0000 (06:23 +0000)]
Merge "Add callback onProfileAudioStateChanged()" into pi-dev

6 years agoMerge "Wake notifications to TogglePreferenceController" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 05:15:28 +0000 (05:15 +0000)]
Merge "Wake notifications to TogglePreferenceController" into pi-dev

6 years agoRemove wrappers
Fan Zhang [Fri, 30 Mar 2018 23:17:12 +0000 (16:17 -0700)]
Remove wrappers

Bug: 76167422
Test: robotests
Change-Id: Ic673fa2aa815b84da4b522dab85aacbeab6e39ec

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 04:11:14 +0000 (04:11 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoRemove wrapper for device policy manager
Fan Zhang [Fri, 30 Mar 2018 23:58:28 +0000 (16:58 -0700)]
Remove wrapper for device policy manager

Bug: 76167422
Test: robotests
Change-Id: I69dc7341cf1ff408bc24c2a062586cef25b7b918

6 years agoWake notifications to TogglePreferenceController
HJ ChangLiao [Wed, 28 Mar 2018 09:13:03 +0000 (17:13 +0800)]
Wake notifications to TogglePreferenceController

Convert Wake for new notifications to TogglePreferenceController
Because Slice controller only support Constructor(context)
Move other parameter to setAmbientDisplayConfiguration

Change-Id: I01042b84217ad9592fece966374140dffaf813e4
Fixes:67997460
Test: make RunSettingsRoboTests -j

6 years agoMerge "Use touch delegate in SwitchBar" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:56:16 +0000 (02:56 +0000)]
Merge "Use touch delegate in SwitchBar" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 31 Mar 2018 02:09:20 +0000 (19:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7d6f7e4fa935eb00c198e0ad018faa42ec7dee05

6 years agoMerge "Update screen pinning instructions for QuickStep." into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 02:21:15 +0000 (02:21 +0000)]
Merge "Update screen pinning instructions for QuickStep." into pi-dev

6 years agoMerge "Remove FingerprintManagerWrapper" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:43:34 +0000 (01:43 +0000)]
Merge "Remove FingerprintManagerWrapper" into pi-dev

6 years agoMerge changes from topic "remove_wrappers" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:26:16 +0000 (01:26 +0000)]
Merge changes from topic "remove_wrappers" into pi-dev

* changes:
  Remove wrapper class for NotificationGroup.
  Remove more wrappers in favor of new Robolectric support

6 years agoMerge "Update wi-fi hotspot min length of summary to 2" into pi-dev
Fan Zhang [Sat, 31 Mar 2018 00:45:49 +0000 (00:45 +0000)]
Merge "Update wi-fi hotspot min length of summary to 2" into pi-dev

6 years agoMerge "Improve Night Light suggestion criterion" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:35:38 +0000 (00:35 +0000)]
Merge "Improve Night Light suggestion criterion" into pi-dev

6 years agoUse touch delegate in SwitchBar
Phil Weaver [Thu, 29 Mar 2018 19:39:57 +0000 (12:39 -0700)]
Use touch delegate in SwitchBar

The entire switch bar is supposed to behave as a switch,
so it had logic for clicking the layout that duplicated
the logic for the switch itself.

I'm removing all of this duplicate logic and using a
TouchDelegate instead.

This preserves the same behavior with much simpler code.
The previous approach led to accessibility being confused
about exactly what was clickable and what would happen
when different items were clicked. Workarounds to deal with
that confusion created other problems. Sweeping all of it
aside and using a TouchDelegate seems way cleaner.

Bug: 75962891
Test: make SettingsRoboTests
Change-Id: I4fe17d581b5294d2482392f75bf1607126cf235d

6 years agoMerge "Remove wrapper class for AutofillManager in Settings" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:28:46 +0000 (00:28 +0000)]
Merge "Remove wrapper class for AutofillManager in Settings" into pi-dev

6 years agoMerge "Final (?!?!?!?!) Directory Access improvements." into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 00:21:36 +0000 (00:21 +0000)]
Merge "Final (?!?!?!?!) Directory Access improvements." into pi-dev

6 years agoUpdate screen pinning instructions for QuickStep.
Tracy Zhou [Thu, 29 Mar 2018 05:48:03 +0000 (22:48 -0700)]
Update screen pinning instructions for QuickStep.

Change-Id: I786c7a1f4dd5d13d0ea69abe5c56f565a5bb16ae
Fixes: 76317335
Test: N/A

6 years agoMerge "Remove more wrappers" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 23:37:15 +0000 (23:37 +0000)]
Merge "Remove more wrappers" into pi-dev

6 years agoRemove FingerprintManagerWrapper
Fan Zhang [Fri, 30 Mar 2018 23:30:31 +0000 (16:30 -0700)]
Remove FingerprintManagerWrapper

No longer needed after robolectric migration

Bug: 76167422
Test: robotests
Change-Id: I922cde8ac3667081a512cf899af86f68b24485a6

6 years agoImprove Night Light suggestion criterion
Sean Stout [Fri, 2 Feb 2018 02:01:05 +0000 (18:01 -0800)]
Improve Night Light suggestion criterion

Night Light suggestion will now show even if the user is using Night
Light in manual mode. If the user has previously tapped or dismissed the
suggestion, the suggestion will not show again.

Bug: 68938869
Test: make ROBOTEST_FILTER=\
"(NightDisplayPreferenceControllerTest|SuggestionFeatureProviderImplTest)" \
RunSettingsRoboTests

Change-Id: Iea838df043d75dfa73a1a383275dc42956374113

6 years agoRemove wrapper class for NotificationGroup.
Fan Zhang [Fri, 30 Mar 2018 22:50:11 +0000 (15:50 -0700)]
Remove wrapper class for NotificationGroup.

It's no longer needed as Robolectric can natively support framework
classes

Bug: 76167422
Test: robotests
Change-Id: If0ac597370240b8efaa8df8783a5c309a2322a3f

6 years agoRemove more wrappers in favor of new Robolectric support
Fan Zhang [Fri, 30 Mar 2018 21:43:37 +0000 (14:43 -0700)]
Remove more wrappers in favor of new Robolectric support

Bug: 76167422
Test: robotests
Change-Id: Ic71a181bee6f90f25f9fa2a748cf708887495394

6 years agoMerge "Update add network dialog to not make networks hidden by default" into pi-dev
Salvador Martinez [Fri, 30 Mar 2018 22:22:59 +0000 (22:22 +0000)]
Merge "Update add network dialog to not make networks hidden by default" into pi-dev

6 years agoUpdate auto wi-fi to prompt user for permissions
Salvador Martinez [Mon, 19 Mar 2018 15:41:32 +0000 (08:41 -0700)]
Update auto wi-fi to prompt user for permissions

This CL makes it so that auto wi-fi will correctly prompt users
to enable the correct permissions before allowing them to turn
on the setting. Additionally it provides users with important
information regarding each setting.

Bug: 67070896
Test: Robotests
Change-Id: Ieddfa421be6e45ce69f3d6048ae051a7e3ce4c76

6 years agoIn High usage, hide apps without screen time.
Lei Yu [Fri, 30 Mar 2018 21:43:34 +0000 (14:43 -0700)]
In High usage, hide apps without screen time.

If the screen time is less than 1 minute, don't show it in high
usage dialog.

Also sort the list first before cut the list size.

Change-Id: I2f8876dcc16b3d6156cb0aa9e19c7fdd4ceac34e
Fixes: 77303928
Test: RunSettingsRoboTests

6 years agoRemove wrapper class for AutofillManager in Settings
Fan Zhang [Fri, 30 Mar 2018 21:33:55 +0000 (14:33 -0700)]
Remove wrapper class for AutofillManager in Settings

Robolectric now supports new system services. So we no longer need any
wrapper class.

Bug: 76167422
Test: robotests
Change-Id: Ic54b95f747bea933bacec299b00a29f3cc4f7bb5

6 years agoRemove more wrappers
Fan Zhang [Fri, 30 Mar 2018 18:33:08 +0000 (11:33 -0700)]
Remove more wrappers

Bug: 76167422
Test: make RunSettingsRoboTests -j40
Change-Id: I0dc42c483ae92d508dec94e42573b55ced0e4bb0

6 years agoMake anomaly jobs persistent.
Lei Yu [Fri, 30 Mar 2018 20:59:38 +0000 (13:59 -0700)]
Make anomaly jobs persistent.

Before this cl, if user turn off device everday(i.e. OTA update), the
every day jobs may never have a chance to run.

This cl make the jobs persistent and don't reschedule it if we already
have one. In this way we can make sure the jobs roughly run everyday.

Bug: 77331929
Test: RunSettingsRoboTests
Change-Id: Ib497aca6b696afd9386515464845c5b0dd3c1207

6 years agoMerge "Make metered wifi controller resilient to null config" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:50:25 +0000 (20:50 +0000)]
Merge "Make metered wifi controller resilient to null config" into pi-dev

6 years agoMerge "Polish the About Phone page." into pi-dev
Daniel Nishi [Fri, 30 Mar 2018 20:24:58 +0000 (20:24 +0000)]
Merge "Polish the About Phone page." into pi-dev

6 years agoMerge "Remove the obsolete bluetooth code" into pi-dev
Lei Yu [Fri, 30 Mar 2018 20:24:01 +0000 (20:24 +0000)]
Merge "Remove the obsolete bluetooth code" into pi-dev

6 years agoUpdate job ids in Settings
Lei Yu [Fri, 30 Mar 2018 20:20:53 +0000 (13:20 -0700)]
Update job ids in Settings

Use constant integers instead of ids

Bug: 77331929
Test: RunSettingsRoboTests
Change-Id: Ic6def54aaae4a9ba025161340f1cee210cb2e87f

6 years agoMerge "Remove networkScorer wrapper" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:16:06 +0000 (20:16 +0000)]
Merge "Remove networkScorer wrapper" into pi-dev

6 years agoFinal (?!?!?!?!) Directory Access improvements.
Felipe Leme [Fri, 30 Mar 2018 17:34:23 +0000 (10:34 -0700)]
Final (?!?!?!?!) Directory Access improvements.

- Hide children items when parent is granted access (and vice versa).
- Added dividers in between volumes.

Test: manual verification
Test: atest CtsAppSecurityHostTestCases:ScopedDirectoryAccessTest#testResetDoNotAskAgain,testResetGranted

Bug: 72055774

Change-Id: Ie4ad117d1f8a53bf7dbf7747e768a301b0d03604

6 years agoMerge "Update the battery saver summary" into pi-dev
Lei Yu [Fri, 30 Mar 2018 20:01:50 +0000 (20:01 +0000)]
Merge "Update the battery saver summary" into pi-dev

6 years agoMerge "Refine the update process of battery tip" into pi-dev
Lei Yu [Fri, 30 Mar 2018 19:56:46 +0000 (19:56 +0000)]
Merge "Refine the update process of battery tip" into pi-dev

6 years agoUpdate the battery string.
Lei Yu [Fri, 30 Mar 2018 19:19:31 +0000 (12:19 -0700)]
Update the battery string.

Remove the extra new line.

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: I48555c51ef49aabf1bfd98baa4682a21936bd48e

6 years agoMerge "Update battery strings" into pi-dev
Lei Yu [Fri, 30 Mar 2018 19:12:41 +0000 (19:12 +0000)]
Merge "Update battery strings" into pi-dev

6 years agoMerge "Remove dead code in time zone picker" into pi-dev
Victor Chang [Fri, 30 Mar 2018 18:35:52 +0000 (18:35 +0000)]
Merge "Remove dead code in time zone picker" into pi-dev

6 years agoRemove the obsolete bluetooth code
Lei Yu [Thu, 29 Mar 2018 17:54:22 +0000 (10:54 -0700)]
Remove the obsolete bluetooth code

Also update the shortcut:
1. Change the name to "Devices"
2. Change it point to "Connected device" page

Bug: 74806595
Fixes: 69926683
Test: robo test still pass

Change-Id: Ic57756fc955dc622cc22d0be64f02b5ae07a2915

6 years agoRemove networkScorer wrapper
Fan Zhang [Fri, 30 Mar 2018 00:00:39 +0000 (17:00 -0700)]
Remove networkScorer wrapper

Also modified NetworkScorerPickerPreferenceController to register itself
in xml directily

Bug: 76167422
Test: robotests
Change-Id: I4a216b5e6845aecd6aaeed0ed9b3e06c9e0fc590

6 years agoMerge "Modify AddDevicePreferenceController's constructor" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 17:23:51 +0000 (17:23 +0000)]
Merge "Modify AddDevicePreferenceController's constructor" into pi-dev

6 years agoMerge "Add apn data structure" into pi-dev
Pengquan Meng [Fri, 30 Mar 2018 17:00:35 +0000 (17:00 +0000)]
Merge "Add apn data structure" into pi-dev

6 years agoMerge "Remove password blacklist check" into pi-dev
Rubin Xu [Fri, 30 Mar 2018 13:38:31 +0000 (13:38 +0000)]
Merge "Remove password blacklist check" into pi-dev

6 years agoMerge "Dnd 'blink light' option only if phone has LED" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 13:16:25 +0000 (13:16 +0000)]
Merge "Dnd 'blink light' option only if phone has LED" into pi-dev

6 years agoTop line should show "Primary data" for users with > 1 plans.
Andreas Terzis [Fri, 30 Mar 2018 01:10:35 +0000 (18:10 -0700)]
Top line should show "Primary data" for users with > 1 plans.

When the platform receives data plan information and the
user has more than one data plans, the top line under
Settings -> Network & Internet -> Data Usage should read
"Primary data" instead of "Current data".

Bug: 77295381

Test: manual
Test: make RunSettingsRoboTests
Change-Id: Ia9d9d04919c28b163979c70f91eb7d72cdebcb89

6 years agoAdd callback onProfileAudioStateChanged()
ryanywlin [Fri, 30 Mar 2018 02:25:30 +0000 (10:25 +0800)]
Add callback onProfileAudioStateChanged()

Bug: 74134939
Test: Build
Change-Id: I2a7e837703b66e1798679c65afab7dc6572c295e

6 years agoUpdate add network dialog to not make networks hidden by default
Salvador Martinez [Fri, 30 Mar 2018 04:29:30 +0000 (21:29 -0700)]
Update add network dialog to not make networks hidden by default

This CL updates the add network dialog to use the provided value
for the hidden state (from androids perspective) of the network. The
default selected value will always be not hidden and if the user
selects to mark it as hidden a warning will appear to inform the
user of the privacy implications.

Test: Robotests
Bug: 29003359
Change-Id: Ifd4511e4d0af6eb01f4e951c22a91fc560393e8d

6 years agoModify AddDevicePreferenceController's constructor
Jyun LuoLai [Fri, 30 Mar 2018 02:01:39 +0000 (10:01 +0800)]
Modify AddDevicePreferenceController's constructor

For xml type controller, implements the constructor (Context, String)
would be better

Bug: 73960246
Test: Manual test & make RunSettingsRoboTests
Change-Id: I872a663947f14de5e83c596655b2ffb75f37f057

6 years agoSupport AOD in the Universal Settings API
Dieter Hsu [Wed, 21 Mar 2018 10:47:43 +0000 (18:47 +0800)]
Support AOD in the Universal Settings API

Bug: 67997452
Test: make -j RunSettingsRoboTests
Change-Id: I609ac74f70bf040bd9033f421b4bb7c02bf33440

6 years agoUpdate wi-fi hotspot min length of summary to 2
chenedward [Tue, 27 Mar 2018 02:59:54 +0000 (10:59 +0800)]
Update wi-fi hotspot min length of summary to 2

Update wi-fi hotspot min length of summary to 2 to through preference api

Bug: 72746916
Test: make -j RunSettingsRoboTests
Change-Id: I8942df156a7f6c3ec8b6112014f72a3e56fdec4b

6 years agoMerge "Update channel DND setting" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 04:03:28 +0000 (04:03 +0000)]
Merge "Update channel DND setting" into pi-dev

6 years agoMerge "Remove wrapper for EUICCManager" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 03:21:37 +0000 (03:21 +0000)]
Merge "Remove wrapper for EUICCManager" into pi-dev

6 years agoMerge "Register most app info related controllers in xml" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 03:17:45 +0000 (03:17 +0000)]
Merge "Register most app info related controllers in xml" into pi-dev

6 years agoSupport Screen Rotate in the Universal Settings API
LexHuang [Fri, 23 Mar 2018 09:51:54 +0000 (17:51 +0800)]
Support Screen Rotate in the Universal Settings API

Change extend from AbstractPreferenceController to TogglePreferenceControllear

Bug: 67997439
Test: make RunSettingsRoboTests
Change-Id: I86e59d00384fb131f2f2b92186e8536324db2e1b

6 years agoMerge "Increase touch target for suggestion close button." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 01:55:54 +0000 (01:55 +0000)]
Merge "Increase touch target for suggestion close button." into pi-dev

6 years agoAdd apn data structure
Pengquan Meng [Thu, 29 Mar 2018 18:27:22 +0000 (11:27 -0700)]
Add apn data structure

This add a data structure to store the apn data locally.

Test: unit test
Bug: 73745458
Bug: 67327863
Merged-In: Iae56583ab1c99f57154461c71a10b74db87ab1bd
Change-Id: Iae56583ab1c99f57154461c71a10b74db87ab1bd
(cherry picked from commit ee25956f573efcbbb6e1968ff4cdfe24c65e1bb4)

6 years agoRefine the update process of battery tip
Lei Yu [Mon, 12 Mar 2018 23:13:35 +0000 (16:13 -0700)]
Refine the update process of battery tip

1. When device is rotated, don't update the battery tip
2. When user go back to battery main page from other page, start
battery tip update process
3. In RestrictAppTip, if there aren't restricted apps anymore,
hide the tip.

Bug: 74467010
Test: RunSettingsRobotests

Change-Id: I300bcc5b487d587f6618e340ac074fe416dcc1b2

6 years agoRegister most app info related controllers in xml
Fan Zhang [Thu, 29 Mar 2018 22:45:49 +0000 (15:45 -0700)]
Register most app info related controllers in xml

Bug: 77216595
Test: robotests
Change-Id: I79afa38820b7518d8b3112148802797ebcf6d184

6 years agoRemove wrapper for EUICCManager
Fan Zhang [Fri, 30 Mar 2018 00:52:04 +0000 (17:52 -0700)]
Remove wrapper for EUICCManager

Bug: 76167422
Test: robotests
Change-Id: I2a6687ffab780493fca7b2146cf73cbc7f634081

6 years agoIncrease touch target for suggestion close button.
Doris Ling [Thu, 29 Mar 2018 21:55:33 +0000 (14:55 -0700)]
Increase touch target for suggestion close button.

- wrap the close button icon view in a bigger layout to increase the
overall touch area.

Fixes: 74220173
Test: manual

Change-Id: I45beadf3cfcc6ed1a8a16e6dcb9b8452e1edd78e

6 years agoMerge changes I0fde4f80,Iea1cff48 into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:49:22 +0000 (23:49 +0000)]
Merge changes I0fde4f80,Iea1cff48 into pi-dev

* changes:
  Update TimezoneInfoPrefController to register in xml
  Make FontSizePreferenceController slice compatible.

6 years agoMerge "Revert "Support AOD in the Universal Settings API"" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:10:45 +0000 (23:10 +0000)]
Merge "Revert "Support AOD in the Universal Settings API"" into pi-dev

6 years agoMerge "Fix visibility issue with fingerprint icon." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:07:24 +0000 (23:07 +0000)]
Merge "Fix visibility issue with fingerprint icon." into pi-dev

6 years agoMerge "Fix 'show badge' for pre O apps" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 23:06:26 +0000 (23:06 +0000)]
Merge "Fix 'show badge' for pre O apps" into pi-dev

6 years agoDnd 'blink light' option only if phone has LED
Beverly [Thu, 29 Mar 2018 22:49:07 +0000 (18:49 -0400)]
Dnd 'blink light' option only if phone has LED

Change-Id: Ifbc75128a9434f83839cd6b60405a03f88f4b3d3
Fixes: 77271775
Test: make ROBOTEST_FILTER=ZenModeVisEffectPreferenceControllerTest RunSettingsRoboTests -j40

6 years agoMake metered wifi controller resilient to null config
Salvador Martinez [Thu, 29 Mar 2018 22:39:55 +0000 (15:39 -0700)]
Make metered wifi controller resilient to null config

Apparently the wifi config can sometimes come back as null
initially when the device auto-connects to a network. This CL simply
makes the controller resilient to that so that it doesn't crash the
app.

Test: robotests
Bug: 73076869
Change-Id: I99098f35df9cd902f5f244a872cce9b71c17c224

6 years agoMerge "Explicity receive sticky usb intent" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 21:51:55 +0000 (21:51 +0000)]
Merge "Explicity receive sticky usb intent" into pi-dev

6 years agoUpdate TimezoneInfoPrefController to register in xml
Fan Zhang [Thu, 29 Mar 2018 21:29:54 +0000 (14:29 -0700)]
Update TimezoneInfoPrefController to register in xml

Test: robotest
Bug: 77216595
Change-Id: I0fde4f8058a8be156dddb620a756254cd85f6a9f

6 years agoUpdate channel DND setting
Julia Reynolds [Thu, 29 Mar 2018 15:16:36 +0000 (11:16 -0400)]
Update channel DND setting

... to reflect DND changes elsewhere in the system. Update the summary
and make the setting always available.

Test: make -j RunSettingsRoboTests
Change-Id: Ia51c349d863e1470e8a043293fa60f22632fa2df
Fixes: 76137346

6 years agoFix 'show badge' for pre O apps
Julia Reynolds [Thu, 29 Mar 2018 19:54:16 +0000 (15:54 -0400)]
Fix 'show badge' for pre O apps

Test: make -j RunSettingsRoboTests
Change-Id: I20f6b38986afde0ca781329ffc24326601650a1f
Fixes: 69437269

6 years agoRevert "Support AOD in the Universal Settings API"
Fan Zhang [Thu, 29 Mar 2018 20:20:08 +0000 (20:20 +0000)]
Revert "Support AOD in the Universal Settings API"

This reverts commit 537c2cfc2c21ffee691b11864a26bd84f043916a.

Fixes: 77278897

Change-Id: I7a5ff34bf79b87f6a7be50c2e8f421bfc4a22195

6 years agoMerge "Require unlocked work profile to change notification settings" into pi-dev
Eran Messeri [Thu, 29 Mar 2018 20:17:18 +0000 (20:17 +0000)]
Merge "Require unlocked work profile to change notification settings" into pi-dev

6 years agoFix visibility issue with fingerprint icon.
Doris Ling [Thu, 29 Mar 2018 20:08:09 +0000 (13:08 -0700)]
Fix visibility issue with fingerprint icon.

- set icon tint color to control normal. The icon fill color is white,
and without the tint color set, it is invisible on a white background.

Change-Id: I9cda0e9105701230256620bd4ea904c96d7bc166
Fixes: 77151365
Test: visual

6 years agoMerge "Fix ZonePickerSettingsTest due to string change" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:01:26 +0000 (20:01 +0000)]
Merge "Fix ZonePickerSettingsTest due to string change" into pi-dev