Skip to content

Commit

Permalink
Use the new icon in the quick tile.
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabe committed May 22, 2016
1 parent 9f06b49 commit 840e838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
android:name=".OpenVPNTileService"
android:value="true"
android:label="@string/qs_title"
android:icon="@drawable/icon"
android:icon="@drawable/ic_quick"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private void setupShortcut(VpnProfile profile) {
intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, profile.getName());
Parcelable iconResource = Intent.ShortcutIconResource.fromContext(
this, R.drawable.icon);
this, R.mipmap.ic_launcher);
intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);

// Now, return the result to the launcher
Expand Down

0 comments on commit 840e838

Please sign in to comment.