diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-07-29 16:15:27 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-07-29 16:15:27 -0700 |
commit | 2153ef3858fdd3daac25d42e41a1fd0d048cc33c (patch) | |
tree | 59dea823e5838e817dc67855278239c88beadf2c /src/com/android/settings/applications/RunningProcessesView.java | |
parent | 7c435f6b441cfc281f77d2467a58a85a4167ffcd (diff) | |
download | packages_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/settings/applications/RunningProcessesView.java')
-rw-r--r-- | src/com/android/settings/applications/RunningProcessesView.java | 2 |
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), |