From 2153ef3858fdd3daac25d42e41a1fd0d048cc33c Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Tue, 29 Jul 2014 16:15:27 -0700 Subject: Fix bug #16623129 Stability: Settings: NPE in RunningProcessesView... startServiceDetailsActivity(RunningProcessesView.java:394) - make the ListView header non selectable Change-Id: Ic5e888a7d1d3d1df1bcb59f3027e4385d46ba5ca --- src/com/android/settings/applications/RunningProcessesView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com') 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), -- cgit v1.2.3