OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Use PermissionControllerManager to get permission groups" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 02:39:13 +0000 (02:39 +0000)]
Merge "Use PermissionControllerManager to get permission groups" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 5 May 2019 06:45:30 +0000 (06:45 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 5 May 2019 04:38:56 +0000 (21:38 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I83ccb7a7e4790d44a1853ea67da9fb43cb84af78

5 years agoMerge "Gentle notifications screen" into qt-dev
Julia Reynolds [Sat, 4 May 2019 20:02:39 +0000 (20:02 +0000)]
Merge "Gentle notifications screen" into qt-dev

5 years agoGentle notifications screen
Julia Reynolds [Fri, 3 May 2019 02:16:05 +0000 (22:16 -0400)]
Gentle notifications screen

With lockscreen and status bar settings

Test: robo tests
Bug: 128445911
Change-Id: I46c5943d4d8dc1ee74b5b920239f259f5880a2d3

5 years agoMerge "Populate recent notifying apps from usage events" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 14:30:29 +0000 (14:30 +0000)]
Merge "Populate recent notifying apps from usage events" into qt-dev

5 years agoMerge "Format app data usage using IEC unit, not SI unit." into qt-dev
TreeHugger Robot [Sat, 4 May 2019 10:25:26 +0000 (10:25 +0000)]
Merge "Format app data usage using IEC unit, not SI unit." into qt-dev

5 years agoMerge "Update Battery Saver schedule to add order to seekbar" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 23:56:22 +0000 (23:56 +0000)]
Merge "Update Battery Saver schedule to add order to seekbar" into qt-dev

5 years agoFormat app data usage using IEC unit, not SI unit.
Fan Zhang [Fri, 3 May 2019 22:57:05 +0000 (15:57 -0700)]
Format app data usage using IEC unit, not SI unit.

Fixes: 131924586
Test: visual
Change-Id: Iedbd15fb9c98a5c93089708e40175cbf5572eeda

5 years agoMerge " Make the selected importance more prominent" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 22:20:28 +0000 (22:20 +0000)]
Merge " Make the selected importance more prominent" into qt-dev

5 years agoMark broken tests @Ignore.
Andrew Sapperstein [Fri, 3 May 2019 21:43:47 +0000 (14:43 -0700)]
Mark broken tests @Ignore.

Bug: 131921277
Test: robotests
Change-Id: I2dc1a4ecc41e07284710fbffc2a980aee805e745

5 years agoMerge "Fix themed settings icons." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 21:04:36 +0000 (21:04 +0000)]
Merge "Fix themed settings icons." into qt-dev

5 years agoPopulate recent notifying apps from usage events
Julia Reynolds [Thu, 2 May 2019 20:44:52 +0000 (16:44 -0400)]
Populate recent notifying apps from usage events

Which is the data source that the screen this widget
links to uses

Test: robotests
Fixes: 131641848
Change-Id: I02ce178823e72b3b3606ad4f7110587b6dc0afe3

5 years ago Make the selected importance more prominent
Julia Reynolds [Fri, 3 May 2019 19:14:06 +0000 (15:14 -0400)]
 Make the selected importance more prominent

Fixes: 129507563
Test: manual
Change-Id: Ic8280eb369d687385cff3a7122ce91d7051fa76c

5 years agoMerge "Update the deprecated Slice APIs to the new ones" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 17:05:12 +0000 (17:05 +0000)]
Merge "Update the deprecated Slice APIs to the new ones" into qt-dev

5 years agoFix themed settings icons.
Amin Shaikh [Wed, 1 May 2019 21:29:02 +0000 (17:29 -0400)]
Fix themed settings icons.

- Added android prefix for homeAsUpIndicator attribute
- Override ic_arrow_down_24dp from androidx
- Remove ic_lock drawable overlay
- Update date and time icon
- Dedupe ic_menu_add and ic_add_24dp

Bug: 131346125
Test: mp settings;
Change-Id: I7223249f2adccc5569a37e8b68cae5499e7c7620

5 years agoUpdate Battery Saver schedule to add order to seekbar
Salvador Martinez [Wed, 1 May 2019 20:18:43 +0000 (13:18 -0700)]
Update Battery Saver schedule to add order to seekbar

If the first time battery saver warning was the one causing
a change in settings global the radio button picker doesn't update
the preferences correctly and would put the seekbar at the top. This
explicitly adds an order to the seekbar so that if it gets updated
for some reason it will show up at the end again.

Test: atest BatterySaverScheduleSettingsTest
Bug: 131434758
Change-Id: Iebab5d176c8fbdaea078e13a71eff7e21408353b

5 years agoMerge "Add setting suggestion for style" into qt-dev
Beth Thibodeau [Fri, 3 May 2019 16:54:54 +0000 (16:54 +0000)]
Merge "Add setting suggestion for style" into qt-dev

5 years agoUpdate colors
Julia Reynolds [Thu, 2 May 2019 21:36:40 +0000 (17:36 -0400)]
Update colors

For night mode and a11y

Test: manual
Fixes: 129507563
Change-Id: Ic675cbe0aaf0ccbb18d57729c26b5b55ca907910

5 years agoUpdate the deprecated Slice APIs to the new ones
Jason Chiu [Fri, 3 May 2019 09:33:09 +0000 (17:33 +0800)]
Update the deprecated Slice APIs to the new ones

Fixes: 131880868
Test: build, visual, robotest
Change-Id: I2cbb8fe131ebb284dabc5a5d65e70db254691688

5 years agoMerge "Update face settings to match mocks" into qt-dev
Kevin Chyn [Fri, 3 May 2019 03:21:58 +0000 (03:21 +0000)]
Merge "Update face settings to match mocks" into qt-dev

5 years agoMerge "Add metrics categories for delete sims dialogs." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 02:48:30 +0000 (02:48 +0000)]
Merge "Add metrics categories for delete sims dialogs." into qt-dev

5 years agoMerge "Update title for metered preference" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 01:52:56 +0000 (01:52 +0000)]
Merge "Update title for metered preference" into qt-dev

5 years agoMerge "Delete dead tests." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 01:19:26 +0000 (01:19 +0000)]
Merge "Delete dead tests." into qt-dev

5 years agoUpdate face settings to match mocks
Kevin Chyn [Thu, 2 May 2019 23:59:12 +0000 (16:59 -0700)]
Update face settings to match mocks

Test: Builds

Fixes: 131660440
Change-Id: Ie75b67428be1e0504e3121bccb68f61e1fdbdb44

5 years agoMerge "[PasspointV2] Fix lint error" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 23:52:35 +0000 (23:52 +0000)]
Merge "[PasspointV2] Fix lint error" into qt-dev

5 years agoDelete dead tests.
Fan Zhang [Thu, 2 May 2019 23:24:05 +0000 (16:24 -0700)]
Delete dead tests.

These tests are broken for a while and we don't have owners to maintain
these tests. New tests will be written in robolectric.

Fixes: 131857690
Test: rebuild
Change-Id: I6ad2d7f1aa6bc904df5746b82cd8d9db3e93bd8f

5 years agoUpdate title for metered preference
Lei Yu [Thu, 2 May 2019 20:01:38 +0000 (13:01 -0700)]
Update title for metered preference

Fixes: 111859056
Test: Manual
Change-Id: I7cecb6fee3963607e33a8fd24d53e98c209f1495

5 years agoMerge "Tint plus icon in mobile networks list." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 22:07:36 +0000 (22:07 +0000)]
Merge "Tint plus icon in mobile networks list." into qt-dev

5 years agoMerge "Changed Content Capture title." into qt-dev
Felipe Leme [Thu, 2 May 2019 21:51:02 +0000 (21:51 +0000)]
Merge "Changed Content Capture title." into qt-dev

5 years agoMerge "Update battery saver footer to have learn more link" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 21:38:37 +0000 (21:38 +0000)]
Merge "Update battery saver footer to have learn more link" into qt-dev

5 years agoAdd metrics categories for delete sims dialogs.
Andrew Sapperstein [Thu, 2 May 2019 21:03:24 +0000 (14:03 -0700)]
Add metrics categories for delete sims dialogs.

Fixes: 131519375
Test: is metrics
Change-Id: I020e3d887fb0408617428d00386bb57318b6b175

5 years agoTint plus icon in mobile networks list.
Andrew Sapperstein [Thu, 2 May 2019 20:32:45 +0000 (13:32 -0700)]
Tint plus icon in mobile networks list.

Fixes: 131723134
Test: visual inspection
Change-Id: Ia6e85b99941604904e536735fadfd5c3e6ef0eba

5 years agoUpdate battery saver footer to have learn more link
Salvador Martinez [Fri, 26 Apr 2019 23:25:38 +0000 (16:25 -0700)]
Update battery saver footer to have learn more link

This will allow tapping on the Learn More text to take a user to
the support page for battery saver.

Bug: 129010739
Test: atest BatterySaverSettingsTest
Change-Id: Ifb758ea8c608a4051c093b5d1d43f9a039ab1294

5 years agoMerge "Update strings for Vibration" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 19:18:36 +0000 (19:18 +0000)]
Merge "Update strings for Vibration" into qt-dev

5 years agoMerge "Update dialog text for untethered BT device" into qt-dev
Lei Yu [Thu, 2 May 2019 17:18:04 +0000 (17:18 +0000)]
Merge "Update dialog text for untethered BT device" into qt-dev

5 years agoMerge "Can't switch navigation mode from search results" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 16:55:53 +0000 (16:55 +0000)]
Merge "Can't switch navigation mode from search results" into qt-dev

5 years agoChanged Content Capture title.
Felipe Leme [Thu, 2 May 2019 15:38:04 +0000 (08:38 -0700)]
Changed Content Capture title.

Fixes: 131169650
Test: m SettingsGoogle && adb sync && adb shell kill `pid com.android.settings` && \
      adb shell am start-activity -a android.settings.REQUEST_ENABLE_CONTENT_CAPTURE

Change-Id: I63a032a27f40e9f413121ba6cd5fc4b2e10da637

5 years agoAdd setting suggestion for style
Beth Thibodeau [Mon, 29 Apr 2019 21:59:54 +0000 (17:59 -0400)]
Add setting suggestion for style

Also added extra to the existing wallpaper suggestion so it opens
directly to that tab instead of the style tab

Test: atest com.android.settings.wallpaper.StyleSuggestionActivityTest
Fixes: 126230901

Change-Id: I50ca588627063194900dca8a9273baff4a44ca67

5 years agoMerge "Simplify user flow for setting default supervisor as PO" into qt-dev
Michael Wachenschwanz [Thu, 2 May 2019 14:35:20 +0000 (14:35 +0000)]
Merge "Simplify user flow for setting default supervisor as PO" into qt-dev

5 years agoMerge "Update sub-text in skip lock screen dialog" into qt-dev
Pasty Chang [Thu, 2 May 2019 14:15:36 +0000 (14:15 +0000)]
Merge "Update sub-text in skip lock screen dialog" into qt-dev

5 years agoMerge "Adding strings for themepicker suggestion" into qt-dev
Beth Thibodeau [Thu, 2 May 2019 12:29:15 +0000 (12:29 +0000)]
Merge "Adding strings for themepicker suggestion" into qt-dev

5 years agoUpdate strings for Vibration
Jason Chiu [Thu, 2 May 2019 10:28:42 +0000 (18:28 +0800)]
Update strings for Vibration

Fixes: 131345468
Test: visual
Change-Id: I7670ba96cf9b66e241a0003800a30c00f2585fc9

5 years agoMerge "Clean Safetyhub feature flag from Settings." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 08:44:39 +0000 (08:44 +0000)]
Merge "Clean Safetyhub feature flag from Settings." into qt-dev

5 years agoUpdate sub-text in skip lock screen dialog
pastychang [Thu, 2 May 2019 08:19:44 +0000 (16:19 +0800)]
Update sub-text in skip lock screen dialog

Bug: 131634814
Test: Manual
Change-Id: Iaae7c6c6616bfb8448539e5e18dda68a4754d9be

5 years agoCan't switch navigation mode from search results
Raff Tsai [Thu, 2 May 2019 06:34:45 +0000 (14:34 +0800)]
Can't switch navigation mode from search results

3 Navigation modes are mutually exclusive, we can't set all often
them on. Therefore we will now show them as slices.

Fixes: 131713601
Test: robolectric, manual
Change-Id: I52e94dffe15ed20a23a5e4cea68a40b66158b3dd

5 years agoClean Safetyhub feature flag from Settings.
yuanjiahsu [Tue, 30 Apr 2019 10:44:15 +0000 (18:44 +0800)]
Clean Safetyhub feature flag from Settings.

Clean all related code, need submit together.

Test: Manually
Bug: 118848485
Change-Id: Icaa0c0736dfa4a7d96aba396a884c9d3383a0f22

5 years agoSimplify user flow for setting default supervisor as PO
Michael Wachenschwanz [Thu, 25 Apr 2019 23:07:39 +0000 (16:07 -0700)]
Simplify user flow for setting default supervisor as PO

A follow up CL will clean up and separate the DeviceAdminAdd and
ProfileOwnerAdd logic (see b/131713071)

Bug: 124066840
Test: manual (overlay config_defaultSupervisionProfileOwnerComponent and
confirm only that component can be set as profile owner after setup is
complete)
Test: manual (install CtsVerifier, adb shell am start -n "com.android.cts.verifier/.admin.tapjacking.OverlayingActivity", user should not be able to click the "Allow" button)

Change-Id: Iccd931801145719110ce75421c35db80ea651779

5 years ago[Fix] prevent Talkback from reading out Bluetooth ImageView ContentDescription
timpeng [Fri, 12 Apr 2019 08:53:56 +0000 (16:53 +0800)]
[Fix] prevent Talkback from reading out Bluetooth ImageView ContentDescription

- set View.IMPORTANT_FOR_ACCESSIBILITY_NO to ImageView

Bug: 128396030
Test: RunSettingsRoboTests
Change-Id: I267921057ede734a3c9be7087f34c96631e04859

5 years agoUse PermissionControllerManager to get permission groups
Yi-Ling Chuang [Wed, 24 Apr 2019 13:15:11 +0000 (21:15 +0800)]
Use PermissionControllerManager to get permission groups

The mapping of permissions and permission groups may be changed upon
mainline module update, so we cannot reliably read from the platform.
PermissionControllerManager is created for this purpose, so we use it
to prevent from the outdated mapping instead of mapping them manually.

Bug: 117978938
Test: robotests

Change-Id: If8682796b8a30dee3b73572e977fade48d07eb2b

5 years ago[PasspointV2] Fix lint error
cosmohsieh [Thu, 2 May 2019 01:51:42 +0000 (09:51 +0800)]
[PasspointV2] Fix lint error

Lint error ... "Missing mandatory plural message forms: =1."
Add case one for plural string to prevent lint error, even though
this case should not happened.

Bug: 131688045
Test: manual
Change-Id: I1087b26495c71a6d167d7eaee1359d39c81cc59f

5 years agoMerge "Update Settings owners" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 01:44:49 +0000 (01:44 +0000)]
Merge "Update Settings owners" into qt-dev

5 years agoUpdate Settings owners
lindatseng [Wed, 1 May 2019 22:20:38 +0000 (15:20 -0700)]
Update Settings owners

Test: rebuild
Fixes: 131782410
Change-Id: I9f2b399efcd6b784325fcef66bde45a01417e5e8

5 years agoMerge "Update padding for panel" into qt-dev
Lei Yu [Wed, 1 May 2019 22:06:58 +0000 (22:06 +0000)]
Merge "Update padding for panel" into qt-dev

5 years agoMerge "Avoid NPE in app storage page" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 20:19:42 +0000 (20:19 +0000)]
Merge "Avoid NPE in app storage page" into qt-dev

5 years agoAdding strings for themepicker suggestion
Beth Thibodeau [Wed, 1 May 2019 20:08:06 +0000 (16:08 -0400)]
Adding strings for themepicker suggestion

Bug: 126230901
Test: mp settingsg
Change-Id: I2c94c455fedb0503f3f8a3e93dcdbbedb927c69b

5 years agoUpdate padding for panel
Lei Yu [Thu, 25 Apr 2019 20:01:23 +0000 (13:01 -0700)]
Update padding for panel

Reuse the slice style that is used by contextual homepage.

Fixes: 131253950
Test: Manual
Change-Id: Iec5fbaec7d992a3aa084f6bd7176ff2582f69757

5 years agoUpdate dialog text for untethered BT device
Lei Yu [Tue, 30 Apr 2019 00:50:35 +0000 (17:50 -0700)]
Update dialog text for untethered BT device

Fixes: 122672631
Test: RunSettingsRoboTests
Change-Id: I380308acbb7025461ef34aeec68e535189714bf3

5 years agoMerge "Importance preference updates" into qt-dev
Julia Reynolds [Wed, 1 May 2019 19:17:13 +0000 (19:17 +0000)]
Merge "Importance preference updates" into qt-dev

5 years agoMerge "Disable 'Enable DSDS' switch for always dsds mode" into qt-dev
Pengquan Meng [Wed, 1 May 2019 18:29:38 +0000 (18:29 +0000)]
Merge "Disable 'Enable DSDS' switch for always dsds mode" into qt-dev

5 years agoMerge "Fix modification of WifiDialog doesn't take effect on details page" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 15:48:41 +0000 (15:48 +0000)]
Merge "Fix modification of WifiDialog doesn't take effect on details page" into qt-dev

5 years agoImportance preference updates
Julia Reynolds [Tue, 30 Apr 2019 18:18:47 +0000 (14:18 -0400)]
Importance preference updates

- Use show on lockscreen setting
- Match design to notification shade guts

Test: robotests
Bug: 131290247
Bug: 128445911
Change-Id: I645b35191c8f22e751c264fd8ca13560f50b7582

5 years agoDisable 'Enable DSDS' switch for always dsds mode
Pengquan Meng [Wed, 1 May 2019 02:32:58 +0000 (19:32 -0700)]
Disable 'Enable DSDS' switch for always dsds mode

Disable the switch in RadioInfo when the ro.boot.hardware.dsds is set.

Bug: 131440879
Test: manual
Change-Id: Ib4d3111fc639f44295a82b8790a0b780293b1aa8

5 years agoAvoid NPE in app storage page
lindatseng [Tue, 30 Apr 2019 21:13:32 +0000 (14:13 -0700)]
Avoid NPE in app storage page

Adding null check for ProviderInfo. Skip adding count to map if
the Provider cannot be found, to avoid NPE.

Fixes: 128368170
Test: Manual
Change-Id: I3d3b5301e6ca25a671077c9b93ada89be46e23fd

5 years agoMerge "Fix null pointer in SubscriptionUtil" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 23:43:42 +0000 (23:43 +0000)]
Merge "Fix null pointer in SubscriptionUtil" into qt-dev

5 years agoMerge "Update settings gesture icon." into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 23:24:25 +0000 (23:24 +0000)]
Merge "Update settings gesture icon." into qt-dev

5 years agoMerge "Update "Play media to" display rule in SoundSetting" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 23:07:28 +0000 (23:07 +0000)]
Merge "Update "Play media to" display rule in SoundSetting" into qt-dev

5 years agoMerge "Create enable MMS notification." into qt-dev
Xiangyu/Malcolm Chen [Tue, 30 Apr 2019 23:05:25 +0000 (23:05 +0000)]
Merge "Create enable MMS notification." into qt-dev

5 years agoMerge "Restoring pinned shortcuts to original state after restore" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 21:51:35 +0000 (21:51 +0000)]
Merge "Restoring pinned shortcuts to original state after restore" into qt-dev

5 years agoMerge "Fix Battery Fix slice can not displayed" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 21:48:22 +0000 (21:48 +0000)]
Merge "Fix Battery Fix slice can not displayed" into qt-dev

5 years agoUpdate settings gesture icon.
Amin Shaikh [Tue, 30 Apr 2019 21:29:04 +0000 (17:29 -0400)]
Update settings gesture icon.

Fixes: 130148532
Test: visual
Change-Id: Ic5fe6dbd5ae726edcd9ad27e512c627aebf554a9

5 years agoMerge "Delete a broken test" into qt-dev
Fan Zhang [Tue, 30 Apr 2019 20:55:35 +0000 (20:55 +0000)]
Merge "Delete a broken test" into qt-dev

5 years agoMerge "Add synonym to "Add an account"" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 20:12:40 +0000 (20:12 +0000)]
Merge "Add synonym to "Add an account"" into qt-dev

5 years agoDelete a broken test
Fan Zhang [Tue, 30 Apr 2019 18:37:21 +0000 (11:37 -0700)]
Delete a broken test

The test has been broken for a while.

Fixes: 120505691
Test: robotest
Change-Id: I92537d1676ba1dc94595e87893ca7324d4740a70

5 years agoMerge "Let Settings app use InputMethodInfo#loadIcon()" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 18:31:13 +0000 (18:31 +0000)]
Merge "Let Settings app use InputMethodInfo#loadIcon()" into qt-dev

5 years agoRestoring pinned shortcuts to original state after restore
Sunny Goyal [Thu, 25 Apr 2019 00:11:24 +0000 (17:11 -0700)]
Restoring pinned shortcuts to original state after restore

Creating an no-op backup agent in settings. This ensures that
we get onRestoreFinished callback after restore is finished where we
can update all pinned shortcuts.

Bug: 110016648
Test: Verified backup->clear-data->restore path on device
Change-Id: Id14d0792d60ba08d97078a31a81d2b63ab8ce109

5 years agoFix null pointer in SubscriptionUtil
Salvador Martinez [Tue, 30 Apr 2019 16:56:25 +0000 (09:56 -0700)]
Fix null pointer in SubscriptionUtil

Sometimes we get null sub info which causes a crash. This just
makes it so that if we see that we treat it as inactive since
there isn't really a world where an active null sub info makes
sense.

Test: atest SubscriptionUtilTest
Bug: 131603073
Change-Id: Id5ecbecf011e19ff02d9465e0571b1d17c83de9a

5 years agoMerge "Add 'Erase SIM' to mobile network details page" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 16:47:54 +0000 (16:47 +0000)]
Merge "Add 'Erase SIM' to mobile network details page" into qt-dev

5 years agoMerge "Show mobile data slice in Search even no SIM card" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 11:05:37 +0000 (11:05 +0000)]
Merge "Show mobile data slice in Search even no SIM card" into qt-dev

5 years agoAdd synonym to "Add an account"
Mill Chen [Tue, 30 Apr 2019 09:13:50 +0000 (17:13 +0800)]
Add synonym to "Add an account"

To index the term "work profile" for "Add an account" setting, we added
a synonym to this setting.

Fixes: 111519999
Test: manual
Change-Id: Iabaac8d36433ef75790768fb46d14fe9b2553ad4

5 years agoMerge "Delete bad translation for a few strings" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 09:31:43 +0000 (09:31 +0000)]
Merge "Delete bad translation for a few strings" into qt-dev

5 years agoFix Battery Fix slice can not displayed
Raff Tsai [Tue, 30 Apr 2019 07:13:12 +0000 (15:13 +0800)]
Fix Battery Fix slice can not displayed

Fixes: 123174237
Test: manual
Change-Id: I3b349a27be5ecffbc64aaccb709c443f6ada875b

5 years agoMerge "Remove parent activity from TTS_SETTINGS" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 03:40:22 +0000 (03:40 +0000)]
Merge "Remove parent activity from TTS_SETTINGS" into qt-dev

5 years agoMerge "Update location app stats" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 02:50:58 +0000 (02:50 +0000)]
Merge "Update location app stats" into qt-dev

5 years agoMerge "Make UI smoothly when switch device in MediaOuput slice" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 01:52:37 +0000 (01:52 +0000)]
Merge "Make UI smoothly when switch device in MediaOuput slice" into qt-dev

5 years agoFix modification of WifiDialog doesn't take effect on details page
cosmohsieh [Sun, 21 Apr 2019 12:11:39 +0000 (20:11 +0800)]
Fix modification of WifiDialog doesn't take effect on details page

When clicking modify menu option in detiails page, modification on
metered or privacy preferences in the WifiDialog does not effect
back to details page but only changing internal data of WifiDialog.
Adding callback to update those two preferences.

Bug: 130775713
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: I74bfa5a9581dfae73894c3e9f73d1069a36fd16b

5 years agoLet Settings app use InputMethodInfo#loadIcon()
Yohei Yukawa [Tue, 30 Apr 2019 01:11:33 +0000 (18:11 -0700)]
Let Settings app use InputMethodInfo#loadIcon()

This is a follow up CL to my previous CL [1], which attempted to show
the most appropriate IME icon even when multiple IMEs are implemented
in a single APK.

This CL simplifies the way how IME icon is obtained in the Settings
app, by simply using InputMethodInfo#loadIcon(), which already does
what we want.

Notable user-visible behavior changes are:
 - Like before my previous CL was submitted, android:logo will not be
   used in the IME settings (again).
 - Icons shown in IME settings start having (user) badges like other
   settings pages.
 - If no icon is available in IME,
   PackageManager#getDefaultActivityIcon() will be used. This is
   actually consistent with other settings pages.

 [1]: I406ccc0d53e6ec69793c2fc8be8c6c1c90b34811
      2cae5b8952ff1864dd7f9f9508480629f4eb44d9

Bug: 28204635
Fix: 131432102
Test: Manually verified as follows.
  1. Build aosp_taimen-userdebug and flash it
  2. Install TestDPC.
  3. Set up a work profile
  4. Open Settings App -> System -> Languages & input
     -> Advanced -> Virtual keyboard for work
  5. Make sure the icon of "Android Keyboard (AOSP)" has a small badge.
  6. Tap "Manage keyboards"
  7. Make sure the icon of "Android Keyboard (AOSP)" has the same icon
     as the step 5.
  8. Open Settings App -> System -> Languages & input
     -> Virtual keyboard
  9. Make sure the icon of "Android Keyboard (AOSP)" does not have a
     small badge on it.
 10. Tap "Manage keyboards"
 11. Make sure the icon of "Android Keyboard (AOSP)" has the same icon
     as the step 9.
Change-Id: Ie9be1eb3071abcc2df7723ceb10d76fe458c4808

5 years agoMerge "Only shows two suggestion cards at once." into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 00:58:18 +0000 (00:58 +0000)]
Merge "Only shows two suggestion cards at once." into qt-dev

5 years agoMerge "Fix a crash in battery settings page" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 00:19:39 +0000 (00:19 +0000)]
Merge "Fix a crash in battery settings page" into qt-dev

5 years agoAdd 'Erase SIM' to mobile network details page
Antony Sargent [Fri, 26 Apr 2019 17:06:41 +0000 (10:06 -0700)]
Add 'Erase SIM' to mobile network details page

This adds a preference to the mobile network details page that lets a
user delete an eSIM profile.

Bug: 124254555
Test: make RunSettingsRoboTests
Change-Id: I1e266566afc36ff39bf1b1c6d1db674c7c6e8648

5 years agoDelete bad translation for a few strings
Fan Zhang [Mon, 29 Apr 2019 23:09:24 +0000 (16:09 -0700)]
Delete bad translation for a few strings

- wifi_calling_mode_choices
- wifi_calling_mode_choices_without_wifi_only

Fixes: 130333622
Test: rebuild
Change-Id: Ie879f914b4c720842115e2d266eb7c44f358c36a

5 years agoMerge "Replace the placeholder animation." into qt-dev
Leon Liao [Mon, 29 Apr 2019 23:03:02 +0000 (23:03 +0000)]
Merge "Replace the placeholder animation." into qt-dev

5 years agoFix a crash in battery settings page
Lei Yu [Mon, 29 Apr 2019 20:25:24 +0000 (13:25 -0700)]
Fix a crash in battery settings page

Regression from ag/7161923, in this case we should use onResume/onPause
pair. Also sort the method to fit android lifecycle.

Bug: 131615524
Test: RunSettingsRoboTests
Change-Id: I299032bfeb119dac293039917c6673dd4c0ef4e0

5 years agoRemove parent activity from TTS_SETTINGS
Fan Zhang [Mon, 29 Apr 2019 20:35:20 +0000 (13:35 -0700)]
Remove parent activity from TTS_SETTINGS

So back button takes user back within their original nav stack.

Fixes: 131395471
Test: manual
Change-Id: I144f4122dca2db6c416412737f9aa07507c5a45f

5 years agoMerge "Add null check to avoid settings crash" into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 20:26:26 +0000 (20:26 +0000)]
Merge "Add null check to avoid settings crash" into qt-dev

5 years agoCreate enable MMS notification.
Malcolm Chen [Fri, 19 Apr 2019 02:45:04 +0000 (19:45 -0700)]
Create enable MMS notification.

Adding a notification in SimSelectNotification that will be triggered
when receiving a enable MMS request. Tapping on the notificaiton will
lead to the subscription setting page.

Bug: 130222866
Test: manual -- have a test app that sends the intent when mobile
data is turned off. And verify that the heads-up notificaiton is shown
and that it will lead to subscription setting page.

Change-Id: Ia80e8e5ab20adf78a31647a23cb2ba8dac690e41

5 years agoMerge changes from topic "fingerprint-settings-after-enrollment" into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 18:03:45 +0000 (18:03 +0000)]
Merge changes from topic "fingerprint-settings-after-enrollment" into qt-dev

* changes:
  Show fingerprint preferences after enrolling from settings
  Run postEnroll() after enrolling from SUW

5 years agoMerge "Fix visibility and editability of importance fields" into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 17:04:02 +0000 (17:04 +0000)]
Merge "Fix visibility and editability of importance fields" into qt-dev

5 years agoMerge "Update DND strings - use pull-down shade" into qt-dev
TreeHugger Robot [Mon, 29 Apr 2019 16:50:25 +0000 (16:50 +0000)]
Merge "Update DND strings - use pull-down shade" into qt-dev

5 years agoMerge "Tweak paddings for apps filter in app info screen" into qt-dev
Fan Zhang [Mon, 29 Apr 2019 16:29:30 +0000 (16:29 +0000)]
Merge "Tweak paddings for apps filter in app info screen" into qt-dev