Commit Graph

44291 Commits

Author SHA1 Message Date
Christine Franks
68ddd0eaca Add strings for night display UX changes
Bug: 73739388
Bug: 69912911
Test: make -j100 and make RunSettingsRoboTests -j100
Change-Id: I8f2ecef92fdc24b9d984cc7246875dcdf5969a5e
2018-03-23 09:30:48 -07:00
Lenka Trochtova
ecb417e770 Merge "Add a string for mandatory backups in DO disclosures screen." into pi-dev am: 7da5fe3f50
am: 1e23473f87

Change-Id: I145c34a56e49ad05defc552748b46e66f388c186
2018-03-23 15:30:26 +00:00
Lenka Trochtova
1e23473f87 Merge "Add a string for mandatory backups in DO disclosures screen." into pi-dev
am: 7da5fe3f50

Change-Id: Iaffce7d2f8d523ae37dbae9dcf2d4e453d0560c4
2018-03-23 15:20:15 +00:00
TreeHugger Robot
7da5fe3f50 Merge "Add a string for mandatory backups in DO disclosures screen." into pi-dev 2018-03-23 15:02:59 +00:00
Antoan Angelov
7e866d903e Merge "Show policy transparency popup dialog for Bluetooth in Settings." into pi-dev am: 84a4dd0bde
am: 3f0b96cd18

Change-Id: I817a4aef7e1fbad8a6bccc9a455b32dabc13d96c
2018-03-23 14:26:03 +00:00
Antoan Angelov
3f0b96cd18 Merge "Show policy transparency popup dialog for Bluetooth in Settings." into pi-dev
am: 84a4dd0bde

Change-Id: I474a00b854451afa7058de91f6c0cd601803c951
2018-03-23 14:19:30 +00:00
Antoan Angelov
84a4dd0bde Merge "Show policy transparency popup dialog for Bluetooth in Settings." into pi-dev 2018-03-23 14:10:29 +00:00
Jason Monk
f6edc7c80a Add option for settings to push to a device index
The index implementation is optional and left up to the OEM.

Test: Open settings, see content in index
Test: robo tests
Bug: 68378569
Bug: 76102600
Change-Id: Idb8bb1e0cabbbe92e7a852e2eadbdcd8c2ab7d56
2018-03-23 09:36:57 -04:00
Lenka Trochtova
9157310cc3 Add a string for mandatory backups in DO disclosures screen.
Test: make -j64
Bug: 73750212
Bug: 64012357

Change-Id: I8a4b7eb65b0cbeffbe480497fa097c70dfd1f81e
2018-03-23 13:01:40 +01:00
Victor Chang
490e46e01b Show time zone used in or after 2018 only
- Year 2018 is picked as the new time zone data
for picker is introduced in 2018. I can be adjusted
in the future to show more merged time zones.
- Add test to ensure each region has at least
one time zone.
- Fix a issue not using a singleton of TimeZoneData
  in commit 6c33caad4b

Bug: 72142943
Test: atest SettingsUnitTests:TimeZoneDataTest
Change-Id: I5eba7fbd59a2d3fd2e8062c9615946dc4bbb6314
2018-03-23 08:23:51 +00:00
Bill Yi
9cf4318833 Import translations. DO NOT MERGE
Change-Id: I84ca45699a1619882c43b8b9f0934ee4777a6a4a
Auto-generated-cl: translation import
2018-03-23 01:07:23 -07:00
Julia Reynolds
9865aaa3fc Merge "Add manage notifications screen" into pi-dev am: 2c1de66c58
am: e76a12526b

Change-Id: I5866617ba35dc9f0ecc4f2ea237eae5f2a9576ae
2018-03-23 05:21:05 +00:00
Christine Franks
614485a700 Merge "Allow developer options in retail mode" into pi-dev am: 265981f394
am: b9dc49a612

Change-Id: Ibedd48f978cce4d2579dbe5c935b4d2d61b1c2f4
2018-03-23 04:23:54 +00:00
Tao Bao
8271220cb6 Add summary text for "Automatic system updates" option.
Fixes: 72472580
Test: m -j RunSettingsRoboTests
Test: Build and flash on sailfish. Check the text.
Change-Id: Ied5b307f8c43c0bdccea4996cced483ce54568e7
2018-03-22 21:02:09 -07:00
Julia Reynolds
e76a12526b Merge "Add manage notifications screen" into pi-dev
am: 2c1de66c58

Change-Id: I1135e87f89a5079b2b92f659e2cae60a02cb25ba
2018-03-23 03:37:57 +00:00
hylo
bfe02b1912 Add string for forget confirmation dialog
Bug: 71812838
Test: Manual test
Change-Id: I01d9bdce1b06bfeeff406b1e45be900325041ecc
2018-03-23 11:10:37 +08:00
Jyun LuoLai
4ab36ffef1 Merge "Fix PATTERN UI to align PIN&PASSWORD screen" into pi-dev am: 644c707590
am: 76b91184db

Change-Id: Ie197bd99c0288b55d6cbb4c91dd205a0abc3c5f2
2018-03-23 03:03:38 +00:00
Christine Franks
b9dc49a612 Merge "Allow developer options in retail mode" into pi-dev
am: 265981f394

Change-Id: Ie99484aa859ec5a0032e5d5269bd5401531e5287
2018-03-23 02:54:47 +00:00
Jyun LuoLai
76b91184db Merge "Fix PATTERN UI to align PIN&PASSWORD screen" into pi-dev
am: 644c707590

Change-Id: Ia63f197d24e5055adfadd8c8a4cd09c37f3aa47b
2018-03-23 02:44:38 +00:00
TreeHugger Robot
2c1de66c58 Merge "Add manage notifications screen" into pi-dev 2018-03-23 02:06:38 +00:00
Matthew Fritze
e1194dfaa6 Merge "Add Slider template for Slices" into pi-dev am: 2f137b4bac
am: 4cd1d84f7e

Change-Id: Iabe87f54ff76572fb7881985f4802b0b09011440
2018-03-23 01:48:21 +00:00
Salvador Martinez
4e34fb2eae Add extra strings for hidden network option
This CL adds strings to be used in a follow-up CL for labeling a
network as hidden/visible.

Test: None, is a string change
Bug: 29003359
Change-Id: Ia2822b8afbcd3bd806f8f8b204e5f29e97d94763
2018-03-22 18:42:36 -07:00
Christine Franks
265981f394 Merge "Allow developer options in retail mode" into pi-dev 2018-03-23 01:11:23 +00:00
Julia Reynolds
58edda1230 Merge "Add a setting for the volume hush gesture" into pi-dev am: 395345c0ad
am: a7af991f37

Change-Id: Idb486a1f3216e13624020b047954e4e899034a50
2018-03-23 01:09:14 +00:00
Lei Yu
1ec3d85dda Merge "Update the toggle state in constructor." into pi-dev am: 5cafb0b553
am: b6b1ee9abb

Change-Id: I669128fc84f26a19b4857c1833b9030d89773f95
2018-03-23 01:08:15 +00:00
Fan Zhang
da8e3cddaa Merge "Misc string updates" into pi-dev am: 4aa9d5d2b4
am: 015c57a38e

Change-Id: I3ae44469dd99527af2464aaeac3d56fb2bd06c64
2018-03-23 01:07:28 +00:00
Jyun LuoLai
644c707590 Merge "Fix PATTERN UI to align PIN&PASSWORD screen" into pi-dev 2018-03-23 00:56:00 +00:00
Doris Ling
09622934b9 Update battery saver condition text.
Change-Id: I0c0d4805c3d9163a1b98bac790719c361559d385
Fixes: 76172605
Test: build
2018-03-22 17:51:08 -07:00
Matthew Fritze
4cd1d84f7e Merge "Add Slider template for Slices" into pi-dev
am: 2f137b4bac

Change-Id: I8f7f91c72a475dae21b17ead18bfe660c4b6f342
2018-03-23 00:42:27 +00:00
Julia Reynolds
a7af991f37 Merge "Add a setting for the volume hush gesture" into pi-dev
am: 395345c0ad

Change-Id: I3a78c7313146ca19241fa74012212afe1ec3cc7f
2018-03-23 00:01:07 +00:00
Lei Yu
b6b1ee9abb Merge "Update the toggle state in constructor." into pi-dev
am: 5cafb0b553

Change-Id: I13752f6203160f1b92e4da8d0d358002c9105144
2018-03-23 00:00:04 +00:00
Fan Zhang
015c57a38e Merge "Misc string updates" into pi-dev
am: 4aa9d5d2b4

Change-Id: I8d7241779ba92f3d35a9808366ae2cd74467c6a0
2018-03-22 23:59:09 +00:00
Julia Reynolds
ff9500d0f9 Add manage notifications screen
Test: make -j RunSettingsRoboTests
Bug: 74318867
Change-Id: I1c872c976677ee38f7d9d9523d18fc8ca03fa547

Add manage notifications screen

Test: make -j RunSettingsRoboTests
Bug: 74318867
Change-Id: Ia3626e9f69e8b91b1a2bba9ef549c775972e749a
2018-03-22 19:57:09 -04:00
Sean Callanan
4b2d7a3780 Merge "[Settings] Add strings for Natural and Automatic color modes" 2018-03-22 23:53:11 +00:00
Maurice Lam
fd3d72e48f Merge "Make GLIF theme default for confirm lock screen" into pi-dev am: a82183849d
am: 731b049e32

Change-Id: Iaa2a51e585097b81a6f379f97fa5bfef84be4e62
2018-03-22 23:11:11 +00:00
Jan Nordqvist
c5f4182189 Rename "Primary data" to "Current data".
Bug: 70950124

Test: manual
Change-Id: I5fc9ac10338e2134e903eff392d3c63d2adf021d
2018-03-22 16:07:56 -07:00
Fan Zhang
5f9a348f7e Get rid of UserPackageWrapper util.
Robolectric can support framework private classes now, so there is no
need to use wrappers.

Bug: 76167422
Test: robotests
Change-Id: I034a9f0a9856348bff491f2e9b2b1f7d682ab942
2018-03-22 15:28:46 -07:00
Salvador Martinez
a913537b5d Add strings for mobile hotspot bands
This CL simply adds some strings that are needed for a follow-up CL
that allows users to select the band for their AP.

Test: None, just adds strings
Bug: 73102003
Change-Id: I3d1389b64e035056d55b7dda0687976ae757971c
2018-03-22 15:21:11 -07:00
TreeHugger Robot
2f137b4bac Merge "Add Slider template for Slices" into pi-dev 2018-03-22 22:08:54 +00:00
Salvador Martinez
5de9164520 Add new string for updating auto-wifi
This CL simply adds a string that will be used in a follow-up CL
for updating how auto-wifi permission requests work.

Test: None, string change
Bug: 67070896
Change-Id: I28d4e34349e8b3efad33d4e87f10b0f51c97f8ab
2018-03-22 15:08:06 -07:00
Fan Zhang
6c5af54af9 Get rid of extra whitespace under divider lines
Change-Id: Iad5ec5771a61c6e12aaefbe5fe41d17f7f09de73
Fixes: 76116029
Test: visual
2018-03-22 15:04:01 -07:00
Julia Reynolds
395345c0ad Merge "Add a setting for the volume hush gesture" into pi-dev 2018-03-22 22:03:48 +00:00
TreeHugger Robot
5cafb0b553 Merge "Update the toggle state in constructor." into pi-dev 2018-03-22 21:43:52 +00:00
TreeHugger Robot
4aa9d5d2b4 Merge "Misc string updates" into pi-dev 2018-03-22 21:33:54 +00:00
Maurice Lam
731b049e32 Merge "Make GLIF theme default for confirm lock screen" into pi-dev
am: a82183849d

Change-Id: I957b9adf288309a1c1af22d50c816d0e084c8645
2018-03-22 21:29:20 +00:00
Maurice Lam
a82183849d Merge "Make GLIF theme default for confirm lock screen" into pi-dev 2018-03-22 21:04:17 +00:00
Lei Yu
0544fbd507 Add callback when tethering fails
Add real callback instead of using NoOpCallback. When it fails,
reset the switchbar.

Change-Id: I6f87d7cefa67ff8f9f59a815fd976940fb61c06c
Fixes: 72904303
Test: RunSettingsRoboTests
2018-03-22 13:07:59 -07:00
Sean Callanan
e8f9bf5f68 [Settings] Add strings for Natural and Automatic color modes
These strings are not properly reflected in the UI yet.  Automatic and
Saturated currently map to the same display setting (and the UI reflects
this by checking both).

Bug: 75982435
Test: Modified the existing testcases to reflect the new string.
Change-Id: Iaef08599c0233e018eaafaf89d60eab92e102782
2018-03-22 13:05:32 -07:00
Søren Gjesse
d9ce79763a Enable R8 for settings
Keep constructor which is only used directly from test.

Update Proguard configuration to include information on checked
exceptions for Mockity to mock thorwn exception.

Bug: 74756073
Test: atest
com.android.settings.deviceinfo.storage.StorageAsyncLoaderTest#testRemovedPackageDoesNotCrash
Utf8ByteLengthFilterTest
Change-Id: Iae87e6647b28ee69d38bd8891df46239779c459c
2018-03-22 21:05:11 +01:00
arangelov
16a945aca4 Merge "Put the FLAG_ACTIVITY_NEW_TASK flag for the "Learn More" button in the "Add Account" settings screen." into pi-dev am: edfdeebfe4
am: b23bf13e72

Change-Id: Ibe2e2aa5e2f50d540f5e7d5f493376062c0f0f1c
2018-03-22 19:53:01 +00:00