OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Added account avatar in the end of search bar"
Fan Zhang [Fri, 9 Nov 2018 20:39:00 +0000 (20:39 +0000)]
Merge "Added account avatar in the end of search bar"

5 years agoMerge "Add dev option to force desktop mode"
Andrii Kulian [Fri, 9 Nov 2018 19:25:19 +0000 (19:25 +0000)]
Merge "Add dev option to force desktop mode"

5 years agoMerge "Use preference for about phone page instead of injection."
Fan Zhang [Fri, 9 Nov 2018 18:47:22 +0000 (18:47 +0000)]
Merge "Use preference for about phone page instead of injection."

5 years agoAdded account avatar in the end of search bar
Sunny Shao [Mon, 5 Nov 2018 07:14:39 +0000 (15:14 +0800)]
Added account avatar in the end of search bar

Launched the adding account when click no account icon on search bar
Retreived the avatar of the account and show in the end of the search bar
Added getAccountSettingsDeeplinkIntent api into the AccountFeatureProvider

Bug: 118691898
Test: robotest
Change-Id: I25d69b8f4b6cf138f5e20fc22ce4ff26357bc107

5 years agoMerge "Update new UI layout of Conditional cards"
TreeHugger Robot [Fri, 9 Nov 2018 17:49:25 +0000 (17:49 +0000)]
Merge "Update new UI layout of Conditional cards"

5 years agoMerge "Modified the PrintJobSettingsFragment"
Stanley Wang [Fri, 9 Nov 2018 09:40:08 +0000 (09:40 +0000)]
Merge "Modified the PrintJobSettingsFragment"

5 years agoMerge changes from topic "entity_ui"
TreeHugger Robot [Fri, 9 Nov 2018 05:51:21 +0000 (05:51 +0000)]
Merge changes from topic "entity_ui"

* changes:
  Do not show installation status on Q
  New UI design for entity header on Q

5 years agoUpdate new UI layout of Conditional cards
Mill Chen [Thu, 8 Nov 2018 10:55:01 +0000 (18:55 +0800)]
Update new UI layout of Conditional cards

Bug: 113451905
Test: visual
Change-Id: I20ec526bd2b5b2679cd7e0e4388a2a897fe6a24d

5 years agoMerge "Add a config flag so OEMs can disable avatar mixin"
TreeHugger Robot [Fri, 9 Nov 2018 02:28:22 +0000 (02:28 +0000)]
Merge "Add a config flag so OEMs can disable avatar mixin"

5 years agoDo not show installation status on Q
tmfang [Thu, 8 Nov 2018 09:34:38 +0000 (17:34 +0800)]
Do not show installation status on Q

Test: robotest, visual
Bug: 116340579
Change-Id: I0b414f3faffe8a96cccb310abca74c585c9ac1f2

5 years agoNew UI design for entity header on Q
tmfang [Wed, 17 Oct 2018 19:21:36 +0000 (03:21 +0800)]
New UI design for entity header on Q

- Implement a new entity header on Q.
- The new layout can be used for small screen,
  so delete useless layout.

Test: visual
Change-Id: I08eee26daef7ba707d6479eec501ddbe3e211370
Fixes: 116340579

5 years agoMerge "Fix issue that read-only apns can be edited" am: e871464053 am: 6b0237ebfb
Youming Ye [Fri, 9 Nov 2018 01:47:59 +0000 (17:47 -0800)]
Merge "Fix issue that read-only apns can be edited" am: e871464053 am: 6b0237ebfb
am: 502ad46dc1

Change-Id: I6bd527b0fb0b63393d5ddf8414257f543a532805

5 years agoMerge "Fix issue that read-only apns can be edited" am: e871464053
Youming Ye [Fri, 9 Nov 2018 01:32:00 +0000 (17:32 -0800)]
Merge "Fix issue that read-only apns can be edited" am: e871464053
am: 6b0237ebfb

Change-Id: Id45080ae655a90bbdc3bf1601bc4aff33c42de3e

5 years agoMerge "Fix issue that read-only apns can be edited"
Youming Ye [Fri, 9 Nov 2018 01:20:26 +0000 (17:20 -0800)]
Merge "Fix issue that read-only apns can be edited"
am: e871464053

Change-Id: Iab9783bfc462e5232df260f701c8f05e099bf55e

5 years agoMerge "Rank cards in descending score when loading from db."
TreeHugger Robot [Fri, 9 Nov 2018 01:13:53 +0000 (01:13 +0000)]
Merge "Rank cards in descending score when loading from db."

5 years agoMerge "Fix issue that read-only apns can be edited"
Youming Ye [Fri, 9 Nov 2018 01:00:35 +0000 (01:00 +0000)]
Merge "Fix issue that read-only apns can be edited"

5 years agoMerge "Do not tint app-icon of admin"
TreeHugger Robot [Fri, 9 Nov 2018 00:11:27 +0000 (00:11 +0000)]
Merge "Do not tint app-icon of admin"

5 years agoRank cards in descending score when loading from db.
Fan Zhang [Thu, 8 Nov 2018 23:13:37 +0000 (15:13 -0800)]
Rank cards in descending score when loading from db.

Test: robotest
Change-Id: Ic40f6ed9e702a60f51d4ec6700e663f1689f0009

5 years agoAdd a config flag so OEMs can disable avatar mixin
Fan Zhang [Thu, 8 Nov 2018 22:53:37 +0000 (14:53 -0800)]
Add a config flag so OEMs can disable avatar mixin

Not all devices have account, OEMs should be able to disable this
feature if they want.

Bug: 117509285
Test: robotests
Change-Id: I3b03a04cff6ff0ec6c31763ac1829b119531e489

5 years agoUse preference for about phone page instead of injection.
Fan Zhang [Thu, 8 Nov 2018 22:11:13 +0000 (14:11 -0800)]
Use preference for about phone page instead of injection.

It's faster than tile injection. The fragment comes from Settings
itself, we don't have to use to injection.

Bug: 118168552
Test: robotest
Change-Id: If6a79dd73f8a51dbb21338a40f22dc8b8f8c8cb8

5 years agoMerge "packages/apps/Settings: Add logic and strings to support WPA3 and OWE"
Hai Shalom [Thu, 8 Nov 2018 22:30:10 +0000 (22:30 +0000)]
Merge "packages/apps/Settings: Add logic and strings to support WPA3 and OWE"

5 years agoMerge "Replace some configs with CarrierConfig"
Pengquan Meng [Thu, 8 Nov 2018 21:31:57 +0000 (21:31 +0000)]
Merge "Replace some configs with CarrierConfig"

5 years agoMerge "Loading suggestions via legacy SuggestionService sometimes"
Fan Zhang [Thu, 8 Nov 2018 20:35:06 +0000 (20:35 +0000)]
Merge "Loading suggestions via legacy SuggestionService sometimes"

5 years agoMerge "Clean up bluetooth while driving code."
Fan Zhang [Thu, 8 Nov 2018 20:16:43 +0000 (20:16 +0000)]
Merge "Clean up bluetooth while driving code."

5 years agoMerge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support""
TreeHugger Robot [Thu, 8 Nov 2018 18:33:41 +0000 (18:33 +0000)]
Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support""

5 years agoDo not tint app-icon of admin
Philip P. Moltmann [Thu, 8 Nov 2018 18:23:41 +0000 (10:23 -0800)]
Do not tint app-icon of admin

Only if no app-icon is used a tint should be applied to the ic_info
icon.

Change-Id: I92332110f99d14e86dc01700fa00b189c1d7d8ad
Fixes: 118879012
Test: Looked at dialog with default icon and with app-icon

5 years agoMerge "Implemen WiFi MAC randomization api for WiFi MAC randomization preference."
Cosmo Hsieh [Thu, 8 Nov 2018 06:45:47 +0000 (06:45 +0000)]
Merge "Implemen WiFi MAC randomization api for WiFi MAC randomization preference."

5 years agoMerge "Delete Directory access Settings."
TreeHugger Robot [Thu, 8 Nov 2018 02:14:23 +0000 (02:14 +0000)]
Merge "Delete Directory access Settings."

5 years agoClean up bluetooth while driving code.
Fan Zhang [Wed, 7 Nov 2018 23:10:15 +0000 (15:10 -0800)]
Clean up bluetooth while driving code.

Test: robotests
Change-Id: I50aedc61a9a7836672e934e188837dbe49c64be2

5 years agoAdd dev option to force desktop mode
Andrii Kulian [Fri, 19 Oct 2018 18:24:47 +0000 (11:24 -0700)]
Add dev option to force desktop mode

Bug: 112451761
Test: DesktopModePreferenceControllerTest
Test: FreeformWindowsPreferenceControllerTest
Change-Id: I7df995d1bd8731b813cfa0c72c4dc6d35973e939

5 years ago[automerger skipped] Merge "DO NOT MERGE Fix summary text for advanced button." into...
Fan Zhang [Wed, 7 Nov 2018 21:11:42 +0000 (13:11 -0800)]
[automerger skipped] Merge "DO NOT MERGE Fix summary text for advanced button." into pi-dev am: 0eea3b6c9e
am: 16d5d7872c  -s ours

Change-Id: I6e69ee49fd7581ee3b1d5398260ac0bb3c8980e3

5 years agoMerge "DO NOT MERGE Fix summary text for advanced button." into pi-dev
Fan Zhang [Wed, 7 Nov 2018 20:59:32 +0000 (12:59 -0800)]
Merge "DO NOT MERGE Fix summary text for advanced button." into pi-dev
am: 0eea3b6c9e

Change-Id: I25c2e6859a5a62997e6e23ffdf7dbd95f0486313

5 years agoMerge "DO NOT MERGE Fix summary text for advanced button." into pi-dev
Fan Zhang [Wed, 7 Nov 2018 20:44:59 +0000 (20:44 +0000)]
Merge "DO NOT MERGE Fix summary text for advanced button." into pi-dev

5 years agoLoading suggestions via legacy SuggestionService sometimes
Fan Zhang [Mon, 5 Nov 2018 23:40:32 +0000 (15:40 -0800)]
Loading suggestions via legacy SuggestionService sometimes

When legacy_suggestion flag is turned on, load Suggestions from
SuggestionService instead of contextual homepage, because contextual
homepage infrastructure might not be availble on all devices.

Bug: 118842099
Test: robo
Change-Id: I91710c005e11be5a9b3dd39ceff670106e7f80c3

5 years ago[automerger skipped] Fix crash when starting daydream setting with wrong context...
Fan Zhang [Wed, 7 Nov 2018 19:14:46 +0000 (11:14 -0800)]
[automerger skipped] Fix crash when starting daydream setting with wrong context am: d9c6692f25
am: 75fbb4511c  -s ours

Change-Id: I302bb9c60b9f0b0b32965f00db0222a68be17690

5 years agoFix crash when starting daydream setting with wrong context
Fan Zhang [Wed, 7 Nov 2018 18:51:48 +0000 (10:51 -0800)]
Fix crash when starting daydream setting with wrong context
am: d9c6692f25

Change-Id: I723b66eced5ace06f5821463c3dd783a18496327

5 years agoMerge "Update proto for contextual_card_list."
Fan Zhang [Wed, 7 Nov 2018 18:15:39 +0000 (18:15 +0000)]
Merge "Update proto for contextual_card_list."

5 years agoMerge "Update new UI of conditional cards"
TreeHugger Robot [Wed, 7 Nov 2018 17:40:08 +0000 (17:40 +0000)]
Merge "Update new UI of conditional cards"

5 years agoMove "About Phone" to bottom of Settings main IA, above "Tips & Support"
Edgar Wang [Wed, 7 Nov 2018 16:56:21 +0000 (00:56 +0800)]
Move "About Phone" to bottom of Settings main IA, above "Tips & Support"

Bug: 118168552
Test: robotests
Change-Id: I0a0f03bdb27d9eea48eb758496eefeebcbc57b6c

5 years agoUpdate new UI of conditional cards
Mill Chen [Mon, 5 Nov 2018 09:20:22 +0000 (17:20 +0800)]
Update new UI of conditional cards

- Add half-width and full-width layouts for conditional cards
- Keep origin strings of conditional cards, that could make conditional
cards truncate its title and summary in half-width card.
- Add default value of isHalfWidth to each condition controller.

Bug: 113451905
Test: robotests, visual
Change-Id: Ib0055f32c4ab9e73c0e0a57c6b0ef586d52942e0

5 years agoImplemen WiFi MAC randomization api for WiFi MAC randomization
cosmohsieh [Wed, 7 Nov 2018 07:59:39 +0000 (15:59 +0800)]
Implemen WiFi MAC randomization api for WiFi MAC randomization
preference.

Use WifiConfiguration.macRandomizationSetting to get/set config.

Bug: 117957974
Test: RunSettingsRoboTests
Change-Id: I33f3f0003159b86e44e25e041ed5e41c58add6bd

5 years agoMerge "Fix Settings crash after disabling Settings Suggestion"
TreeHugger Robot [Wed, 7 Nov 2018 07:46:35 +0000 (07:46 +0000)]
Merge "Fix Settings crash after disabling Settings Suggestion"

5 years agoMerge "Launch WfcActivation with subscription ID" am: bd57f94a4c am: 74fe4a9177
Clown SHEN [Wed, 7 Nov 2018 07:39:50 +0000 (23:39 -0800)]
Merge "Launch WfcActivation with subscription ID" am: bd57f94a4c am: 74fe4a9177
am: 4f2055500a

Change-Id: I326052d639276b89859770fbe110a73f80c4a9fc

5 years agoMerge "Launch WfcActivation with subscription ID" am: bd57f94a4c
Clown SHEN [Wed, 7 Nov 2018 07:35:41 +0000 (23:35 -0800)]
Merge "Launch WfcActivation with subscription ID" am: bd57f94a4c
am: 74fe4a9177

Change-Id: Ib61988a9f84ed10d4ac0d6b1a0d8b7d4f8897224

5 years agoMerge "Launch WfcActivation with subscription ID"
Clown SHEN [Wed, 7 Nov 2018 07:30:23 +0000 (23:30 -0800)]
Merge "Launch WfcActivation with subscription ID"
am: bd57f94a4c

Change-Id: Id76cb09a81158ce069f5200b99c19b1c9840f9f8

5 years agoMerge "Launch WfcActivation with subscription ID"
Clown SHEN [Wed, 7 Nov 2018 07:09:27 +0000 (07:09 +0000)]
Merge "Launch WfcActivation with subscription ID"

5 years agoFix Settings crash after disabling Settings Suggestion
Raff Tsai [Mon, 5 Nov 2018 08:10:19 +0000 (16:10 +0800)]
Fix Settings crash after disabling Settings Suggestion

- Settings Suggestion App is responsible for searching, we can not
prevent user disable it. Hide search feature if user disable it.

Fixes: 118805907
Fixes: 117921464
Test: manual
Change-Id: I61c47c52265a6efd79ef2fa60272bf6513e678b1

5 years agoMerge "Adjust lookup table mechanism to support new UI of conditional card"
TreeHugger Robot [Wed, 7 Nov 2018 03:00:49 +0000 (03:00 +0000)]
Merge "Adjust lookup table mechanism to support new UI of conditional card"

5 years agoMerge "Use inline radio buttons for Prevent Ringing"
TreeHugger Robot [Wed, 7 Nov 2018 01:52:47 +0000 (01:52 +0000)]
Merge "Use inline radio buttons for Prevent Ringing"

5 years agoMerge "Increase battery app list maximum size to 20"
Lei Yu [Wed, 7 Nov 2018 00:54:22 +0000 (00:54 +0000)]
Merge "Increase battery app list maximum size to 20"

5 years agoAdjust lookup table mechanism to support new UI of conditional card
Mill Chen [Fri, 2 Nov 2018 08:27:23 +0000 (16:27 +0800)]
Adjust lookup table mechanism to support new UI of conditional card

Use layout resource id as the return value of getItemViewType
in the ContextualCardsAdapter to make sure the RecyclerView could
work normally, and adjust the lookup table mechanism to meet the
current design as well.

Bug: 113451905112578070
Test: visual, robotest
Change-Id: I8fa299e44025a0b71b6990d020e7f0683c153337

5 years agoUpdate proto for contextual_card_list.
Fan Zhang [Tue, 6 Nov 2018 21:46:03 +0000 (13:46 -0800)]
Update proto for contextual_card_list.

Bug: 118842350
Test: rebuild
Change-Id: I838738f56c8793a8e4d6adf43bc812777edbcd88

5 years agoFix crash when starting daydream setting with wrong context
Fan Zhang [Tue, 6 Nov 2018 23:21:07 +0000 (15:21 -0800)]
Fix crash when starting daydream setting with wrong context

The context must be a UI context. This is a new requirement in P.

Change-Id: I3e2de5068f44010da7d57af030e9f029dd97a7f8
Merged-In: I28874f296da617f4cedf6706b0663b76671f1780
Fixes: 111375261
Fixes: 113312592
Test: robotests

5 years agoReplace some configs with CarrierConfig
Pengquan Meng [Mon, 5 Nov 2018 22:01:11 +0000 (14:01 -0800)]
Replace some configs with CarrierConfig

Replace the following config with CarrierConfig
- config_enabled_lte
- config_support_tdscdma
- config_support_tdscdma_on_roaming_networks
- carrier settings activity package/class name

Bug: 115429501
Test: make -j40 ROBOTEST_FILTER=telephony RunSettingsRoboTests
Change-Id: I3d973f926813c01fff6fcff50b3392c4eff69eb8

5 years agoCheck accounts in all profiles on account detail dashboard
Antony Sargent [Mon, 5 Nov 2018 22:56:28 +0000 (14:56 -0800)]
Check accounts in all profiles on account detail dashboard

In cl/5074783 I fixed a problem with account deletion where the account
didn't appear to be deleted even when it was. Part of that fix broke the
ability to make changes to work profile accounts - this CL fixes that by
making sure not to early exit the account detail dashboard unless we've
checked the accounts owned by all profiles for the user.

Bug: 117965642
Test: make -j40 RunSettingsRoboTests
Change-Id: Id034418beb4aec8bd4d10191b4924509d27e55d4

5 years agoMerge "Added card_dismissed field into cards table"
Fan Zhang [Tue, 6 Nov 2018 18:44:56 +0000 (18:44 +0000)]
Merge "Added card_dismissed field into cards table"

5 years agoMerge "Make ContextualCardLoader do entire loading upon fragment's onStart()"
Fan Zhang [Tue, 6 Nov 2018 17:27:50 +0000 (17:27 +0000)]
Merge "Make ContextualCardLoader do entire loading upon fragment's onStart()"

5 years agoUse inline radio buttons for Prevent Ringing
Beverly [Thu, 1 Nov 2018 22:08:26 +0000 (18:08 -0400)]
Use inline radio buttons for Prevent Ringing

Test: atest PreventRingingGesturePreferenceControllerTest
Fixes: 79867902

Change-Id: I3c9f949e038bba98e5be972adc01f35f5513432a

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 222dca5b7c -s ours
Bill Yi [Tue, 6 Nov 2018 15:11:46 +0000 (07:11 -0800)]
[automerger skipped] Import translations. DO NOT MERGE am: 222dca5b7c  -s ours
am: b7d0d2cf2d  -s ours

Change-Id: I429ed1f39a1bdbd319971c0c79a6944d477f576e

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Tue, 6 Nov 2018 15:07:33 +0000 (07:07 -0800)]
[automerger skipped] Import translations. DO NOT MERGE
am: 222dca5b7c  -s ours

Change-Id: I36cfe2ffff510c8e4d3d96bf4f463d21ef00b24a

5 years agoAdded card_dismissed field into cards table
Sunny Shao [Tue, 6 Nov 2018 12:07:12 +0000 (20:07 +0800)]
Added card_dismissed field into cards table

Added card_dismissed field to keep user dismissal behavior and filter it when cards loaded

Bug: 113783548
Test: manual test
Change-Id: I27549eca95c2e49fcc92fa59a5c02da73814a522

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 6 Nov 2018 12:15:12 +0000 (04:15 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie15195c81e11f67f4bd72be18c6af0d273666ceb

5 years agoMake ContextualCardLoader do entire loading upon fragment's onStart()
Emily Chuang [Tue, 6 Nov 2018 11:56:42 +0000 (19:56 +0800)]
Make ContextualCardLoader do entire loading upon fragment's onStart()

For dismissal mechanism, we will have to get information about those
dismissed cards that are stored in Card DB with flag "dismiss" to filter
them out. Currently we only do the entire loading in fragment's
onCreate(), so only when the fragment is recreated users can get the new
data. Now we are changing it to onStart() and make the loader restart so
we are able to show the latest cards.

Change-Id: I4c0be297232f026b46feb8084084816e1acc8f11
Fixes: 119090460
Bug: 113783548
Test: visual

5 years agoMerge "Architecture review of Copyable Slice"
Stanley Wang [Tue, 6 Nov 2018 05:00:05 +0000 (05:00 +0000)]
Merge "Architecture review of Copyable Slice"

5 years agoArchitecture review of Copyable Slice
Stanley Wang [Wed, 17 Oct 2018 04:07:55 +0000 (12:07 +0800)]
Architecture review of Copyable Slice

Design doc: https://drive.google.com/open?id=1NJPd_282H4195HUGJH5cGJO_Jrcz1Vl6AAw_VQOtGq0

Fixes:  118398321
Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.slice

Change-Id: Ic6762e58698a994d16a5de1778b4035ae430a256

5 years agoMerge changes from topic "refactor-security-location"
TreeHugger Robot [Tue, 6 Nov 2018 02:01:17 +0000 (02:01 +0000)]
Merge changes from topic "refactor-security-location"

* changes:
  Rename title of Security page
  Move LocationSettings to top level page.

5 years agoMerge "Enforce all the SliceBackgroundWorkers being singletons at syntax level"
TreeHugger Robot [Tue, 6 Nov 2018 00:55:54 +0000 (00:55 +0000)]
Merge "Enforce all the SliceBackgroundWorkers being singletons at syntax level"

5 years agopackages/apps/Settings: Add logic and strings to support WPA3 and OWE
Hai Shalom [Tue, 16 Oct 2018 21:17:15 +0000 (14:17 -0700)]
packages/apps/Settings: Add logic and strings to support WPA3 and OWE

Add and update Wi-Fi security strings, and add logic to enable WPA3
and OWE. Modified WPA2-PSK to WPA2-Personal, and added WPA3-Personal,
Enhanced Open and WPA3-Enterprise.

Bug: 112195778
Test: Basic functional tests
Change-Id: Ia97761a7f0a9e2fee768dfaf3578a2f1090d29c6

5 years agoMerge "Clarify notification dots/icons strings"
TreeHugger Robot [Mon, 5 Nov 2018 22:29:31 +0000 (22:29 +0000)]
Merge "Clarify notification dots/icons strings"

5 years agoEnforce all the SliceBackgroundWorkers being singletons at syntax level
Jason Chiu [Mon, 29 Oct 2018 09:58:55 +0000 (17:58 +0800)]
Enforce all the SliceBackgroundWorkers being singletons at syntax level

- Create workers via reflection in SliceBackgroundWorker
- Store the workers in a static container and release then at shutdown()

Fixes: 118228009
Test: robolectric
Change-Id: I564277d3a12b2d7d3b50cef091bdfedb3397c145

5 years agoMerge "Remove the unnecessary preferenceCategory"
TreeHugger Robot [Mon, 5 Nov 2018 19:55:55 +0000 (19:55 +0000)]
Merge "Remove the unnecessary preferenceCategory"

5 years agoMerge "Set modified=true when user changes zen rule name"
Beverly Tai [Mon, 5 Nov 2018 18:58:39 +0000 (18:58 +0000)]
Merge "Set modified=true when user changes zen rule name"

5 years agoMerge "Using intent action for DWB properties exposed as an API"
Vadim Tryshev [Mon, 5 Nov 2018 18:42:29 +0000 (18:42 +0000)]
Merge "Using intent action for DWB properties exposed as an API"

5 years agoMerge "Add null check for carrierConfig"
Lei Yu [Mon, 5 Nov 2018 18:29:56 +0000 (18:29 +0000)]
Merge "Add null check for carrierConfig"

5 years agoMerge "Disable controls during playback."
Rakesh Iyer [Mon, 5 Nov 2018 17:44:29 +0000 (17:44 +0000)]
Merge "Disable controls during playback."

5 years agoClarify notification dots/icons strings
Beverly [Mon, 5 Nov 2018 15:55:07 +0000 (10:55 -0500)]
Clarify notification dots/icons strings

In the Custom Notification DND options, clarify
what notification dots and notification icons are by
adding more information in the strings

Test: manual
Change-Id: I54ef19d46e54ec10da7179fd142043e3a3af0a40
Fixes: 112188372

5 years agoMerge "Added the icon displayed on no account in search bar"
Sunny Shao [Mon, 5 Nov 2018 05:31:03 +0000 (05:31 +0000)]
Merge "Added the icon displayed on no account in search bar"

5 years agoRename title of Security page
tmfang [Fri, 2 Nov 2018 06:04:23 +0000 (14:04 +0800)]
Rename title of Security page

Since "Location" was moved to top level,
title shouldn't be "Security&Location"

Bug: 116628158
Test: visual
Change-Id: I9065cae15c014d8826b5473e590177d400666180

5 years agoMove LocationSettings to top level page.
tmfang [Tue, 30 Oct 2018 08:49:12 +0000 (16:49 +0800)]
Move LocationSettings to top level page.

- Create some location icons for different scenario.
- Remove Location in Security page.
- Move Location Setting to top level page.

Test: robotest, visual
Bug: 116628158
Change-Id: I3f57ef49a396877bfbeaefea7dc4f4051e0ccc65

5 years agoAdded the icon displayed on no account in search bar
Sunny Shao [Tue, 30 Oct 2018 03:55:15 +0000 (11:55 +0800)]
Added the icon displayed on no account in search bar

Mofidied the search_bar layout and added this icon in the right side of the search_bar.
Added the hasAccount api in AvatarViewMixin and display this icon when there is no any account in device.
Added the test case of the AvatarViewMixin.

Bug: 117509285
Test: robotest
Change-Id: I6ceaa457af4fb20acd0211ca840df5b530c47e0f

5 years agoUpdate the layout of contextual cards.
Emily Chuang [Wed, 31 Oct 2018 09:38:20 +0000 (17:38 +0800)]
Update the layout of contextual cards.

Fixes: 118849830
Test: visual
Change-Id: Ia3f7f155271a22f4f6214fad861475442c23c2f6

5 years agoMerge "Update show4GForLTE config"
TreeHugger Robot [Sat, 3 Nov 2018 07:10:34 +0000 (07:10 +0000)]
Merge "Update show4GForLTE config"

5 years agoMerge "Clean up useless layout"
TreeHugger Robot [Sat, 3 Nov 2018 06:28:19 +0000 (06:28 +0000)]
Merge "Clean up useless layout"

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 935509aa3d -s ours
Bill Yi [Sat, 3 Nov 2018 04:59:49 +0000 (21:59 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 935509aa3d  -s ours
am: fe385f4a14  -s ours

Change-Id: I0ef2cfa586b4f2ac083de597c1a2770e4e7d4715

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 3 Nov 2018 04:26:36 +0000 (21:26 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 935509aa3d  -s ours

Change-Id: I6d5663483003b55aaa03856e41adf086d888eec0

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 2 Nov 2018 22:27:05 +0000 (15:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic830e9dc65c715010b562f0148821899114de819

5 years agoUpdate show4GForLTE config
jackqdyulei [Wed, 31 Oct 2018 20:40:10 +0000 (13:40 -0700)]
Update show4GForLTE config

Get it from CarrierConfigManager instead of config in systemui package.
Also remove unused CdmaOptions

Bug: 114749736
Test: RunSettingsRoboTests
Change-Id: Iac47a60e51f68047b8f800dbdcf0efbcd432a015

5 years agoRemove the unnecessary preferenceCategory
jackqdyulei [Thu, 1 Nov 2018 20:09:33 +0000 (13:09 -0700)]
Remove the unnecessary preferenceCategory

In talkback, it counts the untitled preferenceCategory as an visiable
item. This CL remove unnecessary cateogry and add divider line manually.

Bug: 118796245
Test: RunSettingsRoboTests

Change-Id: I77151fdce671cf91322b3c1badc06a3b7861dcc0

5 years agoDisable controls during playback.
Rakesh Iyer [Fri, 2 Nov 2018 19:34:52 +0000 (12:34 -0700)]
Disable controls during playback.

The controls were enabled during playback earlier,
however changing them did nothing to the current
playout. Disable them during playout and re-enable
them once playout is done.

Bug: 77976922
Test: Repro case in linked bug.
Change-Id: I0fbe1c97e794fccc49172ee7542018aeef956c8f

5 years agoAdd null check for carrierConfig
jackqdyulei [Fri, 2 Nov 2018 18:25:37 +0000 (11:25 -0700)]
Add null check for carrierConfig

Since it may return null when Crash happens in CarrierConfigManager

Bug: 118402844
Test: RunSettingsRoboTests
Change-Id: I9db0f1a873b3e24936b021989f6716369569b17b

5 years agoMerge "Add developer option for sms access kill switch"
Eugene Susla [Fri, 2 Nov 2018 18:18:51 +0000 (18:18 +0000)]
Merge "Add developer option for sms access kill switch"

5 years agoMerge "Remove db restriction for category column."
Fan Zhang [Fri, 2 Nov 2018 18:00:11 +0000 (18:00 +0000)]
Merge "Remove db restriction for category column."

5 years agoDelete Directory access Settings.
Amin Shaikh [Fri, 2 Nov 2018 15:04:33 +0000 (11:04 -0400)]
Delete Directory access Settings.

Bug: 111892460
Test: m RunSettingsRoboTests
Change-Id: I6ffa5a4b69fa7b3ee9d9a058fa075b60fbd2b0a3

5 years agoSet modified=true when user changes zen rule name
Beverly [Fri, 2 Nov 2018 17:13:13 +0000 (13:13 -0400)]
Set modified=true when user changes zen rule name

Test: make RunSettingsRoboTests -j40
Bug: 118789422
Change-Id: I3df3ce4c86a100c2c1287e3650d7fb331d5fa71c

5 years agoMerge "Clean up ConditionalCards"
Fan Zhang [Fri, 2 Nov 2018 16:43:50 +0000 (16:43 +0000)]
Merge "Clean up ConditionalCards"

5 years agoModified the PrintJobSettingsFragment
Stanley Wang [Fri, 2 Nov 2018 11:39:25 +0000 (19:39 +0800)]
Modified the PrintJobSettingsFragment

Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.print
Change-Id: Ide889b273be21421753cec99ce391adb756ab05c

5 years agoFix issue that read-only apns can be edited
Yuming Mao [Wed, 15 Aug 2018 07:10:23 +0000 (15:10 +0800)]
Fix issue that read-only apns can be edited

When entering to ApnEditor with ApnSettings#onPreferenceTreeClick(),
subId is not passed.
So invalid subId is used and it gets wrong carrier config values.

To resolve this issue, remove unnecessary ApnSettings click event.
The only click event for launching ApnEditor is ApnPreference click
event.

Test: manual - Check that the read-only APN can't be edited when tap
the edge of the APN settings screen
Bug: 117302653
Change-Id: I0a61b409539d6e4f6aa9860235e61c43c76640fa

5 years agoClean up useless layout
tmfang [Fri, 2 Nov 2018 05:40:35 +0000 (13:40 +0800)]
Clean up useless layout

There is no any reference to this layout

Bug: 116340579
Test: robotest

Change-Id: I1ec97c6e30cb9e39a2a366dbe7f7b52f49390936

5 years agoMerge "Add Category for contextual cards"
Raff Tsai [Fri, 2 Nov 2018 02:56:21 +0000 (02:56 +0000)]
Merge "Add Category for contextual cards"

5 years agoMerge "Implement NetworkRequestDialog architecture"
Cosmo Hsieh [Fri, 2 Nov 2018 01:39:47 +0000 (01:39 +0000)]
Merge "Implement NetworkRequestDialog architecture"