@@ -135,7 +135,7 @@ public void onActivityCreated(Bundle savedInstanceState) {
135135 mDynamicBugReport .setChecked (Settings .System .getInt (resolver , Settings .System .QS_DYNAMIC_BUGREPORT , 1 ) == 1 );
136136 mDynamicDockBattery = (CheckBoxPreference ) prefSet .findPreference (DYNAMIC_DOCK_BATTERY );
137137 if (mDynamicDockBattery != null ) {
138- if (deviceSupportsDockBattery (getActivity ())) {
138+ if (QSUtils . deviceSupportsDockBattery (getActivity ())) {
139139 mDynamicDockBattery .setChecked (Settings .System .getInt (resolver , Settings .System .QS_DYNAMIC_DOCK_BATTERY , 1 ) == 1 );
140140 } else {
141141 mDynamicTiles .removePreference (mDynamicDockBattery );
@@ -144,7 +144,7 @@ public void onActivityCreated(Bundle savedInstanceState) {
144144 }
145145 mDynamicIme = (CheckBoxPreference ) prefSet .findPreference (DYNAMIC_IME );
146146 if (mDynamicIme != null ) {
147- if (deviceSupportsImeSwitcher (getActivity ())) {
147+ if (QSUtils . deviceSupportsImeSwitcher (getActivity ())) {
148148 mDynamicIme .setChecked (Settings .System .getInt (resolver , Settings .System .QS_DYNAMIC_IME , 1 ) == 1 );
149149 } else {
150150 mDynamicTiles .removePreference (mDynamicIme );
@@ -153,7 +153,7 @@ public void onActivityCreated(Bundle savedInstanceState) {
153153 }
154154 mDynamicUsbTether = (CheckBoxPreference ) prefSet .findPreference (DYNAMIC_USBTETHER );
155155 if (mDynamicUsbTether != null ) {
156- if (deviceSupportsUsbTether (getActivity ())) {
156+ if (QSUtils . deviceSupportsUsbTether (getActivity ())) {
157157 mDynamicUsbTether .setChecked (Settings .System .getInt (resolver , Settings .System .QS_DYNAMIC_USBTETHER , 1 ) == 1 );
158158 } else {
159159 mDynamicTiles .removePreference (mDynamicUsbTether );
@@ -162,7 +162,7 @@ public void onActivityCreated(Bundle savedInstanceState) {
162162 }
163163 mDynamicWifi = (CheckBoxPreference ) prefSet .findPreference (DYNAMIC_WIFI );
164164 if (mDynamicWifi != null ) {
165- if (deviceSupportsWifiDisplay (getActivity ())) {
165+ if (QSUtils . deviceSupportsWifiDisplay (getActivity ())) {
166166 mDynamicWifi .setChecked (Settings .System .getInt (resolver , Settings .System .QS_DYNAMIC_WIFI , 1 ) == 1 );
167167 } else {
168168 mDynamicTiles .removePreference (mDynamicWifi );
0 commit comments