OSDN Git Service

android-x86/packages-apps-Settings.git
4 years agoSnap for 6095135 from 462eac2c56b987adcdff28a3ed5763b461c88788 to qt-qpr2-release
android-build-team Robot [Tue, 24 Dec 2019 02:08:40 +0000 (02:08 +0000)]
Snap for 6095135 from 462eac2c56b987adcdff28a3ed5763b461c88788 to qt-qpr2-release

Change-Id: Iecb14185bbe017e6102faacb22be8bcf9b011b48

4 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 23 Dec 2019 10:11:24 +0000 (02:11 -0800)]
Import translations. DO NOT MERGE

Change-Id: I9250823846a5425a974ec9bc49824284a7e79371
Auto-generated-cl: translation import

4 years agoSnap for 6091872 from 1cdbed55f97542d2964f61b37144c59f7505c9bd to qt-qpr2-release
android-build-team Robot [Sun, 22 Dec 2019 00:15:21 +0000 (00:15 +0000)]
Snap for 6091872 from 1cdbed55f97542d2964f61b37144c59f7505c9bd to qt-qpr2-release

Change-Id: I928b5543f58d494775a671a84a495eb6914c5437

4 years agoMerge "Create some strings for RTT setting" into qt-qpr1-dev
TreeHugger Robot [Sat, 21 Dec 2019 02:20:47 +0000 (02:20 +0000)]
Merge "Create some strings for RTT setting" into qt-qpr1-dev

4 years agoSnap for 6091187 from 12510978c355cd79ec2251b00b09de9dfc91b474 to qt-qpr2-release
android-build-team Robot [Sat, 21 Dec 2019 02:18:07 +0000 (02:18 +0000)]
Snap for 6091187 from 12510978c355cd79ec2251b00b09de9dfc91b474 to qt-qpr2-release

Change-Id: I0953abc899ef41afae7da98eda357b6397c1f111

4 years agoMerge "Add Tapjacking Protection for SettingsHomepageActivity" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Dec 2019 18:11:29 +0000 (18:11 +0000)]
Merge "Add Tapjacking Protection for SettingsHomepageActivity" into qt-qpr1-dev

4 years agoCreate some strings for RTT setting
Tsung-Mao Fang [Thu, 19 Dec 2019 10:01:40 +0000 (18:01 +0800)]
Create some strings for RTT setting

Test: Rebuild
Bug: 146540478
Change-Id: I26f218caba46273796e52c244c9f022742f0bdeb
Merged-In: I26f218caba46273796e52c244c9f022742f0bdeb

4 years agoMerge "Update the behavior of the Dark theme slice" into qt-qpr1-dev
TreeHugger Robot [Fri, 20 Dec 2019 15:23:53 +0000 (15:23 +0000)]
Merge "Update the behavior of the Dark theme slice" into qt-qpr1-dev

4 years agoUpdate the behavior of the Dark theme slice
Sunny Shao [Thu, 19 Dec 2019 09:04:58 +0000 (17:04 +0800)]
Update the behavior of the Dark theme slice

- Dark theme slice disappear when battery saver is ON.

Bug: 146149658
Fixes: 142476879
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ROBOTEST_FILTER=com.android.settings.homepage.contextualcards.slices.DarkThemeSliceTest
Change-Id: I071014d7f0658db2098e353717afda905f162ecd

4 years agoRemove permission bar chart in Privacy setting
Tsung-Mao Fang [Mon, 28 Oct 2019 10:57:00 +0000 (18:57 +0800)]
Remove permission bar chart in Privacy setting

- Because permission hub is already postponed,
we don't need to show this UI in privacy settings.

Test: Rebuild, visual, robotest
Change-Id: I51aca52bc605a3c6b0cafc084e8e491c280d770f
Fix: 143447873
Merged-In: I51aca52bc605a3c6b0cafc084e8e491c280d770f
(cherry picked from commit ab914adc003f5c3e745ba9c3fa8d76043c5b2f17)

4 years agoAdd Tapjacking Protection for SettingsHomepageActivity
Sunny Shao [Wed, 31 Jul 2019 05:19:23 +0000 (13:19 +0800)]
Add Tapjacking Protection for SettingsHomepageActivity

Add/remove the SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS flag into/from
SettingsHomepageActivity and SettingsPanelActivity with lifecycle.

Bug: 138442483
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.homepage
      make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.panel
      manual test
Change-Id: I72f9a947f57f74a8c09127d6c39173594c248ddc
Merged-In: I72f9a947f57f74a8c09127d6c39173594c248ddc

4 years agoSnap for 6083172 from 30bf9e2e5ee78c3ad19ec92568ccdd26afa3ff46 to qt-qpr2-release
android-build-team Robot [Thu, 19 Dec 2019 02:08:54 +0000 (02:08 +0000)]
Snap for 6083172 from 30bf9e2e5ee78c3ad19ec92568ccdd26afa3ff46 to qt-qpr2-release

Change-Id: I81852aa2889fe8061f3a146d7ebb2829ddc9705c

4 years agoMerge "Added horizontal seperator in Face Settings" into qt-qpr1-dev
Kevin Chyn [Wed, 18 Dec 2019 06:15:58 +0000 (06:15 +0000)]
Merge "Added horizontal seperator in Face Settings" into qt-qpr1-dev

4 years agoAdded horizontal seperator in Face Settings
joshmccloskey [Wed, 16 Oct 2019 00:53:13 +0000 (17:53 -0700)]
Added horizontal seperator in Face Settings

Test: Manual.
Bug: 140965037
Change-Id: I05bfa9b1826c5d4dfcbba6cbe2d2e320014950e3
Merged-In: I05bfa9b1826c5d4dfcbba6cbe2d2e320014950e3

4 years agoMerge "[Wi-Fi] Fix transition mode problems" into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Dec 2019 02:27:28 +0000 (02:27 +0000)]
Merge "[Wi-Fi] Fix transition mode problems" into qt-qpr1-dev

4 years agoSnap for 6079367 from 8472279900ef6dfaeb0e1341e6ede406ac833f7c to qt-qpr2-release
android-build-team Robot [Wed, 18 Dec 2019 02:19:43 +0000 (02:19 +0000)]
Snap for 6079367 from 8472279900ef6dfaeb0e1341e6ede406ac833f7c to qt-qpr2-release

Change-Id: I6bdca3512b6e6a7fe45c202526a2a760b71add12

4 years agoMerge "Add feature provider for face unlock" into qt-qpr1-dev
Kevin Chyn [Tue, 17 Dec 2019 05:27:01 +0000 (05:27 +0000)]
Merge "Add feature provider for face unlock" into qt-qpr1-dev

4 years agoAdd feature provider for face unlock
Kevin Chyn [Mon, 16 Dec 2019 22:26:49 +0000 (14:26 -0800)]
Add feature provider for face unlock

Bug: 146085546

Test: Builds
Change-Id: If5c7d57c12a3f679d81cee22fb94a53fce1de29a

4 years agoMerge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev
Alex Lin [Mon, 16 Dec 2019 21:34:45 +0000 (21:34 +0000)]
Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev

4 years agoSnap for 6074232 from ee2c5a9df9f336406a89afddd67460ce171d6d79 to qt-qpr2-release
android-build-team Robot [Mon, 16 Dec 2019 00:15:26 +0000 (00:15 +0000)]
Snap for 6074232 from ee2c5a9df9f336406a89afddd67460ce171d6d79 to qt-qpr2-release

Change-Id: I73a60eacd3fcfb8cb86662de27105856f7b3ed0f

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 14 Dec 2019 05:28:00 +0000 (21:28 -0800)]
Import translations. DO NOT MERGE

Change-Id: I97d06e305b91ed0cffb8282e2610711d6c4d1d38
Auto-generated-cl: translation import

4 years agoSnap for 6069307 from 8b95d6ab2a7fc1173348a651ee80b7dcbd407d3d to qt-qpr2-release
android-build-team Robot [Fri, 13 Dec 2019 02:11:16 +0000 (02:11 +0000)]
Snap for 6069307 from 8b95d6ab2a7fc1173348a651ee80b7dcbd407d3d to qt-qpr2-release

Change-Id: Ib5f9df89d62ec1f88eb5ee59074d4873fdcd58bf

4 years agoMerge "Dark theme settings activity" into qt-qpr1-dev
Jay Aliomer [Thu, 12 Dec 2019 20:32:01 +0000 (20:32 +0000)]
Merge "Dark theme settings activity" into qt-qpr1-dev

4 years agoFix Settings crash when clicks Notifications
Raff Tsai [Thu, 12 Dec 2019 07:14:34 +0000 (15:14 +0800)]
Fix Settings crash when clicks Notifications

- FaceSettingsLockscreenBypassPreferenceController's preference key
is different from that in xml. Use DashboardFragment generic way to
create PreferenceController which bind the preference key defined in
xml.
- Also refine the way of fixing b/140878309

Fixes: 145893081
Test: manual check FaceSettings and Notification Settings
Change-Id: Ia80e755e3f86b44e771b0cf80c9bf53a8ef8f430

4 years agoSnap for 6066307 from 4fd41fe196a402dda3d8c945e970cf69aea2d115 to qt-qpr2-release
android-build-team Robot [Thu, 12 Dec 2019 02:13:52 +0000 (02:13 +0000)]
Snap for 6066307 from 4fd41fe196a402dda3d8c945e970cf69aea2d115 to qt-qpr2-release

Change-Id: Icad995a0f219b83f064bd2f770e67976ed9e3ad9

4 years ago[automerger skipped] Prevent accounts page directly opening in screen pinning mode...
Automerger Merge Worker [Thu, 12 Dec 2019 01:54:14 +0000 (01:54 +0000)]
[automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: f35dfbcdc0 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 473b52cd6e -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 4a87e89929 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I6d95ab64f114ac818161c903e86cc7da70b424ad

4 years ago[automerger skipped] Prevent accounts page directly opening in screen pinning mode...
Automerger Merge Worker [Thu, 12 Dec 2019 01:54:01 +0000 (01:54 +0000)]
[automerger skipped] Prevent accounts page directly opening in screen pinning mode am: ad2502a91a -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 8806cfe4fc -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: b6c6ab51f9 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history

Change-Id: I1c9606ee574e02be25134e547e5f7943bcea744b

4 years ago[automerger skipped] Prevent accounts page directly opening in screen pinning mode...
Automerger Merge Worker [Thu, 12 Dec 2019 01:37:07 +0000 (01:37 +0000)]
[automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: f35dfbcdc0 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 473b52cd6e -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I60d91e324136beb7edec8d0fe9faf8937c8f9e3f

4 years ago[automerger skipped] Prevent accounts page directly opening in screen pinning mode...
Automerger Merge Worker [Thu, 12 Dec 2019 01:36:39 +0000 (01:36 +0000)]
[automerger skipped] Prevent accounts page directly opening in screen pinning mode am: ad2502a91a -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 8806cfe4fc -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history

Change-Id: I4d68617158d79e44406f2b4a1de554fb0b1c610a

4 years ago[automerger skipped] Prevent accounts page directly opening in screen pinning mode...
Automerger Merge Worker [Thu, 12 Dec 2019 01:19:43 +0000 (01:19 +0000)]
[automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: f35dfbcdc0 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I80eb8a460114a01a025a7512112c022e2568b64e

4 years ago[automerger skipped] Prevent accounts page directly opening in screen pinning mode...
Automerger Merge Worker [Thu, 12 Dec 2019 01:19:22 +0000 (01:19 +0000)]
[automerger skipped] Prevent accounts page directly opening in screen pinning mode am: ad2502a91a -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history

Change-Id: I20f8b8521a7ada8e0f05edcee4df1e3ab87650b0

4 years ago[automerger skipped] Prevent accounts page directly opening in screen pinning mode...
Automerger Merge Worker [Thu, 12 Dec 2019 01:18:55 +0000 (01:18 +0000)]
[automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I4203109df4dcbd952e0ee09bc70ccd5d38ccc159

4 years agoDark theme settings activity
Jay Aliomer [Tue, 10 Dec 2019 19:49:27 +0000 (14:49 -0500)]
Dark theme settings activity

Dark theme settings is now launchable as an activity

Test: launch activity android.settings.DARK_THEME_SETTINGS
Fixes: 145560830

Change-Id: I24b8d3211e9d6e7a5b1f226001882573ae7fb311

4 years agoPrevent accounts page directly opening in screen pinning mode am: a545a85f9d am:...
Automerger Merge Worker [Wed, 11 Dec 2019 06:51:34 +0000 (06:51 +0000)]
Prevent accounts page directly opening in screen pinning mode am: a545a85f9d am: fd45c98d53

Change-Id: Id48f14bb8258d615dc2fe9e552640ab06aa528ab

4 years agoPrevent accounts page directly opening in screen pinning mode am: a545a85f9d
Automerger Merge Worker [Wed, 11 Dec 2019 06:32:39 +0000 (06:32 +0000)]
Prevent accounts page directly opening in screen pinning mode am: a545a85f9d

Change-Id: If2d4c0acb794a9a506b7611fa2f622c90054b393

4 years ago[DO NOT MERGE] Add country blacklist support
Alex Lin [Thu, 21 Nov 2019 00:32:50 +0000 (16:32 -0800)]
[DO NOT MERGE] Add country blacklist support

Adding a country blacklist, except for pixel2(walleye, taimen) will still uses whitelist
Bug: 144702079
Test: manually tested

Change-Id: Ic03abd0d2706b7bb9fdc56be7906411b731b186b

4 years ago[Wi-Fi] Fix transition mode problems
Arc Wang [Mon, 9 Dec 2019 11:19:46 +0000 (19:19 +0800)]
[Wi-Fi] Fix transition mode problems

Replace SECURITY_PSK_SAE_TRANSITION & SECURITY_OWE_TRANSITION with
AccessPpoint#isPskSaeTransitionMode() &
AccessPpoint#isPskOweTransitionMode()

Bug: 144320676
Bug: 144320649
Bug: 144325162
Bug: 144321574
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: I6596c48ea54adcaf579682634965c379c7938895
Merged-In: Ic3c7ac1238a51b6e215ed63761720d2bc371d012

4 years agoPrevent accounts page directly opening in screen pinning mode
Mill Chen [Tue, 16 Jul 2019 09:45:46 +0000 (17:45 +0800)]
Prevent accounts page directly opening in screen pinning mode

In Settings there is no auth mechanism to prevent accounts page being
opened in screen pinning mode. This CL makes it so that when users are
trying to navigate to any pages in Settings from other apps in screen
pinning mode, Settings app will directly close its page.

Bug: 137015265
Bug: 135604684
Test: manual
Change-Id: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
Merged-In: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
(cherry picked from commit f3242dab3546c019d4b79c502f7b8850d36123a5)

4 years agoPrevent accounts page directly opening in screen pinning mode
Mill Chen [Tue, 16 Jul 2019 09:45:46 +0000 (17:45 +0800)]
Prevent accounts page directly opening in screen pinning mode

In Settings there is no auth mechanism to prevent accounts page being
opened in screen pinning mode. This CL makes it so that when users are
trying to navigate to any pages in Settings from other apps in screen
pinning mode, Settings app will directly close its page.

Bug: 137015265
Bug: 135604684
Test: manual
Change-Id: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
Merged-In: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
(cherry picked from commit f3242dab3546c019d4b79c502f7b8850d36123a5)

4 years agoPrevent accounts page directly opening in screen pinning mode
Mill Chen [Tue, 16 Jul 2019 09:45:46 +0000 (17:45 +0800)]
Prevent accounts page directly opening in screen pinning mode

In Settings there is no auth mechanism to prevent accounts page being
opened in screen pinning mode. This CL makes it so that when users are
trying to navigate to any pages in Settings from other apps in screen
pinning mode, Settings app will directly close its page.

Bug: 137015265
Bug: 135604684
Test: manual
Change-Id: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
Merged-In: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
(cherry picked from commit f3242dab3546c019d4b79c502f7b8850d36123a5)

4 years agoDark theme drop down does not show selected option
Jay Aliomer [Sat, 7 Dec 2019 21:37:30 +0000 (16:37 -0500)]
Dark theme drop down does not show selected option

a place holder for the summary was updated in commit https://googleplex-android-review.git.corp.google.com/changes/platform%2Fpackages%2Fapps%2FSettings~9818614/revisions/3/files/res%2Fxml%2Fdark_mode_settings.xml/download?parent=1
This change is reverted in this CL

Test: manual
Fixes: 145672617
Change-Id: I41443e7334487e3afac0343333a9ed289d2fe390

4 years agoSnap for 6055731 from 95820eb0014f7719fc5b7f94326374c5b2afd873 to qt-qpr2-release
android-build-team Robot [Sat, 7 Dec 2019 02:13:25 +0000 (02:13 +0000)]
Snap for 6055731 from 95820eb0014f7719fc5b7f94326374c5b2afd873 to qt-qpr2-release

Change-Id: I148cdc869b980d6701ea163d408258824e1c6d39

4 years agoSnap for 6052638 from a90da5ea94c19d238d591eb247e7995425b2ae3d to qt-qpr2-release
android-build-team Robot [Fri, 6 Dec 2019 02:03:30 +0000 (02:03 +0000)]
Snap for 6052638 from a90da5ea94c19d238d591eb247e7995425b2ae3d to qt-qpr2-release

Change-Id: Ifd6344a0d04931b4b9293bff43bb157832e508b5

4 years agoMerge "Fix "Skip lock screen" not working for secondary user" into qt-qpr1-dev
Ilya Matyukhin [Fri, 6 Dec 2019 01:58:55 +0000 (01:58 +0000)]
Merge "Fix "Skip lock screen" not working for secondary user" into qt-qpr1-dev

4 years agoMerge changes from topic "update_battery_icon" into qt-qpr1-dev
TreeHugger Robot [Fri, 6 Dec 2019 01:05:30 +0000 (01:05 +0000)]
Merge changes from topic "update_battery_icon" into qt-qpr1-dev

* changes:
  Sync dimen from SystemUI
  Battery icon is too large

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Thu, 5 Dec 2019 18:33:31 +0000 (18:33 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 5 Dec 2019 11:22:50 +0000 (03:22 -0800)]
Import translations. DO NOT MERGE

Change-Id: I5889a4f6f9637d34eb5df1f844770dd68cc04e39
Auto-generated-cl: translation import

4 years agoFix "Skip lock screen" not working for secondary user
Ilya Matyukhin [Tue, 26 Nov 2019 01:01:22 +0000 (17:01 -0800)]
Fix "Skip lock screen" not working for secondary user

Bug: 140878309
Test: the option is not grayed out for secondary user.
Change-Id: I2413aa3c634e89a90d104e9ad60df15e49c75ed2
(cherry picked from commit e17caeea3f633d60f1f8e0e2f5b8857c62f3e320)

4 years agoMerge "Always use local timezone for parsing date" into qt-qpr1-dev
TreeHugger Robot [Thu, 5 Dec 2019 02:49:13 +0000 (02:49 +0000)]
Merge "Always use local timezone for parsing date" into qt-qpr1-dev

4 years agoSnap for 6047316 from f4bc80c45cd5318c18087cf2639368365993f4f1 to qt-qpr2-release
android-build-team Robot [Wed, 4 Dec 2019 02:07:49 +0000 (02:07 +0000)]
Snap for 6047316 from f4bc80c45cd5318c18087cf2639368365993f4f1 to qt-qpr2-release

Change-Id: I01d82433ac939dc7d7e8299133815b7dcb29b1b1

4 years agoAlways use local timezone for parsing date
Tsung-Mao Fang [Tue, 3 Dec 2019 08:57:00 +0000 (16:57 +0800)]
Always use local timezone for parsing date

Use local time zone to be in line with entry
in phonesky mainline module.

Test: Rebuild
Bug: 143357811
Change-Id: I1ecf57ec7952cff580af932e58c453622d4536f0

4 years agoBattery saver mode should disable dark mode modification
Jay Aliomer [Wed, 27 Nov 2019 22:46:58 +0000 (17:46 -0500)]
Battery saver mode should disable dark mode modification

disable toggle options and disable the dark theme drop down selection

Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.DarkUIPreferenceControllerTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeActivationPreferenceControllerTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeObserverTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeScheduleSelectorControllerTest"

Fixes:  145098277
Fixes: 145297188
Fixes:  145254016
Change-Id: I5c81a295810cc2d9a45657978104647e9c15da46

4 years agoSnap for 6034952 from 5dd4272ee44a01df5dc0fc83db2b2832df337526 to qt-qpr2-release
android-build-team Robot [Wed, 27 Nov 2019 02:12:37 +0000 (02:12 +0000)]
Snap for 6034952 from 5dd4272ee44a01df5dc0fc83db2b2832df337526 to qt-qpr2-release

Change-Id: I813e1911f7288255b8cab19fd2211ce5352bfaab

4 years agoSync dimen from SystemUI
timhypeng [Fri, 15 Nov 2019 04:01:26 +0000 (12:01 +0800)]
Sync dimen from SystemUI

Bug: 141139595
Test: manual
Change-Id: Ifa9a31750b9a926e09aec9262aa89e8de66c91e2
(cherry picked from commit 3dd4f2cc19f4390db253e121a24157d4169b3a7a)
Merged-In: Ifa9a31750b9a926e09aec9262aa89e8de66c91e2

4 years agoBattery icon is too large
timhypeng [Thu, 14 Nov 2019 02:53:32 +0000 (10:53 +0800)]
Battery icon is too large

-sync layout from SystemUI

Bug: 141139595
Test: make -j42 RunSettingsRoboTests
Change-Id: I5e165e953682fcfdebf0d06475bb1abd171684d9
(cherry picked from commit c71f996da97a520a90afbccac4eb4d4d16435bec)
Merged-In: I5e165e953682fcfdebf0d06475bb1abd171684d9

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 24 Nov 2019 12:38:04 +0000 (04:38 -0800)]
Import translations. DO NOT MERGE

Change-Id: I0258ef130ec225a374ae445da558755f621556d0
Auto-generated-cl: translation import

4 years agoSnap for 6029402 from 26ce6885c9f3cf49d9f507ec9bfba80817122f68 to qt-qpr2-release
android-build-team Robot [Sun, 24 Nov 2019 00:18:26 +0000 (00:18 +0000)]
Snap for 6029402 from 26ce6885c9f3cf49d9f507ec9bfba80817122f68 to qt-qpr2-release

Change-Id: I777ff78054b2a1bcf6382eeef802e5bb67e27d0d

4 years agoMerge "Revert "Revert "Add settings for scheduling dark theme""" into qt-qpr1-dev
Jay Aliomer [Fri, 22 Nov 2019 22:29:43 +0000 (22:29 +0000)]
Merge "Revert "Revert "Add settings for scheduling dark theme""" into qt-qpr1-dev

4 years agoRevert "Revert "Add settings for scheduling dark theme""
Jay Aliomer [Fri, 22 Nov 2019 14:51:08 +0000 (14:51 +0000)]
Revert "Revert "Add settings for scheduling dark theme""

This reverts commit 50c0fa136ce54dab58a0eb1dd094f9ced6e39a5e.

Reason for revert: Fixed the error which is code incompatibility
Test: run all settings tests
Change-Id: I8f05b50f8198c4b2565bb9b6f62ddda5029c8365
Merged-In: I8f05b50f8198c4b2565bb9b6f62ddda5029c8365
Bug: 141567787

4 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 22 Nov 2019 18:44:01 +0000 (10:44 -0800)]
Import translations. DO NOT MERGE

Change-Id: I64d2c2f4a3053bf7d163962d8a27929fd055b24b
Auto-generated-cl: translation import

4 years agoMerge "Revert submission" into qt-qpr1-dev
Hai Shalom [Fri, 22 Nov 2019 03:46:02 +0000 (03:46 +0000)]
Merge "Revert submission" into qt-qpr1-dev

4 years agoRevert submission
Hai Shalom [Thu, 21 Nov 2019 19:23:09 +0000 (19:23 +0000)]
Revert submission

Reason for revert: Incomplete fix that causes additional issues which were not anticipated earlier.

Change-Id: I65868205cc8241f8179006256e6e13698ad79d64
Merged-In: I5f3a6e31dc96fbc016e6ab5f56c3c68eb9e7723f

4 years agoMerge "Revert "Add settings for scheduling dark theme"" into qt-qpr1-dev
Preston O'Neal [Thu, 21 Nov 2019 22:41:18 +0000 (22:41 +0000)]
Merge "Revert "Add settings for scheduling dark theme"" into qt-qpr1-dev

4 years agoRevert "Add settings for scheduling dark theme"
Preston O'Neal [Thu, 21 Nov 2019 22:09:53 +0000 (22:09 +0000)]
Revert "Add settings for scheduling dark theme"

This reverts commit 7141b142dfb21433d8a9465d38f6b7f714a0adbc.

Reason for revert: This is breaking builds on git_qt-qpr1-dev

Change-Id: I7766826d3fc86a12fc8411b027a52eceb5a66019

4 years agoMerge "DarkUIPreferenceController null exception" into qt-qpr1-dev
Jay Aliomer [Thu, 21 Nov 2019 21:44:41 +0000 (21:44 +0000)]
Merge "DarkUIPreferenceController null exception" into qt-qpr1-dev

4 years agoDarkUIPreferenceController null exception
Jay Aliomer [Thu, 21 Nov 2019 15:44:57 +0000 (10:44 -0500)]
DarkUIPreferenceController null exception

The DarkUIPreferenceController doesnt need to show dialog in all cases
we added a null check for mFragment

Fixes: 144899194
Test: atest DarkUIPreferenceControllerTest
Change-Id: Ia5ed89bd46f28f4b92d955911223f9157e55c622
(cherry picked from commit c49f266af0f834ef6db1d53fab80ab8fbfcbb382)

4 years agoAdd settings for scheduling dark theme
Jay Aliomer [Thu, 24 Oct 2019 17:42:38 +0000 (13:42 -0400)]
Add settings for scheduling dark theme

Adding a settings page similar to night light for Dark theme. it will allow the user to schedule
dark mode from sunrise to sunset

Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.DarkUIPreferenceControllerTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeActivationPreferenceControllerTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeObserverTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeScheduleSelectorControllerTest"

Fixes: 141567787

Change-Id: I3094b655c04f59c23a95162a1be5ee8260e28a48
(cherry picked from commit 0828e6be9c0a6921b27d3e9da506ad4b7b5b14cc)

4 years agoSnap for 6018910 from 713143df372eb0c50b121ff4c0bab5c91e35662a to qt-qpr2-release
android-build-team Robot [Wed, 20 Nov 2019 02:12:15 +0000 (02:12 +0000)]
Snap for 6018910 from 713143df372eb0c50b121ff4c0bab5c91e35662a to qt-qpr2-release

Change-Id: I1e10a22c28307436ceb1a136ad8cd5e3eb6b3292

4 years agoSnap for 6016135 from fae6ecbbae32d2fd886a5bdb71138d5baebad2d7 to qt-qpr2-release
android-build-team Robot [Tue, 19 Nov 2019 02:09:08 +0000 (02:09 +0000)]
Snap for 6016135 from fae6ecbbae32d2fd886a5bdb71138d5baebad2d7 to qt-qpr2-release

Change-Id: Ie0a17a818fc819840e3996a105db373021b32004

4 years agoMerge "Add a dark theme slice" into qt-qpr1-dev
TreeHugger Robot [Tue, 19 Nov 2019 01:26:30 +0000 (01:26 +0000)]
Merge "Add a dark theme slice" into qt-qpr1-dev

4 years agoMerge "[WPA3] Hide connect button for cloned networks not in range" into qt-qpr1-dev
Hai Shalom [Mon, 18 Nov 2019 21:29:41 +0000 (21:29 +0000)]
Merge "[WPA3] Hide connect button for cloned networks not in range" into qt-qpr1-dev

4 years agoSnap for 6013205 from 80972abd63e37837e6d056e9234b280865c6ef12 to qt-qpr2-release
android-build-team Robot [Sun, 17 Nov 2019 00:12:25 +0000 (00:12 +0000)]
Snap for 6013205 from 80972abd63e37837e6d056e9234b280865c6ef12 to qt-qpr2-release

Change-Id: Ie5c1c88f2ea8f532f27f1660a63912c4d394a317

4 years agoMerge "Fix non responding slice toggling" into qt-qpr1-dev
TreeHugger Robot [Sat, 16 Nov 2019 02:04:24 +0000 (02:04 +0000)]
Merge "Fix non responding slice toggling" into qt-qpr1-dev

4 years ago[WPA3] Hide connect button for cloned networks not in range
Hai Shalom [Fri, 15 Nov 2019 21:39:00 +0000 (13:39 -0800)]
[WPA3] Hide connect button for cloned networks not in range

Cloned networks are WPA2 or Open networks that have a WPA3 or OWE
cloned networks with the same SSID and credentials. When an AP
in transition mode is in the area, the scan results will only
report the higher security level. In order to prevent a case
where the user forcely connects to the AP with the lower security,
disable this option for those networks. Otherwise, it will look
that Wi-Fi is connected, but Wi-Fi picker will not show a connected
network.

Bug: 143843364
Test: Manual test
Change-Id: Id002b109bd056105ec8335acd298fa3b314c73f3
Merged-In: I7244c41d3bf12ba573c3cfca077d0ac2cfdcf5ed

4 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 15 Nov 2019 20:09:15 +0000 (12:09 -0800)]
Import translations. DO NOT MERGE

Change-Id: I8c576fcd3e758334750e0fa24253cff9ee95466b
Auto-generated-cl: translation import

4 years agoAdd a dark theme slice
Sunny Shao [Mon, 4 Nov 2019 06:51:05 +0000 (14:51 +0800)]
Add a dark theme slice

Fixes: 142476879
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.homepage.contextualcards.slices.DarkThemeSliceTest
Change-Id: I4865c3c4a807bc4ac96762a882b193a3e2595019

4 years agoSnap for 6006841 from 48a0ff43046e7f19e27edd005308aa5cebe2926b to qt-qpr2-release
android-build-team Robot [Thu, 14 Nov 2019 02:12:48 +0000 (02:12 +0000)]
Snap for 6006841 from 48a0ff43046e7f19e27edd005308aa5cebe2926b to qt-qpr2-release

Change-Id: I2901fe2d74c1012cdd74d9bd18ad82dec38e291e

4 years agoFix non responding slice toggling
Yi-Ling Chuang [Mon, 7 Oct 2019 02:24:27 +0000 (10:24 +0800)]
Fix non responding slice toggling

The issue happens when users are toggling slices. Sometimes the toggle
doesn't work as expected because the pending intent of the toggle action
seems to be canceled for some reasons.

Hence, we replace FLAG_CANCEL_CURRENT with FLAG_UPDATE_CURRENT to
prevent from getting PendingIntent.CancelExcpetion from SliceActionView
when toggling slices.

This change only applies on those auto converted Slices.

Bug: 140719905
Test: toggle slices in Settings Search and NGA
Change-Id: Iff724ce5f6a1e6a7d9ca85b8ce76539a72e72964
Merged-In: Iff724ce5f6a1e6a7d9ca85b8ce76539a72e72964
(cherry picked from commit ddf6cefcaccf669150bb4d61e37c1d78ccbe91b0)

4 years agoFix Settings creating too many threads unexpectedly
Jason Chiu [Mon, 28 Oct 2019 10:17:04 +0000 (18:17 +0800)]
Fix Settings creating too many threads unexpectedly

Limit the number of threads by using the shared thread pool in
ThreadUtils.

Bug: 143434413
Test: manual
Change-Id: I4afe1f641a11e218616772c1d5446efcc99cd1cc
Merged-In: I4afe1f641a11e218616772c1d5446efcc99cd1cc
(cherry picked from commit 3e4c47dbc090310edcf14b1c5094259f74ff0525)

4 years agoSnap for 5998981 from 8134971f00aac3ae0b9f81510073e74e7d7d5503 to qt-qpr2-release
android-build-team Robot [Sun, 10 Nov 2019 00:13:17 +0000 (00:13 +0000)]
Snap for 5998981 from 8134971f00aac3ae0b9f81510073e74e7d7d5503 to qt-qpr2-release

Change-Id: I3b8768031da913601ca7b80d0747293b1b9001a8

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 9 Nov 2019 07:40:50 +0000 (23:40 -0800)]
Import translations. DO NOT MERGE

Change-Id: I5b9dc323282c81680df423e4df855f9f25e3c028
Auto-generated-cl: translation import

4 years agoFix the MMS messages toggle preference not working
Sunny Shao [Tue, 29 Oct 2019 08:20:48 +0000 (16:20 +0800)]
Fix the MMS messages toggle preference not working

- MMS messages toggle preference doesn't work while the default Mobile data is on then switches off.
- Recall the displayPreference to execute the preference.setOnPreferenceChangeListener
  in the AbstractPreferenceController.

Fixes: 143204818
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.network.telephony.MmsMessagePreferenceControllerTest
Change-Id: Ida65d04b095b7d2556fa5bdd93be7a67cba77206
Merged-In: Ida65d04b095b7d2556fa5bdd93be7a67cba77206
(cherry picked from commit 054e0eab872a795d81efce7629d03845e9bfb92c)

4 years agoSnap for 5989078 from 8b348f1f3090ed5cc76f4e18c66a13b2d1222d13 to qt-qpr2-release
android-build-team Robot [Wed, 6 Nov 2019 02:01:28 +0000 (02:01 +0000)]
Snap for 5989078 from 8b348f1f3090ed5cc76f4e18c66a13b2d1222d13 to qt-qpr2-release

Change-Id: I5992c5f7a52c191a9f17f3316e0e2f67c9018d91

4 years agoMerge "Fix Battery page animation" into qt-qpr1-dev
TreeHugger Robot [Tue, 5 Nov 2019 05:34:41 +0000 (05:34 +0000)]
Merge "Fix Battery page animation" into qt-qpr1-dev

4 years agoFix Battery page animation
Raff Tsai [Mon, 19 Aug 2019 08:40:36 +0000 (16:40 +0800)]
Fix Battery page animation

TextView summary1 has default height 2 line. If the content is longer
than 2 line, the TextView increases itself which causes the animation.
By increasing minLines to 3, it can avoid the animation. And remove
summary2 because it is only for debug purpose, the debug information
can be merged to summary1.

Fixes: 139554919
Test: visual, make RunSettingsRoboTests
Change-Id: I167ac87c9bd83035e00d4991961599e76f4f69e1
(cherry picked from commit 648ada031d932adc73a2a521473d2c7309a16139)
Merged-In: I167ac87c9bd83035e00d4991961599e76f4f69e1

4 years agoSnap for 5984801 from 9db5fcb2ff996678b7932a6c1591418b0778ed1c to qt-qpr2-release
android-build-team Robot [Mon, 4 Nov 2019 00:20:14 +0000 (00:20 +0000)]
Snap for 5984801 from 9db5fcb2ff996678b7932a6c1591418b0778ed1c to qt-qpr2-release

Change-Id: Ic5bef77cf7511468b60a974bcec0413829a182ca

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 3 Nov 2019 00:25:40 +0000 (17:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie3137ceba6f623d0a7aa1176166930b522dee60e
Auto-generated-cl: translation import

4 years agoSnap for 5983947 from 1876b8c6ddc78e4593e29f85270951edbc02773a to qt-qpr2-release
android-build-team Robot [Sat, 2 Nov 2019 23:11:01 +0000 (23:11 +0000)]
Snap for 5983947 from 1876b8c6ddc78e4593e29f85270951edbc02773a to qt-qpr2-release

Change-Id: I786ee6ac06d94ccb638e8000af02f8fee4ba3dbd

4 years agoMerge "Revert "Remove attention controller"" into qt-qpr1-dev
Kevin Chyn [Fri, 1 Nov 2019 17:01:32 +0000 (17:01 +0000)]
Merge "Revert "Remove attention controller"" into qt-qpr1-dev

4 years agoRevert "Remove attention controller"
Kevin Chyn [Fri, 18 Oct 2019 18:19:18 +0000 (18:19 +0000)]
Revert "Remove attention controller"

Bug: 142979808

This reverts commit 8e1d1ca3abbd35530019318361afd99901840d38.

Change-Id: I78b7572bcb384de2984f4d81946aceb03aec6758

4 years agoRevert "Update attention string"
Kevin Chyn [Sat, 19 Oct 2019 00:54:36 +0000 (00:54 +0000)]
Revert "Update attention string"

Bug: 142979808

This reverts commit 821fbc83a1f5ec3c914a37821b218471f0bc8431.

Change-Id: Ibe426d3175b8b44fadaf78316201031f229d736e

4 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 31 Oct 2019 01:50:23 +0000 (18:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7256e981ee4f567d1b09dce74e476375f4f58bb3
Auto-generated-cl: translation import

4 years agoSnap for 5969848 from ff9bcdbcd31d865ff2983dfb5946ad7d1322997e to qt-qpr2-release
android-build-team Robot [Sun, 27 Oct 2019 23:18:17 +0000 (23:18 +0000)]
Snap for 5969848 from ff9bcdbcd31d865ff2983dfb5946ad7d1322997e to qt-qpr2-release

Change-Id: I36da9e8fdf6f258b13e7a43836f8e9053334a638

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 27 Oct 2019 15:01:49 +0000 (08:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: I519674aef33bc822977cf0e00edf02aff7b8245f
Auto-generated-cl: translation import

4 years agoSnap for 5956190 from 476d82715afd6c42225b2a2896c02b461e2f0a46 to qt-qpr2-release
android-build-team Robot [Mon, 21 Oct 2019 22:42:46 +0000 (22:42 +0000)]
Snap for 5956190 from 476d82715afd6c42225b2a2896c02b461e2f0a46 to qt-qpr2-release

Change-Id: If43a85fb23469efb75a9fedc22a6a4c2a6032e9e

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 19 Oct 2019 07:50:29 +0000 (00:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0d35ecce542fee9f4f6367d2a11a4cca2d4b4b60
Auto-generated-cl: translation import

4 years agoMerge "Fix non responding slice toggling problem." into qt-qpr1-dev
TreeHugger Robot [Thu, 17 Oct 2019 01:32:14 +0000 (01:32 +0000)]
Merge "Fix non responding slice toggling problem." into qt-qpr1-dev

4 years agoSnap for 5936642 from dfd9aa99e5ce913274bbc30b298b4478c9c18210 to qt-qpr2-release
android-build-team Robot [Sat, 12 Oct 2019 23:10:36 +0000 (23:10 +0000)]
Snap for 5936642 from dfd9aa99e5ce913274bbc30b298b4478c9c18210 to qt-qpr2-release

Change-Id: I6cd6a48d020653521480872457fb1fefe46fceda

4 years agoString "CDME" is wrong
SongFerngWang [Thu, 10 Oct 2019 12:18:30 +0000 (20:18 +0800)]
String "CDME" is wrong

Bug: 142376028
Test: build pass
Change-Id: Ifaed6ca8aba8f34ecb27abb863aeaf679132934f

4 years agoSnap for 5925757 from 6fa03d4cadb18211cbb6a20ec1868282e23ca043 to qt-qpr2-release
android-build-team Robot [Tue, 8 Oct 2019 01:15:31 +0000 (01:15 +0000)]
Snap for 5925757 from 6fa03d4cadb18211cbb6a20ec1868282e23ca043 to qt-qpr2-release

Change-Id: I31cd9a30c80589a185b67ca923c4922fa0c0b7c5