maybe fix icon not working on dashclock
This commit is contained in:
parent
d7621d1a2b
commit
931e4d6427
@ -1,20 +1,18 @@
|
|||||||
package org.fox.ttrss;
|
package org.fox.ttrss;
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
import org.fox.ttrss.util.SimpleLoginManager;
|
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.preference.PreferenceManager;
|
import android.preference.PreferenceManager;
|
||||||
import android.view.View;
|
|
||||||
|
|
||||||
import com.google.android.apps.dashclock.api.DashClockExtension;
|
import com.google.android.apps.dashclock.api.DashClockExtension;
|
||||||
import com.google.android.apps.dashclock.api.ExtensionData;
|
import com.google.android.apps.dashclock.api.ExtensionData;
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
|
|
||||||
|
import org.fox.ttrss.util.SimpleLoginManager;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
|
||||||
public class DashClock extends DashClockExtension {
|
public class DashClock extends DashClockExtension {
|
||||||
|
|
||||||
private final String TAG = this.getClass().getSimpleName();
|
private final String TAG = this.getClass().getSimpleName();
|
||||||
@ -60,7 +58,7 @@ public class DashClock extends DashClockExtension {
|
|||||||
//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.LaunchActivity"));
|
||||||
}
|
}
|
||||||
|
|
||||||
publishUpdate(updatedData);
|
publishUpdate(updatedData);
|
||||||
|
Loading…
Reference in New Issue
Block a user