summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-07-29 16:15:27 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2014-07-29 16:15:27 -0700
commit2153ef3858fdd3daac25d42e41a1fd0d048cc33c (patch)
tree59dea823e5838e817dc67855278239c88beadf2c /src/com/android
parent7c435f6b441cfc281f77d2467a58a85a4167ffcd (diff)
downloadpackages_apps_Settings-2153ef3858fdd3daac25d42e41a1fd0d048cc33c.tar.gz
packages_apps_Settings-2153ef3858fdd3daac25d42e41a1fd0d048cc33c.tar.bz2
packages_apps_Settings-2153ef3858fdd3daac25d42e41a1fd0d048cc33c.zip
Fix bug #16623129 Stability: Settings: NPE in RunningProcessesView...
startServiceDetailsActivity(RunningProcessesView.java:394) - make the ListView header non selectable Change-Id: Ic5e888a7d1d3d1df1bcb59f3027e4385d46ba5ca
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/settings/applications/RunningProcessesView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/applications/RunningProcessesView.java b/src/com/android/settings/applications/RunningProcessesView.java
index d0da04bea..58b37ec81 100644
--- a/src/com/android/settings/applications/RunningProcessesView.java
+++ b/src/com/android/settings/applications/RunningProcessesView.java
@@ -429,7 +429,7 @@ public class RunningProcessesView extends FrameLayout
mAdapter = new ServiceListAdapter(mState);
mListView.setAdapter(mAdapter);
mHeader = inflater.inflate(R.layout.running_processes_header, null);
- mListView.addHeaderView(mHeader);
+ mListView.addHeaderView(mHeader, null, false /* set as not selectable */);
mColorBar = (LinearColorBar)mHeader.findViewById(R.id.color_bar);
Resources res = getResources();
mColorBar.setColors(res.getColor(R.color.running_processes_system_ram),