diff options
author | Arne Schwabe <arne@rfc2549.org> | 2016-05-22 13:35:50 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2016-05-22 13:35:50 +0200 |
commit | 840e8389b93e8687484f7e0cc9a4b267ae3048e0 (patch) | |
tree | 9c64d14fcf7406f342b90e6a915fd9c369e2d426 | |
parent | 9f06b49e156da1675979fd3da7ec1cf3af57f6d9 (diff) |
Use the new icon in the quick tile.
-rw-r--r-- | main/src/main/AndroidManifest.xml | 2 | ||||
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/activities/CreateShortcuts.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/main/AndroidManifest.xml b/main/src/main/AndroidManifest.xml index 53509ae4..da2c6ab2 100644 --- a/main/src/main/AndroidManifest.xml +++ b/main/src/main/AndroidManifest.xml @@ -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" /> diff --git a/main/src/main/java/de/blinkt/openvpn/activities/CreateShortcuts.java b/main/src/main/java/de/blinkt/openvpn/activities/CreateShortcuts.java index e7af25c7..e1cb8862 100644 --- a/main/src/main/java/de/blinkt/openvpn/activities/CreateShortcuts.java +++ b/main/src/main/java/de/blinkt/openvpn/activities/CreateShortcuts.java @@ -136,7 +136,7 @@ public class CreateShortcuts extends ListActivity implements OnItemClickListener 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 |