Commit Graph

11147 Commits

Author SHA1 Message Date
TreeHugger Robot
3a1fae3ba9 Merge "Change Network & Internet to Network & internet." 2016-12-22 01:01:42 +00:00
TreeHugger Robot
2f97111d8a Merge "Align more prefs for icon space." 2016-12-22 00:29:06 +00:00
TreeHugger Robot
627c811c11 Merge "Expose signals being sent to support in a fragment to the user" 2016-12-22 00:28:22 +00:00
TreeHugger Robot
41fa24b9df Merge "Changed string to notify user of effects" 2016-12-21 22:42:02 +00:00
TreeHugger Robot
9ccd30f167 Merge "Add first inline switch result." 2016-12-21 22:11:59 +00:00
Doris Ling
e71fa39118 Change Network & Internet to Network & internet.
Make "Internet" lowercase to be consistent with other settings title and
match the UI spec.

Bug: 33677629
Test: make SettingsFunctionalTests
Change-Id: I76d20c15e65db3c43e208ab8a48b7626c2103961
2016-12-21 13:44:46 -08:00
Julia Reynolds
b42ac40b5f Merge "Support showing notifications as badges." 2016-12-21 21:15:47 +00:00
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
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
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
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
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
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
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
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
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
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
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
5f893153c0 Merge "Enable button only when scrollview reached the bottom" 2016-12-17 00:43:49 +00: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
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
TreeHugger Robot
a8dee23ee5 Merge "Hide next button when max fingerprints enrolled" 2016-12-15 22:57:27 +00:00
TreeHugger Robot
be611ab112 Merge "Build a new FooterPreference UI." 2016-12-15 17:56:28 +00:00
Bill Yi
a48002a65a Import translations. DO NOT MERGE
Change-Id: If6787baad938f8184b5b6ddb2c59317b0d6144bd
Auto-generated-cl: translation import
2016-12-14 21:03:28 -08:00
TreeHugger Robot
d4443e7196 Merge "New pref toggle for network recommendations." 2016-12-15 01:43:56 +00:00
Fan Zhang
d5b48454a3 Build a new FooterPreference UI.
- Create a new layout for footer prefs.
- Create a new FooterPreference type to use the layout
- Create a Mixin to create and add the pref to screen
- Create a new lifecycle observer type to invoke mixin at right time
- Switch SettingsPreferenceFragment to use footer mixin.
- Switch FingerprintSettings to use the new footer pref.

Bug: 33579394
Test: RunSettingsRoboTests
Change-Id: I548ac39a0d120196a7ffed09b4f98bd9a80bae90
2016-12-14 16:41:49 -08:00
Maurice Lam
f8a325c7c6 Remove WifiSetupActivity
That activity was copied into setup wizard and is no longer used.

Also removed setup_illustration_lock_screen because that is also
not used in the current GLIF theme.

Test: Existing Robolectric tests pass
Bug: 33590605
Change-Id: Ib2ea02a5e4bce17a7ea829b854f73caf7d5c5f97
2016-12-14 22:41:58 +00:00
Jeremy Joslin
66e6027da0 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: I7248ac32e0598d82107c150372c1fe4e9e2243a5
2016-12-13 15:33:55 -08:00
Fan Zhang
af71eb20c8 Merge "Always reserve space for preference icons." 2016-12-13 17:06:59 +00:00
Bill Yi
a4e78d242d Import translations. DO NOT MERGE
Change-Id: Ia4641aa6b6dc9907ede180fa2d7d0cb4f1c258f0
Auto-generated-cl: translation import
2016-12-12 17:30:02 -08:00
Bill Yi
43ac544b65 Import translations. DO NOT MERGE
Change-Id: I2531790f442ad46e6bff142af9b1694d93049021
Auto-generated-cl: translation import
2016-12-12 17:24:44 -08:00
Fan Zhang
1c118b5f2a Always reserve space for preference icons.
This aligns text on preferences on the same screen when some of them
don't have icons.

- Use a custom layout for
  preference
  EditPreference
  switch preference
  VolumeSeekPreference
  DialogPreferencei
  Restricted*Preference
  DropdownPreference

- Moved related style defs into a new file styles_preference.xml,
  because current styles file is too large to read.
- Switch <PreferenceScreen ...> to <Preference ...> for a bunch of
  regular preferences.
- Also removed some dead style.

Bug: 33430928
Test: runtest --path packages/apps/Settings/tests/app/src/com/android/settings/dashboard/PreferenceThemeTest.java

Change-Id: Ic9b75d3f133f2a83cd999297b8596253d4b10161
2016-12-12 16:02:45 -08:00
Svetoslav Ganov
c6a074c80d DO NOT MERGE Add Bluetooth toggle prompts - settings
If permission review is enabled toggling bluetoth on or off
results in a user prompt to collect consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749
Change-Id: I0b9065446f9d0cfb819065eaf2dc160eb1c1f7ec
2016-12-12 09:44:39 -08:00
Nathan Harold
70ab95ee63 Add Ims Registration Info to RadioInfo
am: 839b9f9733

Change-Id: I18a64c82bf853b86da4fe99981b1b8d6f5955643
2016-12-09 22:23:33 +00:00
Bill Yi
28fbec0aaa Import translations. DO NOT MERGE
Change-Id: Ib7c81831c8d7e40f0f98c8c65ba99a4af191e236
Auto-generated-cl: translation import
2016-12-09 03:12:00 -08:00
Jiaquan He
1ff0a53529 Merge "Show the highlight for the wifi toggle switch." 2016-12-08 18:56:42 +00:00
TreeHugger Robot
2a6193df36 Merge "Use a single layout for CreateShortcut activity." 2016-12-08 01:59:22 +00:00
Lei Yu
b9b68a50a1 Merge "Add tint for ic_settings_24dp.xml in settings" 2016-12-08 00:48:25 +00:00