Small typos
apk / build (push) Successful in 1m26s Details

This commit is contained in:
Michel Roux 2023-07-31 23:04:22 +02:00
parent 4def790dbb
commit 3431519c1a
6 changed files with 10 additions and 13 deletions

View File

@ -1,5 +1,5 @@
name: apk
on: [push]
on: [ push ]
jobs:
build:

View File

@ -2,8 +2,6 @@
<a href="https://play.google.com/store/apps/details?id=net.crystalyx.setaswallpaper"><img alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png" height="80"/></a>
[![Build Status](https://ci.crystalyx.net/api/badges/Xefir/SetAsWallpaper/status.svg)](https://ci.crystalyx.net/Xefir/SetAsWallpaper)
Provide a useful shortcut to set an image to your Android's wallpaper launcher and lock screen through the "Share" functionality.
## Download

View File

@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
namespace 'net.crystalyx.setaswallpaper'
compileSdkVersion 33
compileSdk 33
defaultConfig {
applicationId "net.crystalyx.setaswallpaper"
minSdkVersion 5

View File

@ -5,10 +5,9 @@
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<application
android:icon="@mipmap/ic_launcher"
android:label="Set as wallpaper"
android:allowBackup="false"
android:theme="@android:style/Theme.NoDisplay"
android:icon="@mipmap/ic_launcher">
android:theme="@android:style/Theme.NoDisplay">
<activity
android:name=".SetWallpaperActivity"
android:exported="true">

View File

@ -20,20 +20,20 @@ public class HttpThreadHandler implements Runnable {
@Override
public void run() {
try {
URLConnection connection = this.url.openConnection();
URLConnection connection = url.openConnection();
connection.connect();
InputStream inputStream = connection.getInputStream();
this.bitmap = BitmapFactory.decodeStream(inputStream);
bitmap = BitmapFactory.decodeStream(inputStream);
} catch (IOException e) {
errorMessage = e.getMessage();
}
}
public Bitmap gitBitmap() {
return this.bitmap;
return bitmap;
}
public String getErrorMessage() {
return this.errorMessage;
return errorMessage;
}
}

View File

@ -16,10 +16,10 @@ allprojects {
}
}
task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
tasks.withType(JavaCompile) {
tasks.withType(JavaCompile).configureEach {
options.deprecation = true
}