OSDN Git Service

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

5 years agoAdd null check to avoid settings crash
Beverly [Mon, 29 Apr 2019 13:52:37 +0000 (09:52 -0400)]
Add null check to avoid settings crash

Test: manual
Fixes: 131580180
Change-Id: I128d1b23ca33c06f049d8fe4ca3e56c5abefae5f

5 years agoUpdate DND strings - use pull-down shade
Beverly [Mon, 29 Apr 2019 12:52:21 +0000 (08:52 -0400)]
Update DND strings - use pull-down shade

- "Notification list" updated to "pull-down shade"
- DND text messages should be messages

Test: manual
Fixes: 131434487
Change-Id: I2740a462042867e58f190f4b49e1aa7a8f1cf126

5 years agoOnly shows two suggestion cards at once.
Yi-Ling Chuang [Mon, 29 Apr 2019 10:16:30 +0000 (18:16 +0800)]
Only shows two suggestion cards at once.

Displaying too many cards may overwhelm users, so limit
the number of suggestion cards that should be displayed to two.

Fixes: 126213965
Test: robotests
Change-Id: I17c43746f475b31121c5809e0e8c6cf932efb99d

5 years agoFix visibility and editability of importance fields
Julia Reynolds [Fri, 26 Apr 2019 16:56:50 +0000 (12:56 -0400)]
Fix visibility and editability of importance fields

- Block field should always be visible
- Locked by OEM: cannot block or change importance
- Locked by default app: cannot block, can change importance
- Locked by system app: cannot block, can change importance
- system app but blockable: can block, can change importance

Test: robotests
Fixes: 131248127
Change-Id: Ifa718c84573dd5125aefa4f672a79dc4f267d515

5 years agoMerge "Set QR scan activity to light theme in setup flow" into qt-dev
Pasty Chang [Mon, 29 Apr 2019 01:52:11 +0000 (01:52 +0000)]
Merge "Set QR scan activity to light theme in setup flow" into qt-dev

5 years agoShow fingerprint preferences after enrolling from settings
Ilya Matyukhin [Sun, 28 Apr 2019 22:10:02 +0000 (15:10 -0700)]
Show fingerprint preferences after enrolling from settings

Bug: 131231334
Test: tested on blueline
Change-Id: Ifd43f28001fcb42ec61a62ad6656d2da2a0629eb

5 years agoRun postEnroll() after enrolling from SUW
Ilya Matyukhin [Sun, 28 Apr 2019 07:29:32 +0000 (00:29 -0700)]
Run postEnroll() after enrolling from SUW

Bug: 131231334
Test: tested on blueline
Change-Id: I225725edb1c3379f2f3f5bc8b5cbe9adddb49f59

5 years agoAdding new strings needed for Enable MMS toggle.
Malcolm Chen [Thu, 18 Apr 2019 20:26:58 +0000 (13:26 -0700)]
Adding new strings needed for Enable MMS toggle.

Bug: 130222866
Test: build
Change-Id: If2a5cc20260fd2d1ed000e5c5531c2c11ab58b3c

5 years agoMerge "Show "Disconnected" instead of "Saved" in detail page summary" into qt-dev
Clown SHEN [Sat, 27 Apr 2019 06:42:45 +0000 (06:42 +0000)]
Merge "Show "Disconnected" instead of "Saved" in detail page summary" into qt-dev

5 years agoTweak paddings for apps filter in app info screen
tmfang [Wed, 24 Apr 2019 08:52:00 +0000 (16:52 +0800)]
Tweak paddings for apps filter in app info screen

Since we enlarge touch target size for settings spinner widget,
we need to tweak paddings of apps filters here.

Test: visual
Bug: 131060416
Change-Id: Ic6cc4f5d480f1fc34fdbecd86f82b324f9e75964

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 27 Apr 2019 06:01:25 +0000 (06:01 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 27 Apr 2019 04:51:43 +0000 (21:51 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I84b1d9a020529c12781b308c4bc7a489cd924de1

5 years agoMerge "Add a gap in the ordering for phone numbers." into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 23:00:39 +0000 (23:00 +0000)]
Merge "Add a gap in the ordering for phone numbers." into qt-dev

5 years agoMerge "Remove empty MNC filtering when retrieving available subscriptions" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 22:34:27 +0000 (22:34 +0000)]
Merge "Remove empty MNC filtering when retrieving available subscriptions" into qt-dev

5 years agoUpdate location app stats
Lifu Tang [Thu, 25 Apr 2019 21:41:41 +0000 (14:41 -0700)]
Update location app stats

- Count apps in both primary and work profiles
- Show the number of any location permitted app instead of background
  allowed apps on Location settings page
- Update the text at the top-level settings page

Bug: 129296799
Bug: 129358133
Bug: 129358508
Bug: 131432116
Test: build, flash, and test manually
Change-Id: I1a4284257a8a284140b81685efc98a2cc4a74619

5 years agoAdd a gap in the ordering for phone numbers.
Andrew Sapperstein [Fri, 26 Apr 2019 21:00:53 +0000 (14:00 -0700)]
Add a gap in the ordering for phone numbers.

Previously there was no gap which caused the second phone number to show below
Emergency info.

Fixes: 131378898
Test: visual inspection
Change-Id: If98d3442562d44f65a6e5ce896b71ee093d8616c

5 years agoRemove empty MNC filtering when retrieving available subscriptions
Antony Sargent [Fri, 26 Apr 2019 20:45:53 +0000 (13:45 -0700)]
Remove empty MNC filtering when retrieving available subscriptions

During the early phase of work on DSDS, we found that a hacky solution
to seeing duplicate subscriptions that are part of a logical group (eg
Google Fi) was to filter out the entries with empty MNC strings. It
turns out this breaks things for some legitimate eSIM subsctiptions, and
isn't needed anymore because of the fixes that landed for b/127833821.

Fixes: 130706446
Test: make RunSettingsRoboTests
Change-Id: Ic4472c1de3c3e2449139b3e2ffb20d11a0058e8a

5 years agoMerge "Remove "data usage" from search." into qt-dev
Andrew Sapperstein [Fri, 26 Apr 2019 20:28:06 +0000 (20:28 +0000)]
Merge "Remove "data usage" from search." into qt-dev

5 years agoMerge "Move SIM_SUB_INFO_SETTINGS to NetworkDashboardActivity." into qt-dev
Andrew Sapperstein [Fri, 26 Apr 2019 20:27:01 +0000 (20:27 +0000)]
Merge "Move SIM_SUB_INFO_SETTINGS to NetworkDashboardActivity." into qt-dev

5 years agoMerge "Fix toggle button is enabled state but can't click" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 20:00:48 +0000 (20:00 +0000)]
Merge "Fix toggle button is enabled state but can't click" into qt-dev

5 years agoMerge "Fix incorrect mapping to get subscriptioninfo" into qt-dev
Fan Zhang [Fri, 26 Apr 2019 19:57:09 +0000 (19:57 +0000)]
Merge "Fix incorrect mapping to get subscriptioninfo" into qt-dev

5 years agoMove SIM_SUB_INFO_SETTINGS to NetworkDashboardActivity.
Andrew Sapperstein [Thu, 25 Apr 2019 17:31:37 +0000 (10:31 -0700)]
Move SIM_SUB_INFO_SETTINGS to NetworkDashboardActivity.

Remove the entry point for SimSettings and redirect any intents to the new UI.

Filed b/131324863 to track deleting the code.

Fixes: 128859223
Bug: 131324863
Test: adb shell am start -a com.android.settings.sim.SIM_SUB_INFO_SETTINGS
shows main connectivity screens

Change-Id: I4a4ed5c34d231eaab929a923c7fcbbfc1e0ed6f3

5 years agoRemove "data usage" from search.
Andrew Sapperstein [Thu, 25 Apr 2019 22:20:14 +0000 (15:20 -0700)]
Remove "data usage" from search.

Fixes: 131324402
Test: verified manually
Change-Id: Ib72902c3eaa1f2427e9c1c835ba2939f28cf7a0d

5 years agoFix incorrect mapping to get subscriptioninfo
Fan Zhang [Wed, 24 Apr 2019 21:56:00 +0000 (14:56 -0700)]
Fix incorrect mapping to get subscriptioninfo

getActiveSubscriptionInfoList() returns a list of active subscription.
It doesn't 1:1 mapping with slotId. So it is not correct to use slotId
as index to get subscriptioninfo from list.
Use framework interface getActiveSubscriptionInfoForSimSlotIndex() to
get subscriptioninfo per slotid instead.

Fixes: 129038597
Test: robotest
Change-Id: If4277c425e6145e0e3ba716551d0dce46cdb61ab

5 years agoMerge "Hide number label if info is opportunistic" into qt-dev
Lei Yu [Fri, 26 Apr 2019 16:54:02 +0000 (16:54 +0000)]
Merge "Hide number label if info is opportunistic" into qt-dev

5 years agoMerge "Avoid IMEI overrided by getSummary() for dual SIM condition" into qt-dev
Andy Chou [Fri, 26 Apr 2019 15:04:25 +0000 (15:04 +0000)]
Merge "Avoid IMEI overrided by getSummary() for dual SIM condition" into qt-dev

5 years agoMerge "Always show backup settings (even if backup is deactivated)." into qt-dev
Chandan Nath [Fri, 26 Apr 2019 08:14:53 +0000 (08:14 +0000)]
Merge "Always show backup settings (even if backup is deactivated)." into qt-dev

5 years agoShow mobile data slice in Search even no SIM card
Sunny Shao [Wed, 24 Apr 2019 14:22:35 +0000 (22:22 +0800)]
Show mobile data slice in Search even no SIM card

- return slice like in airplan mode when mobile data disabled in the getSlice
  of the MobileDataSlice
- replace CONDITIONALLY_UNAVAILABLE by DISABLED_DEPENDENT_SETTING in the
  getAvailabilityStatus of the MobileDataPreferenceController
- remove the duplicated mobile data item by update data_usage_cellular.xml

Fixes: 130650621
Test: robotest
Change-Id: I42c0983c27d4edb17fcdce7ca386023911254d2d

5 years agoAvoid IMEI overrided by getSummary() for dual SIM condition
andychou [Wed, 24 Apr 2019 13:57:53 +0000 (21:57 +0800)]
Avoid IMEI overrided by getSummary() for dual SIM condition

IMEI information will be overrided by getSummary() and cause second slot IMEI is
oerrided by first slot.
Avoid IMEI is override by first slot information.

Bug: 131124169
Test: Test with dual SIM device and atest
ImeiInfoPreferenceControllerTest, ImeiInfoDialogControllerTest pass

Change-Id: Ia0a028aa0103867f42fff610129cf7ce2d3910b7

5 years agoMerge "Fix media output slice is empty even BT device is paired" into qt-dev
TreeHugger Robot [Fri, 26 Apr 2019 00:46:48 +0000 (00:46 +0000)]
Merge "Fix media output slice is empty even BT device is paired" into qt-dev

5 years agoReplace the placeholder animation.
Leon Liao [Tue, 23 Apr 2019 05:25:52 +0000 (13:25 +0800)]
Replace the placeholder animation.

Update the placeholder animation in Accessibility Settings
'Time to read' and 'Time to take action'.

Bug: 119283926
Bug: 129090045
Test: Screenshot | RunSettingsRoboTests
Change-Id: I215facd35cb3b9d0fc90a5e267368de2edddf0dc

5 years agoMerge "Add timestamp to recent used apps" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 22:54:20 +0000 (22:54 +0000)]
Merge "Add timestamp to recent used apps" into qt-dev

5 years agoMerge changes I74d677dc,I17f4db85 into qt-dev
Kevin Chyn [Thu, 25 Apr 2019 22:48:02 +0000 (22:48 +0000)]
Merge changes I74d677dc,I17f4db85 into qt-dev

* changes:
  Only gray out remove button after positive button is pressed
  Check PackageManager before getting system service

5 years agoHide number label if info is opportunistic
Lei Yu [Thu, 25 Apr 2019 21:56:59 +0000 (14:56 -0700)]
Hide number label if info is opportunistic

Fixes: 125855323
Test: RunSettingsRoboTests
Change-Id: I6f77d65691319097c9bf56232710ba12fa7360f3

5 years agoMerge "Update color filter for battery saver mode" into qt-dev
Lei Yu [Thu, 25 Apr 2019 21:42:56 +0000 (21:42 +0000)]
Merge "Update color filter for battery saver mode" into qt-dev

5 years agoMerge "Include always ask button in SIM picker dialog" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 21:02:13 +0000 (21:02 +0000)]
Merge "Include always ask button in SIM picker dialog" into qt-dev

5 years agoMerge "Add keywords for battery saver schedule" into qt-dev
TreeHugger Robot [Thu, 25 Apr 2019 21:00:28 +0000 (21:00 +0000)]
Merge "Add keywords for battery saver schedule" into qt-dev