SongFerng Wang
4432ac9c7e
Merge "Revert "EnabledNetworkModePreferenceController Remove AllowedNetworkType"" into rvc-dev
2020-06-02 02:54:17 +00:00
Yi-Ling Chuang
5e082cb401
Fix contextual card robotests.
...
We have to set SUPPORTED_SPECS for slice to test.
Fixes: 157904094
Test: robotests
Change-Id: I9f8edd7232d772b2376d4e6ec1e4738bc01ee4aa
2020-06-02 10:21:24 +08:00
Fabian Kozynski
f3e82c50c8
Merge "Use PackageManager.FEATURE_CONTROLS to decide availability" into rvc-dev am: 43527ef8f4
am: 5a91550b9d
am: f4678cd408
am: 61fcef26c8
...
Original change: undetermined
Change-Id: I96757fc174b9fdd8b5d21e4a284dfc0ba25fb634
2020-06-01 21:48:25 +00:00
Fabian Kozynski
f4678cd408
Merge "Use PackageManager.FEATURE_CONTROLS to decide availability" into rvc-dev am: 43527ef8f4
am: 5a91550b9d
...
Change-Id: Ibad5da4b601a59ca7097cbed5d6a2b0b628c2836
2020-06-01 20:57:25 +00:00
Fabian Kozynski
1555ccbf23
Merge "Use PackageManager.FEATURE_CONTROLS to decide availability" into rvc-dev am: 43527ef8f4
...
Change-Id: Ie32665d6100510b6edd106a1cc7b719ec86ab012
2020-06-01 20:38:19 +00:00
Fabian Kozynski
43527ef8f4
Merge "Use PackageManager.FEATURE_CONTROLS to decide availability" into rvc-dev
2020-06-01 20:21:36 +00:00
TreeHugger Robot
799c90caef
Merge "Improve multi user functionality for restricted users" into rvc-dev am: f1fbba45d3
am: 48e8670c1f
...
Change-Id: Ia6965ff460549203b00599d738b666fdd9b0c95f
2020-06-01 15:52:51 +00:00
TreeHugger Robot
9939490139
Merge "Improve multi user functionality for restricted users" into rvc-dev am: f1fbba45d3
...
Change-Id: Idcce26bb8aff90c93d71445b4f7be67cd658ffce
2020-06-01 15:41:34 +00:00
TreeHugger Robot
f1fbba45d3
Merge "Improve multi user functionality for restricted users" into rvc-dev
2020-06-01 15:29:34 +00:00
Yi-Ling Chuang
3e9fb7c765
Remove High usage battery tip from Settings homepage.
...
Remove this card since it is not actionable.
Fixes: 157131344
Test: robotests
Change-Id: I562e4bec84429f885911bd99461edbe10bad537a
2020-06-01 19:06:16 +08:00
TreeHugger Robot
1f21573f01
Merge "[Wi-Fi] Enhance WifiNoInternetDialogTest unit test cases"
2020-06-01 07:05:54 +00:00
SongFerng Wang
893107fc60
Revert "EnabledNetworkModePreferenceController Remove AllowedNetworkType"
...
This reverts commit 259e6288c9
.
Reason for revert: Sooraj will implement another API for power manager.
Bug: 156709797
Change-Id: I15ee2799574cdf0318e593500f0dbfbf135d71f8
2020-06-01 06:25:13 +00:00
TreeHugger Robot
ca1eac763b
Merge "[Wi-Fi] Enhance NetworkRequestDialogActivityTest unit test cases"
2020-06-01 05:06:49 +00:00
govenliu
ae6628bd02
[Wi-Fi] Enhance NetworkRequestDialogActivityTest unit test cases
...
Add new unit test cases in NetworkRequestDialogActivityTest.java
The coverage rate of NetworkRequestDialogActivity will raise from 48% to 91%
Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=NetworkRequestDialogActivityTest
Change-Id: I6530815ded8d21d01d5da1d7ee5f38ef190d3863
2020-06-01 10:58:11 +08:00
Julia Reynolds
8dd2ffb334
Merge "Only show Bubbles link for messaging apps" into rvc-dev am: 73b6bfc1e8
am: 9be31ce9ef
am: 16444e9a70
am: 21b2d1d714
...
Change-Id: Iad84a70f650ac477ec3fd07e1449fb17471f4eeb
2020-05-31 19:52:58 +00:00
Julia Reynolds
16444e9a70
Merge "Only show Bubbles link for messaging apps" into rvc-dev am: 73b6bfc1e8
am: 9be31ce9ef
...
Change-Id: I74aed443f2d8745029bf5a7ec8d0448adefe2be8
2020-05-31 19:21:24 +00:00
Julia Reynolds
54fe6b42c4
Merge "Only show Bubbles link for messaging apps" into rvc-dev am: 73b6bfc1e8
...
Change-Id: I1330ab99deb858a7037a3776547cb96c06e719b6
2020-05-31 19:08:25 +00:00
Paul Hu
cbebca9881
Merge "Forward the ResultReceiver to Tethering Entitlement app" am: 6045e9b90d
...
Change-Id: I614914b738e3af198fe21b881d2e475e2e8eda41
2020-05-29 21:26:52 +00:00
Julia Reynolds
3d613bb6c9
Only show Bubbles link for messaging apps
...
Apps that have sent at least one valid conversation
Test: manual, atest
Fixes: 156033178
Change-Id: If4fff6810f2e390ba0ad0f7587b8d8c2d5819c93
2020-05-29 14:51:06 -04:00
Fabian Kozynski
d0d07ddceb
Use PackageManager.FEATURE_CONTROLS to decide availability
...
Using this features, some of the Preference in Power Menu Settings can
change their availability and their summary.
Test: Robotest Settings
Fixes: 157244528
Change-Id: I704438dda181aa6347c3f168ac5ef6bd16148993
2020-05-29 13:12:08 -04:00
Andras Kloczl
106431e525
Improve multi user functionality for restricted users
...
- Restricted users can change their name
- Improved App&Content access screen
- Remove "Turn on phone calls" from restricted user detail page
Doc: http://shortn/_Prb3SJ3xJ3
Bug: 142798722
Test: Run robo tests with this command:
make -j64 RunSettingsRoboTests
Change-Id: I2aadf32aef52ba5ad0db7aa0cd83bac9d9941589
(cherry picked from commit f4759e00d5
)
2020-05-29 12:55:18 +00:00
András Klöczl
5d770a8ae3
Merge "Improve multi user functionality for restricted users"
2020-05-29 12:54:35 +00:00
TreeHugger Robot
6ee3939be6
Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641
am: 3d735f0aa1
am: 51e7244e5f
am: 2ce830edda
...
Change-Id: Ia5f6c4dd865167c11d18df9e1e9953de75416da7
2020-05-29 12:41:17 +00:00
TreeHugger Robot
51e7244e5f
Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641
am: 3d735f0aa1
...
Change-Id: I390e5950cbb3c1ccfc82cfbbd3478bbf5eb965f9
2020-05-29 12:13:27 +00:00
TreeHugger Robot
391ebade33
Merge "Fix the janky transition of contextual cards." into rvc-dev am: ff35a3e641
...
Change-Id: I007ed7e12f8a1e7f5ee467907e564c0a0cb7ca3d
2020-05-29 12:01:27 +00:00
TreeHugger Robot
ff35a3e641
Merge "Fix the janky transition of contextual cards." into rvc-dev
2020-05-29 11:51:51 +00:00
TreeHugger Robot
78e8977f94
Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528
am: 609a4aa949
am: e9f3f563d2
am: a4361aadd8
...
Change-Id: I1d4a61d475e1dabd5e130dda60f8e155ccd8ec29
2020-05-29 11:51:47 +00:00
Rubin Xu
a522f85b8b
Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00
am: 085509cb17
am: 8f68066459
am: ce931b51ce
...
Change-Id: I8759fb3ced62acc35e1b451224fd65636cc3e151
2020-05-29 11:51:01 +00:00
TreeHugger Robot
a4361aadd8
Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528
am: 609a4aa949
am: e9f3f563d2
...
Change-Id: I98e1811f7e7d7c6ec50e9a7bab57a1ae29babb74
2020-05-29 11:37:05 +00:00
TreeHugger Robot
9b67c01ad0
Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528
am: 609a4aa949
...
Change-Id: Ic2e163ac5effcf6a364d88554a96426a05125de5
2020-05-29 11:26:10 +00:00
Rubin Xu
8f68066459
Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00
am: 085509cb17
...
Change-Id: I224b2f07f13ae988f2d4227bf14b5efb711dbc0e
2020-05-29 11:26:01 +00:00
TreeHugger Robot
fcbc75c0a4
Merge "Cleanup notification channel slice" into rvc-dev am: 1e0bb9f528
...
Change-Id: Ibf8bcf7400470b3807faadd56c5ce2b917b4cafd
2020-05-29 11:10:00 +00:00
Rubin Xu
8dfd572525
Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00
...
Change-Id: Ibbc56241e0e249b31467362c55a65ce4970cda2b
2020-05-29 11:09:48 +00:00
TreeHugger Robot
1e0bb9f528
Merge "Cleanup notification channel slice" into rvc-dev
2020-05-29 10:55:53 +00:00
Andras Kloczl
f4759e00d5
Improve multi user functionality for restricted users
...
- Restricted users can change their name
- Improved App&Content access screen
- Remove "Turn on phone calls" from restricted user detail page
Doc: http://shortn/_Prb3SJ3xJ3
Bug: 142798722
Test: Run robo tests with this command:
make -j64 RunSettingsRoboTests
Change-Id: I2aadf32aef52ba5ad0db7aa0cd83bac9d9941589
2020-05-29 11:45:28 +01:00
Rubin Xu
c3b12c3b00
Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev
2020-05-29 10:44:18 +00:00
Yi-Ling Chuang
bed0f23940
Fix the janky transition of contextual cards.
...
When contextual cards are being laid out, there are two separate layout
transitions, which brings users the feeling of slowness.
In the current design, we bind slices in the adapter's
onBindViewHolder(), where slice's binding is acutally done in the
background thread and it's time consuming. So before getting the
callback from the slice framework to have actual contents, the view is
empty but the viewholder is already created. So the RecyclerView would
treat it as completed and starts to lay them out. This introduces the
first time transition. Once we get the actual slice content, the view
will be refreshed and laid out, which is the second time transition.
To tackle this, this CL caches slices that are created at pre-check
time, and use them to render before getting updated slices to fill up
the gap.
Fixes: 156372414
Test: robotest and launch settings to see the transition being smooth.
Change-Id: Ic0a27ff36f1824de499b75ec73b2635de9cbe6b5
2020-05-29 18:28:45 +08:00
Jason Chiu
d06333167d
Cleanup notification channel slice
...
Fixes: 144897605
Test: robotest
Change-Id: I1b654f31c6b001ef6f1eed95a87ca0b2dd1afc2e
2020-05-29 17:35:22 +08:00
TreeHugger Robot
dc480fe4c4
Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20
am: ef95b4781b
am: 424c5ad859
am: 51b53dd01f
...
Change-Id: If786ba1387136708d83bc649cbbaf3a50cc08039
2020-05-29 07:37:53 +00:00
TreeHugger Robot
ded4c87729
Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653
am: 29e0d389bf
am: 7392cae089
am: 54425fd055
...
Change-Id: Ieb6c9722d3f22ac26fb021143b6daa52e5217d8a
2020-05-29 07:37:19 +00:00
TreeHugger Robot
51b53dd01f
Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20
am: ef95b4781b
am: 424c5ad859
...
Change-Id: I181db072e8f3090a0abefa08e93e026dcb6e9e98
2020-05-29 07:25:04 +00:00
TreeHugger Robot
c0e5e35830
Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20
am: ef95b4781b
...
Change-Id: Ib7bf827f55b4b84dc07441f5251ef81b18d7334f
2020-05-29 07:15:14 +00:00
TreeHugger Robot
7392cae089
Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653
am: 29e0d389bf
...
Change-Id: Ibd7a31e361f6bdb67fbf810a4129c9d42f99b3d8
2020-05-29 07:15:02 +00:00
govenliu
90d72813cd
[Wi-Fi] Enhance WifiNoInternetDialogTest unit test cases
...
Add new unit test cases in WifiNoInternetDialogTest.java
The coverage rate of WifiNoInternetDialog will raise from 10% to 95%
Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiNoInternetDialogTest
Change-Id: I8256c0adebee9a7f557b467a6ea11cad09e02b33
2020-05-29 14:53:14 +08:00
TreeHugger Robot
343f6fb26f
Merge "Disable anomaly app detection for battery" into rvc-dev am: 90331c0f20
...
Change-Id: I6eed91ca71917570161c31f666c33ead52f873ef
2020-05-29 06:50:16 +00:00
TreeHugger Robot
ac6c74c146
Merge "[ANR] Settings froze" into rvc-dev am: dd356c5653
...
Change-Id: I06cde00fea23eb9f1aaf745de9d4f8822ffbf9dd
2020-05-29 06:50:05 +00:00
TreeHugger Robot
90331c0f20
Merge "Disable anomaly app detection for battery" into rvc-dev
2020-05-29 06:47:00 +00:00
TreeHugger Robot
dd356c5653
Merge "[ANR] Settings froze" into rvc-dev
2020-05-29 06:37:53 +00:00
tim peng
22750c155a
Merge "Improve feedback when failing transferring a disconnected device" into rvc-dev am: 6febf2c629
am: 771ece6156
am: 8b5d909a86
am: cc6ce21c84
...
Change-Id: If389f12b4a79d18d73bdca779049882a835ca3bf
2020-05-29 06:10:56 +00:00
tim peng
771ece6156
Merge "Improve feedback when failing transferring a disconnected device" into rvc-dev am: 6febf2c629
...
Change-Id: I462bcb49de448b2a1d5ac81dd75460ca08c6558c
2020-05-29 05:21:48 +00:00