Commit Graph

25070 Commits

Author SHA1 Message Date
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
Benjamin Franz
d11b713a9f Change build targets for settings tests
1. Split existing tests into fully automatable (unit/) and not fully
automatable (app/)
2. Revert previous changes to test runners on app/
3. Fix some typos in readme

This will enable us to add the fully automatable test target
SettingsUnitTests to the continuous integration tests on the platform.

Change-Id: I0f42c59fde84891e4bfc379150c2f0c61ce1329f
2016-01-21 12:32:15 +00:00
Benjamin Franz
ad1a279ac1 Merge "Add unit tests to Utils" 2016-01-21 10:43:30 +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
Benjamin Franz
11805d159c Add unit tests to Utils
1. Switch to AndroidJUnitRunner
2. Add mockito support
3. Add tests for Utils class

Change-Id: I1eabfdf1d65456d71363b8970beee9239a90ada2
2016-01-20 18:45:36 +00:00
Geoff Mendal
ae7e15b730 Import translations. DO NOT MERGE am: ffb0eb03a7 -s ours am: 97898c5cd2 -s ours
am: a3bb93f1cc  -s ours

* commit 'a3bb93f1ccc216159fa102ef3aca8cf7f0e22759':
  Import translations. DO NOT MERGE
2016-01-20 18:16:34 +00:00
Sudheer Shanka
737dab827e Merge "Check for MANAGE_DEVICE_ADMINS permission instead of uids." 2016-01-20 18:09:54 +00:00
Geoff Mendal
a3bb93f1cc Import translations. DO NOT MERGE am: ffb0eb03a7 -s ours
am: 97898c5cd2  -s ours

* commit '97898c5cd2033c331b537d9b17205e09d991e56d':
  Import translations. DO NOT MERGE
2016-01-20 17:52:58 +00:00
Geoff Mendal
cdd5748df1 Import translations. DO NOT MERGE am: bcefb0397f -s ours
am: c42498eddb  -s ours

* commit 'c42498eddb7b687b999f7a2795db8c46055f778c':
  Import translations. DO NOT MERGE
2016-01-20 17:50:13 +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
Geoff Mendal
c42498eddb Import translations. DO NOT MERGE
am: bcefb0397f  -s ours

* commit 'bcefb0397f06f52a50e994418ae590581e217428':
  Import translations. DO NOT MERGE
2016-01-20 17:43:14 +00:00
Geoff Mendal
97898c5cd2 Import translations. DO NOT MERGE
am: ffb0eb03a7  -s ours

* commit 'ffb0eb03a729758c6477a701c07f39121ee95872':
  Import translations. DO NOT MERGE
2016-01-20 17:41:58 +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
7b9a1a1995 Merge "Add default alarm ringtone to sound settings." 2016-01-20 16:16:07 +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
Geoff Mendal
bcefb0397f Import translations. DO NOT MERGE
Change-Id: Icfc8542b0e1f51163d9ff7f5327e851a08377d67
Auto-generated-cl: translation import
2016-01-20 07:40:11 -08:00
Geoff Mendal
ffb0eb03a7 Import translations. DO NOT MERGE
Change-Id: Ie620b53b05ebf701b1279275da7c4090c14ed446
Auto-generated-cl: translation import
2016-01-20 07:31:39 -08:00
Geoff Mendal
3375206f46 Import translations. DO NOT MERGE
Change-Id: Idec70dd78b29ef60ecf1614853358f1c0b1c98c8
Auto-generated-cl: translation import
2016-01-20 06:42:26 -08: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
c84ccbfb8e Merge "[RedactionInterstitial] Fix RTL text alignment" 2016-01-19 17:45:46 +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
Geoff Mendal
703dae96e1 Import translations. DO NOT MERGE am: c123a6a923 -s ours am: 550dd6e8dc -s ours
am: 6a19c5cabf  -s ours

* commit '6a19c5cabf1615ffce654a1203554bbaa1d1f72e':
  Import translations. DO NOT MERGE
2016-01-18 15:45:57 +00:00
Geoff Mendal
65457b4d46 Import translations. DO NOT MERGE am: bd620a7de1 -s ours
am: 12429ac8a7  -s ours

* commit '12429ac8a7f14a349f5f8e278acd3a3cba568438':
  Import translations. DO NOT MERGE
2016-01-18 15:45:46 +00:00
Geoff Mendal
6a19c5cabf Import translations. DO NOT MERGE am: c123a6a923 -s ours
am: 550dd6e8dc  -s ours

* commit '550dd6e8dceaaf2fbb2ed7a24e221c24cd72ee7d':
  Import translations. DO NOT MERGE
2016-01-18 15:44:11 +00:00
Geoff Mendal
12429ac8a7 Import translations. DO NOT MERGE
am: bd620a7de1  -s ours

* commit 'bd620a7de1b171ac54ce1268e12d1757c0baa86d':
  Import translations. DO NOT MERGE
2016-01-18 15:44:00 +00:00
Geoff Mendal
550dd6e8dc Import translations. DO NOT MERGE
am: c123a6a923  -s ours

* commit 'c123a6a9230faf4800df67085b98bcd7badf4ca8':
  Import translations. DO NOT MERGE
2016-01-18 15:41:49 +00:00
Geoff Mendal
bd620a7de1 Import translations. DO NOT MERGE
Change-Id: I91bced80bb025ac6d6599db0a48f2332cea70520
Auto-generated-cl: translation import
2016-01-18 07:40:39 -08:00
Geoff Mendal
c123a6a923 Import translations. DO NOT MERGE
Change-Id: I415c6bc5d49ea34685d6219dfb8482294f17b692
Auto-generated-cl: translation import
2016-01-18 07:32:09 -08:00
Geoff Mendal
45bc64afcb Import translations. DO NOT MERGE
Change-Id: I0c7e933e157c9c3ccdb709f366c1f0346aa1c4ba
Auto-generated-cl: translation import
2016-01-18 06:43:01 -08: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