Skip to content

Commit

Permalink
use build tools version 28.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
daumie authored and PromasterGuru committed Jul 31, 2019
1 parent bdd86a5 commit 005f794
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/code_quality_tools/quality.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ task findbugs(type: FindBugs) {
description 'Find bugs maingly design flaws, bad practices'
group 'verification'
excludeFilter = rootProject.file('app/code_quality_tools/findbugs.xml')
classes = fileTree("$project.buildDir/intermediates/classes/mock/debug/")
classes = fileTree("$project.buildDir/intermediates/javac/")
source 'src'
effort 'max'
include '**/*.java'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
import com.google.firebase.auth.FirebaseUser;

import java.util.ArrayList;
import java.util.List;

import javax.inject.Inject;
Expand Down Expand Up @@ -202,10 +201,7 @@ public void onGetAssets(UserAssetResponse response) {
* called when user is not assigned any asset.
*/
public void onEmptyAsset() {
List<Asset> asset = new ArrayList();
Asset newAsset = new Asset();
newAsset.setSerialNumber("NO ASSET ASSIGNED YET.");
asset.add(newAsset);
Toast.makeText(getApplicationContext(), "NO ASSET ASSIGNED YET.", Toast.LENGTH_LONG);
dismissDialog("200");
}

Expand Down
2 changes: 2 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,6 @@ if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi

yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;28.0.3"

exec "$JAVACMD" "$@"

0 comments on commit 005f794

Please sign in to comment.