new release

This commit is contained in:
Page Asgardius 2023-01-22 09:03:57 -07:00
parent 4841fbcf5d
commit b76890e320
4 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ android {
applicationId "asgardius.page.s3manager"
minSdk 23
targetSdk 33
versionCode 70
versionCode 71
versionName "0.8.0"
setProperty("archivesBaseName", "s3-manager-$versionName")

View file

@ -68,7 +68,7 @@ public class BucketPolicy extends AppCompatActivity {
@Override
public void run() {
//Your code goes here
if(policy.contains("\"Resource\":[\"arn:aws:s3:::"+bucket+"/*")){
if(policy.contains("\"Resource\":[\"arn:aws:s3:::"+bucket+"/*") || policy.contains("\"Resource\":\"arn:aws:s3:::"+bucket+"/*")){
permission.setText(getResources().getString(R.string.public_bucket));
} else {
permission.setText(getResources().getString(R.string.custom_policy));

View file

@ -134,7 +134,7 @@ public class Share extends AppCompatActivity {
@Override
public void run() {
//Your code goes here
if(policy.contains("\"Resource\":[\"arn:aws:s3:::"+bucket+"/*")){
if(policy.contains("\"Resource\":[\"arn:aws:s3:::"+bucket+"/*") || policy.contains("\"Resource\":\"arn:aws:s3:::"+bucket+"/*")){
publicbucket = true;
expirationtext.setText(getResources().getString(R.string.expiration_not_required));