Commit Graph

1532 Commits

Author SHA1 Message Date
Jason Monk
7ea14c5625 Move Home settings to Default apps
Change-Id: I2ac7f9dd2c1c505ff3163b2a90c574a360b9409c
2016-01-26 09:44:39 -05:00
Sudheer Shanka
4e88857db7 Merge "Add padlock to location for work profile when disabled by admin." 2016-01-26 14:42:30 +00:00
Sudheer Shanka
052916efcb Merge "Add preference summary when disabled by admin." 2016-01-26 14:42:05 +00:00
Sudheer Shanka
0d9ac3469b Add padlock to location for work profile when disabled by admin.
Change-Id: Iee930c9340436cc68ee432ad15ec182ccc6fb0a1
2016-01-26 14:29:04 +00:00
Vladislav Kuzkokov
1b4e746a7f Merge "Add "Manage backup data" item to "Backup & Reset" settings." 2016-01-26 11:05:05 +00:00
Tony Mantler
6d70e7dce3 Merge "Move AccessPointPreference to SettingsLib" 2016-01-25 23:06:45 +00:00
Sudheer Shanka
ba1a68b8ab Add preference summary when disabled by admin.
Change-Id: Iaa84e66b0abe0fccde50f116cbf6e68c6abbabc0
2016-01-25 22:39:34 +00:00
Jason Monk
764f45db91 Add data saver to settings
Bug: 22817899

Change-Id: Ic3055aa6a5baae1653db350313366f180c049cc7
2016-01-25 15:24:29 -05:00
Vladislav Kuzkokov
ddb953fb73 Add "Manage backup data" item to "Backup & Reset" settings.
This patch uses new IBackupManager API. Item's label is taken from
getDataManagementLabel and Item's action is taken from getDataManagementIntent.
If getDataManagementIntent is null (or backup service is unresponsive)
the item is not displayed.

Change-Id: I19cbf7fa625fccff751f923aa41b7d64ccb6c1d3
2016-01-25 21:11:45 +01:00
Tony Mantler
99b255c8a5 Move AccessPointPreference to SettingsLib
Change-Id: Ib4a7c64e976aed5e75ec04fa72e2fdbd12923371
2016-01-25 10:42:53 -08:00
Abodunrinwa Toki
976bb3f459 Change Input Settings UI flow.
1. Introduces new UI components as per the new flow
2. Temporarily disables components in the old flow that are to be
   replaced by the new flow. This is done so we can neatly revert
   to the old flow if there are issues with the new flow
3. AvailableVirtualKeyboardActivity now responds to
   android.settings.INPUT_METHOD_SETTINGS intents instead of
   InputMethodAndLanguageSettingsActivity

Bug: 25752812
Change-Id: I728d7ee185827ed328c16cb7abce244557a26518
2016-01-22 18:24:44 +00:00
Anna Galusza
f9d330448b Merge "Make A11y SUW launchable from SUW and small UX changes based on last round of UX studies." 2016-01-22 17:56:19 +00:00
Sudheer Shanka
1da7221476 Merge "Add padlocks to preferences that can be disabled by policy." 2016-01-21 19:07:02 +00:00
Anna Galusza
b1795f5549 Make A11y SUW launchable from SUW and small UX changes based on last round of
UX studies.

Change-Id: I9c20cd3abf910a37731da2af604f3af2cd30e942
2016-01-20 15:42:58 -08:00
Mihai Nita
d7d48fda53 Implement multiple locales and sublocales in Settings
Does drag-and-drop reordering, supports adding / removing locales,
suggestions, search, removes locales already selected in the
user preferences.

Bug: 25800339
Change-Id: Iffe7b9810c77ec93a84d848ab20b2ba405249676
2016-01-20 12:31:11 -08:00
Sudheer Shanka
682a916836 Add padlocks to preferences that can be disabled by policy.
Change-Id: I43b6b5954ef6ec65b86d99321cabab9f49df842d
2016-01-20 17:48:27 +00:00
Julia Reynolds
193e7b044d Add default alarm ringtone to sound settings.
Bug: 25957833
Change-Id: I68d6747894665c97853eabac7edb0f751d1fdcc1
2016-01-20 11:10:49 -05:00
Jason Monk
befdce36fd Merge "Update data usage UX" 2016-01-19 19:03:19 +00:00
Jason Monk
b37e2887d3 Update data usage UX
Update the UX and dig the data usage screen out of a huge whole of
technical debt.  Switch every to use Preferences rather than standard
layouts and ListViews.

Split data usage into several fragments, all separated.

DataUsageSummary:
 - Shows a summary of the 'default' usage at the top, this will be
   the default sim on phones, or wifi if it has it, or ethernet
   as last attempt to show something.
 - Also has individual categories for each network type that has
   data, cell, wifi, and ethernet. Maybe should look into bt though?

DataUsageList:
- Takes a NetworkTemplate as an input, and can only be reached from
  the network specific categories in DataUsageSummary
- Shows a graph of current usage for that network and links to
  app detail page for any app.
- Has gear link to quick get to billing cycle screen if available

BillingCycleSettings:
 - Just a screen with the cycle day and warning/limits separated
   out from the data usage.

AppDataUsage:
 - App specific data usage details
 - May need some UX iteration given lack of clarity in the spec

Bug: 22459566
Change-Id: I0222d8d7ea7b75a9775207a6026ebbdcce8f5e46
2016-01-19 13:55:26 -05:00
Steve Pfetsch
e7770650c7 Merge "Enable color temperature developer setting" 2016-01-19 18:30:11 +00:00
Sudheer Shanka
17b9fa3e52 Merge "Add padlocks to more preferences that can be disabled by policy." 2016-01-19 17:58:27 +00:00
Sudheer Shanka
9c32468cd5 Add padlocks to more preferences that can be disabled by policy.
Change-Id: I7cc999dd1d46c20c888e0ba67053564e4d50946b
2016-01-19 16:56:58 +00:00
Steve Pfetsch
b3fef371be Enable color temperature developer setting
Manual merge from mnc-dr1.5-dev.
Add a switch in Developer Settings to enable "cool" color temperature mode.

Bug: 26110238
Change-Id: Id0ab3283c1ee3208287c8dca11298a4bc367b314
2016-01-17 01:23:44 -08:00
Steve Pfetsch
dcd4a64f66 Enable color temperature developer setting am: ab5da2d2fe
am: 979a32e6e3

* commit '979a32e6e30d7fc12fb64ba842f66aee97cdac91':
  Enable color temperature developer setting
2016-01-15 20:44:42 +00:00
Henrik Baard
3436f3a88e Settings Hooks launch wrong activity
The Operator and Manufacturer Hooks are broken, when
clicked they will launch WirelessSettings instead of
the activity intended to be launched.

The hook tile specifies a fragment which will be launched
when clicked. By removing this the tile will work as
intended.

Change-Id: I42d53698340cda676f4bab71857cc049d007803c
2016-01-15 11:46:32 +01:00
Noah Wang
49fabb9b47 Accomodating multiple preview screen with ViewPager for the users to
swipe across, along with some UI refinements.

Change-Id: I9487bcce88cdab490a4b6baa752224acddc5be52
2016-01-14 22:50:54 -08:00
Steve Pfetsch
ab5da2d2fe Enable color temperature developer setting
Add a switch in Developer Settings to enable "cool" color temperature
mode.

Bug: 26110238
Change-Id: Id0ab3283c1ee3208287c8dca11298a4bc367b314
2016-01-14 15:19:05 -08:00
Felipe Leme
08703c8bb1 Added option do display and clear URI permissions.
BUG: 26447975
Change-Id: If5269a62908ce37501219ca8dba619041812d800
2016-01-12 16:30:08 -08:00
Sudheer Shanka
5b3f206f68 Merge "Move restricted padlock support to SettingsLib" 2016-01-12 18:25:00 +00:00
Sudheer Shanka
661043571c Move restricted padlock support to SettingsLib
Change-Id: Ief5afa8f612f3619b6451ac7785952a84bd5100a
2016-01-12 18:11:48 +00:00
Noah Wang
73b1f13756 Merge "Adding settings screen for font size. Also factored out common components from screen magnification settings screen." 2016-01-12 17:04:04 +00:00
Sudheer Shanka
38268b37d0 Merge "Add padlock to items in overflow menus and dropdown dialogs." 2016-01-11 22:15:15 +00:00
Noah Wang
e64cc267e7 Adding settings screen for font size. Also factored out common
components from screen magnification settings screen.

Change-Id: I1828c7c0246f14493903172f2da7419fdc8e5f09
2016-01-11 12:57:00 -08:00
Sudheer Shanka
4bb4886fce Add padlock to items in overflow menus and dropdown dialogs.
Bug: 26378442
Change-Id: I7b21ff8e0b95f6cda9f720f979f7c475244b340d
2016-01-11 20:19:45 +00:00
Clara Bayarri
6934a044b8 Work Profile Passphrase Setting
Create a new section in Security Settings which includes all
settings for the Work Challenge.
Only some settings apply to the Work Challenge, so we reuse
the security settings layouts for items and compare them against
a whitelist to remove unwanted items.

Additionally, remove all usages of ChooseLockGeneric.KEY_USER_ID
in favor of Intent.EXTRA_USER_ID.

Change-Id: I3d1ba953a2056f7c61a7b3feeb8b49f1a352dff6
2016-01-11 10:30:18 +00:00
Andy Hung
00683f9d62 Merge "Add mono audio to SoundSettings" 2016-01-08 23:17:55 +00:00
Anna Galusza
ffce406d6d Merge "Add A11y SUW hub page after verifying build fix." 2016-01-08 17:30:00 +00:00
Jason Monk
d4f03ec86f Add suggestions to settings
Use an XML to define the categories that Settings will look for,
and surface enabled activities under those categories as suggestions.

When clicked on the activity will be started for result.  If the result
is not cancelled, then the operation is assumed successful and the
suggestion is disabled.  Users can also use an overflow -> remove
flow to get rid of unwanted suggestions.

Change-Id: I767abf8efe103af0509bc6b6b55888ae82643512
2016-01-07 16:25:34 -05:00
Anna Galusza
6bc8144e97 Add A11y SUW hub page after verifying build fix.
Original CL: 
https://googleplex-android-review.git.corp.google.com/#/c/828444/.

Diff (fixes build and adds a period):
https://googleplex-android-review.git.corp.google.com/#/c/841247/

This reverts commit 44be967e95.

Change-Id: I971806022dcd791de2d7819fa19df7801f51b673
2016-01-07 17:45:31 +00:00
Andy Hung
0863ea40cd Add mono audio to SoundSettings
Bug: 15283594
Bug: 22700363
Change-Id: Ic4571dee4567a94265bbcf11d08108b19687b284
2016-01-06 16:01:19 -08:00
Anna Galusza
7e78bedb67 Merge "Revert to fix build breakage." 2016-01-06 21:44:59 +00:00
Anna Galusza
44be967e95 Revert to fix build breakage.
Revert "Add A11y SUW hub page. Minor alterations of Magnification screen to be consistent wtih most recent desigs."

This reverts commit bf95133f75.

Change-Id: I4559dfdcf5c0f6eea316a190d507a3bccd195149
2016-01-06 21:42:43 +00:00
Anna Galusza
c4f8dfe449 Merge "Add A11y SUW hub page. Minor alterations of Magnification screen to be consistent wtih most recent desigs." 2016-01-06 19:55:43 +00:00
Fyodor Kupolov
4e348fd79a Merge "Added lock screen settings section" 2016-01-06 18:33:07 +00:00
Fyodor Kupolov
8ba52d62ed Added lock screen settings section
Added lock screen settings section and moved "Add users when device is locked"
 from the overflow menu to the new section.

Bug: 25289622
Change-Id: I97c02acbacae3b6cde44180a23ea337853b0a551
2016-01-05 14:30:03 -08:00
Julia Reynolds
a1049aea99 Merge "DND Visual interruptions: don't turn screen on." 2016-01-05 20:58:23 +00:00
Filip Gruszczynski
4d621ec69d Add missing development preference for enabling freeform.
Change-Id: I77d9621f76f96ba547370e5fedfed250f9dcf3d1
2016-01-05 12:18:16 -08:00
Julia Reynolds
58e3eb7266 DND Visual interruptions: don't turn screen on.
Change-Id: I15b66918e53e733c779cf8f79d12e03a213fb26d
2016-01-05 10:31:13 -05:00
Julia Reynolds
2e1e0b7ef6 Allow users to choose a notification assistant.
Change-Id: Iddfbfedbb6a3aae246058ff41324dc06852484cb
2016-01-04 16:36:56 -05:00
Anna Galusza
bf95133f75 Add A11y SUW hub page. Minor alterations of
Magnification screen to be consistent wtih most
recent desigs.

Change-Id: I191f6f66edb26597db6f4ed41311998b8ce26ca4
2015-12-18 12:58:31 -08:00