Commit Graph

33360 Commits

Author SHA1 Message Date
Sean Stout
999a5bed11 Merge "Renamed "Demo mode" to "System UI demo mode"" 2016-12-21 19:36:53 +00:00
Fan Zhang
ac81f26e30 Align more prefs for icon space.
Bug: 33775510
Fixes: 33798492
Test: Visual
Test: RunSettingsRoboTests

Change-Id: I9b296e4148be8c1ae537b6418b4f384bbc63a8db
2016-12-21 11:20:24 -08:00
Matthew Fritze
65fb01b520 Add first inline switch result.
Adds gestures as Inline switch results to Settings Search.

Change-Id: Ie9b69ac2a54756d5b756401e348cae0a02c907c9
Fixes: 33669037
Test: make RunSettingsRoboTests
2016-12-21 10:52:59 -08:00
Fan Zhang
d65ab0e63f Merge "Revert "Align more prefs for icon space."" 2016-12-21 17:04:04 +00:00
Fan Zhang
8af4c10476 Revert "Align more prefs for icon space."
Bug: 33798492
This reverts commit ded9fc9b07.

Change-Id: I9831858ffda263496617dff29249e243c007fa12
2016-12-21 17:03:00 +00:00
Jaewoong Jung
6a43a06cac Implements additional battery info menu behavior.
Bug: 33352540
Test: Updated existing tests.
Change-Id: I990029d2ea9032301362d614959259965b8ecb10
2016-12-20 19:17:16 -08:00
Youhan Wang
75be542b50 DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu. am: d9b3709fc1
am: 70b47859fa  -s ours

Change-Id: I95e1db20b25b33a7bc29281f7ecb46524eb15116
2016-12-21 00:42:10 +00:00
Youhan Wang
70b47859fa DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu.
am: d9b3709fc1

Change-Id: I4f10d79d7dcd29a59c1ac0823f394cbb3e76256d
2016-12-21 00:37:24 +00:00
TreeHugger Robot
e9d62df6d8 Merge "Remove shortcut metadata from a few activities." 2016-12-21 00:36:06 +00:00
Salvador Martinez
10aba691ff Changed string to notify user of effects
Currently when a system app is removed we
only warn a user that other apps may stop working.
The two strings used for this have been modified to
inform the user that android itself may misbehave as
well if the app is uninstalled.

Test: Manual (string change)
Bug: 32789204
Change-Id: I2c1515ef078d7a96f20ed7db656d4769b02f4ecf
2016-12-20 16:20:29 -08:00
Salvador Martinez
779bfe2659 Expose signals being sent to support in a fragment to the user
The signals we are sending to support when a user
requests for support can now be accessed by clicking
on "system information" in the disclaimer.

Test: robotests
Bug: 32462840
Change-Id: Ibc941d51af117ec0e31d77972ac60d67fd1cecf1
2016-12-20 16:04:08 -08:00
TreeHugger Robot
da7292ac27 Merge "Refresh support screen more often" 2016-12-21 00:02:29 +00:00
TreeHugger Robot
8d5f29d386 Merge "Don't convert string to lower case in zen mode pref summary" 2016-12-20 23:59:39 +00:00
TreeHugger Robot
20730384a8 Merge "Align more prefs for icon space." 2016-12-20 23:04:54 +00:00
Fan Zhang
8a98775dbb Remove shortcut metadata from a few activities.
This removes them from settings widget list.

Bug: 33209678
Test: manual
Change-Id: I7350f97e0318998dc2bf752caad36fea776187d1
2016-12-20 15:03:51 -08:00
Fan Zhang
43ce3c0a57 Don't convert string to lower case in zen mode pref summary
Change-Id: Ibddf6d70b71cfd88b9de70feb12c2a3f01e31b18
Fixes: 32195605
Test: RunSettingsRoboTests
2016-12-20 14:32:26 -08:00
Matthew Fritze
a95be3f49b Merge "SearchFeatureProvider's context field is removed" 2016-12-20 21:49:17 +00:00
Fan Zhang
ded9fc9b07 Align more prefs for icon space.
- Extend preference_category to support summary text
- Removed work_profile_category, used by account list
- align prefs in storage settings
- Use Preference instead of PrefScreen in xmls
- Use proper footer preference in NightDisplaySettings, BatterySaver,
  DataSaver, AutomaticStorageManage
- Remove WallOfTextPreference

Bug: 33775510
Test: visual
Change-Id: I28156b857ff5acac8746c42384dc03d5997ebd9d
2016-12-20 13:24:31 -08:00
Youhan Wang
d9b3709fc1 DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu.
Failed Treehugger automerge to master, will be cherry-picked to master
manually.

Bug:32874442
Change-Id: Ie64eb28671ec4afafd352d1f86b61c4ce1108338
2016-12-20 12:37:12 -08:00
Matthew Fritze
9955db6360 SearchFeatureProvider's context field is removed
SearchFeatureProvider was holding on to a context and
outlived the SettingsActivity, thus leaking the activity.
The context was passed into most methods, and thus it
makes more sense to pass it in to every method.

Bug: 33677967
Test: Run MakeSettingsRoboTests
Change-Id: Ia82f30e7e0b83587b4baeef28e81da6b8e4303fe
2016-12-20 11:39:10 -08:00
Nathan Harold
d18b9fcde0 Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List
To facilitate user recovery from issues where the band mode
list is incomplete and may not report the full list of bands,
the user should *always* have the ability to set the band mode
selection to AUTOMATIC.

Bug: 28124606
Test: compilation, UI check
Change-Id: Ib961d9b058ade5a51dfec0777971c8c98dee2033
(cherry picked from commit f8555e4812)
2016-12-20 11:34:05 -08:00
Julia Reynolds
d6835a20fc Support showing notifications as badges.
And remove unneeded app level settings.

Change-Id: I88f506b0704195181d1748a3135f8ee0f39b774f
Test: manual for now. will add tests when have real mocks for the pages
2016-12-20 13:07:04 -05:00
Fan Zhang
829faf6c45 Hide unnecessary toggle on nightlight display preference.
Change-Id: I8ef7cbc1e065c34071d3e0ca8f91f419e269236d
Fixes: 33761785
Test: Visual
2016-12-20 10:00:56 -08:00
Sean Stout
b9245bf8e5 Renamed "Demo mode" to "System UI demo mode"
Test: Manually verified string in "Developer options"
Bug: 33694332
Change-Id: I9597b35b4a0a4f475a01ae8712123ca49c8f9b8b
2016-12-20 17:39:25 +00:00
TreeHugger Robot
ad5ccad461 Merge "Implement always-on VPN separate lockdown setting" 2016-12-20 16:45:48 +00:00
Robin Lee
e7347dd8c0 Implement always-on VPN separate lockdown setting
Allows Settings to control whether always-on VPN is required for the
connection to complete, or if it is offered on a best-efforts basis.

Change-Id: I5eb273a99e7559adc66b05e647c9130a819f99d4
Test: runtest -x tests/app/src/com/android/settings/vpn2/VpnTests.java
Fix: 32420810
2016-12-20 15:20:43 +00:00
Nathan Harold
f8555e4812 Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List
To facilitate user recovery from issues where the band mode
list is incomplete and may not report the full list of bands,
the user should *always* have the ability to set the band mode
selection to AUTOMATIC.

Bug: 28124606
Test: compilation, UI check
Change-Id: Ib961d9b058ade5a51dfec0777971c8c98dee2033
2016-12-19 18:04:52 -08:00
Doris Ling
dea703544a Merge "Add new method getExtraIntentAction() in DashboardFeatureProvider." 2016-12-19 23:53:37 +00:00
TreeHugger Robot
a4ddf57270 Merge "Left align preferences and graphs to leave space for icon." 2016-12-19 23:11:16 +00:00
Salvador Martinez
1cea5d199b Refresh support screen more often
Support screen is now refreshed in the onResume.
This will prevent the situation where you open the
support tab and then you cross a hours of operation
boundary and the button is not updated.

Test: make RunSettingsRoboTests
Bug: 33272736
Change-Id: I9312b3b6f711eda91d5d60b3ff30e5ac12bf89c1
2016-12-19 15:03:08 -08:00
Doris Ling
3d9224fd82 Add new method getExtraIntentAction() in DashboardFeatureProvider.
Add a new method to get the extra intent-filter action to be used
to query the dynamic dashboard tiles.

Bug: 32739952
Test: make RunSettingsRoboTests
Change-Id: I96d9d8bd32ebe34b7c0df00c3fb4d8900b476c94
2016-12-19 14:23:09 -08:00
Jeremy Joslin
93f09d08bc Merge "New pref toggle for network recommendations." am: a5249906ab am: 2b03ffb264 am: 6061ca1b1a
am: 1fed0c6ae7  -s ours

Change-Id: I3746879fe1ad54eb78838b515ee8bb96b74fe69e
2016-12-19 22:13:52 +00:00
Jeremy Joslin
1fed0c6ae7 Merge "New pref toggle for network recommendations." am: a5249906ab am: 2b03ffb264
am: 6061ca1b1a

Change-Id: I05753f7a5d54cd7707531c0a6cd9491c081454b3
2016-12-19 22:09:52 +00:00
Jeremy Joslin
6061ca1b1a Merge "New pref toggle for network recommendations." am: a5249906ab
am: 2b03ffb264

Change-Id: Ie4f4255740559a3018ba84df0084ff94995aa87d
2016-12-19 22:06:22 +00:00
Jeremy Joslin
2b03ffb264 Merge "New pref toggle for network recommendations."
am: a5249906ab

Change-Id: I7f39f341077bcc403c06d08a87d394f0f25f6356
2016-12-19 22:02:23 +00:00
Treehugger Robot
a5249906ab Merge "New pref toggle for network recommendations." 2016-12-19 21:54:53 +00:00
Fan Zhang
ec407ff78c Left align preferences and graphs to leave space for icon.
Bug: 33559277
Test: Visual inspection
Change-Id: Iacf9556826174a03b1cbf8a6f179b63d8686c5f5
2016-12-19 13:41:37 -08:00
roger xue
f5c786f6d6 move PreferenceController into settingsLib/core
Test: moved
Change-Id: I6578efc4d51ef5a9202b6a8ad1c7197aeda2d6bb
2016-12-19 12:41:02 -08:00
Paul Duffin
38c844eb11 Use junit instead of junit4-target
Bug: 30188076
Test: make checkbuild
Change-Id: Ic2bc905dd47d771630bb5a7047b0e290fb3dd04f
2016-12-19 14:01:32 +00:00
Jeremy Joslin
fbcff7a6b2 New pref toggle for network recommendations.
Adding a new toggle to control whether network
recommendations are enabled.

Removed the "Use open networks" pref and its associated strings
and components as it's no longer needed.

Test: Built and ran.
BUG: 33549591
BUG: 33270391
Change-Id: I03069ca30d06089600ca958f8da117564189f839
Merged-In: I7248ac32e0598d82107c150372c1fe4e9e2243a5
Merged-In: I82eed6dc7daef1c622ea4e33ce42c331e0cd786d
2016-12-18 10:33:28 -08:00
TreeHugger Robot
376f0c8943 Merge "Handle option menu click in support tab." 2016-12-17 01:28:25 +00:00
TreeHugger Robot
5f893153c0 Merge "Enable button only when scrollview reached the bottom" 2016-12-17 00:43:49 +00:00
Fan Zhang
bcfb262cc3 Handle option menu click in support tab.
Change-Id: I47b52ae25200c9fd5b948f1f85199b45f50f6b43
Fixes: 33703324
Test: RunSettingsRoboTests
2016-12-16 15:52:04 -08:00
Salvador Martinez
4e20cb429a Removed fake data
Was using fake data for testing that we could attach
payloads. This is no longer needed since we are now
attaching real data.

Test: Manual Verification on GCS
Bug: 27823357
Change-Id: I055c2b2e027f721e14ea5b6b7efccd5267018b8c
2016-12-16 15:34:59 -08:00
jackqdyulei
0b3edc728e Enable button only when scrollview reached the bottom
Bug: 28410288
Test: make RunSettingsRoboTests
Change-Id: I04653c377f7d419b6701b5589ff25961e0f5c077
2016-12-16 14:58:43 -08:00
Maurice Lam
62478b9e3e Depend on gingerbread variant of SuwLib
Test: Existing tests pass
Bug: 33094508
Change-Id: I489bbdba2cd0cf79f610c6827ee2af8e5c53a566
2016-12-16 14:11:02 -08:00
Jaewoong Jung
12010156ab Merge "Adds a menu item for additional battery info to battery settings." 2016-12-16 22:05:21 +00:00
Jaewoong Jung
1e0f8ff5e5 Adds a menu item for additional battery info to battery settings.
Bug: 33352540
Test: No additional test failures.

Change-Id: Ibfc1a9463c93d3c087ed712fe45d3d0717472c6a
2016-12-16 12:25:32 -08:00
Aurimas Liutikas
1aba712008 Merge "Point to the new checkstyle location for packages/apps/Settings PREUPLOAD hook." 2016-12-16 17:44:49 +00:00
TreeHugger Robot
1e4d5b5852 Merge "Refactor Work sounds in SoundSettings." 2016-12-16 01:37:13 +00:00