fix dashclock widget class filename

update icon, add svg icon source, minor dashclock-related tweaks
This commit is contained in:
Andrew Dolgov 2013-05-22 13:14:02 +04:00
parent d292f42851
commit 7709a71753
5 changed files with 1075 additions and 4 deletions

View File

@ -205,7 +205,7 @@
android:enabled="true" /> android:enabled="true" />
<service android:name=".DashClock" <service android:name=".DashClock"
android:icon="@drawable/icon" android:icon="@drawable/dashclock"
android:label="@string/app_name" android:label="@string/app_name"
android:permission="com.google.android.apps.dashclock.permission.READ_EXTENSION_DATA"> android:permission="com.google.android.apps.dashclock.permission.READ_EXTENSION_DATA">
<intent-filter> <intent-filter>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

1071
res/drawable/s_dashclock.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -15,7 +15,7 @@ import com.google.gson.JsonObject;
public class DashClock extends DashClockExtension { public class DashClock extends DashClockExtension {
private static final String TAG = "TTRSS-DC"; private final String TAG = this.getClass().getSimpleName();
protected SharedPreferences m_prefs; protected SharedPreferences m_prefs;
@ -86,7 +86,7 @@ public class DashClock extends DashClockExtension {
updatedData.status(String.valueOf(m_unreadCount)); updatedData.status(String.valueOf(m_unreadCount));
updatedData.expandedTitle(m_unreadCount + " unread articles"); updatedData.expandedTitle(m_unreadCount + " unread articles");
updatedData.expandedBody(getString(R.string.app_name)); //updatedData.expandedBody(getString(R.string.app_name));
updatedData.clickIntent(new Intent().setClassName("org.fox.ttrss", updatedData.clickIntent(new Intent().setClassName("org.fox.ttrss",
"org.fox.ttrss.OnlineActivity")); "org.fox.ttrss.OnlineActivity"));
@ -98,7 +98,7 @@ public class DashClock extends DashClockExtension {
} }
} }
Log.d(TAG, "unread count is: " + m_unreadCount); //Log.d(TAG, "unread count is: " + m_unreadCount);
} }
}; };