diff options
author | Steve Kondik <shade@chemlab.org> | 2013-02-14 21:15:50 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-02-14 21:15:50 -0800 |
commit | eb7a665c4621999bf2711f16c5a37af35b156546 (patch) | |
tree | e2980af18687ce148a5250a05847fce3bd0a338f /src/com/android/settings/applications/RunningServiceDetails.java | |
parent | 8129ea29cafba3f1199a7935b69f949908c01011 (diff) | |
parent | 20a2aaa9595e9ab958d27eb430af6560e24ba78c (diff) | |
download | packages_apps_settings-eb7a665c4621999bf2711f16c5a37af35b156546.zip packages_apps_settings-eb7a665c4621999bf2711f16c5a37af35b156546.tar.gz packages_apps_settings-eb7a665c4621999bf2711f16c5a37af35b156546.tar.bz2 |
Merge branch 'mr1.1-staging' of git://github.com/CyanogenMod/android_packages_apps_Settings into mr1.1-staging
Change-Id: I17e7cea5e432d0025c64465a7c01c42bb24e7133
Diffstat (limited to 'src/com/android/settings/applications/RunningServiceDetails.java')
-rw-r--r-- | src/com/android/settings/applications/RunningServiceDetails.java | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/com/android/settings/applications/RunningServiceDetails.java b/src/com/android/settings/applications/RunningServiceDetails.java index 02fbecc..73547f1 100644 --- a/src/com/android/settings/applications/RunningServiceDetails.java +++ b/src/com/android/settings/applications/RunningServiceDetails.java @@ -1,7 +1,5 @@ package com.android.settings.applications; -import com.android.settings.R; - import android.app.Activity; import android.app.ActivityManager; import android.app.AlertDialog; @@ -18,9 +16,9 @@ import android.content.Intent; import android.content.IntentSender; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; +import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.ProviderInfo; import android.content.pm.ServiceInfo; -import android.content.pm.PackageManager.NameNotFoundException; import android.content.res.Resources; import android.os.Bundle; import android.os.Debug; @@ -35,6 +33,9 @@ import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; +import com.android.settings.R; +import com.android.settings.Utils; + import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; @@ -507,12 +508,14 @@ public class RunningServiceDetails extends Fragment } @Override - public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - View view = mRootView = inflater.inflate(R.layout.running_service_details, null); - + public View onCreateView( + LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + final View view = inflater.inflate(R.layout.running_service_details, container, false); + Utils.prepareCustomPreferencesList(container, view, view, false); + + mRootView = view; mAllDetails = (ViewGroup)view.findViewById(R.id.all_details); mSnippet = (ViewGroup)view.findViewById(R.id.snippet); - mSnippet.setPadding(0, mSnippet.getPaddingTop(), 0, mSnippet.getPaddingBottom()); mSnippetViewHolder = new RunningProcessesView.ViewHolder(mSnippet); // We want to retrieve the data right now, so any active managed |