OSDN Git Service

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

5 years agoMerge "Track change to add ADB service"
Kenny Root [Fri, 2 Nov 2018 00:43:05 +0000 (00:43 +0000)]
Merge "Track change to add ADB service"

5 years agoMerge changes from topic "biometric-cc"
Kevin Chyn [Fri, 2 Nov 2018 00:37:24 +0000 (00:37 +0000)]
Merge changes from topic "biometric-cc"

* changes:
  3/n: Make CDCA transparent and add BiometricPrompt
  2/n: Add comments to launchConfirmationActivity parameters
  1/n: Prepare ConfirmDeviceCredentials to use BiometricPrompt

5 years agoMerge "Dnd settings pages redesign (round 1)"
TreeHugger Robot [Thu, 1 Nov 2018 23:47:36 +0000 (23:47 +0000)]
Merge "Dnd settings pages redesign (round 1)"

5 years agoRemove db restriction for category column.
Fan Zhang [Thu, 1 Nov 2018 23:28:15 +0000 (16:28 -0700)]
Remove db restriction for category column.

SettingsIntelligence should be able to extend support to more categories
without changing Settings.

Bug: 118708391
Test: rebuild
Change-Id: I420394f718bb3712e94040fb3e3c4f66cca629af

5 years ago3/n: Make CDCA transparent and add BiometricPrompt
Kevin Chyn [Thu, 4 Oct 2018 22:01:43 +0000 (15:01 -0700)]
3/n: Make CDCA transparent and add BiometricPrompt

ConfirmDeviceCredentials now uses BiometricPrompt instead of
FingerprintManager

Bug: 111461540

Test: FRP does not display BiometricPrompt (as expected)
      adb shell settings put global device_provisioned 0 && adb shell am start -a android.app.action.CONFIRM_FRP_CREDENTIAL
Test: Using KeyguardManager API to launch, all corner cases seem OK
Test: Tested with work profile + one lock enabled/disabled, seems OK
Test: Enroll normal FP but not work FP, BiometricPromptDemo for both works
      OK
Test: Test CC on work version of BPD, then BP on normal version of BPD,
      both accept correct FP's (no regression from P)

Change-Id: Iacdaf76ab76971850212dc79513bfa3f4b89eb9a

5 years agoMerge "Remove "See more" from wifi/bluetooth slices"
TreeHugger Robot [Thu, 1 Nov 2018 21:59:45 +0000 (21:59 +0000)]
Merge "Remove "See more" from wifi/bluetooth slices"

5 years agoClean up ConditionalCards
Fan Zhang [Thu, 1 Nov 2018 21:04:45 +0000 (14:04 -0700)]
Clean up ConditionalCards

Use ConditionalContextualCard directly.

Change-Id: If2e51cdd2cbed27b0094bbb9be06ee9a67f328ec
Fixes: 114307767
Test: robotests

5 years ago2/n: Add comments to launchConfirmationActivity parameters
Kevin Chyn [Thu, 4 Oct 2018 19:59:35 +0000 (12:59 -0700)]
2/n: Add comments to launchConfirmationActivity parameters

Bug: 111461540

Test: builds
Change-Id: I9b2cd9ee472bc67604664671ba022e8589269ee1

5 years ago1/n: Prepare ConfirmDeviceCredentials to use BiometricPrompt
Kevin Chyn [Thu, 4 Oct 2018 01:39:22 +0000 (18:39 -0700)]
1/n: Prepare ConfirmDeviceCredentials to use BiometricPrompt

CDC is going to use BiometricPrompt instead. This change
removes FingerprintManager from CDC. BiometricPrompt
will show before pin/pattern/pass is shown.

Bug: 111461540

Test: modified BiometricPromptDemo to use
      KeyguardManager#createConfirmDeviceCredentialIntent,
Test: Fingerprint is gone from CDC, rotation works
Test: atest SettingsRoboTests

Change-Id: I9ce2aad71961af8a0d5ee636600e2fbdb6154e47

5 years agoMerge "Remove emptry preference category for Talkback"
TreeHugger Robot [Thu, 1 Nov 2018 20:51:30 +0000 (20:51 +0000)]
Merge "Remove emptry preference category for Talkback"

5 years agoRemove "See more" from wifi/bluetooth slices
Emily Chuang [Thu, 1 Nov 2018 03:38:25 +0000 (11:38 +0800)]
Remove "See more" from wifi/bluetooth slices

- Also set the height of SliceView back to wrap_content as the space our
content needs can be satisfied with MODE_LARGE.

Change-Id: Ibaa514ac9c022c2723d99e5104f8d5ec63f14661
Fixes: 118763869
Test: robotests, visual

5 years agoMerge "Add android.settings.BIOMETRIC_ENROLL action intent"
Kevin Chyn [Thu, 1 Nov 2018 19:29:23 +0000 (19:29 +0000)]
Merge "Add android.settings.BIOMETRIC_ENROLL action intent"

5 years agoMerge "Fix slice card layout so show more button works correctly"
Fan Zhang [Thu, 1 Nov 2018 19:14:40 +0000 (19:14 +0000)]
Merge "Fix slice card layout so show more button works correctly"

5 years agoMerge "Use safe icon when building unavailable slices."
Fan Zhang [Thu, 1 Nov 2018 19:13:37 +0000 (19:13 +0000)]
Merge "Use safe icon when building unavailable slices."

5 years agoMerge "Change Google Settings position"
Fan Zhang [Thu, 1 Nov 2018 18:19:08 +0000 (18:19 +0000)]
Merge "Change Google Settings position"

5 years agoRemove emptry preference category for Talkback
jackqdyulei [Thu, 1 Nov 2018 17:08:35 +0000 (10:08 -0700)]
Remove emptry preference category for Talkback

In this way talkback can get correct list size.

Bug: 117198438
Test: Manual
Change-Id: Ie0cd78fb20fe416ee517d6c35458a4805ce9c17f

5 years agoMerge "Click "Users & Profile" in Settings Search displays a blueline"
TreeHugger Robot [Thu, 1 Nov 2018 16:58:10 +0000 (16:58 +0000)]
Merge "Click "Users & Profile" in Settings Search displays a blueline"

5 years agoDnd settings pages redesign (round 1)
Beverly [Fri, 26 Oct 2018 20:01:17 +0000 (16:01 -0400)]
Dnd settings pages redesign (round 1)

Test: make RunSettingsRoboTests -j40
Bug: 111475013
Change-Id: Idb6bbfdfe377b61a8fe1f7e81171bbefe23a4ebf

5 years agoChange Google Settings position
Raff Tsai [Thu, 1 Nov 2018 08:52:58 +0000 (16:52 +0800)]
Change Google Settings position

- PreferenceGroup defines dynamic insert order starts from 0. It is
bigger than System Settings definition -10, therefore Google Settings
will be placed below System Settings.

Fixes: 118735593
Test: Visual
Change-Id: Id2d187810a8539ea50e14ef802db6eae58b846e4

5 years agoAdd Category for contextual cards
Raff Tsai [Thu, 1 Nov 2018 06:37:04 +0000 (14:37 +0800)]
Add Category for contextual cards

Fixes: 118650494
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.homepage"
Change-Id: I46800c41402260351f146d0da42ec9f2329001af