Commit Graph

22815 Commits

Author SHA1 Message Date
Bill Yi
29f8151d1e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id2e9d44d1f15a657d7e1651aca6e04d9d3586682
2021-03-31 19:19:40 +00:00
Yi-an Chen
faf203edea Add top level privacy hub preference
Bug: 176902658

Test: Manually tested on Sargo DVT
Change-Id: I15d09f0288acadd7599dbe7a2a01223949b40e8f
2021-03-31 18:10:41 +00:00
Beth Thibodeau
643eb42323 Update style of main media setting toggle
Bug: 183347608
Test: visual
Test: atest MediaControlsPreferenceControllerTest
Change-Id: I0a882b769af93914ff01e428f9c07d3ab22cc36a
2021-03-31 12:12:27 -04:00
Alex Johnston
0a3f268cf8 Merge "Remove hardcoded URL string" into sc-dev am: a05759cb7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14033950

Change-Id: I23e3df9ef9a2fc7f3e1830c870b2986db3ddac00
2021-03-31 11:02:08 +00:00
Alex Johnston
a05759cb7d Merge "Remove hardcoded URL string" into sc-dev 2021-03-31 10:35:51 +00:00
Bill Lin
49ba85dc8a 2/ Make One handed mode support multiple user switch
Previously OHM did not support for multile user switch.
We get current user id in settings and get/put settings value
with currentUserId.

Test: manual switch user and check Settings > System > Gesture > One-Handed
Test: make RunSettingsRoboTests -j40

Bug: 182278800
Change-Id: I12dcc7b634ae19375358733357dc95197e81067c
2021-03-31 17:48:23 +08:00
Alex Johnston
56519258ef Remove hardcoded URL string
* Details on URLs in the credential management
  app preference should be translatable.
* Remove hardcoded text and introduce strings.

Manual testing
* Download TestDPC and select 'Request to
  manage credentials'.
* Select allow.
* Go to Settings Credential management app
  preference and verify URL strings are displayed
  correctly.

Bug: 170627997
Test: manual testing
Change-Id: Iadff0c136064dabc3f77e30b46356126d657397f
2021-03-31 10:17:36 +01:00
Yanting Yang
db5f21228c Merge "Make work profile sounds section as its own entry" into sc-dev am: 6ef0b34a32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13887089

Change-Id: I884ff4189416d1c313aad75e8adea7bf1d5c0c4d
2021-03-31 08:38:02 +00:00
Yanting Yang
6ef0b34a32 Merge "Make work profile sounds section as its own entry" into sc-dev 2021-03-31 08:08:41 +00:00
Sunny Shao
751a6c47a3 Fix the backcolor problem in Display/Font size page
- This is side effect due to the color change by the framework.
- Use the colorBackground to replace colorBackgroundFloating.

Fixes: 174962015
Test: manual test
Change-Id: I30128e2eee6ddcc66d56126e132afb400873b0ee
2021-03-31 11:26:02 +08:00
Jay Aliomer
19fd698779 Merge "Notification history UI buff" into sc-dev am: 91b4a58111
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14037274

Change-Id: I03168e7fbd0a9a112d38f8d631e14a3eac2f3fe6
2021-03-30 20:32:03 +00:00
Jay Aliomer
91b4a58111 Merge "Notification history UI buff" into sc-dev 2021-03-30 20:29:33 +00:00
Jay Aliomer
5d10dbc732 Notification history UI buff
Fixes: 182155974
Test: visual test
Change-Id: I028381407504b3cf390987a6fa11c041fddf6198
2021-03-30 14:49:57 -04:00
Joshua Mccloskey
bf910b07f7 Merge "Added fingerprint strings" into sc-dev am: b904e94fcd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13998808

Change-Id: Ib1f3d092c7288bb939d342cd6d95655dd285220c
2021-03-30 17:12:47 +00:00
Yu-Han Yang
e603c01a50 Merge "Untab Location Settings and tab Location Services" into sc-dev am: 60ddf8d7d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13985188

Change-Id: Ic175c1449e462005f59d87577ca8a55c220e257d
2021-03-30 17:12:29 +00:00
Yu-Han Yang
fee42664c6 Merge "Update links to Scanning Settings" into sc-dev am: 8d07eeb590
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13991364

Change-Id: I23d8797da8373503f92c6f2617ce03ce1d277525
2021-03-30 17:12:20 +00:00
Joshua Mccloskey
b904e94fcd Merge "Added fingerprint strings" into sc-dev 2021-03-30 16:53:51 +00:00
Yu-Han Yang
60ddf8d7d4 Merge "Untab Location Settings and tab Location Services" into sc-dev 2021-03-30 16:48:38 +00:00
Yu-Han Yang
8d07eeb590 Merge "Update links to Scanning Settings" into sc-dev 2021-03-30 16:47:18 +00:00
Alex Johnston
e88933770f Merge "RequestManageCredentials support RTL languages" into sc-dev am: 099a144869
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14018678

Change-Id: I9bbe5456e3c97f5d1b3d03a22812db517bfc8d4b
2021-03-30 15:18:47 +00:00
Alex Johnston
099a144869 Merge "RequestManageCredentials support RTL languages" into sc-dev 2021-03-30 14:52:49 +00:00
Yanting Yang
e14a3a3022 Make work profile sounds section as its own entry
Also rephrase the strings by request.

Bug: 174964721
Test: manual
Change-Id: I760249cd48832f2739ab7ca33706cd11dd34a6b5
2021-03-30 22:37:01 +08:00
Arc Wang
584cb0c107 Merge "Set icon for 'Free up space'" into sc-dev am: 495c51e3ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14008237

Change-Id: I0b5e32e0bcec194896a5fa2fd2b3c2929cf3a21f
2021-03-30 12:38:26 +00:00
Arc Wang
8c4797471e Merge "Check config to decide if Smart Storage toggle should exist" into sc-dev am: 21cf6c04db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13994999

Change-Id: I6dedff439e7084e20f06ec19a0c42b8cf5f8bfc2
2021-03-30 11:19:38 +00:00
Arc Wang
bd9ec463f0 Merge "Show "Files" category for public storage in Storage Settings" into sc-dev am: dd2f2f51e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13975110

Change-Id: Id05145905dc5043630fd696f530fc8365c97b680
2021-03-30 11:18:06 +00:00
Arc Wang
44f685475b Set icon for 'Free up space'
Bug: 174964885
Test: manual visual
Change-Id: Icccf5413e400320396a100173f2a2c57acdd2ca6
2021-03-30 19:01:55 +08:00
Arc Wang
21cf6c04db Merge "Check config to decide if Smart Storage toggle should exist" into sc-dev 2021-03-30 09:49:48 +00:00
Arc Wang
dd2f2f51e0 Merge "Show "Files" category for public storage in Storage Settings" into sc-dev 2021-03-30 09:48:04 +00:00
Arc Wang
78bafc988a Check config to decide if Smart Storage toggle should exist
Bug: 174964885
Test: AutomaticStorageManagementSwitchPreferenceControllerTest
Change-Id: I3090e3d1b01b18b3d0f68396671c8791321cc480
2021-03-30 07:58:37 +00:00
Mill Chen
8f8d205639 Merge "Update lock pattern for landscape" into sc-dev am: ad8a4029c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14025285

Change-Id: I28ef8858571f56de973a6daa0b9ea08da0405daa
2021-03-30 07:56:09 +00:00
Arc Wang
c626380689 Show "Files" category for public storage in Storage Settings
Users can click this preference to see public storage files
in external file browsers.

Bug: 170918505
Test: make RunSettingsRoboTests ROBOTEST_FILTER=StorageItemPreferenceControllerTest
      manual
      Select private storage and public storage and observe UI
Change-Id: If3f0d59b2ebf941d70e81e60c4c2015b80e7cf33
2021-03-30 15:51:49 +08:00
Mill Chen
ad8a4029c3 Merge "Update lock pattern for landscape" into sc-dev 2021-03-30 07:24:17 +00:00
Wesley Wang
beea0f1903 Merge "Reset smart battery page switch component" into sc-dev am: 4559d22e51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14017668

Change-Id: Iad6345518b6c3896221b4bcb383d07339f9386de
2021-03-30 06:48:45 +00:00
Wesley Wang
4559d22e51 Merge "Reset smart battery page switch component" into sc-dev 2021-03-30 06:15:00 +00:00
Mill Chen
0cbd13d0df Update lock pattern for landscape
- Using GlifLayout api to set title and description
- Hide the header area for landscape mode

Bug: 179317709
Test: visual verified
1) Settings -> Security -> Screen lock -> Pattern
2) Try setting screen lock if there's no pattern
3) Rotate the screen during the settings flow and see if there's
an empty space leaving in the left side
4) Settings -> Security -> Fingerprint
5) Device will display a confirm lock pattern page
6) Rotate the screen and see if there's an empty space left

Change-Id: I16f614eceb873f40b7c48583223aedcbcbd7447d
2021-03-30 11:51:08 +08:00
Joshua Mccloskey
6ea4ba46b0 Added fingerprint strings
Test: It builds.
Bug: 182717125
Change-Id: I1f637ae68119f0b2239dedd424aec4556d339395
2021-03-29 12:20:46 -07:00
Alex Johnston
b7867817d0 RequestManageCredentials support RTL languages
* App name and URIs should be displayed to the
  left of the app icon for right-to-left
  languages e.g. arabic.

Manual testing steps:
* Set language as Arabic
* Install TestDPC and select 'Request to
  manage credentials'.
* Verify app name and URLs are correctly displayed.
* Go to Settings > Security > Encryption & Credentials
  > Credential management app and verify apps and URIs
  are displayed corretly.

Bug: 170627997
Test: Manual testing
Change-Id: Id383e5d92022fc2e40494fadb12c64a46b1f6a65
2021-03-29 18:29:15 +00:00
Jernej Virag
a0709ef797 Merge "Create a setting for Assist invocation via long press power button" into sc-dev am: 0a0721fb8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13921369

Change-Id: I8189618c72cf1398c222ad1657b9244ea107f752
2021-03-29 14:16:04 +00:00
Jernej Virag
0a0721fb8a Merge "Create a setting for Assist invocation via long press power button" into sc-dev 2021-03-29 13:52:14 +00:00
Wesley.CW Wang
5c8caa3154 Reset smart battery page switch component
- Reset the switch to default design

Bug: 178199757
Test: make RunSettingsRoboTests -j40
Change-Id: I698493a946d7c8daaac73bfd3aaab807244997b0
2021-03-29 10:55:50 +00:00
Tsung-Mao Fang
4ebe8776e6 Merge "Follow footer preference guildance on some pages" into sc-dev am: 0dae5d005f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13989773

Change-Id: I837ce2bcd0f79627e43f74c1bc0edd4f48882adf
2021-03-29 09:42:57 +00:00
Tsung-Mao Fang
0dae5d005f Merge "Follow footer preference guildance on some pages" into sc-dev 2021-03-29 09:14:32 +00:00
Wesley Wang
355dd6caf4 Merge "Update Battery settings main page string (1/2)" into sc-dev am: e2217fc5c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13994994

Change-Id: I8ad15cd35008f4d2003b2ac27b68d98df35bd027
2021-03-29 08:21:12 +00:00
Wesley Wang
e2217fc5c5 Merge "Update Battery settings main page string (1/2)" into sc-dev 2021-03-29 07:59:34 +00:00
Jernej Virag
4f1e17eba1 Create a setting for Assist invocation via long press power button
Adds a setting which allows the user to enable invoking the Assist app via long pressing the power button. The availability of setting is controlled by config_longPressOnPowerForAssistantSettingAvailable configuration value.

Bug: 179175321
Bug: 182983853
Test: make RunSettingsRoboTests
Change-Id: I2eb23e5b7539b2fb8e5bc85d23ca5795a08366c5
2021-03-29 07:57:13 +00:00
Tsung-Mao Fang
ff727efe7b Follow footer preference guildance on some pages
- Footer preference should have a info icon in tethering page.
- Rmove an empty icon for screen attention setting.
- Revise the "More details" to "Learn more"
- Add more empty line between footer info and "Learn more"

Test: Built apk, and check the screen
Fix: 183472971
Fix: 183472858
Change-Id: I7edb71639b59efb8205c0ef6a50ab483f88aa63d
2021-03-29 15:26:59 +08:00
Mill Chen
e6bee66420 Merge "Add a reverse landscape layout for UDFPS" into sc-dev am: dc96037cea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13995001

Change-Id: I0a3198e59e730588789ec7421cdb9283ad10aff2
2021-03-29 06:54:13 +00:00
Mill Chen
dc96037cea Merge "Add a reverse landscape layout for UDFPS" into sc-dev 2021-03-29 06:26:31 +00:00
Mill Chen
474093e8cc Add a reverse landscape layout for UDFPS
Bug: 181614043
Test: visual verified
1) Settings -> Security -> Fingerprint
2) Follow the setup flow to find sensor page and enrolling page
3) Rotate your device and see if fingerprint icon is overlapping with
the title.

Change-Id: Ia1202e9688f2472c8063287164f4fc8f479cdae9
2021-03-29 11:53:13 +08:00
Arc Wang
6e345cf69f Merge "Launch StorageDashboardFragment instead of StorageSettings" into sc-dev am: fd9c0c7e90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922076

Change-Id: I8d08fff00ae41381f96e9b3a81eb4e6efc06b588
2021-03-26 08:08:57 +00:00