OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Add UiBlocker for DashboardFragment"
Lei Yu [Fri, 11 Jan 2019 18:17:56 +0000 (18:17 +0000)]
Merge "Add UiBlocker for DashboardFragment"

5 years agoMerge "Split ring and notification vibration settings"
Alexey Kuzmin [Fri, 11 Jan 2019 13:51:16 +0000 (13:51 +0000)]
Merge "Split ring and notification vibration settings"

5 years agoMerge "Update Settings to match new mocks"
Kevin Chyn [Fri, 11 Jan 2019 06:14:47 +0000 (06:14 +0000)]
Merge "Update Settings to match new mocks"

5 years agoMerge "Revert "Developer option to enable CBRS""
Naina Nalluri [Fri, 11 Jan 2019 03:14:35 +0000 (03:14 +0000)]
Merge "Revert "Developer option to enable CBRS""

5 years agoUpdate Settings to match new mocks
Kevin Chyn [Fri, 11 Jan 2019 00:42:47 +0000 (16:42 -0800)]
Update Settings to match new mocks

Fixes: 122119972

Test: layout looks good
Change-Id: I259f7e706a6be18edc0e595ff6c3fdccf41b1178

5 years agoMerge "Adding the ability to customize the subtitle on an unavailable slice"
Console Chen [Fri, 11 Jan 2019 03:07:50 +0000 (03:07 +0000)]
Merge "Adding the ability to customize the subtitle on an unavailable slice"

5 years agoMerge "GUP: Fixed some typos and update some values"
Yiwei Zhang [Fri, 11 Jan 2019 02:40:30 +0000 (02:40 +0000)]
Merge "GUP: Fixed some typos and update some values"

5 years agoGUP: Fixed some typos and update some values
Yiwei Zhang [Thu, 10 Jan 2019 20:40:04 +0000 (04:40 +0800)]
GUP: Fixed some typos and update some values

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: I7b1e42cd3a823a72bcd6d61b26c4954c237ff6d0

5 years agoMerge "Polish some behaviors of the battery saver schedule screen"
Salvador Martinez [Thu, 10 Jan 2019 22:58:55 +0000 (22:58 +0000)]
Merge "Polish some behaviors of the battery saver schedule screen"

5 years agoAdd UiBlocker for DashboardFragment
jackqdyulei [Thu, 27 Dec 2018 22:40:09 +0000 (14:40 -0800)]
Add UiBlocker for DashboardFragment

If DashboardFragment detects blocker controllers, it won't display
until:
1. All blocking controllers finish bg works.
2. Timeout

This CL adds UiBlockerController to control this behavior and
BlockingSlicePreferenceController as an example.

Bug: 120803703
Test: atest SettingsUnitTests
Change-Id: I66fc194776d46ee49b3ec7685f3167834e673ba2

5 years agoMerge "Update disable app warning text"
TreeHugger Robot [Thu, 10 Jan 2019 20:50:45 +0000 (20:50 +0000)]
Merge "Update disable app warning text"

5 years agoMerge "Change summary of privacy page"
TreeHugger Robot [Thu, 10 Jan 2019 20:15:46 +0000 (20:15 +0000)]
Merge "Change summary of privacy page"

5 years agoMerge "Fix "Play media to" popup close issue when screen rotate"
TreeHugger Robot [Thu, 10 Jan 2019 19:43:49 +0000 (19:43 +0000)]
Merge "Fix "Play media to" popup close issue when screen rotate"

5 years agoPolish some behaviors of the battery saver schedule screen
Salvador Martinez [Tue, 8 Jan 2019 21:51:45 +0000 (13:51 -0800)]
Polish some behaviors of the battery saver schedule screen

This CL removes the line that was showing between the radio
buttons and the seek bar. Additionally it makes it so the seekbar
updates continuously as a user moves it and fixes a visual bug
where it would show 5% regardless of what the user had set it to
when exiting then re-entering the screen.

Test: visual
Change-Id: Icdb9cafe2bdda03d94230d1c8538f4c322b050e9
Fixes: 121388626
Fixes: 121211075

5 years agoUpdate disable app warning text
Fan Zhang [Thu, 10 Jan 2019 18:48:25 +0000 (10:48 -0800)]
Update disable app warning text

Change-Id: Iaf4f88c3d5e4ba7b58164ece953947af396f26d4
Fixes: 122609554
Test: visual

5 years agoRevert "Developer option to enable CBRS"
Naina Nalluri [Thu, 10 Jan 2019 18:23:33 +0000 (10:23 -0800)]
Revert "Developer option to enable CBRS"

This setting is being moved. Not needed
in Developer options anymore.

Bug: 122658022
Test: make a build and check Developer options

This reverts commit 6398841434d532c63c7afb63aae324508135eb77.

Change-Id: I53c6f5d2ec8f7c844886fdf3d32be2ec06f2b0d1

5 years agoSplit ring and notification vibration settings
Alexey Kuzmin [Mon, 10 Dec 2018 11:58:06 +0000 (11:58 +0000)]
Split ring and notification vibration settings

Synchronize settings between sound and accessibility menus

Bug: 116172311
Test: See accessibility vibration settings - ring and notification
settings sould be separate. Try changing vibration settings in sound and
accessibility menus - the settings should stay in sync.

Change-Id: I515a7188cdf5a26a229ac8f08c6fcfe98e2f91a0

5 years agoFix "Play media to" popup close issue when screen rotate
James Lu [Fri, 21 Dec 2018 12:23:53 +0000 (20:23 +0800)]
Fix "Play media to" popup close issue when screen rotate

- Avoid calling getListPreference() in onDialogClose() everytime.
  Due to exception in onDialogClose(). Move preference declaration into if condition.
- Add test case for crash case.

Bug: 119744621
Test: make -j50 RunSettingsRoboTests ROBOTEST_FILTER=UpdatableListPreferenceDialogFragmentTest
Change-Id: Ia20b8289a5863136ea74e02e32b537f6967474e8

5 years agoFix BB due to CL submit timing problem.
Arc Wang [Thu, 10 Jan 2019 08:14:33 +0000 (16:14 +0800)]
Fix BB due to CL submit timing problem.

Change style naming from Suw to Sud.

Bug: 120805516
Test: NA
Change-Id: Ieac16e5d28cc0e0232774651f0affec37a026888

5 years agoMerge "Change to show two footer buttons in SUW lockscreen page."
Pasty Chang [Thu, 10 Jan 2019 07:16:02 +0000 (07:16 +0000)]
Merge "Change to show two footer buttons in SUW lockscreen page."

5 years agoMerge "Implement the Copyable interface to ImeiInfoPreferenceController"
Stanley Wang [Thu, 10 Jan 2019 07:01:33 +0000 (07:01 +0000)]
Merge "Implement the Copyable interface to ImeiInfoPreferenceController"

5 years agoMerge "Rename prefix from suw to sud"
Pasty Chang [Thu, 10 Jan 2019 06:56:20 +0000 (06:56 +0000)]
Merge "Rename prefix from suw to sud"

5 years agoMerge changes I6abbfc5d,I1ce1b014
Arc Wang [Thu, 10 Jan 2019 06:04:09 +0000 (06:04 +0000)]
Merge changes I6abbfc5d,I1ce1b014

* changes:
  Fix Wi-Fi DPP activity crash after configuration change.
  Implement Wi-Fi DPP flow

5 years agoChange summary of privacy page
tmfang [Thu, 10 Jan 2019 05:50:03 +0000 (13:50 +0800)]
Change summary of privacy page

Test: visual
Change-Id: I29cc98c8eca619b7883c28317d0e7b4de5fea944
Fixes: 122368436

5 years agoMerge "Launch view account page when it's available."
Sunny Shao [Thu, 10 Jan 2019 04:55:11 +0000 (04:55 +0000)]
Merge "Launch view account page when it's available."

5 years agoFix Wi-Fi DPP activity crash after configuration change.
Arc Wang [Wed, 9 Jan 2019 07:51:16 +0000 (15:51 +0800)]
Fix Wi-Fi DPP activity crash after configuration change.

Both QR code and Wi-Fi network data may not come from intent.
After configuration change, the null data will crash the activity.

Bug: 120243131
Test: atest WifiDppConfiguratorActivityTest
Change-Id: I6abbfc5d25431789e8ac9f6ee9dfaaef15b2de33

5 years agoImplement Wi-Fi DPP flow
Arc Wang [Wed, 9 Jan 2019 03:54:38 +0000 (11:54 +0800)]
Implement Wi-Fi DPP flow

1. Wi-Fi DPP hanshake fail UI
2. Show Wi-Fi DPP QR code information field on WifiDppAddDeviceFragment if it's available.
3. Click 'Choose Different Network' button will show WifiDppChooseSavedWifiNetworkFragment
4. After QR code scanner scans success, WifiDppConfiguratorActivity caches WifiQrCode instead
   of just a QR code string

Bug: 122429170
Test: manual test
Change-Id: I1ce1b014ff86903b5a7a8f3575cc98eb1079583c

5 years agoMerge "Add summary for role-based default apps preference."
TreeHugger Robot [Thu, 10 Jan 2019 04:00:25 +0000 (04:00 +0000)]
Merge "Add summary for role-based default apps preference."

5 years agoImplement the Copyable interface to ImeiInfoPreferenceController
Stanley Wang [Tue, 25 Dec 2018 07:49:44 +0000 (15:49 +0800)]
Implement the Copyable interface to ImeiInfoPreferenceController

Copy the IMEI to clipboard for Copyable.

Change-Id: I3e13bfad8158e4cb4f9fda854661341d4c334e46
Fixes: 73769888
Test: manual and robotests

5 years agoMerge "Persist token across activity lifecycle"
Kevin Chyn [Thu, 10 Jan 2019 03:19:42 +0000 (03:19 +0000)]
Merge "Persist token across activity lifecycle"

5 years agoMerge changes I2d087f34,Ia2b91315
TreeHugger Robot [Thu, 10 Jan 2019 02:31:06 +0000 (02:31 +0000)]
Merge changes I2d087f34,Ia2b91315

* changes:
  Filter out unimportant battery tips from slice card.
  Revert "Remove battery saver condition."

5 years agoMerge "Add more Wi-Fi DPP UI features."
Arc Wang [Thu, 10 Jan 2019 02:07:31 +0000 (02:07 +0000)]
Merge "Add more Wi-Fi DPP UI features."

5 years agoLaunch view account page when it's available.
Sunny Shao [Wed, 19 Dec 2018 09:39:09 +0000 (17:39 +0800)]
Launch view account page when it's available.

- Add to launch the new Contextual Landing Page when user clicks the avatar
  icon and check the matching intent activity exist.
- Use the serialized intent and keeps in config.xml.
- Remove the getAccountSettingsDeeplinkIntent in the AccountFeatureProvider
  which never use again.

Change-Id: I50396af67eb04034572f8c885b4d9aef48a67e9d
Fixes: 122486552
Test: robotest

5 years agoMerge "GUP: Display a list of Apps and dialogs"
Yiwei Zhang [Thu, 10 Jan 2019 00:33:39 +0000 (00:33 +0000)]
Merge "GUP: Display a list of Apps and dialogs"

5 years agoFilter out unimportant battery tips from slice card.
Fan Zhang [Thu, 10 Jan 2019 00:17:18 +0000 (16:17 -0800)]
Filter out unimportant battery tips from slice card.

Change-Id: I2d087f345e44a7dc643715f67c9f516f5541e05e
Fixes: 121115306
Test: robotests

5 years agoRevert "Remove battery saver condition."
Fan Zhang [Wed, 9 Jan 2019 23:14:34 +0000 (23:14 +0000)]
Revert "Remove battery saver condition."

This reverts commit 44b28f4a2b5cea5abeb603fe81a38f6f8a666bc5.
Bug: 121115306
Test: robotests

Reason for revert: Change of design

Change-Id: Ia2b9131595d582fd8300367f729fde2b3de81b6e

5 years agoAdd summary for role-based default apps preference.
Hai Zhang [Tue, 8 Jan 2019 02:30:49 +0000 (18:30 -0800)]
Add summary for role-based default apps preference.

This change adds summary for role-based default apps preference, based
on what we have now for default apps.

Bug: 110557011
Test: atest RolesPreferenceControllerTest
Change-Id: Ic3dd84dc7ca687ea1de63a856ac3fcf679e1bda9

5 years agoPersist token across activity lifecycle
Kevin Chyn [Wed, 9 Jan 2019 22:52:56 +0000 (14:52 -0800)]
Persist token across activity lifecycle

Test: token is persisted

Bug: 122372584
Change-Id: Id3221d1a06c48779c743a685a49a70edff6e912c

5 years agoAllow OEM customizing max screen timeout value.
Fan Zhang [Tue, 8 Jan 2019 00:41:10 +0000 (16:41 -0800)]
Allow OEM customizing max screen timeout value.

Side fix - update string for select timezone.

Change-Id: Id61128b7dfcc27da8ed07225af3b6bec4e93b512
Fixes: 113346164
Fixes: 121986474
Test: robotest

5 years agoGUP: Display a list of Apps and dialogs
Yiwei Zhang [Sat, 29 Dec 2018 00:52:31 +0000 (08:52 +0800)]
GUP: Display a list of Apps and dialogs

1) Add preference controller for gup dashboard and add list preferences
for each entry of the apps
2) Add gup dashboard page to search index
3) Add comprehensive tests for GupPreferenceController

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Ide4934c0dd3901532723e77e74663e5a7b639026

5 years agoMerge "use android:textAppearanceListItem to replace Preference subhead"
TreeHugger Robot [Wed, 9 Jan 2019 17:58:44 +0000 (17:58 +0000)]
Merge "use android:textAppearanceListItem to replace Preference subhead"

5 years agoMerge "Implement an "Advance" button on Privacy page."
TreeHugger Robot [Wed, 9 Jan 2019 12:18:22 +0000 (12:18 +0000)]
Merge "Implement an "Advance" button on Privacy page."

5 years agoMerge "Update the layout of half width suggestion cards."
TreeHugger Robot [Wed, 9 Jan 2019 11:40:24 +0000 (11:40 +0000)]
Merge "Update the layout of half width suggestion cards."

5 years agoMerge "Update the background colour for dismissal view."
TreeHugger Robot [Wed, 9 Jan 2019 11:21:20 +0000 (11:21 +0000)]
Merge "Update the background colour for dismissal view."

5 years agoAdd more Wi-Fi DPP UI features.
Arc Wang [Mon, 7 Jan 2019 03:51:42 +0000 (11:51 +0800)]
Add more Wi-Fi DPP UI features.

1. Use ConstraintLayout to fix footer buttons at bottom
2. ScrollViews have all other UI components excepts footer buttons
3. Use style/SuwGlifButton for buttons
4. Fix scan fragment crash when rotating screen

Bug: 118794978
Test: manual test
Change-Id: I509b0156c4835c75da75fb7ac4c82f55a0b506a1

5 years agouse android:textAppearanceListItem to replace Preference subhead
Sunny Shao [Wed, 9 Jan 2019 09:59:07 +0000 (17:59 +0800)]
use android:textAppearanceListItem to replace Preference subhead

Use android:attr/textAppearanceListItem to replace style/Preference_TextAppearanceMaterialSubhead
in the time_zone_search_item.xml

Bug: 122043378
Test: compilation
Change-Id: I8a19e6aa662b01fd4d8c2a0a139c787438d6d11c

5 years agoUpdate the layout of half width suggestion cards.
Yi-Ling Chuang [Wed, 9 Jan 2019 03:54:16 +0000 (11:54 +0800)]
Update the layout of half width suggestion cards.

When switching to the dismissal view, the background color of suggestion
cards that were built as half cards with only 1 line text in it won't
fully cover the whole card. The alignments are not consistent as well.

Make layout_height of ViewFlipper and the main content to be
match_parent.

Change-Id: If345d00d21150e184614029a34e79b3210ec52ff
Fixes: 122559038
Test: visual

5 years agoImplement an "Advance" button on Privacy page.
tmfang [Wed, 9 Jan 2019 06:50:43 +0000 (14:50 +0800)]
Implement an "Advance" button on Privacy page.

- Also rearrange the order for "show password".

Test: visual
Fixes: 122556325

Change-Id: Iac15baa83a2ba863ad75c0a309a0e4c6deaa522e

5 years agoMerge "Implement persisting time for onUserSelectionConnectSuccess."
Cosmo Hsieh [Wed, 9 Jan 2019 02:28:09 +0000 (02:28 +0000)]
Merge "Implement persisting time for onUserSelectionConnectSuccess."

5 years agoMerge "Implement Wi-Fi DPP flow"
Johnson Lu [Wed, 9 Jan 2019 01:59:01 +0000 (01:59 +0000)]
Merge "Implement Wi-Fi DPP flow"

5 years agoMerge "Make Network & internet v2 feature flag be persistent"
TreeHugger Robot [Wed, 9 Jan 2019 01:18:21 +0000 (01:18 +0000)]
Merge "Make Network & internet v2 feature flag be persistent"

5 years agoMerge "Charging sounds toggle now includes vibration"
TreeHugger Robot [Tue, 8 Jan 2019 22:34:02 +0000 (22:34 +0000)]
Merge "Charging sounds toggle now includes vibration"

5 years agoMake Network & internet v2 feature flag be persistent
Antony Sargent [Tue, 8 Jan 2019 22:17:39 +0000 (14:17 -0800)]
Make Network & internet v2 feature flag be persistent

In ag/5386198 we added a flag to turn on the new features of the network
and internet settings page, but that flag resets to the default value
(currently false) every time you reboot, which is annoying and hostile
for dogfooders. This CL makes the flag persistent.

Bug: 116349402
Test: manual / should be covered by existing tests
Change-Id: I098073e81feb199751e967a9652bec6a6445b95e

5 years agoCharging sounds toggle now includes vibration
Beverly [Tue, 8 Jan 2019 14:43:22 +0000 (09:43 -0500)]
Charging sounds toggle now includes vibration

Add text to indicate the charging sounds toggle also
includes vibration

Test: manual, builds
Bug: 29737261
Change-Id: I55e35ea63b8e80aa5573ef676fdde4b28bc0f654

5 years agoAdding the ability to customize the subtitle on an unavailable slice
Console Chen [Wed, 19 Dec 2018 10:01:09 +0000 (18:01 +0800)]
Adding the ability to customize the subtitle on an unavailable slice

When a slice is depending on some setting and the setting is off,
it shows "depends on another setting".
Add an new attribute for Preference to customize the subtitle when
a slice is unavailable.

Bug: 118399193
Test: Robo test on com.android.settings.slices, com.android.settings.core
Change-Id: I84a8400295b36abb357e5baf98e9be3a8d6ea897

5 years agoUpdate the background colour for dismissal view.
Yi-Ling Chuang [Tue, 8 Jan 2019 07:47:40 +0000 (15:47 +0800)]
Update the background colour for dismissal view.

Change-Id: I14cfa176c80581ea8f4de099015e4ff148acf59a
Fixes: 119170360
Test: visual

5 years agoImplement Wi-Fi DPP flow
Johnson Lu [Mon, 7 Jan 2019 03:44:21 +0000 (11:44 +0800)]
Implement Wi-Fi DPP flow

1. As DPP configurator initiator.
2. As DPP enrollee initiator.
3. Pass whole DPP url to DPP API due to API cahnged.

Bug: 122331217
Test: manual test
Change-Id: I8005b78b82453badf253dbde8022ff20722b39fd

5 years agoImplement persisting time for onUserSelectionConnectSuccess.
cosmohsieh [Mon, 24 Dec 2018 03:24:48 +0000 (11:24 +0800)]
Implement persisting time for onUserSelectionConnectSuccess.

When onUserSelectionConnectSuccess callbacks, holding a second for user
to be aware of success connection. Then, go to destory network request dialog.

Bug: 117399926
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.NetworkRequestDialogFragmentTest
Change-Id: I12d8fb2e8955cf24ddad43d1fe8b863682b6ae32

5 years agoMerge "Fix BandMode Dialog Crash on Open due to Style" am: 7588ef1518 am: 7aacdc2c13
Nathan Harold [Tue, 8 Jan 2019 01:50:20 +0000 (17:50 -0800)]
Merge "Fix BandMode Dialog Crash on Open due to Style" am: 7588ef1518 am: 7aacdc2c13
am: c015a1bac0

Change-Id: I5d1f931b9b5a6dae87d4effd20ec91d6f9114989

5 years agoMerge "Fix BandMode Dialog Crash on Open due to Style" am: 7588ef1518
Nathan Harold [Tue, 8 Jan 2019 01:31:14 +0000 (17:31 -0800)]
Merge "Fix BandMode Dialog Crash on Open due to Style" am: 7588ef1518
am: 7aacdc2c13

Change-Id: I50588e17f07d89daa3a989a72080a4fe695b4729

5 years agoMerge "Fix BandMode Dialog Crash on Open due to Style"
Nathan Harold [Tue, 8 Jan 2019 01:16:52 +0000 (17:16 -0800)]
Merge "Fix BandMode Dialog Crash on Open due to Style"
am: 7588ef1518

Change-Id: I0dd365652f4deac7b69b181317b0dd86610400a7

5 years agoMerge "Fix BandMode Dialog Crash on Open due to Style"
Nathan Harold [Tue, 8 Jan 2019 00:18:21 +0000 (00:18 +0000)]
Merge "Fix BandMode Dialog Crash on Open due to Style"

5 years agoRemove logging for ssids
Salvador Martinez [Mon, 7 Jan 2019 22:35:31 +0000 (14:35 -0800)]
Remove logging for ssids

This is potentially PII so we should not log this. This change
simply removes the lines of logging code.

Test: changing preference does not result in logging
Bug: 117637133
Change-Id: I620ac4cc4eaaf8227b0694e6cc5f9a85d54bc0e8

5 years agoMerge "Fix TODO for mobile network settings"
TreeHugger Robot [Mon, 7 Jan 2019 20:24:13 +0000 (20:24 +0000)]
Merge "Fix TODO for mobile network settings"

5 years agoMerge "Fix ConcurrentModificationException in SliceBackgroundWorker"
TreeHugger Robot [Mon, 7 Jan 2019 20:11:17 +0000 (20:11 +0000)]
Merge "Fix ConcurrentModificationException in SliceBackgroundWorker"

5 years agoFix ConcurrentModificationException in SliceBackgroundWorker
Jason Chiu [Fri, 4 Jan 2019 07:12:19 +0000 (15:12 +0800)]
Fix ConcurrentModificationException in SliceBackgroundWorker

- Two different threads could call SliceBackgroundWorker.getInstance()
  at the same time and caused ConcurrentModificationException
- Add a new API overloading getInstance for each slice to get a nullable
  worker since there is no result data then
- Only slice provider can create a new worker instance in main thread

Test: robotest
Change-Id: I560529bb6034ec22263418adeb7f3ccebf879196
Fixes: 121043385

5 years agoMerge "Refine the conditionals layout"
TreeHugger Robot [Mon, 7 Jan 2019 16:52:27 +0000 (16:52 +0000)]
Merge "Refine the conditionals layout"

5 years agoMerge "Make filter appear floating in ManagerApplication."
TreeHugger Robot [Mon, 7 Jan 2019 14:23:57 +0000 (14:23 +0000)]
Merge "Make filter appear floating in ManagerApplication."

5 years agoRefine the conditionals layout
Mill Chen [Mon, 7 Jan 2019 08:15:08 +0000 (16:15 +0800)]
Refine the conditionals layout

1. Add the minWidth for a button in the condition full tile and adjust
the start margin of the button.
2. Decrease the start padding of the conditional header layout.

Bug: 113451905
Test: visual
Change-Id: I4864730b35154c0bd4b0a806815aa912b19ca3d7

5 years agoMake filter appear floating in ManagerApplication.
tmfang [Mon, 24 Dec 2018 07:09:23 +0000 (15:09 +0800)]
Make filter appear floating in ManagerApplication.

Using new layouts to make filter component appear
floating on top of the page.

The layouts contain the NestedScollView and AppBarLayout.
The NestedScrollView was given a layout_behavior which
defined the behavior of AppBarLayout.

Test: visual
Change-Id: Ia76104f80c6b60ac6c8f5937ebface8e9a7238b5
Fixes: 121148001

5 years agoMerge "Implement slice half card"
Mill Chen [Mon, 7 Jan 2019 08:17:47 +0000 (08:17 +0000)]
Merge "Implement slice half card"

5 years agoMerge "Build a way to decide card width"
Mill Chen [Mon, 7 Jan 2019 08:17:47 +0000 (08:17 +0000)]
Merge "Build a way to decide card width"

5 years agoMerge "Refactor slice renderer to handle different card width"
TreeHugger Robot [Mon, 7 Jan 2019 06:55:31 +0000 (06:55 +0000)]
Merge "Refactor slice renderer to handle different card width"

5 years agoImplement slice half card
Mill Chen [Wed, 19 Dec 2018 16:04:14 +0000 (00:04 +0800)]
Implement slice half card

To display slice in half width form needs to bind slice, extract the
title and the icon from slice, and finally put the title and the icon
into half card layout.

Bug: 119655434
Test: visual, robotests
Change-Id: Ib390f9a45f0ee609eb9e3499bff74136c7616ac3

5 years agoRefactor slice renderer to handle different card width
Mill Chen [Tue, 18 Dec 2018 16:07:17 +0000 (00:07 +0800)]
Refactor slice renderer to handle different card width

- Refactor SliceContextualCardRenderer to support for displaying slice
in half/full width card.
- Add two helper classes to separately deal with different card width.

Only the skeleton of the half card helper is put in this CL, the
implementation hasn't been filled in yet. Will implement the detail in
next CL.

Bug: 119655434
Test: visual, robotests
Change-Id: Iacdc90c23bf41cfa7ccae3c0c70a3b663e89307d

5 years agoMerge "Improve visual - Collapse the conditionals in all cases"
TreeHugger Robot [Mon, 7 Jan 2019 05:29:31 +0000 (05:29 +0000)]
Merge "Improve visual - Collapse the conditionals in all cases"

5 years agoImprove visual - Collapse the conditionals in all cases
Mill Chen [Fri, 4 Jan 2019 13:28:20 +0000 (21:28 +0800)]
Improve visual - Collapse the conditionals in all cases

Changing the threshold value to make collapsing mechanism of conditionals
work in all cases, where the threshold value is changed to 0 from 2.

Bug: 122310542
Test: robotests
Change-Id: I227114acdc6770baa0c133397d08e3ad77f6c572

5 years agoMerge "GUP: Add stub UI"
TreeHugger Robot [Sat, 5 Jan 2019 02:26:04 +0000 (02:26 +0000)]
Merge "GUP: Add stub UI"

5 years agoFix TODO for mobile network settings
jackqdyulei [Wed, 19 Dec 2018 22:52:42 +0000 (14:52 -0800)]
Fix TODO for mobile network settings

1. Add intent filter to MobileNetworkActivity(new page)
2. Add metrics id
3. Remove obsolete TODOs

Bug: 114749736
Test: Manual
Change-Id: I36f41983dc8cc36ccdf548174fc494044ec1b241

5 years agoMerge "Unit test for AppLocationPermissionPreferenceController"
TreeHugger Robot [Fri, 4 Jan 2019 23:53:38 +0000 (23:53 +0000)]
Merge "Unit test for AppLocationPermissionPreferenceController"

5 years agoMerge "Unit test for RecentLocationAccessPreferenceController"
TreeHugger Robot [Fri, 4 Jan 2019 23:00:43 +0000 (23:00 +0000)]
Merge "Unit test for RecentLocationAccessPreferenceController"

5 years agoMerge "Add support for FEATURE_NFC_ANDROID_BEAM" am: 6827785e52 am: 39845367ab
Ruchi Kandoi [Fri, 4 Jan 2019 22:19:23 +0000 (14:19 -0800)]
Merge "Add support for FEATURE_NFC_ANDROID_BEAM" am: 6827785e52 am: 39845367ab
am: a7c886925f

Change-Id: I08ff3b1bd80e913aeec9800b1c5ddce69543ba3c

5 years agoMerge "Add support for FEATURE_NFC_ANDROID_BEAM" am: 6827785e52
Ruchi Kandoi [Fri, 4 Jan 2019 22:07:48 +0000 (14:07 -0800)]
Merge "Add support for FEATURE_NFC_ANDROID_BEAM" am: 6827785e52
am: 39845367ab

Change-Id: Ia7fc968221a6eb314a9ee384e0dd84d3aa0e84b4

5 years agoMerge "Add support for FEATURE_NFC_ANDROID_BEAM"
Ruchi Kandoi [Fri, 4 Jan 2019 21:58:22 +0000 (13:58 -0800)]
Merge "Add support for FEATURE_NFC_ANDROID_BEAM"
am: 6827785e52

Change-Id: I7c71bad831892bf9a853ca5d4777e42c1b3a9171

5 years agoGUP: Add stub UI
Yiwei Zhang [Fri, 28 Dec 2018 03:38:11 +0000 (11:38 +0800)]
GUP: Add stub UI

Bug: 119221883
Test: make RunSettingsRoboTests ROBOTEST_FILTER=GupDashboardTest

Change-Id: I1f7cc66790e1d1e1de5113e28a055ec5d1679013

5 years agoMerge "Add support for FEATURE_NFC_ANDROID_BEAM"
Treehugger Robot [Fri, 4 Jan 2019 21:49:14 +0000 (21:49 +0000)]
Merge "Add support for FEATURE_NFC_ANDROID_BEAM"

5 years agoUnit test for RecentLocationAccessPreferenceController
Lifu Tang [Thu, 27 Dec 2018 00:15:25 +0000 (16:15 -0800)]
Unit test for RecentLocationAccessPreferenceController

Bug: 120910747
Test: run unit test
Change-Id: I5a3e4eb3dd9519f0fa1fe1e3f90612ee1cd5762d

5 years agoUnit test for AppLocationPermissionPreferenceController
Lifu Tang [Thu, 27 Dec 2018 20:33:05 +0000 (12:33 -0800)]
Unit test for AppLocationPermissionPreferenceController

Bug: 120910747
Test: build and run the unit test
Change-Id: Id5f79d0f6b143d1ef5e37d75c27a64b4e1dcd9e0

5 years agoMerge "Prevent ringing gesture uses master switch"
Beverly Tai [Fri, 4 Jan 2019 18:36:56 +0000 (18:36 +0000)]
Merge "Prevent ringing gesture uses master switch"

5 years agoMerge "Fix notification widget's alerting logs"
TreeHugger Robot [Fri, 4 Jan 2019 17:44:37 +0000 (17:44 +0000)]
Merge "Fix notification widget's alerting logs"

5 years agoMerge "RuntimePermissionPresenter was renamed to PermissionControllerManager"
Philip P. Moltmann [Fri, 4 Jan 2019 17:32:43 +0000 (17:32 +0000)]
Merge "RuntimePermissionPresenter was renamed to PermissionControllerManager"

5 years agoFix notification widget's alerting logs
Julia Reynolds [Fri, 4 Jan 2019 16:09:35 +0000 (11:09 -0500)]
Fix notification widget's alerting logs

- Use last alerted time if available
- Read from channel

Test: manual
Change-Id: I5e3ab7e234c9c6766a1a4dffb5636a633f6b5f2e
Fixes: 74495461

5 years agoMerge "Update the icon in BluetoothDevicesSlice"
Yanting Yang [Fri, 4 Jan 2019 14:04:27 +0000 (14:04 +0000)]
Merge "Update the icon in BluetoothDevicesSlice"

5 years agoMerge "Centerize contents of contextual cards and remove white space."
TreeHugger Robot [Fri, 4 Jan 2019 09:26:28 +0000 (09:26 +0000)]
Merge "Centerize contents of contextual cards and remove white space."

5 years agoMerge "Add more Wi-Fi DPP UI features."
Arc Wang [Fri, 4 Jan 2019 08:55:53 +0000 (08:55 +0000)]
Merge "Add more Wi-Fi DPP UI features."

5 years agoUpdate the icon in BluetoothDevicesSlice
Yanting Yang [Fri, 4 Jan 2019 08:49:27 +0000 (16:49 +0800)]
Update the icon in BluetoothDevicesSlice

- By request from UX team, to update the settings icon of end item.
- Also correct the icon to ic_menu_add in pair new device slice action.

Bug: 114807655
Test: visual, robotests
Change-Id: I5e9f533eec953c415cffea1860608291a3c408a5

5 years agoCenterize contents of contextual cards and remove white space.
Yi-Ling Chuang [Fri, 4 Jan 2019 07:43:58 +0000 (15:43 +0800)]
Centerize contents of contextual cards and remove white space.

Decrease the minHeight of the two buttons in the dismissal view and have
the contents centered.

Change-Id: I806e8ccae88e693dc222a13940597fd33684ee70
Fixes: 120086509
Test: visual

5 years agoAdd more Wi-Fi DPP UI features.
Arc Wang [Thu, 3 Jan 2019 10:36:27 +0000 (18:36 +0800)]
Add more Wi-Fi DPP UI features.

1. Update strings and icons.
2. Add more UI features in WifiDppAddDeviceFragment &
   WifiDppChooseSavedWifiNetworkFragment.

Bug: 118794978
Test: manual test
Change-Id: I2bee3f66732a1083fb13c113695899272e98c23e

5 years agoMerge "Change action WIFI_DPP_CONFIGURATOR_CHOOSE_SAVED_WIFI_NETWORK to PROCESS_WIFI_...
TreeHugger Robot [Fri, 4 Jan 2019 03:29:07 +0000 (03:29 +0000)]
Merge "Change action WIFI_DPP_CONFIGURATOR_CHOOSE_SAVED_WIFI_NETWORK to PROCESS_WIFI_DPP_QR_CODE for more intuitive naming."

5 years agoMerge changes from topic "status_bar_80%_white"
TreeHugger Robot [Fri, 4 Jan 2019 03:08:44 +0000 (03:08 +0000)]
Merge changes from topic "status_bar_80%_white"

* changes:
  Fine tune items position of homepage
  Make status bar become 80% of white in homepage.