OSDN Git Service

android-x86/packages-apps-Settings.git
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

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

4 years agoMerge "Update text on notification on/off toggles for clarity"
TreeHugger Robot [Mon, 11 Nov 2019 19:24:42 +0000 (19:24 +0000)]
Merge "Update text on notification on/off toggles for clarity"

4 years agoRemove filtering from "recent sent" notifs preference
Julia Reynolds [Mon, 11 Nov 2019 16:33:18 +0000 (11:33 -0500)]
Remove filtering from "recent sent" notifs preference

The 'has a launch intent' filter was inherited from 'recent apps'
preference but an app doesn't need a launch intent in order to
send notifications. Also, the next screen didn't apply the filter
so the data wouldn't always match up.

Also make the preferencecontroller more robust to failure.

Test: manual, trigger a notification from a non-launchable app
and makes sure it appears in the list
Fixes: 141380329
Fixes: 142956641

Change-Id: Icf3abead82c572bbffe6e06ecf51a8e02c11c982

4 years agoUpdate text on notification on/off toggles for clarity
Julia Reynolds [Mon, 11 Nov 2019 15:23:04 +0000 (10:23 -0500)]
Update text on notification on/off toggles for clarity

Test: manual
Fixes: 141011559
Change-Id: I06b8519bb5a80496d84889f8c5264bff098ebefd

4 years agoMerge "[Settings] Apply proxy design to data usage"
Bonian Chen [Mon, 11 Nov 2019 06:33:31 +0000 (06:33 +0000)]
Merge "[Settings] Apply proxy design to data usage"

4 years ago[Settings] Apply proxy design to data usage
Bonian Chen [Thu, 7 Nov 2019 23:40:35 +0000 (07:40 +0800)]
[Settings] Apply proxy design to data usage

Enable proxy to subscription manager in data usage UI.

Bug: 141833767
Test: manual
make RunSettingsRoboTests -j ROBOTEST_FILTER=BillingCyclePreferenceTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=CellDataPreferenceTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageListTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageUtilsTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=MobileDataEnabledListenerTest

Change-Id: Id119738dc16ece8767c088b9a0794997e4b0334f

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 10 Nov 2019 09:07:23 +0000 (01:07 -0800)]
Import translations. DO NOT MERGE

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

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: 8134971f00 -s ours
Bill Yi [Sat, 9 Nov 2019 15:55:28 +0000 (07:55 -0800)]
[automerger skipped] Import translations. DO NOT MERGE am: 8134971f00 -s ours
am: 9d83dbcd08 -s ours
am skip reason: subject contains skip directive

Change-Id: I577e8bacc6a7778ac741d5a539c3df06589891e3

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 9 Nov 2019 15:48:14 +0000 (07:48 -0800)]
[automerger skipped] Import translations. DO NOT MERGE
am: 8134971f00 -s ours
am skip reason: subject contains skip directive

Change-Id: I138449ceec7c49f369cb04853365b071f32e8a64

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 agoSoftApCallback using executor vs handler
James Mattis [Tue, 5 Nov 2019 00:57:32 +0000 (16:57 -0800)]
SoftApCallback using executor vs handler

Updating classes to support making SoftApCallback methods available to @SystemAPI including
the API for registration of a SoftApCallback which includes a change to
now use executor vs handler.

Bug: 143564153
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherPreferenceControllerTest
Also tested manually on a Hawk.

Change-Id: I952ad10dd88b7d97b3cd86b269b8f67b00b1fa15

4 years agoMerge "Don't disable DND permission settings for apps that have disabled NLS"
Jay Aliomer [Fri, 8 Nov 2019 16:38:12 +0000 (16:38 +0000)]
Merge "Don't disable DND permission settings for apps that have disabled NLS"

4 years agoDon't disable DND permission settings for apps that have disabled NLS
Jay Aliomer [Thu, 7 Nov 2019 19:06:37 +0000 (14:06 -0500)]
Don't disable DND permission settings for apps that have disabled NLS

ZenAccessController.getPackagesRequestingNotificationPolicyAccess
was including disabled packages.
We change this behavior to exclude any disabled package

Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.applications.specialaccess.zenaccess.ZenAccessControllerTest"
Change-Id: I354b8f0bdbf602d1f35233d5003ce09f01df3cb2
Fix: 141318822

4 years agoMerge "Use the getBidiFormattedPhoneNumber to replace getFormattedPhoneNumber"
TreeHugger Robot [Fri, 8 Nov 2019 11:47:21 +0000 (11:47 +0000)]
Merge "Use the getBidiFormattedPhoneNumber to replace getFormattedPhoneNumber"

4 years ago[automerger skipped] Fix the MMS messages toggle preference not working am: b377713547
Sunny Shao [Fri, 8 Nov 2019 11:01:27 +0000 (03:01 -0800)]
[automerger skipped] Fix the MMS messages toggle preference not working am: b377713547
am: ac3b465e96 -s ours
am skip reason: change_id Ida65d04b095b7d2556fa5bdd93be7a67cba77206 with SHA1 054e0eab87 is in history

Change-Id: I8fbd43096c78d21848e8d7856e44b9590d95f576

4 years agoFix the MMS messages toggle preference not working
Sunny Shao [Fri, 8 Nov 2019 10:55:28 +0000 (02:55 -0800)]
Fix the MMS messages toggle preference not working
am: b377713547

Change-Id: I8f37573cca361a826d786d2d9693185b051d266c

4 years agoUse the getBidiFormattedPhoneNumber to replace getFormattedPhoneNumber
Sunny Shao [Fri, 8 Nov 2019 03:44:55 +0000 (11:44 +0800)]
Use the getBidiFormattedPhoneNumber to replace getFormattedPhoneNumber

Fixes: 123698996
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.PhoneNumberPreferenceControllerTest
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.simstatus.SimStatusDialogControllerTest
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.network.telephony.RenameMobileNetworkDialogFragmentTest
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.homepage.contextualcards.deviceinfo.DeviceInfoSliceTest
Change-Id: I5dfb71ceb87a8f658ef7fbceacf460ef8d35593a

4 years agoFilter invalid uid from Battery list
Raff Tsai [Fri, 8 Nov 2019 08:23:51 +0000 (16:23 +0800)]
Filter invalid uid from Battery list

- Normally uid is start from 0. That was a bug in framework during
some time period, and was not reproduced later. We just remove this
kind of invalid item from UI.

Fixes: 141404334
Test: manual
Change-Id: I964a8b8af18ac6a5d8d2dea89722ea466e27e6ad

4 years agoMerge "Remove duplicate layout mobile_network_settings_container_v2"
TreeHugger Robot [Fri, 8 Nov 2019 08:22:15 +0000 (08:22 +0000)]
Merge "Remove duplicate layout mobile_network_settings_container_v2"

4 years agoMerge "Fix the NPE in the AnimationController"
TreeHugger Robot [Fri, 8 Nov 2019 05:46:37 +0000 (05:46 +0000)]
Merge "Fix the NPE in the AnimationController"

4 years agoRemove duplicate layout mobile_network_settings_container_v2
Raff Tsai [Fri, 8 Nov 2019 04:04:16 +0000 (12:04 +0800)]
Remove duplicate layout mobile_network_settings_container_v2

- MobileNetworkActivity can use settings_base_layout.xml as layout.
- MobileNetworkActivity need to use Theme.Settings.Home because
it requests Window.FEATURE_NO_TITLE. Otherwise MobileNetworkActivity
will show title defined in xml first then change to new title.

Fixes: 123794771
Test: rebuild, manual
Change-Id: I39ae25b6d335437ffddb2f1562e7a0347db97108

4 years agoMerge "Modify account page multiple profile UI"
TreeHugger Robot [Fri, 8 Nov 2019 03:48:32 +0000 (03:48 +0000)]
Merge "Modify account page multiple profile UI"

4 years agoFix the NPE in the AnimationController
Sunny Shao [Fri, 8 Nov 2019 02:53:53 +0000 (10:53 +0800)]
Fix the NPE in the AnimationController

Add the null checking in onBindViewHolder

Fixes: 144099781
Test: compilation
Change-Id: Iafb8f758d7d71ce9fa67f4ad94d5a8a417ad674a

4 years agoMerge "Settings: Use public API for mac randomization support"
Roshan Pius [Thu, 7 Nov 2019 23:17:57 +0000 (23:17 +0000)]
Merge "Settings: Use public API for mac randomization support"

4 years agoMerge "Remove unused resources"
TreeHugger Robot [Thu, 7 Nov 2019 11:27:36 +0000 (11:27 +0000)]
Merge "Remove unused resources"

4 years agoRemove unused resources
Raff Tsai [Thu, 7 Nov 2019 10:10:14 +0000 (18:10 +0800)]
Remove unused resources

Bug: 123794771
Test: rebuild, robolectric
Change-Id: I22f43220cc9ad4ec2074af425b0da75f59e470a4

4 years agoMerge "Refactor SettingsSearchIndexablesProvider."
Stanley Wang [Thu, 7 Nov 2019 09:00:35 +0000 (09:00 +0000)]
Merge "Refactor SettingsSearchIndexablesProvider."

4 years agoModify account page multiple profile UI
Raff Tsai [Thu, 7 Nov 2019 06:53:54 +0000 (14:53 +0800)]
Modify account page multiple profile UI

- Extend the tab width to 50%
- Hide category title in two tab mode

Bug: 141601408
Test: manual
Change-Id: I73a1a64c704f7a74c200803efef97cdac5534aa7

4 years agoRefactor SettingsSearchIndexablesProvider.
Stanley Wang [Thu, 7 Nov 2019 02:36:04 +0000 (10:36 +0800)]
Refactor SettingsSearchIndexablesProvider.

- Extract the adding raw indexable columns
  to createIndexableRawColumnObjects method.
- Refactor the getInjectionIndexableRawData
  method for query injection data.

Test: manual
Fixes: 144007045
Change-Id: I9c028818dcaff165c3b7f8d495f6002370cd30fa

4 years agoMerge "Add accessibility timeout video and illustration"
Kevin Chang [Thu, 7 Nov 2019 01:12:40 +0000 (01:12 +0000)]
Merge "Add accessibility timeout video and illustration"

4 years agoSettings: Use public API for mac randomization support
Roshan Pius [Wed, 30 Oct 2019 16:51:50 +0000 (09:51 -0700)]
Settings: Use public API for mac randomization support

Also, don't directly reference the default tether ssid overlay. This info
should always be retrieved from wifiManager.
This ensures that we don't use wifi overlays in settings.

Bug: 143464763
Test: atest com.android.server.wifi
Change-Id: I893a4ca0f4243e1eb6f9c8bef810d0b4a493fb88

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 agoMerge "[Settings] Hidden API remove - WFC mode settings"
Bonian Chen [Wed, 6 Nov 2019 06:05:21 +0000 (06:05 +0000)]
Merge "[Settings] Hidden API remove - WFC mode settings"

4 years agoMerge "Remove mobile network v1"
TreeHugger Robot [Wed, 6 Nov 2019 05:01:41 +0000 (05:01 +0000)]
Merge "Remove mobile network v1"

4 years agoMerge "Fix Settings crashed on tapping on notification animation video"
TreeHugger Robot [Wed, 6 Nov 2019 04:50:52 +0000 (04:50 +0000)]
Merge "Fix Settings crashed on tapping on notification animation video"

4 years ago[Settings] Hidden API remove - WFC mode settings
Bonian Chen [Wed, 6 Nov 2019 02:57:01 +0000 (10:57 +0800)]
[Settings] Hidden API remove - WFC mode settings

Change API from getWfcMode/setWfcMode into APIs within ImsMmTelManager.

Bug: 140542283
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingPreferenceControllerTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSettingsForSubTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSliceHelperTest
atest WifiCallingSettingUiTest

Change-Id: I2ee01852cb4ee90fe9db256d3333f461cc070da5

4 years agoMerge "Fix a11y issue, the description of navigation buttons should be the same."
Stanley Wang [Wed, 6 Nov 2019 03:31:41 +0000 (03:31 +0000)]
Merge "Fix a11y issue, the description of navigation buttons should be the same."

4 years agoMerge "Integrated SearchIndexableResources interface in Settings"
TreeHugger Robot [Wed, 6 Nov 2019 01:21:38 +0000 (01:21 +0000)]
Merge "Integrated SearchIndexableResources interface in Settings"

4 years agoMerge "Refactor usages of getAliasName to use getAlias in Settings" am: eed0f8816b...
Rahul Sabnis [Tue, 5 Nov 2019 19:47:05 +0000 (11:47 -0800)]
Merge "Refactor usages of getAliasName to use getAlias in Settings" am: eed0f8816b am: 4f85f36e7d
am: 2a60040d29

Change-Id: If24afc1a316da64fbf49ad08ee761e5af7dde4b7

4 years agoMerge "Settings: fix apn_editor carrier_enabled summaryOff string" am: 9d29833485...
Felipe Leon [Tue, 5 Nov 2019 18:58:53 +0000 (10:58 -0800)]
Merge "Settings: fix apn_editor carrier_enabled summaryOff string" am: 9d29833485 am: 6ee2108bdb
am: 980d003f40

Change-Id: I484d34231ff23a25e41010c2deffdb46bf539ec5

4 years agoMerge "Refactor usages of getAliasName to use getAlias in Settings" am: eed0f8816b
Rahul Sabnis [Tue, 5 Nov 2019 18:49:43 +0000 (10:49 -0800)]
Merge "Refactor usages of getAliasName to use getAlias in Settings" am: eed0f8816b
am: 4f85f36e7d

Change-Id: I726b2cd3025d2bee79320b420af570ee30eb3700

4 years agoMerge "Refactor usages of getAliasName to use getAlias in Settings"
Rahul Sabnis [Tue, 5 Nov 2019 18:42:41 +0000 (10:42 -0800)]
Merge "Refactor usages of getAliasName to use getAlias in Settings"
am: eed0f8816b

Change-Id: Icb70620c2bc7e84fb19196c26d8c576220eefe13

4 years agoMerge "Refactor usages of getAliasName to use getAlias in Settings"
Treehugger Robot [Tue, 5 Nov 2019 18:20:50 +0000 (18:20 +0000)]
Merge "Refactor usages of getAliasName to use getAlias in Settings"

4 years agoMerge "Settings: fix apn_editor carrier_enabled summaryOff string" am: 9d29833485
Felipe Leon [Tue, 5 Nov 2019 18:14:35 +0000 (10:14 -0800)]
Merge "Settings: fix apn_editor carrier_enabled summaryOff string" am: 9d29833485
am: 6ee2108bdb

Change-Id: I86c907e3899841df85cc7433133d1430be7f7c5e

4 years agoMerge "Settings: fix apn_editor carrier_enabled summaryOff string"
Felipe Leon [Tue, 5 Nov 2019 17:47:14 +0000 (09:47 -0800)]
Merge "Settings: fix apn_editor carrier_enabled summaryOff string"
am: 9d29833485

Change-Id: Ie05efff7a54b001dbe7c86b03f00091c86245ab0

4 years agoMerge "Settings: fix apn_editor carrier_enabled summaryOff string"
Treehugger Robot [Tue, 5 Nov 2019 17:15:45 +0000 (17:15 +0000)]
Merge "Settings: fix apn_editor carrier_enabled summaryOff string"

4 years agoAdd accessibility timeout video and illustration
Kevin Chang [Tue, 5 Nov 2019 11:32:05 +0000 (19:32 +0800)]
Add accessibility timeout video and illustration

Add the new assets of accessibility timeout.

Bug: 143861394
Test: Visual
Change-Id: I0e4ba60c934191afbcaddb81e6d07d37244dce64

4 years agoMerge "Add the license announcement in the drawable files of Accessibility warning...
Kevin Chang [Tue, 5 Nov 2019 11:27:29 +0000 (11:27 +0000)]
Merge "Add the license announcement in the drawable files of Accessibility warning dialog"

4 years agoRemove mobile network v1
Raff Tsai [Tue, 5 Nov 2019 08:30:46 +0000 (16:30 +0800)]
Remove mobile network v1

Fixes: 142920912
Test: rebuild, robolectric
Change-Id: Ib365ba712af62729ca35abbc370aef087ce52a90

4 years agoIntegrated SearchIndexableResources interface in Settings
Raff Tsai [Fri, 27 Sep 2019 05:45:23 +0000 (13:45 +0800)]
Integrated SearchIndexableResources interface in Settings

- New SearchIndexableResources interface returns SearchIndexableBundle,
we don't need reflection to get SearchIndexableProvider

Bug: 135053028
Test: robolectric, check database search_index.db items
Change-Id: I5ed3416ccf72ef3d38db817fcb4aff7502649ed4

4 years agoFix Settings crashed on tapping on notification animation video
Raff Tsai [Tue, 5 Nov 2019 05:24:08 +0000 (13:24 +0800)]
Fix Settings crashed on tapping on notification animation video

- When preference goes back from pause state, it doesn't call through
onBindViewHolder, caused surface view doesn't attach to Mediaplayer.
Call attachView in initAnimationController and set SurfaceView to
MediaPlayer when onSurfaceTextureUpdated to fix the issue.

Fixes: 143905693
Test: manual, robolectric
Change-Id: I0eceead2e4c90ca176ef0f35937898f9b9be6232

4 years agoMerge "Leverage the bahavior of Back key to the Up button of action bar"
TreeHugger Robot [Tue, 5 Nov 2019 08:25:43 +0000 (08:25 +0000)]
Merge "Leverage the bahavior of Back key to the Up button of action bar"

4 years ago[automerger skipped] Merge "Fix Battery page animation" into qt-qpr1-dev am: 8b348f1f30
Raff Tsai [Tue, 5 Nov 2019 06:21:04 +0000 (22:21 -0800)]
[automerger skipped] Merge "Fix Battery page animation" into qt-qpr1-dev am: 8b348f1f30
am: 5d0c49e9ef -s ours
am skip reason: change_id I167ac87c9bd83035e00d4991961599e76f4f69e1 with SHA1 648ada031d is in history

Change-Id: Ibbc4555497debc8b6280e6e2c1e4ca4da30c6437

4 years agoMerge "Fix Battery page animation" into qt-qpr1-dev
Raff Tsai [Tue, 5 Nov 2019 06:15:20 +0000 (22:15 -0800)]
Merge "Fix Battery page animation" into qt-qpr1-dev
am: 8b348f1f30

Change-Id: I922be1ac21e17c9ae71d7721401a08bbd56ca020

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 agoMerge "[Settings] Manual network select without aggregate"
Bonian Chen [Tue, 5 Nov 2019 05:33:53 +0000 (05:33 +0000)]
Merge "[Settings] Manual network select without aggregate"

4 years agoLeverage the bahavior of Back key to the Up button of action bar
Jason Chiu [Tue, 5 Nov 2019 04:30:58 +0000 (12:30 +0800)]
Leverage the bahavior of Back key to the Up button of action bar

Fixes: 138765370
Fixes: 134395822
Fixes: 132049537
Test: manual, robotest
Change-Id: I2099a232049bb9f0fffc18755fca8d5c7d7b7ef0

4 years ago[Settings] Manual network select without aggregate
Bonian Chen [Tue, 29 Oct 2019 09:07:17 +0000 (17:07 +0800)]
[Settings] Manual network select without aggregate

Remove the feature of aggregation when performing manual network
selection.

Bug: 141287649
Test: Manual
make RunSettingsRoboTests -j ROBOTEST_FILTER=NetworkSelectSettingsTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=NetworkOperatorPreferenceTest

Change-Id: I813ad31f9d5cf310877442f5558e236671ab5d23

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 agoAdd the license announcement in the drawable files of Accessibility warning dialog
Kevin Chang [Tue, 5 Nov 2019 02:42:13 +0000 (10:42 +0800)]
Add the license announcement in the drawable files of Accessibility warning dialog

Add the license announcement in the drawable files to make it consistent to other
files.

Bug: 143917082
Test: Maunal
Change-Id: I892a4194b2b4b46dd64165a08da97cc41b3bd4f8

4 years agoFix a11y issue, the description of navigation buttons should be the same.
Stanley Wang [Tue, 5 Nov 2019 02:59:00 +0000 (10:59 +0800)]
Fix a11y issue, the description of navigation buttons should be the same.

Change the description of navigation button to "Back".

Test: manual
Fixes: 139650858
Change-Id: I8729129b769e98b7a2fbaa6aa24cebcedc8d720b

4 years agoMerge "[Wi-Fi][A11Y] Fix TalkBack lose focus in WifiSettings & WifiSettings2"
Arc Wang [Tue, 5 Nov 2019 02:01:36 +0000 (02:01 +0000)]
Merge "[Wi-Fi][A11Y] Fix TalkBack lose focus in WifiSettings & WifiSettings2"

4 years agoMerge "Schematize Telephony System Properties"
TreeHugger Robot [Mon, 4 Nov 2019 23:44:33 +0000 (23:44 +0000)]
Merge "Schematize Telephony System Properties"

4 years agoMerge "Remove redundant code in certificate pref controllers"
TreeHugger Robot [Mon, 4 Nov 2019 18:42:52 +0000 (18:42 +0000)]
Merge "Remove redundant code in certificate pref controllers"

4 years agoMerge "[Setting] MobileNetwork UI performance"
Bonian Chen [Mon, 4 Nov 2019 14:18:50 +0000 (14:18 +0000)]
Merge "[Setting] MobileNetwork UI performance"

4 years ago[Setting] MobileNetwork UI performance
Bonian Chen [Mon, 4 Nov 2019 11:14:21 +0000 (19:14 +0800)]
[Setting] MobileNetwork UI performance

1. Create a singleton to reduce number of SubscriptionManager accessing
2. Listening to Airplane mode change to clear cache value

Bug: 141833767
Test: Manual
make RunSettingsRoboTests -j ROBOTEST_FILTER=MobileNetworkActivityTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=GlobalSettingsChangeListenerTest

Change-Id: Icd76fd9bcef7a7822400bfe42b0d40f5bd920eed

4 years agoMerge "Fix the crashed problem at the AccountSyncSettings"
TreeHugger Robot [Mon, 4 Nov 2019 12:09:30 +0000 (12:09 +0000)]
Merge "Fix the crashed problem at the AccountSyncSettings"

4 years agoMerge "Fix Weird floating "add language" item"
TreeHugger Robot [Mon, 4 Nov 2019 10:41:40 +0000 (10:41 +0000)]
Merge "Fix Weird floating "add language" item"

4 years agoFix Weird floating "add language" item
Raff Tsai [Mon, 4 Nov 2019 09:34:02 +0000 (17:34 +0800)]
Fix Weird floating "add language" item

- Base theme has android:clipToPadding=false attribute. It let user
UI draw under navigation bar but also cause this problem. Add
android:clipToPadding=true in layout to fix the problem.

Fixes: 142108980
Test: manual
Change-Id: Ibe60b348a3c7c01d9786612ceac23a47a78a208a

4 years agoMerge "[Settings] MobileNetworkActivity Refactor"
Bonian Chen [Mon, 4 Nov 2019 09:20:43 +0000 (09:20 +0000)]
Merge "[Settings] MobileNetworkActivity Refactor"

4 years agoMerge "Add query dynamic indexable data to SettingsSearchIndexablesProvider"
Stanley Wang [Mon, 4 Nov 2019 08:01:05 +0000 (08:01 +0000)]
Merge "Add query dynamic indexable data to SettingsSearchIndexablesProvider"

4 years ago[Settings] MobileNetworkActivity Refactor
Bonian Chen [Mon, 4 Nov 2019 02:36:39 +0000 (10:36 +0800)]
[Settings] MobileNetworkActivity Refactor

Split MobileNetworkActivity into 2 files.
Enable testing through ActivityScenario

Bug: 141833767
Test: manual
make RunSettingsRoboTests -j ROBOTEST_FILTER=MobileNetworkActivityTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=ActiveSubsciptionsListenerTest

Change-Id: I9f0f80f5edda53196ce0795113506495e8980e99

4 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 3 Nov 2019 03:12:32 +0000 (03:12 +0000)]
Merge "Import translations. DO NOT MERGE"

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: 9db5fcb2ff -s ours
Bill Yi [Sun, 3 Nov 2019 03:02:26 +0000 (20:02 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 9db5fcb2ff -s ours
am: a42528ed7a -s ours
am skip reason: subject contains skip directive

Change-Id: I3dd281d7513df197605ef85b08bc9ee7fe2b1bbe

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sun, 3 Nov 2019 02:55:55 +0000 (19:55 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 9db5fcb2ff -s ours
am skip reason: subject contains skip directive

Change-Id: I4e714f19ed19ab025c231efe6a1db51b960f6d1f

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 agoImport translations. DO NOT MERGE
Bill Yi [Sat, 2 Nov 2019 23:57:54 +0000 (16:57 -0700)]
Import translations. DO NOT MERGE

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

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

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

4 years agoMerge "Revert "Remove attention controller"" into qt-qpr1-dev am: 1876b8c6dd
Kevin Chyn [Fri, 1 Nov 2019 17:14:32 +0000 (10:14 -0700)]
Merge "Revert "Remove attention controller"" into qt-qpr1-dev am: 1876b8c6dd
am: ca51533d56

Change-Id: I7f1e7b3ddc83ce806d826bfd2ff40b89c44bc386

4 years agoRevert "Update attention string" am: 44efb41d98
Kevin Chyn [Fri, 1 Nov 2019 17:14:28 +0000 (10:14 -0700)]
Revert "Update attention string" am: 44efb41d98
am: 3ba07e6fa5

Change-Id: I22040f4f595dc0f1a5d7355b3da13cd2d8f527c4

4 years agoRemove redundant code in certificate pref controllers
Victor Hsieh [Fri, 1 Nov 2019 16:59:51 +0000 (09:59 -0700)]
Remove redundant code in certificate pref controllers

mPreferenceKey in BasePreferenceController is set via the second
argument of the constructor and has a getter. It doesn't look necessary
to override the getter to return the key. The given one also looks
inconsistent.

Test: atest com.android.settings.security
Bug: 139173976
Bug: 112038744
Change-Id: I6e20b46675308f7dbb8f82f7e372bf94f21e4bed

4 years agoMerge "Revert "Remove attention controller"" into qt-qpr1-dev
Kevin Chyn [Fri, 1 Nov 2019 17:06:20 +0000 (10:06 -0700)]
Merge "Revert "Remove attention controller"" into qt-qpr1-dev
am: 1876b8c6dd

Change-Id: I5282deec73015da2920c0b429e1e23c5f97d4fbe

4 years agoRevert "Update attention string"
Kevin Chyn [Fri, 1 Nov 2019 17:06:15 +0000 (10:06 -0700)]
Revert "Update attention string"
am: 44efb41d98

Change-Id: I915a682b72a47256fa1b0e9ea8611fdbca8be89b

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 agoAdd query dynamic indexable data to SettingsSearchIndexablesProvider
Stanley Wang [Fri, 1 Nov 2019 08:15:23 +0000 (16:15 +0800)]
Add query dynamic indexable data to SettingsSearchIndexablesProvider

- Add getDynamicSearchIndexableRawFromProvider method.
- Extract the injection indexable part to the
  getInjectionIndexableRawData method.
- Extract the getting indexable provider part to the
  getIndexableProviderValues method.

Test: manual
Fixes: 143741131
Change-Id: Idbf5b5419c0b78e0586e9c8d611dd51013eb0971

4 years agoSchematize Telephony System Properties
Inseob Kim [Thu, 13 Dec 2018 07:49:49 +0000 (16:49 +0900)]
Schematize Telephony System Properties

Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Bug: 141246285
Test: lunch blueline-userdebug; m checkbuild
Change-Id: Ic4f16a4475eb2870dcaeec41b38de90a0f6473bb

4 years agoRemove mVideoPaused from VideoPreference
Raff Tsai [Fri, 1 Nov 2019 02:37:27 +0000 (10:37 +0800)]
Remove mVideoPaused from VideoPreference

- We destoryed the MediaPlayer when VideoPreference is onPause().
When VideoPreference is onResumed, MediaPlayer always start from
pause state, we don't need a data save/restore current video state.

Bug: 143270527
Test: robolectric, manual
Change-Id: I544e933e4237f6d92aeff8a7eb04b52e89d74a4a

4 years ago[Wi-Fi][A11Y] Fix TalkBack lose focus in WifiSettings & WifiSettings2
Arc Wang [Thu, 31 Oct 2019 06:39:27 +0000 (14:39 +0800)]
[Wi-Fi][A11Y] Fix TalkBack lose focus in WifiSettings & WifiSettings2

Use stable ID feature of RecycleView to keep preference focus.

Bug: 126132618
Test: WifiSettingsTest
      WifiSettings2Test
      manual visual

Change-Id: Id73157b0935186c9a59d1ef68190d853f671ebc2

4 years ago[automerger skipped] DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889...
Xin Li [Thu, 31 Oct 2019 21:08:02 +0000 (14:08 -0700)]
[automerger skipped] DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: c73fd84126
am: ccfed7891d -s ours
am skip reason: subject contains skip directive

Change-Id: Ic75a00232ef7200a76832f406fbb63f2e117214b

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 agoDO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
Xin Li [Thu, 31 Oct 2019 20:21:17 +0000 (13:21 -0700)]
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
am: c73fd84126

Change-Id: I63830094ee961fda25aaed356a428d041de6d672

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: f54c040bde -s ours
Bill Yi [Thu, 31 Oct 2019 18:13:44 +0000 (11:13 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: f54c040bde -s ours
am: a928396136 -s ours
am skip reason: subject contains skip directive

Change-Id: I3e330ccdbb09073f305ff0d8ff3742793c59ad02

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Thu, 31 Oct 2019 18:07:43 +0000 (11:07 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: f54c040bde -s ours
am skip reason: subject contains skip directive

Change-Id: I0847a6249e54b4e78f50937e2ea65f99c4305720

4 years agoMerge "Add AnimatedVectorDrawable support for VideoPreference"
TreeHugger Robot [Thu, 31 Oct 2019 16:57:31 +0000 (16:57 +0000)]
Merge "Add AnimatedVectorDrawable support for VideoPreference"

4 years agoAdd AnimatedVectorDrawable support for VideoPreference
Raff Tsai [Thu, 31 Oct 2019 06:03:34 +0000 (14:03 +0800)]
Add AnimatedVectorDrawable support for VideoPreference

- We are planning to use animation vector drawable to replace mp4
file to reduce apk size
- Add vectorAnimation attr in VideoPreference
- Delegate VideoPreference media control to AnimationController

Bug: 143270527
Test: manual, robolectric
Change-Id: Ia5859f928a9082085cdf715c762f964e1c99e003

4 years agoNew method implementation of BaseSearchIndexProvider for dynamic index.
Stanley Wang [Thu, 31 Oct 2019 06:17:32 +0000 (14:17 +0800)]
New method implementation of BaseSearchIndexProvider for dynamic index.

Implement the new method getDynamicRawDataToIndex.

Test: manual
Fixes: 143664054
Change-Id: I1cc68e6ef6a4e03d8dc0b00d422029627c955bdf

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 agoMerge "Fix Settings creating too many threads unexpectedly"
TreeHugger Robot [Thu, 31 Oct 2019 01:26:09 +0000 (01:26 +0000)]
Merge "Fix Settings creating too many threads unexpectedly"