Arc Wang
0e248383c1
Merge "Hide 'Share' button and 'Add device' preference for a Passpoint Wi-Fi network" into qt-dev am: a713243db4
...
am: 0045e34d84
Change-Id: Ifa57e4fcd04897444a191098b82cf72a6722daf4
2019-04-16 22:27:34 -07:00
Alex Salo
77b5cf96cb
Merge "Check for attention permissions" into qt-dev am: e991b05b29
...
am: 7e3a9da21b
Change-Id: Ie7cbdd50745b6d915de4f468d3aabe6de0abbaa5
2019-04-16 21:27:29 -07:00
Arc Wang
0045e34d84
Merge "Hide 'Share' button and 'Add device' preference for a Passpoint Wi-Fi network" into qt-dev
...
am: a713243db4
Change-Id: Iec84dd7af890457fee7b0209831abe6501545933
2019-04-16 19:30:54 -07:00
Alex Salo
7e3a9da21b
Merge "Check for attention permissions" into qt-dev
...
am: e991b05b29
Change-Id: I52b699901bda983ebe7ec5f571443868ed0c083f
2019-04-16 18:42:44 -07:00
Arc Wang
a713243db4
Merge "Hide 'Share' button and 'Add device' preference for a Passpoint Wi-Fi network" into qt-dev
2019-04-17 01:07:12 +00:00
lindatseng
5ab057a9ec
Merge "Enforce min value on panel slices slider" into qt-dev am: cef4e42dc2
...
am: 4c9bf6de55
Change-Id: I87bad598423f5245a1914384c0e59ed9a3a5ecfa
2019-04-16 17:26:01 -07:00
Lei Yu
73a2b49860
Merge "Hide Mobile preference for secondary user" into qt-dev am: ad06c36882
...
am: 8f9c60652f
Change-Id: Ic53a1faf1a6fc1f323bdd0bbff94f6465c1af136
2019-04-16 16:32:40 -07:00
Linda Tseng
f99fb5cf55
Merge "Add entry animation to Settings Panels." into qt-dev am: 71df263db9
...
am: 668055d8e5
Change-Id: I3b5a8ce057489f04e8d31e0c36f2a09ee4e5e51b
2019-04-16 15:19:56 -07:00
lindatseng
4c9bf6de55
Merge "Enforce min value on panel slices slider" into qt-dev
...
am: cef4e42dc2
Change-Id: I5a483d30aeb489251d4917467af9a0faa656ba03
2019-04-16 15:07:26 -07:00
TreeHugger Robot
e991b05b29
Merge "Check for attention permissions" into qt-dev
2019-04-16 22:02:43 +00:00
Lei Yu
8f9c60652f
Merge "Hide Mobile preference for secondary user" into qt-dev
...
am: ad06c36882
Change-Id: Ied33b1b8cef008dbca300d3809296ea81c123ce2
2019-04-16 14:48:35 -07:00
TreeHugger Robot
cef4e42dc2
Merge "Enforce min value on panel slices slider" into qt-dev
2019-04-16 21:18:05 +00:00
Linda Tseng
668055d8e5
Merge "Add entry animation to Settings Panels." into qt-dev
...
am: 71df263db9
Change-Id: I29a61b38bb5cebcb5b481f5a3df0ac627765666b
2019-04-16 13:51:55 -07:00
Lei Yu
ad06c36882
Merge "Hide Mobile preference for secondary user" into qt-dev
2019-04-16 20:47:17 +00:00
Lei Yu
a595b19f79
Merge "Disable Mobile settings in one condition." into qt-dev am: 421ca22a58
...
am: c53b29300a
Change-Id: Ifdca080f82465de79ed68f195f2b71afa65d24ac
2019-04-16 13:46:49 -07:00
Salvador Martinez
1a9366230e
Merge "Change dark theme screen to toggle" into qt-dev am: 3b8a0b82bf
...
am: 5e44955e57
Change-Id: Idb758684de33442e61dc36b78a5e0fc6677a5973
2019-04-16 13:31:50 -07:00
Yi-Ling Chuang
3ae9c00186
Merge "Hide filter spinner when data is loading." into qt-dev am: 03c461b3ee
...
am: 95a850bc64
Change-Id: Ief35a1a859780cc34fb24150d5e179624ead3492
2019-04-16 13:22:55 -07:00
Fan Zhang
d0bcf2b452
Merge "Revert "Fix voice access issue on home page"" into qt-dev am: b298e2ae6c
...
am: ca374718ca
Change-Id: I353c12575f01657f6c11471aecf3850f061d5585
2019-04-16 12:55:11 -07:00
Sean Stout
710cc3f503
Merge "Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev am: 5a8b2cf1dc
...
am: 6760508e5e
Change-Id: I603369bd03f1417a1a20a8ee2db2ce4346e95f40
2019-04-16 12:39:56 -07:00
Lei Yu
c53b29300a
Merge "Disable Mobile settings in one condition." into qt-dev
...
am: 421ca22a58
Change-Id: I9798659adcbe48277abca54d424fa0916b245821
2019-04-16 12:24:50 -07:00
Salvador Martinez
5e44955e57
Merge "Change dark theme screen to toggle" into qt-dev
...
am: 3b8a0b82bf
Change-Id: I5d13eac9e99d47cc591eed30de6e739a826d4a54
2019-04-16 12:15:34 -07:00
Yi-Ling Chuang
95a850bc64
Merge "Hide filter spinner when data is loading." into qt-dev
...
am: 03c461b3ee
Change-Id: I966e020c6952322ec8c3967e363a4f6f2e72cd44
2019-04-16 12:07:59 -07:00
Fan Zhang
ca374718ca
Merge "Revert "Fix voice access issue on home page"" into qt-dev
...
am: b298e2ae6c
Change-Id: Id63b69f12332ec096058c8e2fa29de8b90a406ac
2019-04-16 11:59:52 -07:00
Linda Tseng
71df263db9
Merge "Add entry animation to Settings Panels." into qt-dev
2019-04-16 18:57:47 +00:00
Fan Zhang
d88b0be3da
Merge "Use android:attr for display font preview layout background" into qt-dev am: 75691d29ef
...
am: 9a5481d749
Change-Id: I9c92e25466c8e63c0665daa92f39f14861e3f749
2019-04-16 11:29:35 -07:00
TreeHugger Robot
421ca22a58
Merge "Disable Mobile settings in one condition." into qt-dev
2019-04-16 18:20:11 +00:00
Sean Stout
6760508e5e
Merge "Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev
...
am: 5a8b2cf1dc
Change-Id: I8d2a84ebd64c13834b46f32bcd4eb12ca81c611d
2019-04-16 11:19:11 -07:00
TreeHugger Robot
3b8a0b82bf
Merge "Change dark theme screen to toggle" into qt-dev
2019-04-16 18:16:54 +00:00
Yanting Yang
d264cd1f78
Merge "Clean up NotificationChannelSlice" into qt-dev am: 1fa45975eb
...
am: 18e0119391
Change-Id: I5a50640acd53ec59cf3b271800e150e19ac5abf0
2019-04-16 11:12:28 -07:00
TreeHugger Robot
03c461b3ee
Merge "Hide filter spinner when data is loading." into qt-dev
2019-04-16 18:07:24 +00:00
TreeHugger Robot
b298e2ae6c
Merge "Revert "Fix voice access issue on home page"" into qt-dev
2019-04-16 18:02:26 +00:00
Raff Tsai
26bc6a9137
Merge "Tint battery fix icon" into qt-dev am: 77c56714ed
...
am: fbab258c8b
Change-Id: Ide2f6aacf48b85bac8cd77d02b8e496bba8e8117
2019-04-16 10:53:05 -07:00
Fan Zhang
9a5481d749
Merge "Use android:attr for display font preview layout background" into qt-dev
...
am: 75691d29ef
Change-Id: Ia1f82405eb25ce5149401a0f5999d8f298ae97ad
2019-04-16 10:48:48 -07:00
Sean Stout
5a8b2cf1dc
Merge "Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev
2019-04-16 17:47:29 +00:00
Alex Salo
c821ae1ee6
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
2019-04-16 17:43:15 +00:00
Yanting Yang
18e0119391
Merge "Clean up NotificationChannelSlice" into qt-dev
...
am: 1fa45975eb
Change-Id: I26f2b0423f60e42a6e34e115426961037abe7768
2019-04-16 10:25:53 -07:00
Raff Tsai
fbab258c8b
Merge "Tint battery fix icon" into qt-dev
...
am: 77c56714ed
Change-Id: I83eb7c34907ebe1b0d4fa953a04bd85b374330b2
2019-04-16 10:13:51 -07:00
TreeHugger Robot
75691d29ef
Merge "Use android:attr for display font preview layout background" into qt-dev
2019-04-16 17:05:43 +00:00
TreeHugger Robot
1fa45975eb
Merge "Clean up NotificationChannelSlice" into qt-dev
2019-04-16 16:31:22 +00:00
lindatseng
fadedb321c
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
2019-04-16 16:30:08 +00:00
Matthew Fritze
b6fdd25c23
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
2019-04-16 16:29:04 +00:00
Fan Zhang
22f3944432
Revert "Fix voice access issue on home page"
...
This reverts commit 0f3049d4b7 .
Reason for revert: b/129456622
Fixes: 129456622
Test: rebuild
Change-Id: Ic883722a9ebe6a2905067dc9cc503c9878acd2fc
2019-04-16 09:27:49 -07:00
TreeHugger Robot
77c56714ed
Merge "Tint battery fix icon" into qt-dev
2019-04-16 16:25:34 +00:00
Fan Zhang
4c0cf18c4d
Merge "Correct the state when prevent ringing page is launched." into qt-dev am: 957da73a7d
...
am: 7f7b9e7736
Change-Id: I3eb05af8cb241aa079cdef46855ba4bef3feef6b
2019-04-16 08:45:18 -07:00
Fan Zhang
2be848029b
Merge "Update switchbar background color in disabled state." into qt-dev am: cae16fa07b
...
am: 60fd2efb96
Change-Id: Id0808d7abfc2923d6d95894ecd780022d691d76b
2019-04-16 08:43:59 -07:00
Amin Shaikh
f1cf5a684f
Merge "Create TintDrawable in Settings." into qt-dev am: c4e7cf594c
...
am: 900d8c9e12
Change-Id: Ia7d264a229cf2d0d8e65091e604bb24680676857
2019-04-16 08:38:38 -07:00
Fan Zhang
7f7b9e7736
Merge "Correct the state when prevent ringing page is launched." into qt-dev
...
am: 957da73a7d
Change-Id: I541d0c22788678fc0e9249e35f6aeae1f1ea0e0b
2019-04-16 08:33:30 -07:00
Fan Zhang
60fd2efb96
Merge "Update switchbar background color in disabled state." into qt-dev
...
am: cae16fa07b
Change-Id: I36d4bbb7b4538271f25d374572094c877a200174
2019-04-16 08:32:38 -07:00
Amin Shaikh
900d8c9e12
Merge "Create TintDrawable in Settings." into qt-dev
...
am: c4e7cf594c
Change-Id: I8a04a3924d17712b17798109b418c0d4748cf737
2019-04-16 08:28:24 -07:00
Fan Zhang
957da73a7d
Merge "Correct the state when prevent ringing page is launched." into qt-dev
2019-04-16 15:22:26 +00:00