Skip to content

Commit

Permalink
Main differences
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-RM committed May 2, 2023
1 parent 88e485f commit 97d794a
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions MainActivity.smali
Original file line number Diff line number Diff line change
Expand Up @@ -3356,10 +3356,8 @@
.method public getExternalStoragePath()Ljava/lang/String;
.locals 1

const/4 v0, 0x0

.line 1241
invoke-virtual {p0, v0}, Lcom/mojang/minecraftpe/MainActivity;->getExternalFilesDir(Ljava/lang/String;)Ljava/io/File;
.line 1189
invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

move-result-object v0

Expand Down Expand Up @@ -3942,17 +3940,10 @@
.end method

.method public getInternalStoragePath()Ljava/lang/String;
.locals 2

.line 1316
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

const/16 v1, 0x18

if-lt v0, v1, :cond_0
.locals 1

.line 1317
invoke-virtual {p0}, Lcom/mojang/minecraftpe/MainActivity;->getDataDir()Ljava/io/File;
.line 1189
invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

move-result-object v0

Expand Down Expand Up @@ -8684,4 +8675,4 @@
invoke-virtual {v0, v1, v2}, Landroid/os/Vibrator;->vibrate(J)V

return-void
.end method
.end method

0 comments on commit 97d794a

Please sign in to comment.