Commit c255f518 authored by Theo Johnson-kanu's avatar Theo Johnson-kanu Committed by Chromium LUCI CQ

[CrOS cellular] Move activation status to advanced section

Screenshot: https://screenshot.googleplex.com/iGaHZcsb7RMuKDB.png

Bug: 1093185
Change-Id: I09ccf1b5cbe68ebcf479727cd616710578ca6e06
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611334Reviewed-by: default avatarAzeem Arshad <azeemarshad@chromium.org>
Commit-Queue: Nnamdi Theodore Johnson-kanu <tjohnsonkanu@google.com>
Cr-Commit-Position: refs/heads/master@{#840303}
parent 9fcf781c
......@@ -1895,8 +1895,10 @@ Polymer({
/** @type {!Array<string>} */ const fields = [];
switch (this.managedProperties_.type) {
case chromeos.networkConfig.mojom.NetworkType.kCellular:
fields.push(
'cellular.activationState', 'cellular.servingOperator.name');
if (!this.isUpdatedCellularUiEnabled_) {
fields.push('cellular.activationState');
}
fields.push('cellular.servingOperator.name');
break;
case chromeos.networkConfig.mojom.NetworkType.kTether:
fields.push(
......@@ -1972,6 +1974,9 @@ Polymer({
const type = this.managedProperties_.type;
switch (type) {
case chromeos.networkConfig.mojom.NetworkType.kCellular:
if (this.isUpdatedCellularUiEnabled_) {
fields.push('cellular.activationState');
}
fields.push(
'cellular.family', 'cellular.networkTechnology',
'cellular.servingOperator.code');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment