Commit Graph

10690 Commits

Author SHA1 Message Date
Jason Monk
e07c947ea3 Fix build.
Change-Id: I43201fc9bb989d3f490ba26cb93956878745e366
2016-01-21 14:15:46 -05:00
Sudheer Shanka
1da7221476 Merge "Add padlocks to preferences that can be disabled by policy." 2016-01-21 19:07:02 +00:00
Sudheer Shanka
4cd2b33dec Merge "Add padlock to usb modes when disabled by admin." 2016-01-21 18:46:17 +00:00
Steve Pfetsch
8897655d2e Added toast message to color temperature setting
Added a toast message to inform the user that the color temperature
setting is applied once the display is off.

Bug:26110238
Change-Id: Ia773581eb441ed2f4ac44b20e611ad3700e8abbf
2016-01-21 10:44:51 -08:00
Sudheer Shanka
1c3fd76ee0 Add padlock to usb modes when disabled by admin.
Change-Id: I8504febd78f083eb3ff88926fe29d69edc62b6ef
2016-01-21 18:41:05 +00:00
Clara Bayarri
450ebb586e Merge "Fix bugs around unification when no password is set" 2016-01-21 17:50:17 +00:00
Philip P. Moltmann
be37bdff48 Settings: Handle non-nullness of PrintJobId.unflattenFromString and printer.getName() correctly.
Change-Id: If22acfee7c6a7c21803fe79ff04f33181dd10167
2016-01-21 09:16:25 -08:00
Andres Morales
e32497c6de Track ro.flash.locked bit to enable/disable OEM unlocking pref
if the device is OEM unlocked already, disable the OEM
unlocking pref. If it's locked, enable.

Bug: 26039090
Change-Id: I915f3cf57deef8f5775d466dec59c891c1546b1b
2016-01-21 08:30:31 -08:00
Clara Bayarri
7402b25143 Fix bugs around unification when no password is set
- When in a unified state, selecting the work lock to be "none" caused
a security exception
- When the work lock was set to "none", unifying didn't work
- When in a unified state, the work lock type selection screen showed
"none" as the current type instead of the device lock type

Bug: 26577247
Change-Id: I853d77186e23b6a458eaa6c1047942a7eefddc9c
2016-01-21 15:27:38 +00:00
Jason Monk
34de9f6bf8 Protect against missing subscriptions
Bug: 26676464
Change-Id: I428dd60e6774f7ca88423edb7a87e51ee8a7dadd
2016-01-21 09:43:35 -05:00
Benjamin Franz
194300dff3 Add background image for work challenge
If the challenge shown is for a work profile, add the default image and
color to the background of the fragment.

Change-Id: I148c6cd3a835a84c7bac78b020839dfdae4a6c36
2016-01-21 14:15:31 +00:00
Adam Lesinski
2e6e7d1095 Merge "Add bt traffic accounting" 2016-01-21 02:22:05 +00:00
Kenny Root
1b291c13f4 Stop using AlgNameMapper
AlgNameMapper currently doesn't work after the transition to it being in
Conscrypt, so just get rid of it altogether.

Change-Id: I0e8b057915edcb584bd4470c43f3458efa49329e
2016-01-20 15:50:57 -08: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
Sudheer Shanka
021dcb06e1 Merge "Add restricted padlocks to radio buttons." 2016-01-20 21:10:04 +00:00
Sudheer Shanka
4cc507ec4c Merge "Trigger a support dialog when an action is disabled by policy" 2016-01-20 21:09:27 +00:00
Sudheer Shanka
ef550767b0 Trigger a support dialog when an action is disabled by policy
Change-Id: I847b481a16cce33fe7bd4040d38ec50ca62172c2
2016-01-20 21:00:44 +00: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
737dab827e Merge "Check for MANAGE_DEVICE_ADMINS permission instead of uids." 2016-01-20 18:09:54 +00: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
Jason Monk
b484d74d73 Merge "Fix DataUsageSummary in no sim state." 2016-01-20 16:37:01 +00:00
Jason Monk
71a2a4f89b Fix DataUsageSummary in no sim state.
Bug: 26676464
Change-Id: I7fad5240f1160a2eb38a7cff2ae2f1c9e40bc4d3
2016-01-20 11:33:46 -05:00
Sudheer Shanka
1901ae3b3b Add restricted padlocks to radio buttons.
Change-Id: Ibaf312a4c6c5fd9126ab7d45ccb094fc1bd46a1f
2016-01-20 16:26:56 +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
Mahaver Chopra
c4c84604d6 Merge "Work mode conditional switch in main settings" 2016-01-19 18:20:34 +00:00
Mahaver Chopra
9c9e2aa2d8 Merge "Added work mode in Settings->Accounts" 2016-01-19 18:19:15 +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
Maurice Lam
eac385e2f4 Merge "[WifiDialog] Suppress activity transition" 2016-01-19 17:42:25 +00:00
Mahaver Chopra
d39995b7c4 Work mode conditional switch in main settings
Bug: 26533692
Change-Id: Ifa235bc54c2c6e904cb1cf4fab06d727cde2492a
2016-01-19 17:41:36 +00:00
Udam Saini
0db250f930 Merge "Only display warning to user if we are enabling OEM" 2016-01-19 17:24:28 +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
Adam Lesinski
d4574a06b2 Add bt traffic accounting
Bug:26039657
Change-Id: I8f8d0389b5b55e02b4a3528b010b76938d87a2a3
2016-01-18 18:39:47 -08:00
Sudheer Shanka
cd8d052f25 Check for MANAGE_DEVICE_ADMINS permission instead of uids.
Currently, in ShowAdminSupportDetailsDialog we use uid check to
restrict only system to pass extras. Relaxing that condition to
allow any package with MANAGE_DEVICE_ADMINS permission to pass extras.

Change-Id: I0351c1f82321b2304a61b5831788806636402610
2016-01-18 20:15:40 +00:00
Mahaver Chopra
536b818133 Added work mode in Settings->Accounts
Added work mode switch preference to enable work mode from within
settings. Already implemented in quick setting tiles.

Bug: 26533692
Change-Id: I16e530e2055f92a44bb2c00a2e124813e5e824f0
2016-01-18 11:04:30 +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
Udam Saini
7df06f131f Only display warning to user if we are enabling OEM
When we disable OEM unlocking through developer options, no need
to show the warning dialog.

bug:26285618
Change-Id: I476761aeb850a60f345fc2fd8cbdb4ec730cc2c9
2016-01-15 16:09:30 -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
Julia Reynolds
aa92d08b1d Merge "Importance slide updates." 2016-01-15 20:21:22 +00:00
Julia Reynolds
c9a1884ed8 Importance slide updates.
- Make settings match systemui
- prevent users from blocking system notification topics, and
share said code with systemui

Bug: 26575595
Change-Id: I3911046e2f96897b26b9b9597835a8d7b771996f
2016-01-15 15:18:02 -05:00
Noah Wang
085028d7ee Add dot page indicator to preview screen pager.
Change-Id: I4fa5aba28ad20be17bd5fa8d3c6a06d8a9a4a64a
2016-01-15 10:48:04 -08:00
Noah Wang
99b7b12e19 Merge "Accomodating multiple preview screen with ViewPager for the users to swipe across, along with some UI refinements." 2016-01-15 18:30:26 +00:00
Pavel Zhamaitsiak
6bbe8ebaf2 Merge "IMS: Make wifi call settings UI non indexable" 2016-01-15 17:49:12 +00:00
Udam Saini
efce7d0074 Merge "Fixes alignment for fingerprint animation during setup." 2016-01-15 17:45:59 +00:00
Anju Mathapati
ec4706a227 IMS: Make wifi call settings UI non indexable
- Visibility of wifi calling settings option is controlled
with operator mcc/mnc values.
- Make wifi calling settings UI non indexable when UI option
is removed.

Bug: 23895298
Change-Id: Ie5bdbdde5d17582eceeee07c2d5ee9fb361e00bc
2016-01-15 09:41:54 -08:00
Julia Reynolds
15603c0b01 Merge "Obey rule instance limit." 2016-01-15 16:44:26 +00:00
Julia Reynolds
0cca0f5c02 Obey rule instance limit.
Do not show a rule type in the 'Add rule' dialog if the number of
current instances of that rule equals the max number of instances 
allowed by that rule type.

Bug: 25563007
Change-Id: I18f2598c6d92aec93c27755bb6b04c460ee294d0
2016-01-15 15:21:41 +00:00
Benjamin Franz
2043fd98a3 Merge "Resolve new intent that allows setting the parent challenge" 2016-01-15 14:04:02 +00:00