OSDN Git Service
TreeHugger Robot [Thu, 18 Apr 2019 16:51:56 +0000 (16:51 +0000)]
Merge "Remove the duplicated search item" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 16:51:37 +0000 (16:51 +0000)]
Merge "[Network Connection] Show full SSID on list item" into qt-dev
Sunny Shao [Thu, 18 Apr 2019 09:17:39 +0000 (17:17 +0800)]
Remove the duplicated search item
Disable the searchable of the "Adaptive battery" item in the smart_battery_detail.xml
Fixes:
130656532
Test: Manual View
Change-Id: I95beb97fc09ff6858f7b4e0e576a598c3520db86
pastychang [Thu, 18 Apr 2019 07:34:06 +0000 (15:34 +0800)]
Set description textview to fixed id
Modify to fixed id for landscape Glif layout and non-glif layout
Test: Manual
Bug:
130707943
Change-Id: I6346817e582c2aac26753b3a985038cb0ca421bc
Kevin Chyn [Thu, 18 Apr 2019 04:09:12 +0000 (04:09 +0000)]
Merge "Tweak enrollment intro layout" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 00:58:22 +0000 (00:58 +0000)]
Merge "[PasspointV2] Set summary of saved networks preference" into qt-dev
Selim Cinek [Thu, 18 Apr 2019 00:42:55 +0000 (00:42 +0000)]
Merge "Updated strings for dynamic privacy" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 00:33:41 +0000 (00:33 +0000)]
Merge "Implement context menu for ConnectedAccessPointPreference" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 00:29:33 +0000 (00:29 +0000)]
Merge "Remove on/off subtext from gesture preferencecontrollers" into qt-dev
Fan Zhang [Wed, 17 Apr 2019 20:29:25 +0000 (13:29 -0700)]
Remove on/off subtext from gesture preferencecontrollers
The toggle switch next to the subtitle already shows on/off clearly.
Fixes:
130652619
Fixes:
130652843
Fixes:
130653459
Fixes:
130653297
Test: robo
Change-Id: Ib2396575bbc69a7cca5e9c90e113c76ff6db00b5
Mill Chen [Wed, 17 Apr 2019 23:42:52 +0000 (23:42 +0000)]
Merge "Add robotest modules for Settings" into qt-dev
Mill Chen [Wed, 17 Apr 2019 19:36:27 +0000 (12:36 -0700)]
Add robotest modules for Settings
Use ROBOTEST_FILTER to divide RunSettingsRoboTests into several smaller
parts.
Bug:
130511490
Test: make -j RunSettingsRoboTests-applications && make -j
RunSettingsRoboTests-wifi
Change-Id: I16ea575877df7a495de9344971421d221e197b89
TreeHugger Robot [Wed, 17 Apr 2019 21:34:14 +0000 (21:34 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:19:52 +0000 (21:19 +0000)]
Merge "Only get apps with permission granted." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:13:41 +0000 (21:13 +0000)]
Merge "Updated ConfirmDeviceCredential strings" into qt-dev
Kevin Chyn [Wed, 17 Apr 2019 20:44:03 +0000 (13:44 -0700)]
Tweak enrollment intro layout
Bug:
130740447
Test: Builds
Change-Id: If3b4ad795588586dcd6fb848bee213df0ae1095e
Selim Cinek [Thu, 11 Apr 2019 23:06:44 +0000 (16:06 -0700)]
Updated strings for dynamic privacy
In the new world redacted content is also
revealed with smart lock.
Bug:
130227087
Test: observe strings
Change-Id: I69ad8fab65dde5be405d47c4426bee52b0911383
Joel Galenson [Wed, 17 Apr 2019 18:10:48 +0000 (11:10 -0700)]
Only get apps with permission granted.
The subtitle gives the number of apps that can access location, but it
currently collects all apps that request location, including those
that are denied. Ensure that we only count granted apps.
Bug:
129296799
Test: Open Settings, see the count is much lower.
Change-Id: I9a18bbb62be742731205dab9f5b8e9a703ea030c
Quang Luong [Wed, 17 Apr 2019 17:57:39 +0000 (17:57 +0000)]
Merge "Fixed Passpoint network "Not in range" issue and forget button" into qt-dev
Maurice Lam [Wed, 17 Apr 2019 17:29:49 +0000 (17:29 +0000)]
Merge "Update strings for the title of lock screen skip dialog" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 17:12:39 +0000 (17:12 +0000)]
Merge "Turn off debug logging flags" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 17:09:29 +0000 (17:09 +0000)]
Merge "Update summary lines of half condition card" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 16:54:19 +0000 (16:54 +0000)]
Merge "Default to enable oem-unlocking preference" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 14:21:49 +0000 (14:21 +0000)]
Merge "Do not special case the storage permission group." into qt-dev
Yanting Yang [Wed, 17 Apr 2019 09:34:34 +0000 (17:34 +0800)]
Turn off debug logging flags
Fixes:
130558346
Test: visual
Change-Id: Ie82bfe503f789435a3474697391fdfdeb94864ee
Yanting Yang [Tue, 16 Apr 2019 09:44:09 +0000 (17:44 +0800)]
Update summary lines of half condition card
To optimize the visual design for regular font size in summary field.
Fixes:
130588679
Test: visual
Change-Id: I89142f403646139b150f38b70b52b0d7b36fed9e
cosmohsieh [Sun, 14 Apr 2019 07:38:30 +0000 (15:38 +0800)]
[PasspointV2] Set summary of saved networks preference
Summary text of "saved networks" preference has number of both normal
networks and subscriptions
Bug:
130259573
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.WifiSettingsTest
Change-Id: I8bdf41c1a85165298a2ccd9e688c30b0bd593bfa
TreeHugger Robot [Wed, 17 Apr 2019 09:08:17 +0000 (09:08 +0000)]
Merge "Add subtitle for Do not disturb" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 09:03:07 +0000 (09:03 +0000)]
Merge "Remove On/Off string from Night light slice" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 08:46:46 +0000 (08:46 +0000)]
Merge "Fix wrong color for rippleColor" into qt-dev
cosmohsieh [Thu, 11 Apr 2019 03:53:46 +0000 (11:53 +0800)]
[Network Connection] Show full SSID on list item
Long SSID will be cut off, because ellipsized. Show full SSID to gain
better UX.
Bug:
130198869
Test: manual
Change-Id: I14376ff7fb922439a2d664433a94740cc06cd99a
(cherry picked from commit
151d5a3c83be36472c2028689fec24522372da49)
Bill Yi [Wed, 17 Apr 2019 05:49:49 +0000 (22:49 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I83441773fc8063c0488fe90230b39ad0ff01f0d5
Pasty Chang [Wed, 17 Apr 2019 03:54:55 +0000 (03:54 +0000)]
Update strings for the title of lock screen skip dialog
First letter should be lowercase
Bug:
129870122
Test: Manual
Change-Id: If6ed383cccf56007691ca24d02919b41f1c69281
TreeHugger Robot [Wed, 17 Apr 2019 03:36:26 +0000 (03:36 +0000)]
Merge "Fix string comment" into qt-dev
Cyril Lee [Wed, 17 Apr 2019 03:20:29 +0000 (03:20 +0000)]
Merge "The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV3 style" into qt-dev
Clown SHEN [Wed, 17 Apr 2019 02:48:24 +0000 (02:48 +0000)]
Merge "Retrieve WiFi detail test cases" into qt-dev
Arc Wang [Wed, 17 Apr 2019 01:07:12 +0000 (01:07 +0000)]
Merge "Hide 'Share' button and 'Add device' preference for a Passpoint Wi-Fi network" into qt-dev
Kevin Chyn [Wed, 17 Apr 2019 00:02:17 +0000 (17:02 -0700)]
Fix string comment
Bug:
130642861
Test: Builds
Change-Id: Ib889b1a69b5225579ffad6f63b0d98ded9841614
Joel Galenson [Tue, 16 Apr 2019 22:44:52 +0000 (15:44 -0700)]
Do not special case the storage permission group.
We are now not showing storage usages in Permission Controller,
including in the API Settings uses. We can thus remove this code so
that Settings will reflect what Permissions Hub shows.
Bug:
130567526
Test: See the same graph here and in the dashboard.
Change-Id: Iaa7d95b05f4321543ed42833ac3a7babdb9914f0
TreeHugger Robot [Tue, 16 Apr 2019 22:02:43 +0000 (22:02 +0000)]
Merge "Check for attention permissions" into qt-dev
joshmccloskey [Tue, 16 Apr 2019 03:46:50 +0000 (20:46 -0700)]
Updated ConfirmDeviceCredential strings
Test: Verified with BiometricPromptdemo that pin/pattern/pass
show up correctly.
Fixes:
129797243
Change-Id: Ib075d6742f7e2ad03e491132ae9506dce67558fc
TreeHugger Robot [Tue, 16 Apr 2019 21:18:05 +0000 (21:18 +0000)]
Merge "Enforce min value on panel slices slider" into qt-dev
Lei Yu [Tue, 16 Apr 2019 20:47:17 +0000 (20:47 +0000)]
Merge "Hide Mobile preference for secondary user" into qt-dev
Quang Luong [Fri, 12 Apr 2019 19:43:48 +0000 (12:43 -0700)]
Fixed Passpoint network "Not in range" issue and forget button
Passpoint networks now correctly allow the user to connect and forget
from the saved networks network detail page.
Bug:
130373102
Test: atest WifiDetailPreferenceControllerTest
Change-Id: I6ed2817bb3a1ac657695272ceb9d5e3f3e944f16
Linda Tseng [Tue, 16 Apr 2019 18:57:47 +0000 (18:57 +0000)]
Merge "Add entry animation to Settings Panels." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:20:11 +0000 (18:20 +0000)]
Merge "Disable Mobile settings in one condition." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:16:54 +0000 (18:16 +0000)]
Merge "Change dark theme screen to toggle" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:07:24 +0000 (18:07 +0000)]
Merge "Hide filter spinner when data is loading." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:02:26 +0000 (18:02 +0000)]
Merge "Revert "Fix voice access issue on home page"" into qt-dev
Sean Stout [Tue, 16 Apr 2019 17:47:29 +0000 (17:47 +0000)]
Merge "Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev
Alex Salo [Thu, 11 Apr 2019 21:41:57 +0000 (14:41 -0700)]
Check for attention permissions
If attention package does not have sufficient permissions - disable the
setting.
Bug:
130246574,
130350903
Test: make RunSettingsRoboTests and manually confirmed
Change-Id: Ia7a86c940522e72f7e895d6aec7500f1ef6f9889
clownshen [Tue, 16 Apr 2019 17:11:49 +0000 (01:11 +0800)]
Retrieve WiFi detail test cases
1. fix test case failure
2. remove redundant test cases
Bug:
130640128
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: Ia59287d7f9adb37a6b56301a2178b6e307fd892d
TreeHugger Robot [Tue, 16 Apr 2019 17:05:43 +0000 (17:05 +0000)]
Merge "Use android:attr for display font preview layout background" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 16:31:22 +0000 (16:31 +0000)]
Merge "Clean up NotificationChannelSlice" into qt-dev
lindatseng [Mon, 15 Apr 2019 22:51:07 +0000 (15:51 -0700)]
Enforce min value on panel slices slider
We did not set the min value on slider slices when converting them
from preference to slices, which makes the slices all have min 0.
However, there are some slider which should have min value greater
than 0, for example, call and alarm.
We should get the min value and apply it to slider slice to make it
consistent with what we have in settings pref.
Test: Manual verification
Test: make -j40 RunSettingRobotests
Test: atest VolumeSeekBarPreferenceControllerTest
Fixes:
130439216
Fixes:
130358208
Change-Id: Ib4399c36c7da3ac41a6d46a6c150f0ec1b9b0b0f
Matthew Fritze [Fri, 8 Mar 2019 16:15:00 +0000 (08:15 -0800)]
Add entry animation to Settings Panels.
Settings Panels as a dialog have a default animation for entering the
screen, but Slices complicate the animation. While the dialog enters the
screen, Slices begin to bind, thus changing the height of the dialog as
it enters, causing perceived bounce / jank in the animation.
This CL is cherry-picked/based on ag/
6671083 but do the following modification:
(See the original commit message for the whole concept)
When trying to load all the Slices, there are few possible situations:
1. Slice starts loading slowly, starting at state LOADED_NONE
2. Slice is loading in progress, having state LOADED_PARTIAL
3. Slice is loaded, but there's error return from the Slice data (We don't
need to show the Slice in this case)
4. Slice is loaded, progress to state LOADED_ALL
5. Slice starts from state LOADED_NONE, but never progress to the next state
because it crashes at setting backend.
Notice that there are two cases that the state will stay at LOADED_NONE and
we can't distinguish them.
Hence, we decide to do the following:
If Slice is with error (case 3) we remove the slice from the list and mark it
loaded.
If Slice is loaded with LOADED_ALL (case 4, which is the ideal case), we mark
it as loaded.
In the other cases, we fire a handler to mark the slice loaded anyway after
250ms timeout.
When all the slices are marked loaded (which should happen after 250ms timeout,
we will animate the panel out. Although there might be slices which are still
partial loaded, we can still have the slice in the panel once it is ready.
The panel might bounce/jank in this case, but at least it will still showing
correctly, and should show up smoothly in most cases.
The solution to this problem is twofold:
1. Load all Slices first
2. Create a custom animation to draw the panel once the recyclerview has
been laid out.
Test: Manual/Visual inspection
Test: make -j40 RunSettingsRobotests
Bug:
123942159
Change-Id: I639a707aa4ba3f906bd6f9752c92727aaba28142
Fan Zhang [Tue, 16 Apr 2019 16:23:02 +0000 (16:23 +0000)]
Revert "Fix voice access issue on home page"
This reverts commit
0f3049d4b74bdfe0a0d0894c4575360371b8cec5.
Reason for revert: b/
129456622
Fixes:
129456622
Test: rebuild
Change-Id: Ic883722a9ebe6a2905067dc9cc503c9878acd2fc
TreeHugger Robot [Tue, 16 Apr 2019 16:25:34 +0000 (16:25 +0000)]
Merge "Tint battery fix icon" into qt-dev
Fan Zhang [Tue, 16 Apr 2019 15:22:26 +0000 (15:22 +0000)]
Merge "Correct the state when prevent ringing page is launched." into qt-dev
Fan Zhang [Tue, 16 Apr 2019 15:19:25 +0000 (15:19 +0000)]
Merge "Update switchbar background color in disabled state." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 15:16:26 +0000 (15:16 +0000)]
Merge "Create TintDrawable in Settings." into qt-dev
Yanting Yang [Tue, 16 Apr 2019 15:08:40 +0000 (23:08 +0800)]
Clean up NotificationChannelSlice
- Remove unused variable.
- Change function interface.
Bug:
123065955
Test: visual, robotests
Change-Id: I39c0a92539d45cdbc11bd9090a3ab97a72482632
TreeHugger Robot [Tue, 16 Apr 2019 12:46:55 +0000 (12:46 +0000)]
Merge "Add remote volume slider conditionally." into qt-dev
Cyril Lee [Tue, 16 Apr 2019 09:28:46 +0000 (17:28 +0800)]
The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV3 style
Wi-Fi dialog
https://hsv.googleplex.com/
6008335912402944
"Skip screen lock?" dialog
https://hsv.googleplex.com/
6299831188324352
Bug: b/
112707845
Test: manual test
Change-Id: I27f747268991240faa0970ca4be4ca472f24338f
Chandan Nath [Tue, 16 Apr 2019 11:21:10 +0000 (11:21 +0000)]
Merge "If backup service is not available, remove Settings->Backup and Backup->"Backup is disabled by admin" from search results." into qt-dev
Raff Tsai [Mon, 15 Apr 2019 07:24:38 +0000 (15:24 +0800)]
Tint battery fix icon
Fixes:
129492004
Test: manual
Change-Id: I161284619bc47e342d78f1507ae291f7c23ad3ff
Yi-Ling Chuang [Mon, 15 Apr 2019 06:52:08 +0000 (14:52 +0800)]
Hide filter spinner when data is loading.
When the filter spinner is initialized, set GONE to its visibility.
Only make it visible after network cycle data finishes loading to
avoid presenting an empty filter spinner.
Fixes:
130397929
Test: robotests
Change-Id: I740fdad35ec82bc0be386c24e53348917bf6bfba
Arc Wang [Tue, 16 Apr 2019 08:46:57 +0000 (16:46 +0800)]
Hide 'Share' button and 'Add device' preference for a Passpoint Wi-Fi network
Passpoint provisioning is much different from other Wi-Fi networks and ZXing
does not support a QR code format to share a passpoint Wi-Fi network. We
should not show any button to share a passpoint Wi-Fi network.
Bug:
130609037
Test: manual
Change-Id: Ie2538ed9e030e5aa2e88452b50b6592223ca46a8
TreeHugger Robot [Tue, 16 Apr 2019 08:30:30 +0000 (08:30 +0000)]
Merge "Fix problem of multiple stacked copies of "Select SIM" dialog" into qt-dev
cosmohsieh [Tue, 2 Apr 2019 10:05:34 +0000 (18:05 +0800)]
Implement context menu for ConnectedAccessPointPreference
1) User wants to long press ConnectedAccessPointPreference to forget network if this
is a captive portal network.
2) Change context menu string
Bug:
113756562
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: If5c45c45fe126f627eeb53a6c1873a070ad23ae8
(cherry picked from commit
9f8522565ad82381b9270248054cdfb319656c8c)
TreeHugger Robot [Tue, 16 Apr 2019 05:20:58 +0000 (05:20 +0000)]
Merge "Remove error slice from Settings in rendering time" into qt-dev
Felipe Leme [Tue, 16 Apr 2019 04:51:24 +0000 (04:51 +0000)]
Merge "Change Content Capture strings." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 03:17:50 +0000 (03:17 +0000)]
Merge "Rename screen aware into screen attention" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 03:12:41 +0000 (03:12 +0000)]
Merge ""Disallow adjust volume" restricted dialog didn't show" into qt-dev
Pasty Chang [Tue, 16 Apr 2019 02:53:29 +0000 (02:53 +0000)]
Merge "Set WifiDialog to light theme in setup flow" into qt-dev
Salvador Martinez [Thu, 11 Apr 2019 21:06:08 +0000 (14:06 -0700)]
Change dark theme screen to toggle
The dark theme screen has been removed in favor of a simple
toggle with a dialog that shows up the first time a user
tries to enable dark theme when in light theme.
Test: robotests pass
Bug:
130251804
Change-Id: I48f8e24a2b2a117e5a8054c5bc0b240ba68fe1ad
Fan Zhang [Tue, 16 Apr 2019 02:50:10 +0000 (02:50 +0000)]
Merge "Clean up DND slice in search." into qt-dev
Edgar Wang [Mon, 15 Apr 2019 04:50:47 +0000 (12:50 +0800)]
"Disallow adjust volume" restricted dialog didn't show
root casue: VolumeSeekBarPreference & SeekBarPreference will return
false when call isSelectable() then this preference won't perform Click
Fixes:
123745455
Test: Manual & robotest
Change-Id: Iba27b503e8a272260c80bd41aecdd5cdbc39f962
Sean Stout [Mon, 15 Apr 2019 22:34:09 +0000 (15:34 -0700)]
Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL
ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL is now ACTION_APP_BATTERY_SETTINGS
Test: adb shell am start -a \
"android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" -d \
"package:com.google.android.deskclock" --ez \
"request_ignore_background_restriction" 1
Bug:
129901520
Change-Id: Iec103ee46863c05497f9aa53f0ae81b105fdd309
Raff Tsai [Mon, 15 Apr 2019 09:33:55 +0000 (17:33 +0800)]
Remove error slice from Settings in rendering time
We filter error slice in EligibleCardChecker but not filter it in
SliceContextualCardRenderer, these two part should use the same
logic.
Fixes:
128687331
Test: manual
Change-Id: I217bc6b578ceb36b0a67b44dc8a08ecd02771d82
Mill Chen [Mon, 15 Apr 2019 22:18:39 +0000 (15:18 -0700)]
Fix wrong color for rippleColor
Fixes:
130328361
Test: visual
Change-Id: Ia72387d3208f3884af229b5de33d0ca675db0213
Lei Yu [Mon, 15 Apr 2019 22:10:38 +0000 (15:10 -0700)]
Hide Mobile preference for secondary user
Fixes:
128917967
Test: RunSettingsRoboTests
Change-Id: Ibb95e3f0f42a8c484807a286bc77e8764eb31fcf
Jordan Liu [Mon, 15 Apr 2019 21:55:43 +0000 (21:55 +0000)]
Merge "Make RadioInfo settings menu work for mSIM" into qt-dev
Fan Zhang [Mon, 15 Apr 2019 21:13:16 +0000 (14:13 -0700)]
Update switchbar background color in disabled state.
Fixes:
129991749
Test: visual
Change-Id: Ief3a6a09d2ca905e30e74b7cbd6b4c1500311053
Lei Yu [Fri, 12 Apr 2019 21:23:33 +0000 (14:23 -0700)]
Add remote volume slider conditionally.
Issue before this CL:
RemoteVolumePreferenceController only return available when
it is casting, otherwise return CONDITIONALLY_UNAVAILABLE.
However slice database only index available controllers and keep
this cache. So remote slider won't be indexed if it is not casting
at that time.
As a tmp fix, this CL make controller always return available
unsearchable to make it indexed by database. However only add
that slice if it is casting.
Bug:
130124950
Test: RunSettingsRoboTests
Change-Id: I191144844d6ba7ccbe3dc1c9d19801adb978abc6
Felipe Leme [Mon, 15 Apr 2019 15:21:46 +0000 (08:21 -0700)]
Change Content Capture strings.
Test: manual verification
Bug:
129403630
Change-Id: Idfc560c78e29a0557cb009dddf98f4e1ce879f25
Chandan Nath [Wed, 10 Apr 2019 16:02:02 +0000 (17:02 +0100)]
If backup service is not available, remove Settings->Backup and Backup->"Backup is disabled by
admin" from search results.
"Backup -> Backup" still appears due to the PrivacySettingsActivity. On clicking that,
we get "Backup is disabled by admin" which is OK
Bug:
129743816
Test: 1. atest -v UserBackupSettingsActivityTest
2. atest -v BackupInactivePreferenceControllerTest
3. Create and switch to secondary user. Type "backup" in settings search. Note that only
"Backup->Backup" is shown and on clicking it, we get "Backup is disabled by admin"
Change-Id: Ic13e2d745c9511cbebe27aa4c6f5cd89b277fc37
Lei Yu [Mon, 15 Apr 2019 19:28:53 +0000 (12:28 -0700)]
Disable Mobile settings in one condition.
If there is no active subscription and esim is unsupported, disable
this preference.
Bug:
129143739
Test: RunSettingsRoboTests
Change-Id: I5f8b0d95df8764a3a505aae5e26df42e9412c021
Mill Chen [Mon, 15 Apr 2019 18:40:19 +0000 (11:40 -0700)]
Remove On/Off string from Night light slice
We only deleted On/Off string from the subtitle of night light slice in
the settings search result, and still keep On/Off string for Night Light
preference.
Fixes:
130364160
Test: visual
Change-Id: Ibe7f2752f099a4ab0d4a01a205e4e8ce0a226f55
Fan Zhang [Mon, 15 Apr 2019 18:26:46 +0000 (11:26 -0700)]
Use android:attr for display font preview layout background
Fixes:
117441518
Test: visual
Change-Id: I00ba298c37e9b1dd2bf5bf0890076b204d10de94
Lei Yu [Mon, 15 Apr 2019 17:54:39 +0000 (17:54 +0000)]
Merge "Hide app usage time in high usage dialog" into qt-dev
Mill Chen [Mon, 15 Apr 2019 17:26:20 +0000 (10:26 -0700)]
Add subtitle for Do not disturb
Bug:
130364160
Test: visual
Change-Id: I85507b6b269d427501f144f56ca7dc871269e6d4
Alex Salo [Sat, 13 Apr 2019 00:21:11 +0000 (17:21 -0700)]
Rename screen aware into screen attention
Bug:
111939367
Test: make RunSettingsRoboTests, manual
Change-Id: I4f65bd11a71db6601cea418a5d89b14d91858ab4
Antony Sargent [Fri, 12 Apr 2019 22:08:16 +0000 (15:08 -0700)]
Fix problem of multiple stacked copies of "Select SIM" dialog
The SimDialogActivity is used to ask the user questions about which SIM
card to use for various services like calls, SMS, and data. In some
cases of SIM changes (eg when a SIM is added or removed), the telephony
stack sends a broadcast that SimSelectNotification listens for so it can
pop up a general "SIM cards changed" notification, and we additionally
want to bring up an interruptive dialog to ask the user a specific
question. This might happen for instance when we want to ask the user's
permission to turn on data on a SIM.
Recent DSDS changes in the telephony stack have meant that we
accidentally create several stacked copies of this dialog, because they
send several broadcast updates as information about SIMs asynchronously
changes. For instance, we might initially detect a SIM with a generic
name of "CARD 1", and shortly after discover the actual carrier name. So
what we really want is to put up the dialog, and update it as
information changes.
This CL makes SimDialogActivity use launchMode="singleTop" so that
additional copies of the activity won't be launched. Then it internally
enforces only showing one dialog per type of request (calls, SMS, data,
or preferred sim). If we get a request for a dialog that already exists,
we just update it instead of creating a new one for that type. So there
can still be a stack of more than one dialog, but each one will be
asking a different question.
This also refactors the monolithic, somewhat confusing code for showing
the various types of dialogs into a more clearly separated class
hierarchy, and switches to using DialogFragment for the dialog.
Fixes:
126596081
Test: manual (start with device in DSDS mode with 2 subs, remove SIM
card and re-insert it)
Change-Id: I0dbc41dc3b15015389823a24df10bbff08ec6615
pastychang [Mon, 15 Apr 2019 03:58:28 +0000 (11:58 +0800)]
Set WifiDialog to light theme in setup flow
Screenshot: https://screenshot.googleplex.com/X6tkxihEWFY
Test: Manual
Bug:
130507879
Change-Id: Icca6b827cdb62387fde4c91435d4df10e2ff4d04
Cosmo Hsieh [Sun, 14 Apr 2019 05:51:02 +0000 (05:51 +0000)]
Merge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" into qt-dev
TreeHugger Robot [Sun, 14 Apr 2019 05:11:58 +0000 (05:11 +0000)]
Merge "Update intent in SimNotification" into qt-dev
Kevin Chyn [Sun, 14 Apr 2019 04:03:54 +0000 (04:03 +0000)]
Merge "Launch correct enrollment activity from ChooseLock" into qt-dev
Pasty Chang [Sun, 14 Apr 2019 03:53:16 +0000 (03:53 +0000)]
Merge "Set suw description textview to fixed id" into qt-dev
Kevin Chyn [Fri, 12 Apr 2019 22:19:12 +0000 (15:19 -0700)]
Launch correct enrollment activity from ChooseLock
Test: no noticable difference when setting up fingeprint work profile
Fixes:
130397083
Change-Id: I34be5262cc52052ce25a188f19bbcc13f938ac92