Merge "Revamp the network detail page"

This commit is contained in:
TreeHugger Robot
2017-12-18 20:47:31 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 2 deletions

View File

@@ -14,7 +14,10 @@
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
settings:initialExpandedChildrenCount="5">
<com.android.settings.applications.LayoutPreference
android:key="connection_header"

View File

@@ -881,7 +881,7 @@ public class WifiSettings extends RestrictedSettingsFragment
SettingsActivity activity = (SettingsActivity) WifiSettings.this.getActivity();
activity.startPreferencePanel(this,
WifiNetworkDetailsFragment.class.getName(), pref.getExtras(),
R.string.wifi_details_title, null, null, 0);
-1 /* resId */, pref.getTitle(), null, 0 /* resultRequestCode */);
});
pref.refresh();