am fbebf8cf: am 254e8aea: Merge "Update for shortcuts" into mnc-dev

* commit 'fbebf8cfc4a612b6708d024ce71e8069e87cd310':
  Update for shortcuts
This commit is contained in:
Jason Monk
2015-06-16 21:25:48 +00:00
committed by Android Git Automerger
4 changed files with 5 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ public class CreateShortcut extends LauncherActivity {
}
private Bitmap createIcon(int resource) {
Context context = new ContextThemeWrapper(this, android.R.style.Theme_Material_Light);
Context context = new ContextThemeWrapper(this, android.R.style.Theme_Material);
View view = LayoutInflater.from(context).inflate(R.layout.shortcut_badge, null);
((ImageView) view.findViewById(android.R.id.icon)).setImageResource(resource);