Commit Graph

22433 Commits

Author SHA1 Message Date
Zhen Zhang
75028dd946 Update subtext of Ethernet Tethering preference
Update the subtext summary according to UX

Bug: 153761463
Test: built successfully; manually test
Change-Id: I96d1a1f5111f85ee4b10f61ab4408822b99032e1
2020-08-12 16:13:48 -07:00
Yi-Ling Chuang
228bc78bf9 [DO NOT MERGE] Pre-allocate height for contextual cards.
To prevent the UI jank causing by the async card loads, we pre-allocate
some space for the card to fill in. After this change, only one card can
be shown at a time.

More details:
- When the card number configuration is set to 0, don't trigger the card
loader.
- The height adjusting logic is as follows.
When Settings is opened, pre-allocate a space first.
After the RV finish laying out, reset the RV to wrap_content. So if the
card has to be expanded(eg. wifi large mode or dismissal view), then it
will adjust the height accordingly. While if a card previously shown
becomes unavailable(dismissed or conditions not meet), we also reset the
RV so the space can be gone.

Bug: 163288869
Test: robotest
Change-Id: I0dcb2dae8f0533e562ad06f664b7ae7a9afecd21
2020-08-12 21:40:06 +08:00
TreeHugger Robot
fadcfdda67 Merge "Display "see all" option when bluetooth is off" am: 6af0342084
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12314423

Change-Id: I49072c58f24ef52ff942ec247fcbb5960596f780
2020-08-12 10:27:59 +00:00
TreeHugger Robot
6af0342084 Merge "Display "see all" option when bluetooth is off" 2020-08-12 10:24:29 +00:00
Hugh Chen
bde100849e Display "see all" option when bluetooth is off
- This CL before, Bluetooth settings will hide the "see all"
  option when bluetooth is off. For the UX improvement, this
  CL will show the "see all" button when bluetooth is off. And
  turn on the BT when user press "see all" button to let user to
  quick pair their disconnected devices.
- Update and add test case

Bug: 147150367
Test: make -j42 RunSettingsRoboTests
Change-Id: I7a1451a36a31253b6be2203341bea4e59fed7c2b
2020-08-12 17:07:33 +08:00
TreeHugger Robot
11efd242e4 Merge "Update language to comply with Android's inclusive language guidance" am: 6a128b486f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12324924

Change-Id: I057818fbcc885c1ca2b620f32b080955f3dd17e0
2020-08-12 08:48:40 +00:00
TreeHugger Robot
6a128b486f Merge "Update language to comply with Android's inclusive language guidance" 2020-08-12 08:19:06 +00:00
TreeHugger Robot
df1b0eb020 Merge "Update language to comply with Android's inclusive language guidance" am: 0d11f25a77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12324966

Change-Id: I77ea3c77e882e103d18d7c5506900e5685ca4fb9
2020-08-12 08:10:04 +00:00
Edgar Wang
a8742aa7ab Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Bug: 161896447
Test: robotest & manual
Change-Id: Ia8625091a107fc3fb652d3ba3f75ea3cc1a8d9f5
2020-08-12 11:29:07 +08:00
Edgar Wang
8c8a2e85ec Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Bug: 161896447
Test: robotest & manual

Change-Id: I32f369a608c8b4f513f2c32afca6d408ee273428
2020-08-12 11:25:21 +08:00
TreeHugger Robot
3f3e84ce77 Merge "Update inclusive language for Accessibility Settings" am: 3c8f93a6a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12317404

Change-Id: I147884635469f5bf81e460c9d820107b534dc353
2020-08-12 02:42:45 +00:00
TreeHugger Robot
3c8f93a6a5 Merge "Update inclusive language for Accessibility Settings" 2020-08-12 02:28:23 +00:00
TreeHugger Robot
ba288554e9 Merge "Update char limit for title of swipe for notificaiton gesture preference" am: ec93f346fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12343232

Change-Id: I85f89fca632a94b4b157b521e93881db2529be50
2020-08-11 10:54:58 +00:00
Jerry Chang
cbd88e0eff Update char limit for title of swipe for notificaiton gesture preference
Bug: 163359886
Test: manual check preference strings in settings
Change-Id: I1f5becde86ea514c30b11e5755feef2e01d91e04
2020-08-11 17:02:37 +08:00
Fan Zhang
6c046831de Override 2 getSliceUri() instance to return platform slice
(This is not a clear cherry-pick, @Override need to be removed.)

Bug: 126222433
Test: robotest
Merged-In: I3f9c8202d9b75b24b80ebcf385abc95f8df851e2
Change-Id: Iec9fae48e91baef5861baef946fc155b1eb37904
2020-08-11 04:24:27 +00:00
Raff Tsai
91d40cdb21 Remove PreferenceCategory wrapper
- Avoid similiar issue in b/130396913

Bug: 124129485
Test: manual
Merged-In: I6f4698304210bacba5c76020c375dda49330d2cc
Change-Id: I9d5d856f586ab660a5adb17c0bb1f49e90eca198
2020-08-10 17:03:13 +08:00
Bill Yi
b031fca9f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6151b580d988f38123ccfda9f2d944dca6f90e4f
2020-08-08 17:30:16 +00:00
Bill Yi
7e18f9f537 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I49ca37ad76af4049e36d41140610b131f99bf46e
2020-08-08 16:11:50 +00:00
Bill Yi
80d8d4d07c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9584a9b4b73a955be75ed4957eeb01e88a6c745a
2020-08-08 15:32:24 +00:00
TreeHugger Robot
a5d22b1b18 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-08-07 17:41:57 +00:00
TreeHugger Robot
d032e7ac90 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2020-08-07 17:39:13 +00:00
TreeHugger Robot
26fb956d9f Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-08-07 14:54:19 +00:00
TreeHugger Robot
39561de47b Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-08-07 14:51:49 +00:00
TreeHugger Robot
1da29b3f77 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev 2020-08-07 14:45:54 +00:00
TreeHugger Robot
ebf9302eb9 Merge "Update strings for swipe bottom to notification preference" am: fc455e6e50
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12326245

Change-Id: Ib5cedae6d74f38ae835a2d1fdaed39dc85956f97
2020-08-07 12:05:01 +00:00
TreeHugger Robot
fc455e6e50 Merge "Update strings for swipe bottom to notification preference" 2020-08-07 11:50:21 +00:00
TreeHugger Robot
48d768b00c Merge "[Wi-Fi] Support multi-SIM for SIM dependent EAP methods" into rvc-qpr-dev am: edd587c2a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12167384

Change-Id: I41175eb59b2cea6dfeb97d1413ab6c4846ddb844
2020-08-07 11:49:39 +00:00
TreeHugger Robot
edd587c2a6 Merge "[Wi-Fi] Support multi-SIM for SIM dependent EAP methods" into rvc-qpr-dev 2020-08-07 11:37:27 +00:00
Arc Wang
376f648e3c Merge "[adb-wireless] Allow users copy 'IP address & Port' in Wireless debugging" am: a09422d6d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12323063

Change-Id: Ie8eb4a487065046475099f5aa625a2667c72e372
2020-08-07 09:16:40 +00:00
Arc Wang
a09422d6d9 Merge "[adb-wireless] Allow users copy 'IP address & Port' in Wireless debugging" 2020-08-07 09:05:56 +00:00
The Android Open Source Project
7b6716fca6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic6ae316705dbbaeae8fdc65d64073c19a07fbd04
2020-08-07 01:47:32 -07:00
The Android Open Source Project
917147963d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia9859f2efde98900bf6e743cef2a39fe1232cb5e
2020-08-07 01:00:57 -07:00
The Android Open Source Project
38bac4f046 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6dcdc02640c2c5c4ab6eb71a5dba6d77160315d7
2020-08-07 00:16:50 -07:00
Tsung-Mao Fang
d042a9f2d3 The text on toast should be changed when remains 1 time for SIM lock input
The behavior of getQuantityString() is different according to language, it gets both "other" and "one" string if English is system language. But it always gets "other" string if non-English, then the "other" string of wrong_pin_code is shown even if remains 1 time of SIM lock input.

In order to change the string in any language, we add new string for remains 1 time.

Test: Rebuild rom
Fix: 71783850
Merged-In: If4b53bbbc6b51582bc0837abf4497d9a75ebbaad
Change-Id: I1c069333b19399b727e10ed4a6c9483cc1bc44a6
2020-08-07 06:19:07 +00:00
TreeHugger Robot
37a3d091ba Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev 2020-08-07 06:02:58 +00:00
The Android Open Source Project
4c988d91da Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I57629a7896e8f1651511367ca48befe481c4fda1
2020-08-06 22:48:20 -07:00
The Android Open Source Project
7b9abf9276 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I22bd7dce0d754b758b56468f0934989e319105a1
2020-08-06 22:03:50 -07:00
The Android Open Source Project
1f9135acc9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I40df6a5d07d26214d0b57dc1c68b18b9858342af
2020-08-06 21:19:19 -07:00
Jerry Chang
a9125045e5 Update strings for swipe bottom to notification preference
Updates final strings confirmed in go/android-reach

Bug: 151993111
Test: manual check Settings > System > Gesture > Swipe for notifications
Change-Id: I66738ab088c87d0f286acc7d0970e5b1c8bfd905
2020-08-07 11:56:55 +08:00
The Android Open Source Project
e0aa6cf8cc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ice617a49a4e8b1271deac5b4f8156421a2edd354
2020-08-06 20:35:44 -07:00
The Android Open Source Project
c13c712b58 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3bb874713476b81f55c01ce7e216a9c45cd5a4c4
2020-08-06 19:08:08 -07:00
The Android Open Source Project
24cabff9dd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I77ea27e55c35b45123c1ee7cae67b09cc3e4218f
2020-08-06 18:23:50 -07:00
Edgar Wang
dd032d3734 Update inclusive language for Accessibility Settings
Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Bug: 161896447
Test: robotest & manual
Change-Id: I67032d4beb7c8ae6b5a3271ea75ca38be4351484
2020-08-06 14:51:19 +08:00
Arc Wang
cf6ab33e71 [adb-wireless] Allow users copy 'IP address & Port' in Wireless debugging
After this change, users can long press 'IP address & Port'
and use Copy button.

Bug: 162965202
Test: manual
      Long press 'IP address & Port' and use Copy button.
Change-Id: Ib3d131fef9cd18230844fc13a63bb9ab9bf07d2e
2020-08-06 13:55:31 +08:00
Stanley Wang
d4eb97903e Merge "Add search keyword for Font size preference of the Display page." am: bbe93a40ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12315683

Change-Id: I9c4dc7b6592cb8e71e9ed953a338993af7bb47e3
2020-08-06 03:11:26 +00:00
Stanley Wang
f1294d6835 Merge "Enable the copy function on the account preference of About page." am: 24e29f08e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12314424

Change-Id: I20f4ed40cc414b5f7ccbd56e99af1f09a3fd2d59
2020-08-06 03:11:14 +00:00
Stanley Wang
bbe93a40ad Merge "Add search keyword for Font size preference of the Display page." 2020-08-06 02:54:27 +00:00
Stanley Wang
24e29f08e6 Merge "Enable the copy function on the account preference of About page." 2020-08-06 02:53:59 +00:00
Raff Tsai
cbd234e1c1 Remove useless png and add vector drawable
Bug: 139336138
Test: visual
Merged-In: I5ccf4855b63f47b138a1662317d0c4ba8ce8984c
Change-Id: If7de9126c8afab3422999db66ad9b7a179334f10
2020-08-06 09:03:32 +08:00
TreeHugger Robot
3a44ea5f5b Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-08-05 22:11:08 +00:00