summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/profiles
diff options
context:
space:
mode:
authorDvTonder <david.vantonder@gmail.com>2015-02-11 08:25:13 -0500
committerAdnan Begovic <adnan@cyngn.com>2015-10-27 13:20:42 -0700
commit2beb8bf874a51150ed538215ed21d698c8d91fac (patch)
treed002141f8e74f5adf6bf18f167eb3e41027ac827 /src/com/android/settings/profiles
parentb3747b4fbbec27e0bf054040856b100148d735bd (diff)
downloadpackages_apps_Settings-2beb8bf874a51150ed538215ed21d698c8d91fac.zip
packages_apps_Settings-2beb8bf874a51150ed538215ed21d698c8d91fac.tar.gz
packages_apps_Settings-2beb8bf874a51150ed538215ed21d698c8d91fac.tar.bz2
Fix Profiles settings screen padding
Change-Id: Iff56f777141cc1e56492da7a2b20e2af02a7db8f
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r--src/com/android/settings/profiles/ProfilesList.java5
-rw-r--r--src/com/android/settings/profiles/ProfilesSettings.java8
2 files changed, 0 insertions, 13 deletions
diff --git a/src/com/android/settings/profiles/ProfilesList.java b/src/com/android/settings/profiles/ProfilesList.java
index 7cc2048..250051a 100644
--- a/src/com/android/settings/profiles/ProfilesList.java
+++ b/src/com/android/settings/profiles/ProfilesList.java
@@ -57,11 +57,6 @@ public class ProfilesList extends SettingsPreferenceFragment implements
public void onResume() {
super.onResume();
refreshList();
-
- // On tablet devices remove the padding
- if (Utils.isTablet(getActivity())) {
- getListView().setPadding(0, 0, 0, 0);
- }
}
public void refreshList() {
diff --git a/src/com/android/settings/profiles/ProfilesSettings.java b/src/com/android/settings/profiles/ProfilesSettings.java
index 1f14113..0c3bcd9 100644
--- a/src/com/android/settings/profiles/ProfilesSettings.java
+++ b/src/com/android/settings/profiles/ProfilesSettings.java
@@ -30,9 +30,6 @@ import android.os.Bundle;
import android.provider.Settings;
import android.support.v4.view.ViewPager;
import android.support.v13.app.FragmentStatePagerAdapter;
-import android.util.Log;
-import android.view.Gravity;
-import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
@@ -143,11 +140,6 @@ public class ProfilesSettings extends SettingsPreferenceFragment {
// check if we are enabled
updateProfilesEnabledState();
-
- // If running on a phone, remove padding around tabs
- if (!Utils.isTablet(getActivity())) {
- mContainer.setPadding(0, 0, 0, 0);
- }
}
@Override