OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Update the timestamp used for time zone filtering" am: 51376aefc1 am: d2b3df945c
Neil Fuller [Wed, 27 Feb 2019 19:20:47 +0000 (11:20 -0800)]
Merge "Update the timestamp used for time zone filtering" am: 51376aefc1 am: d2b3df945c
am: 641ea6e4fa

Change-Id: I665c8d444e1eb58664e2884d371e21aae625f6fe

5 years agoMerge "Update the timestamp used for time zone filtering" am: 51376aefc1
Neil Fuller [Wed, 27 Feb 2019 19:10:27 +0000 (11:10 -0800)]
Merge "Update the timestamp used for time zone filtering" am: 51376aefc1
am: d2b3df945c

Change-Id: Ibf0c0b2e1bedf25f8228e98bdb3644d0e090d135

5 years agoMerge "Update the timestamp used for time zone filtering"
Neil Fuller [Wed, 27 Feb 2019 19:01:42 +0000 (11:01 -0800)]
Merge "Update the timestamp used for time zone filtering"
am: 51376aefc1

Change-Id: I73413541d36f6caac85dd18c2f6d63adee67b95e

5 years agoMerge "Update the timestamp used for time zone filtering"
Treehugger Robot [Wed, 27 Feb 2019 18:45:08 +0000 (18:45 +0000)]
Merge "Update the timestamp used for time zone filtering"

5 years agoMerge "Disable system alert window permissions on low ram devices"
Zhi An Ng [Wed, 27 Feb 2019 17:06:50 +0000 (17:06 +0000)]
Merge "Disable system alert window permissions on low ram devices"

5 years agoUpdate the timestamp used for time zone filtering
Neil Fuller [Wed, 27 Feb 2019 14:58:45 +0000 (14:58 +0000)]
Update the timestamp used for time zone filtering

Update the timestamp used for time zone filtering and improve the
comment explaining what it is for.

Bug: 124756276
Test: build only
Change-Id: I2e53b1f3bd36602f8d08967e1335066d93ae05ea

5 years agoMerge "Move AmbientDisplayConfiguration class out of internal package."
Issei Suzuki [Wed, 27 Feb 2019 14:28:36 +0000 (14:28 +0000)]
Merge "Move AmbientDisplayConfiguration class out of internal package."

5 years agoMove AmbientDisplayConfiguration class out of internal package.
Issei Suzuki [Tue, 26 Feb 2019 15:16:47 +0000 (16:16 +0100)]
Move AmbientDisplayConfiguration class out of internal package.

Test: m droid (run full build)
Bug: 126327497
Change-Id: Idc07c811864edb4f88151051e25d6e05e4caf3b2

5 years agoMerge "Leverage the behavior of showing the searching message in wifi slice"
Jason Chiu [Wed, 27 Feb 2019 10:03:28 +0000 (10:03 +0000)]
Merge "Leverage the behavior of showing the searching message in wifi slice"

5 years agoMerge "Fix Settings crash after clicking 'Share Wi-Fi' button"
TreeHugger Robot [Wed, 27 Feb 2019 07:06:38 +0000 (07:06 +0000)]
Merge "Fix Settings crash after clicking 'Share Wi-Fi' button"

5 years agoMerge "Bar chart preserves data before rotating device"
TreeHugger Robot [Wed, 27 Feb 2019 06:39:07 +0000 (06:39 +0000)]
Merge "Bar chart preserves data before rotating device"

5 years agoMerge "Use ThemedBatteryDrawable in settings"
TreeHugger Robot [Wed, 27 Feb 2019 06:02:49 +0000 (06:02 +0000)]
Merge "Use ThemedBatteryDrawable in settings"

5 years agoLeverage the behavior of showing the searching message in wifi slice
Jason Chiu [Tue, 26 Feb 2019 10:01:00 +0000 (18:01 +0800)]
Leverage the behavior of showing the searching message in wifi slice

Fixes: 124823973
Test: robotest
Change-Id: Id89ec5ef09f05f83e019a6f4488cacf2ab4e635b

5 years agoFix Settings crash after clicking 'Share Wi-Fi' button
Arc Wang [Wed, 27 Feb 2019 03:33:43 +0000 (11:33 +0800)]
Fix Settings crash after clicking 'Share Wi-Fi' button

When connecting to an open network, Settings crash after
scanning Wi-Fi DPP QR code and clicking 'Share Wi-Fi' button.

When choosing default network for configurator usage, should
make sure if it supports Wi-Fi DPP or not.

Bug: 126456582
Test: manual test
      atest WifiQrCodeTest
            WifiDppConfiguratorActivityTest
            WifiDppEnrolleeActivityTest
            WifiDppQrCodeGeneratorFragmentTest
            WifiDppQrCodeScannerFragmentTest
            WifiNetworkListFragmentTest
            WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: I66ee9b01314b84213ecb3016e6e72ff71af8dfc7

5 years agoBar chart preserves data before rotating device
tmfang [Tue, 26 Feb 2019 05:22:59 +0000 (13:22 +0800)]
Bar chart preserves data before rotating device

We saw chart view is gone while rotating device.

Fow now, we save the old permission data before
fragment was recreated.
Then, we can initialize the view quickly with
old data.

Test: robotest, visual
Fixes: 123539793
Change-Id: I230fecc6001a17a0c0205f2a1dcb5dd79f32e744

5 years agoMerge "Refactor passwords/pins/patterns to byte[]"
Rich Cannings [Wed, 27 Feb 2019 03:21:57 +0000 (03:21 +0000)]
Merge "Refactor passwords/pins/patterns to byte[]"

5 years agoMerge "Duplicate dark mode settings to accessibility display settings"
Kevin Chang [Wed, 27 Feb 2019 03:15:39 +0000 (03:15 +0000)]
Merge "Duplicate dark mode settings to accessibility display settings"

5 years agoMerge "Create a preference controller for "App info""
TreeHugger Robot [Wed, 27 Feb 2019 03:02:46 +0000 (03:02 +0000)]
Merge "Create a preference controller for "App info""

5 years agoDisable system alert window permissions on low ram devices
Ng Zhi An [Fri, 1 Feb 2019 20:39:31 +0000 (12:39 -0800)]
Disable system alert window permissions on low ram devices

Bug: 63697002
Bug: 117832554
Test: adb am start-activity -a
android.settings.action.MANAGE_OVERLAY_PERMISSION
Change-Id: I44c64001cd07fd4934cdc55f455384cebd5c9cfb

5 years agoMerge "Guard NPE in RingtonePrefController"
TreeHugger Robot [Wed, 27 Feb 2019 01:51:18 +0000 (01:51 +0000)]
Merge "Guard NPE in RingtonePrefController"

5 years agoDuplicate dark mode settings to accessibility display settings
Kevin Chang [Fri, 15 Feb 2019 01:26:22 +0000 (09:26 +0800)]
Duplicate dark mode settings to accessibility display settings

Bug: 123227114
Test: Manual
      make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilitySettings
Change-Id: Icb60bc18e31377a2e73780004bd1bdea7bc96eea

5 years agoMerge "Handle the IllegalStateException"
Sunny Shao [Wed, 27 Feb 2019 00:25:46 +0000 (00:25 +0000)]
Merge "Handle the IllegalStateException"

5 years agoGuard NPE in RingtonePrefController
Fan Zhang [Tue, 26 Feb 2019 23:45:17 +0000 (15:45 -0800)]
Guard NPE in RingtonePrefController

Fixes: 126416474
Test: robotests
Change-Id: I02d0279ae107e7c03668849beaea8aa0463b4da6

5 years agoMerge "Fix panel bugs"
TreeHugger Robot [Tue, 26 Feb 2019 23:40:15 +0000 (23:40 +0000)]
Merge "Fix panel bugs"

5 years agoRefactor passwords/pins/patterns to byte[]
Rich Cannings [Tue, 19 Feb 2019 21:15:30 +0000 (13:15 -0800)]
Refactor passwords/pins/patterns to byte[]

Relating to packages/apps/Settings

Bug: 120484642
Test: manual - test setting and unlocking passwords/pins/patterns.
      automated - 20 of about 500 tests fail due to fragile synthetic
      password test code.

Change-Id: Idec8338d141c185bef67ade12035fdb2fa9d17ea

5 years agoMerge "Make Serial number preference a copyable slice."
Fan Zhang [Tue, 26 Feb 2019 22:36:18 +0000 (22:36 +0000)]
Merge "Make Serial number preference a copyable slice."

5 years agoFix panel bugs
Matthew Fritze [Tue, 26 Feb 2019 22:14:56 +0000 (14:14 -0800)]
Fix panel bugs

Add unique task affinity so the panel activity
always opens alone. Apparently the launchMode="singleTop" was
insufficient.

Test: manual app
Fixes: 126385021
Fixes: 126386586
Fixes: 126326438
Change-Id: I775e84701d006cfbe0d9ddfff83669b3f8487b33

5 years agoMerge "Include uid in device admin pref id."
TreeHugger Robot [Tue, 26 Feb 2019 22:14:56 +0000 (22:14 +0000)]
Merge "Include uid in device admin pref id."

5 years agoMake Serial number preference a copyable slice.
Fan Zhang [Tue, 26 Feb 2019 21:06:23 +0000 (13:06 -0800)]
Make Serial number preference a copyable slice.

Fixes: 73769621
Test: robotests
Change-Id: Ic20d8865bc26c1acc7db74e665f92fe388d62f74

5 years agoMerge "Remove NFC Slice jank"
TreeHugger Robot [Tue, 26 Feb 2019 19:28:58 +0000 (19:28 +0000)]
Merge "Remove NFC Slice jank"

5 years agoMerge "Update settings notification ui tests"
TreeHugger Robot [Tue, 26 Feb 2019 19:15:17 +0000 (19:15 +0000)]
Merge "Update settings notification ui tests"

5 years agoMerge "Make PreventRingingSwitch preference clickable"
TreeHugger Robot [Tue, 26 Feb 2019 19:15:13 +0000 (19:15 +0000)]
Merge "Make PreventRingingSwitch preference clickable"

5 years agoUse ThemedBatteryDrawable in settings
Evan Laird [Fri, 15 Feb 2019 19:55:30 +0000 (14:55 -0500)]
Use ThemedBatteryDrawable in settings

Changed out BatteryMeterDrawable to inherit from ThemedBatteryDrawable
instead of BatteryMeterDrawableBase. Also removed warning text paint
because it seemed unused and simplified the interface.

Bug: 123705805
Test: visual
Change-Id: I30496e3d8881803d9d3d8a316c10387482a8f610

5 years agoInclude uid in device admin pref id.
Fan Zhang [Tue, 26 Feb 2019 18:42:10 +0000 (10:42 -0800)]
Include uid in device admin pref id.

Fixes: 124979213
Test: robotests
Change-Id: I50114db79e9b5278bc916fbbba6353c5f19df24f

5 years agoRemove NFC Slice jank
Matthew Fritze [Thu, 21 Feb 2019 23:17:37 +0000 (15:17 -0800)]
Remove NFC Slice jank

The NFC Slice would jank on enable and disable, because of the
intent filter it registered with SysUI. The intent filter would
broadcast an update for four states:
1) On
2) Off
3) Turning On
4) Turning off

The first two caused no problems. The third and fourth caused jank,
since when clicked, the switch in the NFC slice would turn on / off
asynchronously - that is, it turned on or off based on the previous
state of the switch, rather than on the actual value of NFC. It does
this to feel fluid in the app in which it is rendered.

From the off state, the order of events is:
1.  Switch clicked
2.  Switch animates on
2.  Background intent is fired to settings to turn on Nfc (happens at
       the same time as animation)
3.  Settings calls the NFC enable API
4.  A broadcast for Turning On is sent
5.  The receiver in SysUI gets the broadcast and forwards it to settings
6.  Settings tells the Slice to make sure it is up to date
7.  The Slice checks for the current value - IMPORTANTLY - which is
        currently off, it is only in the process of being enabled.
8.  The Slice flips back off
9.  Nfc finishes getting enabled in the background
10. The framework pushes the NFC ON broadcast
11. SysUI gets the broadcast, and forwards it to settings
12. Settings tells the slice to update
13. The slice checks again and finds that NFC is on, flipping on.

This CL creates a new background slice worker for NFC and registers
the intent filter there, rather than in SysUI. When the background
worker gets the broadcast, it checks if it is in state 3/4, and if so,
it drops the update silently.

Fixes: 115737701
Test: robotests
Change-Id: I17043828ad3a67a2a5acdf5c75d9cc51ff7e91d0

5 years agoUpdate settings notification ui tests
Beverly [Tue, 26 Feb 2019 15:38:53 +0000 (10:38 -0500)]
Update settings notification ui tests

Test: atest AppNotificationSettingsTest
Test: atest ZenModeSettingsIntegrationTest
Test: atest ChannelNotificationSettingsTest
Fixes: 126253682
Change-Id: Ie7fc5f177eb418162ecf24b0c4818ee52a8088db

5 years agoMerge "Add summary to Notification Assistant picker"
Fabian Kozynski [Tue, 26 Feb 2019 14:11:56 +0000 (14:11 +0000)]
Merge "Add summary to Notification Assistant picker"

5 years agoMerge "Update char limit for "Erase all data?""
TreeHugger Robot [Tue, 26 Feb 2019 11:46:08 +0000 (11:46 +0000)]
Merge "Update char limit for "Erase all data?""

5 years agoCreate a preference controller for "App info"
tmfang [Mon, 25 Feb 2019 10:12:24 +0000 (18:12 +0800)]
Create a preference controller for "App info"

We try to avoid managing too many preferences in a controller.
So, we create another controller to manage all apps info preference.

RecentAppsPreferenceController and AllAppsInfoPreferenceController
share same state of recent apps in order to improve the performance.

Test: visual, robo test
Fixes: 126134996
Change-Id: I1d8a175b213831415797437c64fd9d432864f9d3

5 years agoUpdate char limit for "Erase all data?"
Mill Chen [Tue, 26 Feb 2019 10:10:46 +0000 (18:10 +0800)]
Update char limit for "Erase all data?"

Increasing the character limit for the "Erase all data?" to 33 chars.

Bug: 122929703
Test: rebuild
Change-Id: I673c22878c1f1cfa2b2dd8f456689be31fb5ff77

5 years agoHandle the IllegalStateException
Sunny Shao [Mon, 25 Feb 2019 12:21:46 +0000 (20:21 +0800)]
Handle the IllegalStateException

Handle the attempt to re-open an already-closed object: SQLiteDatabase problem

Bug: 124451874
Test: robotest
Change-Id: I750b2ce98cc2551c80c3bb4f25928e0e5a615cd9

5 years agoMerge "Improve launch time for Apps & notifications page"
TreeHugger Robot [Tue, 26 Feb 2019 08:50:20 +0000 (08:50 +0000)]
Merge "Improve launch time for Apps & notifications page"

5 years agoMerge "Update strings for Wi-Fi DPP handshake running state"
TreeHugger Robot [Tue, 26 Feb 2019 07:15:27 +0000 (07:15 +0000)]
Merge "Update strings for Wi-Fi DPP handshake running state"

5 years agoMerge "Add additional anomaly types." am: 64bf0a791e am: e709ac7a4c
Joe Onorato [Tue, 26 Feb 2019 07:10:52 +0000 (23:10 -0800)]
Merge "Add additional anomaly types." am: 64bf0a791e am: e709ac7a4c
am: d3b25ae1f5

Change-Id: I7a45359cb344f0dee4046e556b599e7646c7fd17

5 years agoImprove launch time for Apps & notifications page
tmfang [Sun, 24 Feb 2019 15:21:58 +0000 (23:21 +0800)]
Improve launch time for Apps & notifications page

In original design, we reload usage data at least thrice
for showing recent apps.

For now, we only reload usage data once in constuctor.
And we reload data again when we are calling updateState.

Test: Open App & notifications page, and then I compare the lauch time
with P platform device.
Fixes: 126013076

Change-Id: Ida769f28a4419125e1948e36658686ee55bf51a5

5 years agoMerge "Add additional anomaly types." am: 64bf0a791e
Joe Onorato [Tue, 26 Feb 2019 07:00:09 +0000 (23:00 -0800)]
Merge "Add additional anomaly types." am: 64bf0a791e
am: e709ac7a4c

Change-Id: I5b813e1357baae09566285dacb30e44169e9b16d

5 years agoMerge "Add additional anomaly types."
Joe Onorato [Tue, 26 Feb 2019 06:48:39 +0000 (22:48 -0800)]
Merge "Add additional anomaly types."
am: 64bf0a791e

Change-Id: Iebe3695669e87b3109b43becaf869c4b2f9a4b48

5 years agoMerge "Improve UX of Wi-Fi QR code scanner enrollee flow"
TreeHugger Robot [Tue, 26 Feb 2019 05:48:56 +0000 (05:48 +0000)]
Merge "Improve UX of Wi-Fi QR code scanner enrollee flow"

5 years agoMerge "Clean up instrumentation tests"
TreeHugger Robot [Tue, 26 Feb 2019 04:54:18 +0000 (04:54 +0000)]
Merge "Clean up instrumentation tests"

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-maste...
Xin Li [Tue, 26 Feb 2019 04:52:25 +0000 (20:52 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master am: fc53be7b56 -s ours
am: e01bd73441 -s ours
am skip reason: subject contains skip directive

Change-Id: I74345f6fe80643fae680d46fd27d9c1b285e600f

5 years agoMerge changes I9f1edb0a,Iaba7077c
TreeHugger Robot [Tue, 26 Feb 2019 04:00:13 +0000 (04:00 +0000)]
Merge changes I9f1edb0a,Iaba7077c

* changes:
  Make model & hardware UI full screen.
  Merge Copyable into Sliceable.

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-maste...
Xin Li [Tue, 26 Feb 2019 03:17:55 +0000 (19:17 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master
am: fc53be7b56 -s ours
am skip reason: subject contains skip directive

Change-Id: Ia25b02f0df97306066a4f52687ab55376b8bc3bb

5 years agoMerge "Schematize Crypto state system property"
Kiyoung Kim [Tue, 26 Feb 2019 01:44:28 +0000 (01:44 +0000)]
Merge "Schematize Crypto state system property"

5 years agoMerge "Add "Share" button for saved Wi-Fi network"
Arc Wang [Tue, 26 Feb 2019 01:42:15 +0000 (01:42 +0000)]
Merge "Add "Share" button for saved Wi-Fi network"

5 years agoMerge "Fix [a11y][Qt]Small touch targets in Add network page after running Accessibil...
Arc Wang [Tue, 26 Feb 2019 01:42:00 +0000 (01:42 +0000)]
Merge "Fix [a11y][Qt]Small touch targets in Add network page after running Accessibility scanner"

5 years agoMerge "Add Bluetooth metadata listenr"
Lei Yu [Tue, 26 Feb 2019 01:30:13 +0000 (01:30 +0000)]
Merge "Add Bluetooth metadata listenr"

5 years ago[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master am...
Xin Li [Tue, 26 Feb 2019 01:19:35 +0000 (17:19 -0800)]
[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master am: 1994397e6a -s ours
am: d453b1c2ce -s ours
am skip reason: subject contains skip directive

Change-Id: Iabdeddadc01518dfadffc300b0e458496e392fd9

5 years agoMake model & hardware UI full screen.
Fan Zhang [Mon, 25 Feb 2019 21:36:38 +0000 (13:36 -0800)]
Make model & hardware UI full screen.

Bug: 112427717
Test: robotests
Change-Id: I9f1edb0ab377aff142b57d86f4fa218b755356b1

5 years agoMerge Copyable into Sliceable.
Fan Zhang [Mon, 25 Feb 2019 20:46:34 +0000 (12:46 -0800)]
Merge Copyable into Sliceable.

It's only a slice concept. Regular preference copyability is handled in
xml.

Bug: 112427717
Test: rebuild
Change-Id: Iaba7077c320cd03a5963797916a60e0dc80fdbbe

5 years agoClean up instrumentation tests
Fan Zhang [Tue, 26 Feb 2019 00:05:36 +0000 (16:05 -0800)]
Clean up instrumentation tests

- Fixed some important tests
- Deleted some useless tests
- Some tests are still broken, filed bugs for these

Fixes: 124572765
Test: atest
Change-Id: Iac4e6a1fb1dbf9383d91945525df69a651ae77fd

5 years ago[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Xin Li [Tue, 26 Feb 2019 00:18:26 +0000 (16:18 -0800)]
[automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
am: 1994397e6a -s ours
am skip reason: subject contains skip directive

Change-Id: I5c40623742c23696457c1fedb742322c634ed1f6

5 years ago[automerger skipped] Merge "Fix issue that the wifi calling text cannot be customized...
Youming Ye [Mon, 25 Feb 2019 23:17:28 +0000 (15:17 -0800)]
[automerger skipped] Merge "Fix issue that the wifi calling text cannot be customized based on sim" am: 5b3ee7afaa am: e3844769e6
am: ecd1998ea0 -s ours
am skip reason: change_id I6b3f6b06c9cc984ee6a68a19ae317b5d1d4e48e2 with SHA1 af5c05392b is in history

Change-Id: I166d407d0d26e4bb3b270308986076a9ab5fecc3

5 years agoAdd Bluetooth metadata listenr
jackqdyulei [Mon, 25 Feb 2019 21:58:13 +0000 (13:58 -0800)]
Add Bluetooth metadata listenr

If it is updated, we need to refresh UI to display latest information

Fixes: 124455912
Test: RunSettingsRoboTests
Change-Id: I73b03f4931e3c2b0d367bbd2d3b2057b26c84b59

5 years agoMake PreventRingingSwitch preference clickable
Beverly [Thu, 21 Feb 2019 15:53:48 +0000 (10:53 -0500)]
Make PreventRingingSwitch preference clickable

- Talk back says the preference is clickable

Test: make ROBOTEST_FILTER=PreventRingingSwitchPreferenceControllerTest RunSettingsRoboTests -j40
Bug: 124827588
Change-Id: Ia409bbc6516f6aa11975726691131f1fad1518fd

5 years agoMerge "Fix issue that the wifi calling text cannot be customized based on sim" am...
Youming Ye [Mon, 25 Feb 2019 21:08:32 +0000 (13:08 -0800)]
Merge "Fix issue that the wifi calling text cannot be customized based on sim" am: 5b3ee7afaa
am: e3844769e6

Change-Id: Id1d2e5e9a061d844ecc69eed35b2c36d61a0a416

5 years agoMerge "Fix invalid style reference in xml"
TreeHugger Robot [Mon, 25 Feb 2019 21:06:16 +0000 (21:06 +0000)]
Merge "Fix invalid style reference in xml"

5 years agoAdd summary to Notification Assistant picker
Fabian Kozynski [Mon, 25 Feb 2019 20:52:40 +0000 (15:52 -0500)]
Add summary to Notification Assistant picker

Test: manual
Test: atest
Fixes: 126200103
Change-Id: I9569ca7dd58184242fe740e3db63bd7958042cfb

5 years agoMerge "Convert android version dialog into a full screen UI"
Fan Zhang [Mon, 25 Feb 2019 20:33:36 +0000 (20:33 +0000)]
Merge "Convert android version dialog into a full screen UI"

5 years agoMerge "Add additional anomaly types."
Treehugger Robot [Mon, 25 Feb 2019 19:53:26 +0000 (19:53 +0000)]
Merge "Add additional anomaly types."

5 years agoAdd additional anomaly types.
Joe Onorato [Tue, 5 Feb 2019 01:36:23 +0000 (17:36 -0800)]
Add additional anomaly types.

Test: Treehugger
Bug: 115540658
Change-Id: I369f5bfadfe10810aa33d4127fb9ce69c9c57e7e

5 years agoMerge "Settings UI fix for missing secure lock screen feature."
TreeHugger Robot [Mon, 25 Feb 2019 11:41:03 +0000 (11:41 +0000)]
Merge "Settings UI fix for missing secure lock screen feature."

5 years agoSettings UI fix for missing secure lock screen feature.
Lenka Trochtova [Fri, 25 Jan 2019 16:21:54 +0000 (17:21 +0100)]
Settings UI fix for missing secure lock screen feature.

Bug: 123737250
Bug: 111072170
Bug: 111071972
Test: manual both with and without the feature flag
Test: make RunSettingsRoboTests

Change-Id: Iacefa95dce85d860633315e074cbf2772691cfdd

5 years agoWiFi Slice Polish - Searching for WiFi state
Jason Chiu [Tue, 19 Feb 2019 07:56:34 +0000 (15:56 +0800)]
WiFi Slice Polish - Searching for WiFi state

1. Change the font color to be secondary
2. Align the left to the AP list title
3. Update the font for Wi-Fi list to be body font - Roboto regular 14dp

Fixes: 124468947
Test: robotest
Change-Id: I9f41925f7e3938bdf3f444b09eab33d6bf479f57

5 years agoUpdate strings for Wi-Fi DPP handshake running state
Arc Wang [Mon, 25 Feb 2019 07:05:52 +0000 (15:05 +0800)]
Update strings for Wi-Fi DPP handshake running state

Bug: 125987679
Test: manual test
Change-Id: I55eddee5f3c0c28d1be23b5b9d8c0b56280be797

5 years agoAdd "Share" button for saved Wi-Fi network
Arc Wang [Mon, 25 Feb 2019 05:35:55 +0000 (13:35 +0800)]
Add "Share" button for saved Wi-Fi network

Bug: 124700405
Test: manual test
Change-Id: I58140dbc7bef1214c2323c1c37f9c87e94b94088

5 years agoFix [a11y][Qt]Small touch targets in Add network page after
Arc Wang [Mon, 25 Feb 2019 03:07:00 +0000 (11:07 +0800)]
Fix [a11y][Qt]Small touch targets in Add network page after
running Accessibility scanner

Set ImageButton minWidth/minHeight 48dp (min_tap_target_size)

Bug: 125078917
Test: accessbility scanner
Change-Id: I5b96cc476134d48eb503b5a6150406655331c673

5 years agoMerge "Remove hardcoded Uri to get slice settings"
TreeHugger Robot [Mon, 25 Feb 2019 02:22:39 +0000 (02:22 +0000)]
Merge "Remove hardcoded Uri to get slice settings"

5 years agoMerge "Fix issues in BT detail header"
Lei Yu [Mon, 25 Feb 2019 01:15:26 +0000 (01:15 +0000)]
Merge "Fix issues in BT detail header"

5 years agoMerge "Do not trigger card loader reloading upon screen rotation."
TreeHugger Robot [Sun, 24 Feb 2019 18:31:16 +0000 (18:31 +0000)]
Merge "Do not trigger card loader reloading upon screen rotation."

5 years agoMerge "Fix no result for "Privacy" keyword"
TreeHugger Robot [Sat, 23 Feb 2019 08:47:15 +0000 (08:47 +0000)]
Merge "Fix no result for "Privacy" keyword"

5 years agoMerge "Replace Banner with App Title Text"
TreeHugger Robot [Sat, 23 Feb 2019 08:44:18 +0000 (08:44 +0000)]
Merge "Replace Banner with App Title Text"

5 years agoMerge "Fix crash on AppBarLayout"
TreeHugger Robot [Sat, 23 Feb 2019 08:31:36 +0000 (08:31 +0000)]
Merge "Fix crash on AppBarLayout"

5 years agoFix no result for "Privacy" keyword
tmfang [Tue, 12 Feb 2019 05:06:24 +0000 (13:06 +0800)]
Fix no result for "Privacy" keyword

We can't have same title string at the same time.

Test: search again, and see result.
Fixes: 123775284
Change-Id: I53afa64e723a0b1d6b8fefe0dbded64b7cd8f0de

5 years agoFix crash on AppBarLayout
tmfang [Sat, 23 Feb 2019 05:28:00 +0000 (13:28 +0800)]
Fix crash on AppBarLayout

We removed some theme attribute in ag/6501484,
so we need to add it back to avoid crash on App info page.

Fixes: 125987673
Test: Build again, and go to "App info" page.
Change-Id: I2fda899ecd2db48c7ace5069ef59a49883200dff

5 years agoMerge "Create settings screen for Notification Assistant"
TreeHugger Robot [Sat, 23 Feb 2019 04:30:23 +0000 (04:30 +0000)]
Merge "Create settings screen for Notification Assistant"

5 years agoImprove UX of Wi-Fi QR code scanner enrollee flow
Arc Wang [Thu, 21 Feb 2019 11:41:23 +0000 (19:41 +0800)]
Improve UX of Wi-Fi QR code scanner enrollee flow

1. Do not start WifiSettings after enrollee success
2. Return WifiConfiguration to the calling object after enrollee success
3. In WifiDialog, do not show scan button if Save button is not visible to users
4. Fix scanner button may not respond problem by setting listener for scanner
   button of ssid field and password field
5. If SSID is assigned, only allow to enrollee for the network of assigned SSID

Bug: 124416152
Test: manual test
Change-Id: Ic5241c4767eaa8ea01782817d8302d8b0572ab36

5 years agoDo not trigger card loader reloading upon screen rotation.
Yi-Ling Chuang [Wed, 20 Feb 2019 12:00:26 +0000 (20:00 +0800)]
Do not trigger card loader reloading upon screen rotation.

Use the cached loaded results when it is not the first launch.

Fixes: 123941365
Test: robotests
Change-Id: Ib6de1142b12196e997a8c19122617e9215d23655

5 years agoMerge "Remove feature flag for contextual home."
TreeHugger Robot [Sat, 23 Feb 2019 03:07:19 +0000 (03:07 +0000)]
Merge "Remove feature flag for contextual home."

5 years agoMerge "Add app entities widget for recently opened apps"
TreeHugger Robot [Sat, 23 Feb 2019 02:15:26 +0000 (02:15 +0000)]
Merge "Add app entities widget for recently opened apps"

5 years agoMerge "Update BT pairing dialog"
TreeHugger Robot [Sat, 23 Feb 2019 01:38:21 +0000 (01:38 +0000)]
Merge "Update BT pairing dialog"

5 years agoConvert android version dialog into a full screen UI
Fan Zhang [Fri, 22 Feb 2019 22:52:10 +0000 (14:52 -0800)]
Convert android version dialog into a full screen UI

Bug: 112427717
Test: robotests
Change-Id: I09c4130c4284670278fa7cab8a21641c663bb365

5 years agoMerge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp...
Xin Li [Sat, 23 Feb 2019 00:39:23 +0000 (00:39 +0000)]
Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master

5 years agoRemove feature flag for contextual home.
Fan Zhang [Fri, 22 Feb 2019 21:53:09 +0000 (13:53 -0800)]
Remove feature flag for contextual home.

Fixes: 118444000
Test: rebuild
Change-Id: I4b42e22bd93c2d79bacbd40b28912b4e6808325a

5 years agoUpdate BT pairing dialog
jackqdyulei [Fri, 22 Feb 2019 23:31:35 +0000 (15:31 -0800)]
Update BT pairing dialog

1. Remove hardcoded color
2. Add taskAffinity for activity

Fixes: 124953564
Fixes: 124958778
Test: Manual
Change-Id: Id57fadc02e3c4fa3683632c0ad6a451117b732f1

5 years agoMerge "Add fancy animation for IA fragment"
Fan Zhang [Fri, 22 Feb 2019 22:51:18 +0000 (22:51 +0000)]
Merge "Add fancy animation for IA fragment"

5 years agoRemove hardcoded Uri to get slice settings
jackqdyulei [Fri, 22 Feb 2019 21:19:36 +0000 (13:19 -0800)]
Remove hardcoded Uri to get slice settings

Now we get it from BluetoothDevice.getMetaData()

Bug: 124121451
Test: RunSettingsRoboTests
Change-Id: Id96480f257b93dd03bb290c954e01cde9dcf30ad

5 years agoFix issues in BT detail header
jackqdyulei [Fri, 22 Feb 2019 20:42:07 +0000 (12:42 -0800)]
Fix issues in BT detail header

1. Update isAvailable() in controller
2. Update method to get fast pair icon

Bug: 124455912
Test: RunSettingsRoboTests
Change-Id: I24a04c8c91d74e9b8b7e8746ad6279fafa37f0a9

5 years agoMerge "Disable App data usage preference if there's no usage data."
Doris Ling [Fri, 22 Feb 2019 22:17:38 +0000 (22:17 +0000)]
Merge "Disable App data usage preference if there's no usage data."

5 years agoMerge "Fix issue that the wifi calling text cannot be customized based on sim"
Youming Ye [Fri, 22 Feb 2019 22:14:11 +0000 (14:14 -0800)]
Merge "Fix issue that the wifi calling text cannot be customized based on sim"
am: 5b3ee7afaa

Change-Id: Iffac84438bf43372a1ddeb4df1ef9d85c9af2a2d

5 years agoMerge "Fix issue that the wifi calling text cannot be customized based on sim"
Youming Ye [Fri, 22 Feb 2019 21:53:12 +0000 (21:53 +0000)]
Merge "Fix issue that the wifi calling text cannot be customized based on sim"