diff --git a/core/java/android/widget/AppSecurityPermissions.java b/core/java/android/widget/AppSecurityPermissions.java index aa14c81fb2507..d3aa42f9a19b7 100755 --- a/core/java/android/widget/AppSecurityPermissions.java +++ b/core/java/android/widget/AppSecurityPermissions.java @@ -17,14 +17,14 @@ package android.widget; import com.android.internal.R; + import android.content.Context; -import android.content.res.Resources; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; +import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.PackageParser; import android.content.pm.PermissionGroupInfo; import android.content.pm.PermissionInfo; -import android.content.pm.PackageManager.NameNotFoundException; import android.graphics.drawable.Drawable; import android.util.Log; import android.view.LayoutInflater; @@ -329,11 +329,6 @@ public class AppSecurityPermissions implements View.OnClickListener { TextView permGrpView = (TextView) permView.findViewById(R.id.permission_group); TextView permDescView = (TextView) permView.findViewById(R.id.permission_list); - if (dangerous) { - final Resources resources = context.getResources(); - permGrpView.setTextColor(resources.getColor(R.color.perms_dangerous_grp_color)); - permDescView.setTextColor(resources.getColor(R.color.perms_dangerous_perm_color)); - } ImageView imgView = (ImageView)permView.findViewById(R.id.perm_icon); imgView.setImageDrawable(icon); diff --git a/core/res/res/drawable-hdpi/ic_bullet_key_permission.png b/core/res/res/drawable-hdpi/ic_bullet_key_permission.png index 98d95dcd68061..b6b840a4ae3fb 100644 Binary files a/core/res/res/drawable-hdpi/ic_bullet_key_permission.png and b/core/res/res/drawable-hdpi/ic_bullet_key_permission.png differ diff --git a/core/res/res/layout/app_perms_summary.xml b/core/res/res/layout/app_perms_summary.xml index 716074317987b..bdbbfcb3b089f 100755 --- a/core/res/res/layout/app_perms_summary.xml +++ b/core/res/res/layout/app_perms_summary.xml @@ -65,21 +65,23 @@ android:layout_marginLeft="16dip" android:duplicateParentState="true"> - - + +