Commit Graph

79192 Commits

Author SHA1 Message Date
Manish Singh
3de2a09f93 Merge "Add Settings UI for MTP transcoding over USB." into sc-dev am: becac249e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13435373

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If007574d2433b3900b0bf86e27471787b41259a5
2021-02-01 03:41:04 +00:00
Manish Singh
7a3f29ac14 Merge "Remove a test case for fixing broken pesubmit" into sc-dev am: fefb8aa970
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13437476

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic77b09af08698157143603c308cf2239b4f416e7
2021-02-01 03:40:53 +00:00
Manish Singh
becac249e3 Merge "Add Settings UI for MTP transcoding over USB." into sc-dev 2021-02-01 03:17:29 +00:00
Manish Singh
fefb8aa970 Merge "Remove a test case for fixing broken pesubmit" into sc-dev 2021-02-01 03:17:18 +00:00
TreeHugger Robot
aca5d1e6d9 Merge "[Security Report] Fix Settings WifiScanModeActivity Overlaid issue" into sc-dev am: 7b0563946e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13432403

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I859cb2037c7525571ac7f329d883cebb4d8bfc43
2021-02-01 03:10:37 +00:00
TreeHugger Robot
7b0563946e Merge "[Security Report] Fix Settings WifiScanModeActivity Overlaid issue" into sc-dev 2021-02-01 02:36:29 +00:00
Jiashen Wang
595884ed04 Change Settings to be able to receive timeout values from LPA
Bug: 171846124
Test: Tested manually
Change-Id: I547315eabd7cc873b0dda7a3bb2d09c84225ddd3
2021-01-31 21:38:28 +00:00
Bonian Chen
fb9450a172 [Settings] Backup calling string change
Change on wordings based on suggestion.

Bug: 178117374
Change-Id: I834ae66a112a3ed4074282db84107ee5a386ccf8
Test: on device
2021-01-31 15:51:06 +00:00
Jiun-Yang Hsu
2dabed9356 [automerger skipped] Merge "Create folder and OWNERS file for component test" am: cf231cad93 am: 1e2386b14b am: 5da8b8b933 -s ours am: 06abd14274
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1564814

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifff3e35bbdbb9423fb025a790d1e90e778f57289
2021-01-31 15:29:10 +00:00
Jiun-Yang Hsu
06abd14274 [automerger skipped] Merge "Create folder and OWNERS file for component test" am: cf231cad93 am: 1e2386b14b am: 5da8b8b933 -s ours
am skip reason: skipped by user jyhsu

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1564814

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I136d775f0fc66d271c9a10671f03b294c4dfa254
2021-01-31 14:23:37 +00:00
Jiun-Yang Hsu
5da8b8b933 Merge "Create folder and OWNERS file for component test" am: cf231cad93 am: 1e2386b14b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1564814

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8474a2ec62e212d932865419b866c42c2fbd8826
2021-01-29 23:43:05 +00:00
Jiun-Yang Hsu
1e2386b14b Merge "Create folder and OWNERS file for component test" am: cf231cad93
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1564814

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I60949e540697933fb138ab9d42d28657474cf136
2021-01-29 23:21:55 +00:00
Bill Yi
23bf2a585d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8865c08a85 -s ours am: ce7427560d -s ours am: 595a2506ad -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13435066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I87791c03029211d7b638e60140672cae4fbe3dd0
2021-01-29 22:10:54 +00:00
Bill Yi
595a2506ad [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8865c08a85 -s ours am: ce7427560d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13435066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If421934f759d082d085214a1963bdf9a7af61a00
2021-01-29 21:39:51 +00:00
TreeHugger Robot
c069c5b8e3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: dce50f1f77 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13435077

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1b707e3947c134a2f64452a6dbaf88dfa213990c
2021-01-29 21:15:27 +00:00
TreeHugger Robot
103e8952c2 Merge "Rearrange System settings" into sc-dev am: b94db4b157
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13429147

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifa2f56882b716099da28faaf944a3abc460eb929
2021-01-29 21:11:22 +00:00
Jason Chiu
592c1055d0 Merge "Fix the suggestion button distortion" into sc-dev am: b178c547e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13432391

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id79516d295ff97f6a890ebd934a4334112b1b89c
2021-01-29 21:01:49 +00:00
Jiun-Yang Hsu
a8954125d9 Merge "Initial commit for Settings component test" into sc-dev am: 0b1f51445c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13413806

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If9150e4fee5cbe901d5d708b49d0d94fffb74b5e
2021-01-29 21:01:43 +00:00
TreeHugger Robot
3900eda7ae Merge "Fix the background color of the homepage." into sc-dev am: a7c0036a8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13432402

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6ddddae4c62ae6d4767a60d0d5215098a5c788ab
2021-01-29 21:01:38 +00:00
TreeHugger Robot
94fb328182 Merge "Fix the transition of the up-button." into sc-dev am: 20fa1428bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13432390

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6b7d1eff6a9a97cbee2e587e553e0a0fb98b45d5
2021-01-29 21:01:34 +00:00
TreeHugger Robot
3cd7740b4b Merge "The UI is not immediately updated" into sc-dev am: e7515466ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13432396

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic1b2809f8dd0ba768f1b70384123206d2ef952ec
2021-01-29 21:01:29 +00:00
TreeHugger Robot
73048864be Merge "[Provider Model] Dynamically update the Internet Panel title" into sc-dev am: 097361797a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13425388

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2630c1342c2d0d7084144e5ce643fc9ac6873da7
2021-01-29 21:01:17 +00:00
TreeHugger Robot
7bf50ea180 Merge "Hide esos setting if no app provides esos functionality" into sc-dev am: 16fa77369f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13428621

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6ffc0001a9dd84b91c70b5c722114fa187871f4b
2021-01-29 20:55:05 +00:00
Bill Yi
ce7427560d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8865c08a85 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13435066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic082f3c3eb9d0b8019e5684618193874bec23797
2021-01-29 20:41:29 +00:00
Manish Singh
29a6c26d80 Add Settings UI for MTP transcoding over USB.
Enabling "Transcode exported media" means that the media transferred
from the device via MTP over USB would be transcoded, if necessary. This
switch also sets / unsets the sys.fuse.transcode_mtp system property.

"Transcode exported media" category would be accessible only when the
"File transfer / Audio Auto" or "PTP" radio button has been selected. We
are including PTP also since PTP supports transfer of videos.

Adding UsbDetailsTranscodeMtpController in a separate preference
category than "Charge connected device" primarily because they seemed to
be different in their own rights.

Here are a few screenshots:
https://screenshot.googleplex.com/8jeMstnSFsTtVCS.png
https://screenshot.googleplex.com/76hNz4iXp5dcX4M.png
https://screenshot.googleplex.com/AkTngE5hDDJCovv.png
https://screenshot.googleplex.com/4uQYGXuuSQLoz3w.png

BUG: 158466651
Test: manual testing.  Also added unit test.
Change-Id: I2603a9bffed3320c193cc08f867bd67d9848da18
(cherry picked from commit 974662936e)
2021-01-29 20:22:05 +00:00
Tsung-Mao Fang
829c7b7b24 Remove a test case for fixing broken pesubmit
Change-Id: Iaa0477d22dc680d08b5d5614fec2c7eb3154465a
Fix: 178567560
Test: Run presubmit process
(cherry picked from commit cefdfc7bc9)
2021-01-29 20:21:04 +00:00
TreeHugger Robot
dce50f1f77 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-01-29 17:57:42 +00:00
tom hsu
ae6a21427c Avoid wrong telephonymanager with wrong sub id.
When initialized SimStatusDialogController, also create TelephonyManager
with sub id.

Bug: 174171839
Test: Manual test passed, see b/174171839#25
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SimStatusDialogControllerTest passed
Change-Id: I6bd6975e39c75884252b9d0bcd9d5548dbdfe6d5
Merged-In: I6bd6975e39c75884252b9d0bcd9d5548dbdfe6d5
2021-01-29 14:31:02 +00:00
TreeHugger Robot
b94db4b157 Merge "Rearrange System settings" into sc-dev 2021-01-29 14:06:58 +00:00
Jason Chiu
b178c547e4 Merge "Fix the suggestion button distortion" into sc-dev 2021-01-29 13:51:13 +00:00
Bill Yi
d4ee591cb3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1c9c1604346beda7019ed3378e6ddd751ae97c53
2021-01-29 05:34:23 -08:00
Jiun-Yang Hsu
0b1f51445c Merge "Initial commit for Settings component test" into sc-dev 2021-01-29 12:55:02 +00:00
Jiun-Yang Hsu
cf231cad93 Merge "Create folder and OWNERS file for component test" 2021-01-29 12:48:32 +00:00
Edgar Wang
bd0dd5d886 Rearrange System settings
- Fork system_dashboard_fragment_v2 for dev.
- Reorder the preference
- Remove summary

Bug: 174965365
Test: manual & robotest
Change-Id: Icc994f3b2e38ad54958deb5c9f80b6cd085029f0
2021-01-29 12:10:58 +00:00
TreeHugger Robot
a7c0036a8c Merge "Fix the background color of the homepage." into sc-dev 2021-01-29 10:57:16 +00:00
Weng Su
d47d8e4fc5 [Security Report] Fix Settings WifiScanModeActivity Overlaid issue
- Disallowed non system overlay windows

- Screenshot
  https://screenshot.googleplex.com/77fJ9QN6pV4zFYc

Bug: 174047492
Test: manual test
Change-Id: Ia7acad6d456ce5ebea2d982d4cb063d4f28cbfff
2021-01-29 17:51:29 +08:00
Yi-Ling Chuang
a386cb27fc Fix the background color of the homepage.
- Remove the windowBackground override.

Fixes: 177715172
Test: open the homepage and see its color.
Change-Id: If8f6f789eef49caabf6d0f04eee33850e1c98e19
2021-01-29 17:19:40 +08:00
TreeHugger Robot
20fa1428bc Merge "Fix the transition of the up-button." into sc-dev 2021-01-29 09:09:32 +00:00
Jason Chiu
8863015827 Fix the suggestion button distortion
- The button is distorted when setting font/display size to largest.
- Auto resize and limit the max lines of the header so that the button
  won't be squeeze to the bottom.

Fixes: 178459387
Test: visual, robotest
Change-Id: I491be5c3d70c643244fa989324e828774e15b34d
2021-01-29 17:06:43 +08:00
Jiun-Yang Hsu
2d0baa2c27 Create folder and OWNERS file for component test
Test: No test needed for creating folder and OWNERS
Change-Id: I6b1aff581df36a9c70309df2f2ce30d547a820d5
2021-01-29 09:01:30 +00:00
Bill Yi
8865c08a85 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I339425d596ff5e795d643ef724c65ab15e9438b7
2021-01-29 00:47:28 -08:00
TreeHugger Robot
e7515466ea Merge "The UI is not immediately updated" into sc-dev 2021-01-29 07:56:42 +00:00
Yi-Ling Chuang
c55901d2c0 Fix the transition of the up-button.
We've applied a new transition from Search to Settings, where if users
click on the up-button, the transition will not be applied. Hence, this
CL makes the up-button behave the same as the back key to address this.

- Also remove the transition target as it is not necessary.

Fixes: 177968777
Test: 1. Search "Gesture"
2. Click on "Gesture"
3. Tap the up-button and see the applied transition

Change-Id: I046424f244426750d98046703c05ae0a1d567c67
2021-01-29 15:40:36 +08:00
TreeHugger Robot
097361797a Merge "[Provider Model] Dynamically update the Internet Panel title" into sc-dev 2021-01-29 07:37:50 +00:00
SongFerngWang
c0b8f62b57 The UI is not immediately updated
Solution: Add Data Connection State listener by PhoneStateListener.

Bug: 178350321
Test: atest NetworkProviderWorkerTest
Change-Id: I692209035332bfd463537988f4e3ce166414031e
(cherry picked from commit 59958e663d)
Merged-In: I692209035332bfd463537988f4e3ce166414031e
2021-01-29 06:52:11 +00:00
Jiun-Yang Hsu
7a3635e7f4 Initial commit for Settings component test
Test: Tested on local device
Bug: 178765084
Change-Id: I3b8f36daa31b0a44e788fe4c84f94d48653ee037
2021-01-29 14:00:59 +08:00
Weng Su
fc3a51ed3f [Provider Model] Fix Internet preference crash
- Post on main thread for UI update

- Add NPE checking

Bug: 178670562
Test: manual test
- atest InternetPreferenceControllerTest

Change-Id: I6c37f7dc19f9f9bbc75b36415a47aa1366dc5f5e
2021-01-29 12:57:36 +08:00
TreeHugger Robot
16fa77369f Merge "Hide esos setting if no app provides esos functionality" into sc-dev 2021-01-29 04:31:59 +00:00
Wilson Wu
fa01bf30ba Apply ResultCallback to DevelopmentTiles
In CL[1], the startImeTrace and stopImeTrace apply
the ResultCallback mechanism. Change corresponding
API usages in DevelopmentTiles.

We are also working on getting rid of direct dependecy
on IInputMethodManager from Settings.(see b/175742251)

[1]: I3eafbc28ed3acf3ba859885bf201cb06b3149b94

Bug: 163453493
Test: make RunSettingsRoboTests ROBOTEST_FILTER="WinscopeTraceTest"
Test: 1) Enable the Winscope Trace tile
      2) Do some actions like open keyboard
      3) Disable the Winscope Trace tile
      4) Grad a bugreport and verify trace on go/Winscope
Change-Id: I6733e8b500f5e02d4e14cde4ab7a46f4f716f5d0
2021-01-29 11:00:48 +08:00
Jiashen Wang
b54d25ee13 Slot Change Receiver Migration
Implemented slot change cases when pSIM is inserted and removed.
Bug: 153811431
Bug: 170508680
Test: Manually tested

Change-Id: Ib0a96da1d7d702f7c64e75b929c73b8548f8e459
2021-01-28 14:15:53 -08:00