Commit Graph

79179 Commits

Author SHA1 Message Date
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
Bill Yi
95b5b3762c [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: fe25d2494e
Blank merge reason: commit message contains skip directive

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

Change-Id: I64dd9b98c4ef699c4ca34061b9d9a9ec74435f7f
2021-01-29 07:59:52 +00:00
Bill Yi
fe25d2494e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I82cd7cade2ecb3469af36801612b453d714d62bd
2021-01-28 23:59:35 -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
TreeHugger Robot
dceee6eff5 Merge "Remove a test case for fixing broken pesubmit" 2021-01-29 07:11:38 +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
Etan Cohen
ca481932f0 Merge "Update with new permission to restart Wifi Subsystem" 2021-01-29 05:59:58 +00:00
Tsung-Mao Fang
cefdfc7bc9 Remove a test case for fixing broken pesubmit
Change-Id: Iaa0477d22dc680d08b5d5614fec2c7eb3154465a
Fix: 178567560
Test: Run presubmit process
2021-01-29 05:43:23 +00: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
Ben Chung
c22313c741 Add accessibility shortcuts fragment in a11y settings
Accessibility settings category restructure, add accessibility shortcuts
fragment for related accessibility services.

Bug: 174829936
Test: atest AccessibilityShortcutsFragmentTest, atest AccessibilitySettingsTest
Change-Id: I9706906863872bc60d31eae54bbf3a35d70e812e
2021-01-28 23:57:55 +00:00
Manish Singh
a621e517f9 Merge "Add Settings UI for MTP transcoding over USB." 2021-01-28 19:49:41 +00:00
Fan Zhang
6a8f11b2cf Hide esos setting if no app provides esos functionality
When user disables OEM app that provides esos, the setting is hidden as
well.

See more details on bug.

Bug: 178654110
Test: robotests
Change-Id: I7a0763381d3321124f4208a58bb8e10cf884f7c1
2021-01-28 18:38:52 +00:00
Yanting Yang
c698e3d6dd Merge "Update the homepage icons" into sc-dev am: 1e1c813354 am: c1247a111e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13413819

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I31561a17b7f0770ef436b1f1fddbec1423c2bab9
2021-01-28 14:56:41 +00:00
Yanting Yang
c1247a111e Merge "Update the homepage icons" into sc-dev am: 1e1c813354
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13413819

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3377dcf79282fdee579a45b8c811696341b6e2f8
2021-01-28 14:15:03 +00:00
Yanting Yang
1e1c813354 Merge "Update the homepage icons" into sc-dev 2021-01-28 13:50:48 +00:00
Weng Su
28172b61c8 [Provider Model] Dynamically update the Internet Panel title
- Change from "Internet" to "Airplane mode networks"

- Screenshot:
  https://screenshot.googleplex.com/gk3RBcjPsXq5NTk

Bug: 176803442
Test: manual test
- atest InternetConnectivityPanelTest
- make RunSettingsRoboTests ROBOTEST_FILTER=PanelFragmentTest

Change-Id: Ifb2c24434e480861fc7c3eaece683d49eb99013e
2021-01-28 11:00:08 +00:00
tom hsu
a835609bf0 Avoid wrong telephonymanager with wrong sub id. am: ba845f7fe4 am: 8249689aed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422724

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If14458d1aeaae0df381f12d32f492e529614d540
2021-01-28 10:17:06 +00:00
tom hsu
8249689aed Avoid wrong telephonymanager with wrong sub id. am: ba845f7fe4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422724

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I68a58e6ba10fbae2625ab76ff0f079550b4426c9
2021-01-28 09:57:21 +00:00
TreeHugger Robot
6c495776cc Merge "Apply footer icon for Smart Storage" into sc-dev am: f38af98895 am: 2c4337ac0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422710

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iadc4d28caabfa179902ca1bfa9bede55b91fd785
2021-01-28 07:20:40 +00:00
TreeHugger Robot
2c4337ac0e Merge "Apply footer icon for Smart Storage" into sc-dev am: f38af98895
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422710

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I69ff3b23eae88be9b159a81de3ba62076fba8281
2021-01-28 07:01:27 +00:00
tom hsu
ba845f7fe4 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
Change-Id: I6bd6975e39c75884252b9d0bcd9d5548dbdfe6d5
2021-01-28 06:26:21 +00:00
TreeHugger Robot
f38af98895 Merge "Apply footer icon for Smart Storage" into sc-dev 2021-01-28 06:09:19 +00:00
Edgar Wang
9178f7cd66 Apply footer icon for Smart Storage
- Apply FooterPreference

Bug: 177968088
Test: manual & robotest
Change-Id: Ie934a139863a7522c6fd38cd27f8814fabcb541e
2021-01-28 04:55:15 +00:00
Zoey Chen
e239f2f064 Merge "[Provider Model] Update the string to latest." into sc-dev am: e1880f026e am: 1b604e33ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13417066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4e7eaea4f90b14535810f030e337a881815f513b
2021-01-28 04:18:45 +00:00
Zoey Chen
1b604e33ac Merge "[Provider Model] Update the string to latest." into sc-dev am: e1880f026e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13417066

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2176df75e15d21bcc35b32cf19343bb8a94f8447
2021-01-28 03:58:25 +00:00
Zoey Chen
e1880f026e Merge "[Provider Model] Update the string to latest." into sc-dev 2021-01-28 03:26:26 +00:00
Peter Wang
8d00c39397 [automerger skipped] Merge "Add an intent filter for MobileNetworkListActivity to enable access from the LPA" am: ffccb8a611 am: b4f375fdc4 am: 003e5dc7c2 -s ours am: 3b414eb10b -s ours am: 2a2f7d4ba4 -s ours
am skip reason: Change-Id I6e87d3a3c75c832354c3a3ad407889e8d2701cbd with SHA-1 0044fee7cb is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I608c89b01972a5a80be5b35bce217208af501827
2021-01-28 00:46:05 +00:00
Peter Wang
2a2f7d4ba4 [automerger skipped] Merge "Add an intent filter for MobileNetworkListActivity to enable access from the LPA" am: ffccb8a611 am: b4f375fdc4 am: 003e5dc7c2 -s ours am: 3b414eb10b -s ours
am skip reason: Change-Id I6e87d3a3c75c832354c3a3ad407889e8d2701cbd with SHA-1 0044fee7cb is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia5ac7329552e6be6a0677a42d9c2654ca7d60685
2021-01-27 23:57:38 +00:00
Peter Wang
3b414eb10b [automerger skipped] Merge "Add an intent filter for MobileNetworkListActivity to enable access from the LPA" am: ffccb8a611 am: b4f375fdc4 am: 003e5dc7c2 -s ours
am skip reason: Change-Id I6e87d3a3c75c832354c3a3ad407889e8d2701cbd with SHA-1 0044fee7cb is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie55e80a86dcf34b1f06a459ec4161429fb7d958f
2021-01-27 23:20:46 +00:00
Peter Wang
003e5dc7c2 Merge "Add an intent filter for MobileNetworkListActivity to enable access from the LPA" am: ffccb8a611 am: b4f375fdc4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1554772

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib4dc9ab9b5b990924ad06d206adb9950c3d95552
2021-01-27 22:24:35 +00:00
Peter Wang
b4f375fdc4 Merge "Add an intent filter for MobileNetworkListActivity to enable access from the LPA" am: ffccb8a611
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1554772

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia9cd23da0ae90f7f5c38fae54900b30e7ca12bad
2021-01-27 22:03:32 +00:00
Peter Wang
ffccb8a611 Merge "Add an intent filter for MobileNetworkListActivity to enable access from the LPA" 2021-01-27 21:39:51 +00:00
Bill Yi
5f80ceb40a Merge changes from topic "presubmit-am-3026cc3ac2ee43e8aae3ff78e79cf010"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 3d1da30897
  Import translations. DO NOT MERGE ANYWHERE
2021-01-27 16:10:59 +00:00
TreeHugger Robot
cb2c604789 Merge "The UI is not immediately updated" 2021-01-27 15:42:30 +00:00
Yanting Yang
ff6a87458f Update the homepage icons
Based on the Android S design to update the homepage icons in Settings
codebase.

Bug: 178363516
Test: visual
Change-Id: I4f83912d118f85d7f13feb023d30431852efe065
2021-01-27 22:30:30 +08:00
SongFerngWang
59958e663d The UI is not immediately updated
Solution: Add Data Connection State listener by PhoneStateListener.

Bug: 178350321
Test: atest NetworkProviderWorkerTest
Change-Id: I692209035332bfd463537988f4e3ce166414031e
2021-01-27 22:22:29 +08:00
Zoey Chen
27ab48c8df [Provider Model] Update the string to latest.
Bug: 178561739
Test: manual
Change-Id: I96a23af83b4a0786cd1e3714d6260008dbdcf081
(cherry picked from commit 2449c03927)
2021-01-27 13:59:59 +00:00
Zoey Chen
8f6cdd5d19 Merge "[Provider Model] Update the string to latest." 2021-01-27 13:56:44 +00:00
Weng Su
65c09ec3c1 [automerger skipped] [Provider Model] Pass null to the reason parameter to avoid unnecessary am: 7c041874ce am: 1798f49278 -s ours
am skip reason: Change-Id I469a8c72fc7a6ab057acef476296285bb8a62713 with SHA-1 3c02095c90 is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ied6758fc7333a9e9e78be1d89de66ea5bf3f753e
2021-01-27 12:06:47 +00:00
Weng Su
1798f49278 [Provider Model] Pass null to the reason parameter to avoid unnecessary am: 7c041874ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13413810

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2496abeb90370f67b407597dd44d581b2df972c8
2021-01-27 11:19:26 +00:00
Weng Su
7c041874ce [Provider Model] Pass null to the reason parameter to avoid unnecessary
bugreports

- The reason parameter may be used to generate bugreport

- Pass null to the reason parameter under normal situation

Bug: 178542910
Test: manual test
- make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Merged-In: I469a8c72fc7a6ab057acef476296285bb8a62713
Change-Id: I469a8c72fc7a6ab057acef476296285bb8a62713
(cherry picked from commit 3c02095c90)
2021-01-27 09:48:16 +00:00
Yo Chiang
e0532bf10e [automerger skipped] Merge "Remove feature flag "settings_dynamic_system"" am: df58c6505d am: 7ac7030d49 am: 06bf3f1993 -s ours am: bf238d463c -s ours am: 4dd8e3af8d -s ours
am skip reason: Change-Id Ib6b450489c63913c47858cf295e4785fd5d0cfbb with SHA-1 a366690de1 is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8c6d18fedab2d22098cb86de1d89b0e840755cbf
2021-01-27 08:31:27 +00:00