diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-04-21 10:52:34 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-04-21 10:52:34 -0700 |
commit | f2dee29d66b1d97c693522c517659961e2b76a98 (patch) | |
tree | 650fb18214e675723b000c24a92490bfe9b37d53 /src/com/android/settings/dashboard | |
parent | 5cda21b449a56de42f7868bdcdaa31bb6f587c03 (diff) | |
download | packages_apps_Settings-f2dee29d66b1d97c693522c517659961e2b76a98.tar.gz packages_apps_Settings-f2dee29d66b1d97c693522c517659961e2b76a98.tar.bz2 packages_apps_Settings-f2dee29d66b1d97c693522c517659961e2b76a98.zip |
Remove non needed code for HeaderAdapter
- before, we were showing a Swich for WiFi and Bluetooth entries
in the Headers. As this is no more the case, remove the code
that is no more usefull.
- as a side effect, we are also removing the call to update the
Search Index that was running when the Settings app was resuming
or pausing.
Change-Id: I26b40df5c7a664d196a249840638d89909b6bc24
Diffstat (limited to 'src/com/android/settings/dashboard')
-rw-r--r-- | src/com/android/settings/dashboard/HeaderAdapter.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/android/settings/dashboard/HeaderAdapter.java b/src/com/android/settings/dashboard/HeaderAdapter.java index 720f83b24..2f79c18f8 100644 --- a/src/com/android/settings/dashboard/HeaderAdapter.java +++ b/src/com/android/settings/dashboard/HeaderAdapter.java @@ -262,14 +262,4 @@ public class HeaderAdapter extends ArrayAdapter<Header> { holder.mIcon.setLayoutParams(lp); holder.mIcon.setImageDrawable(icon); } - - public void resume(Context context) { - mWifiEnabler.resume(context); - mBluetoothEnabler.resume(context); - } - - public void pause() { - mWifiEnabler.pause(); - mBluetoothEnabler.pause(); - } }
\ No newline at end of file |