remove unneeded debug code
This commit is contained in:
parent
fd86936015
commit
be3f672429
1 changed files with 2 additions and 2 deletions
|
@ -109,10 +109,10 @@ public class Share extends AppCompatActivity {
|
||||||
mycal.set(Calendar.MINUTE, minute);
|
mycal.set(Calendar.MINUTE, minute);
|
||||||
mycal.set(Calendar.SECOND, 0);
|
mycal.set(Calendar.SECOND, 0);
|
||||||
Date expiration = mycal.getTime();
|
Date expiration = mycal.getTime();
|
||||||
System.out.println(expiration);
|
//System.out.println(expiration);
|
||||||
GeneratePresignedUrlRequest request = new GeneratePresignedUrlRequest(bucket, object).withExpiration(expiration);
|
GeneratePresignedUrlRequest request = new GeneratePresignedUrlRequest(bucket, object).withExpiration(expiration);
|
||||||
URL objectURL = s3client.generatePresignedUrl(request);
|
URL objectURL = s3client.generatePresignedUrl(request);
|
||||||
System.out.println(URLify(objectURL.toString()));
|
//System.out.println(URLify(objectURL.toString()));
|
||||||
Intent shareIntent = new Intent(Intent.ACTION_SEND);
|
Intent shareIntent = new Intent(Intent.ACTION_SEND);
|
||||||
shareIntent.setType("text/plain");
|
shareIntent.setType("text/plain");
|
||||||
shareIntent.putExtra(Intent.EXTRA_TEXT, URLify(objectURL.toString()));
|
shareIntent.putExtra(Intent.EXTRA_TEXT, URLify(objectURL.toString()));
|
||||||
|
|
Loading…
Reference in a new issue