Skip to content

Commit

Permalink
Fix Codacy branch ID for master branch.
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
avluis committed Jul 3, 2016
1 parent a9d9b1b commit e680226
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Description: Doujinshi Android App
-->

[![CircleCI](https://circleci.com/gh/AVnetWS/Hentoid.svg?style=shield&circle-token=62f6f71ba9dd3c419c10ee4e0beea3098ebdb168)](https://circleci.com/gh/AVnetWS/Hentoid) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ae76428c8f7b4b0eb17a2faca9175eb3?branch=master)](https://www.codacy.com/app/AVnetWS/Hentoid/dashboard?bid=3349318&utm_source=github.com&utm_medium=referral&utm_content=AVnetWS/Hentoid&utm_campaign=Badge_Grade)
[![CircleCI](https://circleci.com/gh/AVnetWS/Hentoid.svg?style=shield&circle-token=62f6f71ba9dd3c419c10ee4e0beea3098ebdb168)](https://circleci.com/gh/AVnetWS/Hentoid) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ae76428c8f7b4b0eb17a2faca9175eb3?branch=master)](https://www.codacy.com/app/AVnetWS/Hentoid/dashboard?bid=3349264&utm_source=github.com&utm_medium=referral&utm_content=AVnetWS/Hentoid&utm_campaign=Badge_Grade)
___

[![Hentoid App Icon](https://raw.githubusercontent.com/AVnetWS/Hentoid-Resources/master/repo/assets/img/ic_launcher-web.png)](https://circleci.com/api/v1/project/AVnetWS/Hentoid/latest/artifacts/0/$CIRCLE_ARTIFACTS/outputs/apk/app-debug.apk?branch=master&filter=successful)
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/java/me/devsaki/hentoid/util/Helper.java
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ public static boolean permissionsCheck(Activity activity, int permissionRequestC
}
}

// We have asked for permissions, but still denied.
public static void reset(Context cxt, Activity activity) {
// We have asked for permissions, but still denied.
Helper.toast(R.string.reset);
Helper.commitFirstRun(true);
Intent intent = new Intent(activity, IntroActivity.class);
Expand All @@ -477,6 +477,7 @@ public static void reset(Context cxt, Activity activity) {
activity.finish();
}

// Note that this is a last resort method -- for use only when ALL else fails.
public static void doRestart(@NonNull Context cxt) {
try {
PackageManager pm = cxt.getPackageManager();
Expand Down

0 comments on commit e680226

Please sign in to comment.