new release
This commit is contained in:
parent
4841fbcf5d
commit
b76890e320
4 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue