Skip to content

Commit

Permalink
Update to 1.1.0.
Browse files Browse the repository at this point in the history
Remove Android native launcher support.
  • Loading branch information
leolin310148 committed May 7, 2015
1 parent 127b091 commit c3f9106
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The ShortcutBadger makes your Android App showing the count of unread messages a
<td width="130">
<h3>Android</h3>
<h5>(before 4.4)</h5>
<h5>(Deprecated since 1.1.0)</h5>
<br>
<img src="https://raw.github.com/leolin310148/ShortcutBadger/master/screenshots/ss_android.png"/>
</td>
Expand Down Expand Up @@ -69,7 +70,7 @@ USAGE
<br/>2. Add dependencies for ShortcutBadger, it's available from maven now.

dependencies {
compile 'me.leolin:ShortcutBadger:1.0.10@aar'
compile 'me.leolin:ShortcutBadger:1.1.0@aar'
}

<br/>3. Add the codes below:
Expand Down Expand Up @@ -98,17 +99,15 @@ If you receive mail from Google contains message like :<br/>

REASON FOR WARNING: Violation of section 4.4 of the Developer Distribution Agreement.
Please add permissions to your manifest.
Please use version 1.1.0+

<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS"/>
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS"/>
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />


CHANGE LOG
===================================
1.1.0:<br/>
Remove Android Launcher support due to Google Play Developer Term Violation since 4.4
<br/><br/>
1.0.10:<br/>
Add Asus launcher support.
<br/><br/>
Expand Down
8 changes: 4 additions & 4 deletions ShortcutBadger/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
>

<!--for android-->
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS"/>
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS"/>
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
<!--<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS"/>-->
<!--<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS"/>-->
<!--<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />-->
<!--<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />-->


<!--for Samsung-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public abstract class ShortcutBadger {

static {
BADGERS.add(AdwHomeBadger.class);
BADGERS.add(AndroidHomeBadger.class);
BADGERS.add(Android2HomeBadger.class);
// BADGERS.add(AndroidHomeBadger.class);
// BADGERS.add(Android2HomeBadger.class);
BADGERS.add(ApexHomeBadger.class);
BADGERS.add(LGHomeBadger.class);
BADGERS.add(NewHtcHomeBadger.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
/**
* @author Leo Lin
*/
@Deprecated
public class Android2HomeBadger extends ShortcutBadger {
private static final String CONTENT_URI = "content://com.android.launcher2.settings/favorites?notify=true";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
/**
* @author Leo Lin
*/
@Deprecated
public class AndroidHomeBadger extends ShortcutBadger {
private static final String CONTENT_URI = "content://com.android.launcher2.settings/favorites?notify=true";

Expand Down

0 comments on commit c3f9106

Please sign in to comment.