OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoAdd contextual card dismissal implementation
Emily Chuang [Wed, 14 Nov 2018 06:57:35 +0000 (14:57 +0800)]
Add contextual card dismissal implementation

When users clcik on the remove button in dismissal view, the card should
be marked as dismissed in the database, and the UI should be refreshed.

Bug: 113783548119594116
Test: robotests
Change-Id: I980600c4c0753ad5abc52ae63bac7196a4b818f1

5 years agoMerge "Add QrCodeGenerator for QrCode encoding"
Johnson Lu [Tue, 20 Nov 2018 03:33:24 +0000 (03:33 +0000)]
Merge "Add QrCodeGenerator for QrCode encoding"

5 years agoAdd QrCodeGenerator for QrCode encoding
Johnson Lu [Thu, 15 Nov 2018 09:09:44 +0000 (17:09 +0800)]
Add QrCodeGenerator for QrCode encoding

Bug: 118794858
Test: RunSettingsRoboTests
Change-Id: I1e27c7b7bf97c1b683be7d200e1f3bbdc763c4c1

5 years agoAdded the launching account page
Sunny Shao [Fri, 16 Nov 2018 03:16:35 +0000 (11:16 +0800)]
Added the launching account page

Settings get account name and account avatar from SI.
According the account name to launch the account page.

Bug: 119608711
Test: robotest
Change-Id: I0d53e9445f4ba5ce470bd079038db0f08f0cc1c8

5 years agoMerge "Tweak strings"
TreeHugger Robot [Mon, 19 Nov 2018 22:08:46 +0000 (22:08 +0000)]
Merge "Tweak strings"

5 years agoMerge "Fix data usage failing test."
TreeHugger Robot [Mon, 19 Nov 2018 20:28:25 +0000 (20:28 +0000)]
Merge "Fix data usage failing test."

5 years agoTweak strings
John Reck [Mon, 19 Nov 2018 20:27:39 +0000 (12:27 -0800)]
Tweak strings

Bug: 119120272
Bug: 119621549
Test: n/a
Change-Id: I73a7b594b02f6ebea2e7d15e15ebd681fe9270db

5 years agoMerge "Apply new action buttons style for instant app"
Fan Zhang [Mon, 19 Nov 2018 18:59:29 +0000 (18:59 +0000)]
Merge "Apply new action buttons style for instant app"

5 years agoMerge "Add below/above dividers for new action buttons"
Fan Zhang [Mon, 19 Nov 2018 18:35:19 +0000 (18:35 +0000)]
Merge "Add below/above dividers for new action buttons"

5 years agoMerge "Change Switchbar fontFamily and textSize"
TreeHugger Robot [Mon, 19 Nov 2018 18:33:39 +0000 (18:33 +0000)]
Merge "Change Switchbar fontFamily and textSize"

5 years agoMerge "Disable toggling wifi tethering in secondary user."
Fan Zhang [Mon, 19 Nov 2018 18:32:11 +0000 (18:32 +0000)]
Merge "Disable toggling wifi tethering in secondary user."

5 years agoMerge "Refined the CardContentProvider unused operations"
TreeHugger Robot [Mon, 19 Nov 2018 18:00:25 +0000 (18:00 +0000)]
Merge "Refined the CardContentProvider unused operations"

5 years agoAdd below/above dividers for new action buttons
tmfang [Mon, 19 Nov 2018 07:00:24 +0000 (15:00 +0800)]
Add below/above dividers for new action buttons

- App info
- App storage
- Power usage

Test: visual
Bug: 116346008
Change-Id: Ie4a4ad6f41b74e7bc38f3ac99f241da6be19e647

5 years agoChange Switchbar fontFamily and textSize
Raff Tsai [Mon, 19 Nov 2018 06:52:28 +0000 (14:52 +0800)]
Change Switchbar fontFamily and textSize

Test: manul
Change-Id: I8e03dd9ca500ab5517ed7a0d4abcb6e9edfbe239
Fixes: 116342461

5 years agoApply new action buttons style for instant app
tmfang [Mon, 19 Nov 2018 05:45:16 +0000 (13:45 +0800)]
Apply new action buttons style for instant app

Test: visual
Bug: 116346008
Change-Id: I5a9f31960da28757e51683db4011820f7339e2f9

5 years agoUse the correct manager to generate token
Kevin Chyn [Fri, 16 Nov 2018 23:58:02 +0000 (15:58 -0800)]
Use the correct manager to generate token

Bug: 111548037

Test: manual
Change-Id: I84f106ace988165f9f6dbc667c46302cbd1c6226

5 years agoDisable toggling wifi tethering in secondary user.
Doris Ling [Thu, 11 Oct 2018 00:06:15 +0000 (17:06 -0700)]
Disable toggling wifi tethering in secondary user.

- in previous release, the shortcut widget was for the top level
Hotspot & Tethering settings page. The top level settings has logic to
check whether the page is restricted and remove all preferences and
show a message to tell the user that tethering settings are not
available, and the user will not be able to launch the wifi hotspot
settings page.
- the updated shortcut now launches the wifi hotspot page directly.
The settings does not check for restriction. Copy the logic from the top
level settings to check for restriction and remove all preferences
accordingly.

Change-Id: I76fb7838e2db379f6ffbce7bf14003bccc1b10d3
Fixes: 116642428
Test: make RunSettingsRoboTests

5 years agoFix data usage failing test.
Doris Ling [Fri, 16 Nov 2018 21:06:37 +0000 (13:06 -0800)]
Fix data usage failing test.

- update the tests that faile when data usage v2 is turned on.

Change-Id: I6bd09245d695791fb1564b6e598600e889d0712f
Fixes: 117433810
Test: make RunSettingsRoboTests

5 years agoMerge "Only update mutable shortcuts."
TreeHugger Robot [Fri, 16 Nov 2018 19:11:26 +0000 (19:11 +0000)]
Merge "Only update mutable shortcuts."

5 years agoMerge "Update Settings components for dark theme"
Salvador Martinez [Fri, 16 Nov 2018 18:29:48 +0000 (18:29 +0000)]
Merge "Update Settings components for dark theme"

5 years agoMerge "Fix Settings crash when clicking search bar"
Raff Tsai [Fri, 16 Nov 2018 15:45:26 +0000 (15:45 +0000)]
Merge "Fix Settings crash when clicking search bar"

5 years agoMerge "Add QrDecorateView for QrCode scanner implementation"
Johnson Lu [Fri, 16 Nov 2018 13:06:27 +0000 (13:06 +0000)]
Merge "Add QrDecorateView for QrCode scanner implementation"

5 years agoMerge changes from topic "settings-action-button"
TreeHugger Robot [Fri, 16 Nov 2018 10:45:29 +0000 (10:45 +0000)]
Merge changes from topic "settings-action-button"

* changes:
  Remove setButtonPositive method
  Apply new action button visual design
  Create a new visual design for action buttons

5 years agoMerge "Make UI refresh when there is only one contextual card left."
TreeHugger Robot [Fri, 16 Nov 2018 09:50:31 +0000 (09:50 +0000)]
Merge "Make UI refresh when there is only one contextual card left."

5 years agoRefined the CardContentProvider unused operations
Sunny Shao [Fri, 16 Nov 2018 07:44:53 +0000 (15:44 +0800)]
Refined the CardContentProvider unused operations

updated delete and update operations to throw UnsupportedOperationException

Bug: 119647595
Test: robotest
Change-Id: If77662213b89dc91b9ca2d6b028c635a46266eab

5 years agoMerge "Add Low Storage slice to Contextual Settings Homepage"
Yanting Yang [Fri, 16 Nov 2018 07:36:02 +0000 (07:36 +0000)]
Merge "Add Low Storage slice to Contextual Settings Homepage"

5 years agoRemove setButtonPositive method
tmfang [Wed, 14 Nov 2018 10:18:44 +0000 (18:18 +0800)]
Remove setButtonPositive method

Since new UI design only exist two button in layout,
we don't need these methods anymore.

Test: robotest
Bug: 116346008
Change-Id: If2e8f7dddb9c13e480438f36fe3c5d6affa4e9ff

5 years agoApply new action button visual design
tmfang [Fri, 9 Nov 2018 12:21:14 +0000 (20:21 +0800)]
Apply new action button visual design

- Add some icon resources.
- Add icon for each button in action button preference.
- Update "Enable" and "Disable" string to "Install" and "uninstall".
- Remove unused string.
- Add divider between entity header and action buttons.

Test: visual, robotest
Fixes: 119203074
Bug: 116346008
Change-Id: Ib8d7aeb2943d39d257e977b84f165f002bf47559

5 years agoMake UI refresh when there is only one contextual card left.
Emily Chuang [Thu, 15 Nov 2018 01:55:06 +0000 (09:55 +0800)]
Make UI refresh when there is only one contextual card left.

After having card dismissal mechanism implemented, it is possible that
the card list loaded from the card loader will be empty (users may
dismiss all cards). When there is only one card remaining on the screen
and user dismiss it, the card should go away.

Fixes: 119580732
Test: robotest
Change-Id: I7ae3b03f16a0b8b009d8aa77811b5a6d39c359e7

5 years agoFix testcase fail
Raff Tsai [Fri, 16 Nov 2018 03:14:43 +0000 (11:14 +0800)]
Fix testcase fail

-Ignore testcase in RemoteDeviceNameDialogFragmentTest
-Fix SettingsPreferenceFragmentTest and ApnEditorTest testcase fail

Test: make RunSettingsRoboTests
Change-Id: I63053cd2256c9c00f92b57a813513e5df05fd60a
Bug: 119592320

5 years agoAdd QrDecorateView for QrCode scanner implementation
Johnson Lu [Wed, 14 Nov 2018 07:09:03 +0000 (15:09 +0800)]
Add QrDecorateView for QrCode scanner implementation

This view draw the lines at the corner of the inner frame.

Bug: 118797380
Test: RunSettingsRoboTests
Change-Id: I159dba8d3a23eaa489932a1a13f63a574079b448

5 years agoMerge "Fix crash on AppInfoDashboardFragment"
Raff Tsai [Fri, 16 Nov 2018 02:14:23 +0000 (02:14 +0000)]
Merge "Fix crash on AppInfoDashboardFragment"

5 years agoOnly update mutable shortcuts.
Doris Ling [Fri, 16 Nov 2018 00:29:53 +0000 (16:29 -0800)]
Only update mutable shortcuts.

When trying to update the flags for the existing shortcuts, check and
skip the immutable shortcuts, since they should not be modified.

Change-Id: Iee70ed92f45c1b0b0f0c5b902069c017acfa4990
Fixes: 119119713
Test: make RunSettingsRoboTests

5 years agoUpdate Settings components for dark theme
Salvador Martinez [Fri, 2 Nov 2018 21:15:44 +0000 (14:15 -0700)]
Update Settings components for dark theme

This CL updates the colors and properties of various themes and
widgets to make them follow dark theme UI. Specifically, it changes
the color accent and uses true black for the background.

Test: manual inspection
Bug: 111397440
Change-Id: I15214a4c5d4864244af856312d2fc3e3a7e7ce36

5 years agoMerge "Add new settings page for apps overriding dnd"
Beverly Tai [Thu, 15 Nov 2018 18:06:06 +0000 (18:06 +0000)]
Merge "Add new settings page for apps overriding dnd"

5 years agoFix Settings crash when clicking search bar
Raff Tsai [Thu, 15 Nov 2018 05:35:36 +0000 (13:35 +0800)]
Fix Settings crash when clicking search bar

- When user disable settings suggestion in App Settings, click
search button without leaving settings app. The search button is
still existed.
- Doesn't allow user to disable app in App Settings
- Add check before start search intent

Change-Id: Ifbc4615914678d8df734e14d63bb626403313d1e
Fixes: 118805907
Test: manual

5 years agoFix crash on AppInfoDashboardFragment
tmfang [Thu, 15 Nov 2018 08:48:21 +0000 (16:48 +0800)]
Fix crash on AppInfoDashboardFragment

When AppInfoDashboardFragment launch a new page,
it sets SUB_INFO_FRAGMENT(1) as request code.

This request code is same as REQUEST_REMOVE_DEVICE_ADMIN(1).
So, when AppInfoDashboardFragment got onActivityResult callback,
it will handle the event about REQUEST_REMOVE_DEVICE_ADMIN.

So, we change REQUEST_REMOVE_DEVICE_ADMIN to a unique value.

Test: manual test, robotest
Fixes: 118841475

Change-Id: Idabd62c5062ccfbf4b8acee82df7401fc9ce7484

5 years agoAdd Low Storage slice to Contextual Settings Homepage
Yanting Yang [Tue, 13 Nov 2018 15:39:54 +0000 (23:39 +0800)]
Add Low Storage slice to Contextual Settings Homepage

Bug: 114808204
Test: robotests, visual
Change-Id: I0c1a02dc40a0a72b7a2ad8f46505325e52bee942

5 years agoMerge "Implement a11y UI for Accessibility timeout feature."
Leon Liao [Thu, 15 Nov 2018 07:17:40 +0000 (07:17 +0000)]
Merge "Implement a11y UI for Accessibility timeout feature."

5 years agoMerge "Layout updated for file size text wrapping with largest display"
Stanley Wang [Thu, 15 Nov 2018 07:10:49 +0000 (07:10 +0000)]
Merge "Layout updated for file size text wrapping with largest display"

5 years agoMerge "Fix App permission doesn't show summary"
TreeHugger Robot [Thu, 15 Nov 2018 04:10:40 +0000 (04:10 +0000)]
Merge "Fix App permission doesn't show summary"

5 years agoImplement a11y UI for Accessibility timeout feature.
Leon Liao [Tue, 13 Nov 2018 12:31:54 +0000 (20:31 +0800)]
Implement a11y UI for Accessibility timeout feature.

This UI control the Accessibility Timeout API in Settings App.
Add a user control to set timeout length to suit their need.

Bug: 119283926
Test: atest AccessibilityTimeoutControllerTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=CodeInspectionTest
Test: atest UniquePreferenceTest
Change-Id: Ic8f7337e6bd7739c1189382cc87d45465b64c6ed

5 years agoCreate a new visual design for action buttons
tmfang [Mon, 12 Nov 2018 09:42:31 +0000 (17:42 +0800)]
Create a new visual design for action buttons

- Create a new style for two action buttons.
- Change the layout of two_action_buttons.
  Since we use same style for positive/nagative
  buttons now, we only remain button1/button2 for
  this layout.
- Create a setButtonIcon interface in ActionButtonPreference.
  So, user can set icon for each button in this preferece.

Test: visual, robotest
Bug: 116346008
Change-Id: I511272cba5fd961349b85cae6d30004ddabe2c8e

5 years agoMerge "Show device name in About Phone summary."
TreeHugger Robot [Thu, 15 Nov 2018 02:13:35 +0000 (02:13 +0000)]
Merge "Show device name in About Phone summary."

5 years agoMerge "Change function modifier"
Raff Tsai [Thu, 15 Nov 2018 02:09:54 +0000 (02:09 +0000)]
Merge "Change function modifier"

5 years agoMerge "Use ColorDisplayManager"
TreeHugger Robot [Thu, 15 Nov 2018 00:40:26 +0000 (00:40 +0000)]
Merge "Use ColorDisplayManager"

5 years agoMerge "Fix ConfirmDeviceCredentials for work profiles"
Kevin Chyn [Thu, 15 Nov 2018 00:24:09 +0000 (00:24 +0000)]
Merge "Fix ConfirmDeviceCredentials for work profiles"

5 years agoShow device name in About Phone summary.
Doris Ling [Wed, 14 Nov 2018 22:46:52 +0000 (14:46 -0800)]
Show device name in About Phone summary.

- change from using device model to device name for the top level about
phone preference summary.

Change-Id: I6c1891f3867f55cf1501baf76ea147e2df49111e
Fixes: 119157622
Test: make RunSettingsRoboTests

5 years agoAdd new settings page for apps overriding dnd
Beverly [Thu, 8 Nov 2018 15:18:43 +0000 (10:18 -0500)]
Add new settings page for apps overriding dnd

Close starred contacts cursor

Test: atest ZenModeAllBypassingAppsPreferenceControllerTest
Test: atest ZenModeBypassingAppsPreferenceControllerTest
Bug: 111475013
Change-Id: I84d259aaef1bc5cc907ec5bef08beade91a8b904

5 years agoMerge "Add setup chooselock internal activity to manifest."
TreeHugger Robot [Wed, 14 Nov 2018 19:15:30 +0000 (19:15 +0000)]
Merge "Add setup chooselock internal activity to manifest."

5 years agoFix ConfirmDeviceCredentials for work profiles
Kevin Chyn [Sat, 10 Nov 2018 00:13:53 +0000 (16:13 -0800)]
Fix ConfirmDeviceCredentials for work profiles

1) Fixed the theme for CDCA$InternalActivity to be transparent
2) CDCA only cares about biometrics, which are tied to userId
3) Moved shared methods to a util class

Fixes: 119296586

Test: Followed the steps in comment#1 of the bug linked above

Change-Id: Ie47fc7c3a53dfb7780087937e1ca83287cc52d71

5 years agoMerge "Update delete user strings in multiple users page"
TreeHugger Robot [Wed, 14 Nov 2018 18:12:24 +0000 (18:12 +0000)]
Merge "Update delete user strings in multiple users page"

5 years agoMerge "Update strings"
TreeHugger Robot [Wed, 14 Nov 2018 13:18:38 +0000 (13:18 +0000)]
Merge "Update strings"

5 years agoUpdate delete user strings in multiple users page
Edgar Wang [Wed, 14 Nov 2018 12:32:59 +0000 (20:32 +0800)]
Update delete user strings in multiple users page

Change-Id: I3ab25e491af3894f8163d9ef9a88c446575ebbc3
Fixes: 111723127
Test: visual

5 years agoUpdate strings
Edgar Wang [Wed, 14 Nov 2018 10:17:32 +0000 (18:17 +0800)]
Update strings

Bug: 118399687
Test: visual
Change-Id: I0b5f86235b7fd7530ba8eeed9649f0c3dc3b94bf

5 years agoMerge "Private DNS: Add policy transparency"
Eran Messeri [Wed, 14 Nov 2018 10:07:33 +0000 (10:07 +0000)]
Merge "Private DNS: Add policy transparency"

5 years agoChange function modifier
Raff Tsai [Wed, 14 Nov 2018 08:09:03 +0000 (16:09 +0800)]
Change function modifier

- We need to use getName() function in different package

Test: rebuild
Bug: 79698338
Change-Id: I2e7eb71863fee14f58e84efd8064891f7e34fd3c

5 years agoMerge "Add description into strings.xml for missing comment"
Yanting Yang [Wed, 14 Nov 2018 09:25:16 +0000 (09:25 +0000)]
Merge "Add description into strings.xml for missing comment"

5 years agoLayout updated for file size text wrapping with largest display
Stanley Wang [Mon, 27 Aug 2018 09:05:49 +0000 (17:05 +0800)]
Layout updated for file size text wrapping with largest display

This solution will change the portrait layout for
large, larger, and largest of Display size.

Change-Id: Ib00b23553c34c1e69cb84e446f409c38ea7544ef
Fixes: 69074097
Test: manual

5 years agoFix App permission doesn't show summary
tmfang [Wed, 14 Nov 2018 07:57:11 +0000 (15:57 +0800)]
Fix App permission doesn't show summary

Since AppPermissionsPreferenceController assigns
a fixed preference key in constructor, so it can't
be used by same controller in Privacy page.

So, we change contructor directly, let controller
read preference key from xml file.

- Also remove unused imports.

Test: visual
Bug: 116628158
Change-Id: I42d6e978e91f0a2fe796d290cb9f34db596aa1f4

5 years agoMerge "Update logging: switch a bunch of action() logging calls."
Fan Zhang [Wed, 14 Nov 2018 07:27:14 +0000 (07:27 +0000)]
Merge "Update logging: switch a bunch of action() logging calls."

5 years agoAdd description into strings.xml for missing comment
Yanting Yang [Wed, 14 Nov 2018 07:02:21 +0000 (15:02 +0800)]
Add description into strings.xml for missing comment

The comment of string "show_connected_devices" was missing from
ag/5336877.

Fixes: 119534057
Test: robotests
Change-Id: I445413cdcbb647e068a51312fa16f8c93abee36f

5 years agoUpdate logging: switch a bunch of action() logging calls.
Fan Zhang [Mon, 12 Nov 2018 09:28:32 +0000 (01:28 -0800)]
Update logging: switch a bunch of action() logging calls.

Use generic action(int, int, int, String, int) instead of
action(Context, int, string, Pair...) when possible.

Bug: 117860032
Test: robotests
Change-Id: I5213b52b2b10d80a3c488c37718df81b3b0a428f

5 years agoMerge "Enabled the floating search bar feature"
TreeHugger Robot [Wed, 14 Nov 2018 04:50:13 +0000 (04:50 +0000)]
Merge "Enabled the floating search bar feature"

5 years agoMerge "Sort contextual cards based on their score."
TreeHugger Robot [Wed, 14 Nov 2018 04:33:23 +0000 (04:33 +0000)]
Merge "Sort contextual cards based on their score."

5 years agoSort contextual cards based on their score.
Emily Chuang [Tue, 13 Nov 2018 07:25:13 +0000 (15:25 +0800)]
Sort contextual cards based on their score.

Fixes: 119493779
Bug: 111822376
Test: robotests
Change-Id: I254cba3c92ca1b58633f2ea6b2fa381607549e0c

5 years agoMerge "Implement NetworkRequestDialog architecture(cont.)"
Cosmo Hsieh [Wed, 14 Nov 2018 01:43:47 +0000 (01:43 +0000)]
Merge "Implement NetworkRequestDialog architecture(cont.)"

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 1ba1a7...
Bill Yi [Wed, 14 Nov 2018 01:01:02 +0000 (17:01 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 1ba1a70dfb  -s ours
am: 778b6372aa  -s ours

Change-Id: I73f12b6b2be25355e521a3cb90de69a5ee6bbf1c

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Wed, 14 Nov 2018 00:58:03 +0000 (16:58 -0800)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 1ba1a70dfb  -s ours

Change-Id: I190d08a244052ea324a288252848acf87fd12b53

5 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 14 Nov 2018 00:49:33 +0000 (00:49 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

5 years agoAdd setup chooselock internal activity to manifest.
Doris Ling [Tue, 13 Nov 2018 22:54:26 +0000 (14:54 -0800)]
Add setup chooselock internal activity to manifest.

Declare SetupChooseLockGeneric$InternalActivity in AndroidManifest.xml
so that it can be launched properly.

Change-Id: Ia924f759c16d01c17a4f6a99d7c43bf13c0f494a
Fixes: 112706989
Test: atest com.android.settings.password.SetupChooseLockGenericTest

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 14 Nov 2018 00:26:00 +0000 (00:26 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 13 Nov 2018 22:42:50 +0000 (14:42 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic00cbf2b25c019d77c85c93203e58f4a1cf102c1

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 13 Nov 2018 21:33:26 +0000 (13:33 -0800)]
Import translations. DO NOT MERGE

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

5 years agoMerge "Add force SmartDark dev setting"
John Reck [Tue, 13 Nov 2018 20:33:37 +0000 (20:33 +0000)]
Merge "Add force SmartDark dev setting"

5 years agoMerge "Allow StubVolume to be browseable in Settings" am: 8f516adef7 am: e613923d66
Risan [Tue, 13 Nov 2018 20:13:14 +0000 (12:13 -0800)]
Merge "Allow StubVolume to be browseable in Settings" am: 8f516adef7 am: e613923d66
am: 1670c69b7c

Change-Id: Id567d995f6f25a46225a2080609048051cca2337

5 years agoMerge "Allow StubVolume to be browseable in Settings" am: 8f516adef7
Risan [Tue, 13 Nov 2018 19:57:54 +0000 (11:57 -0800)]
Merge "Allow StubVolume to be browseable in Settings" am: 8f516adef7
am: e613923d66

Change-Id: I8eea682dec3eba70a2d44c32ba6e28641118300a

5 years agoMerge "Allow StubVolume to be browseable in Settings"
Risan [Tue, 13 Nov 2018 19:45:08 +0000 (11:45 -0800)]
Merge "Allow StubVolume to be browseable in Settings"
am: 8f516adef7

Change-Id: Idddb5b90367bbb5c1f1a5146fdd7b1fc01cf0cf9

5 years agoMerge "Allow StubVolume to be browseable in Settings"
Treehugger Robot [Tue, 13 Nov 2018 19:20:38 +0000 (19:20 +0000)]
Merge "Allow StubVolume to be browseable in Settings"

5 years agoMerge "Read SettingsIntelligence package name from resource"
TreeHugger Robot [Tue, 13 Nov 2018 10:58:23 +0000 (10:58 +0000)]
Merge "Read SettingsIntelligence package name from resource"

5 years ago[automerger skipped] Merge "Remove the feature flag and dead code for the old time...
Neil Fuller [Tue, 13 Nov 2018 10:14:39 +0000 (02:14 -0800)]
[automerger skipped] Merge "Remove the feature flag and dead code for the old time zone picker" am: 6bb4b5ca43 am: 78e132773a
am: e451323669  -s ours

Change-Id: Ic69bcf413d1028ebfb3e8c6a2212bffe42232ae1

5 years agoMerge "Remove the feature flag and dead code for the old time zone picker" am: 6bb4b5ca43
Neil Fuller [Tue, 13 Nov 2018 10:03:38 +0000 (02:03 -0800)]
Merge "Remove the feature flag and dead code for the old time zone picker" am: 6bb4b5ca43
am: 78e132773a

Change-Id: Ie8890265b7dd1b5248ccef4dbb0f6fd58da55f85

5 years agoMerge "Remove the feature flag and dead code for the old time zone picker"
Neil Fuller [Tue, 13 Nov 2018 09:50:08 +0000 (01:50 -0800)]
Merge "Remove the feature flag and dead code for the old time zone picker"
am: 6bb4b5ca43

Change-Id: If338977d818193950ed428b70ed6d6a3aa87082b

5 years agoMerge "Remove the feature flag and dead code for the old time zone picker"
Neil Fuller [Tue, 13 Nov 2018 09:33:16 +0000 (09:33 +0000)]
Merge "Remove the feature flag and dead code for the old time zone picker"

5 years agoMerge "Add dismissal mechanism for contextual cards."
TreeHugger Robot [Tue, 13 Nov 2018 09:13:46 +0000 (09:13 +0000)]
Merge "Add dismissal mechanism for contextual cards."

5 years agoMerge "Integrate SliceBackgroundWorker to ConnectedDeviceSlice"
Yanting Yang [Tue, 13 Nov 2018 09:05:09 +0000 (09:05 +0000)]
Merge "Integrate SliceBackgroundWorker to ConnectedDeviceSlice"

5 years agoEnabled the floating search bar feature
Sunny Shao [Tue, 13 Nov 2018 08:47:36 +0000 (16:47 +0800)]
Enabled the floating search bar feature

Added the CoordinatorLayout as the top level layout
Added the AppBarLayout to enclose the search bar
Added the app:layout_behavior="@string/appbar_scrolling_view_behavior" to NestedScrollView

Bug: 118886724
Test: manual test
Change-Id: I4a8ef14637dc1dc7cf9618eca00e4b7d7a77c725

5 years agoRemove the feature flag and dead code for the old time zone picker
Victor Chang [Thu, 29 Mar 2018 17:52:09 +0000 (18:52 +0100)]
Remove the feature flag and dead code for the old time zone picker

This commit backports commit 6be6c5820639c1f7ed60dd2a03dab80cbb1b5afb
to aosp/master.

Bug: 72376227
Test: build only
Merged-In: I332077a67cc9f9c83b298e25feea71463e1ee98b
Change-Id: I332077a67cc9f9c83b298e25feea71463e1ee98b
(cherry picked from commit 6be6c5820639c1f7ed60dd2a03dab80cbb1b5afb)

5 years agoAdd dismissal mechanism for contextual cards.
Emily Chuang [Mon, 5 Nov 2018 12:18:56 +0000 (20:18 +0800)]
Add dismissal mechanism for contextual cards.

In the homepage, we should allow cards to be dismissed.

- Implement card flipping upon card long pressing.

Bug: 113783548
Test: robotests, visual
Change-Id: I2ddb498321ba5c5078d6944aa2ef32f1386bdb10

5 years agoRead SettingsIntelligence package name from resource
Raff Tsai [Tue, 13 Nov 2018 06:45:01 +0000 (14:45 +0800)]
Read SettingsIntelligence package name from resource

Test: make RunSettingsRoboTests
Change-Id: I2143e1f7657cc0e01e91978e8c212ff079cec7d7

5 years agoIntegrate SliceBackgroundWorker to ConnectedDeviceSlice
Yanting Yang [Fri, 2 Nov 2018 17:28:42 +0000 (01:28 +0800)]
Integrate SliceBackgroundWorker to ConnectedDeviceSlice

Bug: 114807655
Test: visual, robotest
Change-Id: I11a8f6b3d1464ec1e932e03668c462a72346565b

5 years ago[automerger skipped] Merge "Move "About Phone" to bottom of Settings main IA, above...
Edgar Wang [Tue, 13 Nov 2018 02:43:35 +0000 (18:43 -0800)]
[automerger skipped] Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support"" into pi-dev am: 96d829be9a
am: 03aca9f0f9  -s ours

Change-Id: I97c2097db5a8d58bc8f94ca1613a6a8400963619

5 years agoMerge "Add QrCamera for QrCode scanner implementation"
Johnson Lu [Tue, 13 Nov 2018 02:27:12 +0000 (02:27 +0000)]
Merge "Add QrCamera for QrCode scanner implementation"

5 years agoMerge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support""...
Edgar Wang [Tue, 13 Nov 2018 01:39:43 +0000 (17:39 -0800)]
Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support"" into pi-dev
am: 96d829be9a

Change-Id: I93b59d6f62c713bb49f1088ea3911b9b9313894e

5 years agoMerge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support""...
Edgar Wang [Tue, 13 Nov 2018 01:16:48 +0000 (01:16 +0000)]
Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support"" into pi-dev

5 years agoFix Wi-Fi setup in setup wizard
Hai Shalom [Mon, 12 Nov 2018 19:49:05 +0000 (11:49 -0800)]
Fix Wi-Fi setup in setup wizard

Fix Wi-Fi setup in setup wizard; New WPA3/OWE networks added to
arrays.xml in an order of security caused a mismatch in the network type
index in SUW. Workaround to append the new string instead. Will require
additional work.

Bug: 119385642
Test: Setup wizard and settings app functional test
Change-Id: I6d95213a24de274f686ab372bb5fc69128a07e56

5 years agoAdd force SmartDark dev setting
John Reck [Fri, 26 Oct 2018 22:48:50 +0000 (15:48 -0700)]
Add force SmartDark dev setting

Bug: 118348733
Test: toggled it
Change-Id: I43b8ddaada9f8fc0a2a1fb4144fd4a53141bdb2e

5 years agoMerge "Fix condition text is out of button highlighting."
Stanley Wang [Mon, 12 Nov 2018 10:27:11 +0000 (10:27 +0000)]
Merge "Fix condition text is out of button highlighting."

5 years agoMerge "Restrict the number of contextual cards shown in suggestion area."
TreeHugger Robot [Mon, 12 Nov 2018 08:50:06 +0000 (08:50 +0000)]
Merge "Restrict the number of contextual cards shown in suggestion area."

5 years agoMerge "Switch count logging to action."
TreeHugger Robot [Mon, 12 Nov 2018 07:45:13 +0000 (07:45 +0000)]
Merge "Switch count logging to action."