|
|
@ -30,6 +30,7 @@ import android.content.SharedPreferences;
|
|
|
|
import android.net.Uri;
|
|
|
|
import android.net.Uri;
|
|
|
|
import android.os.Build;
|
|
|
|
import android.os.Build;
|
|
|
|
import android.os.Bundle;
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
|
|
|
import android.text.TextUtils;
|
|
|
|
import android.view.LayoutInflater;
|
|
|
|
import android.view.LayoutInflater;
|
|
|
|
import android.view.Menu;
|
|
|
|
import android.view.Menu;
|
|
|
|
import android.view.MenuInflater;
|
|
|
|
import android.view.MenuInflater;
|
|
|
@ -176,6 +177,11 @@ public class ActivityAMP extends ActivityBase {
|
|
|
|
Uri uri = getIntent().getData();
|
|
|
|
Uri uri = getIntent().getData();
|
|
|
|
Log.i("AMP uri=" + uri);
|
|
|
|
Log.i("AMP uri=" + uri);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String subject = getIntent().getStringExtra("subject");
|
|
|
|
|
|
|
|
if (TextUtils.isEmpty(subject))
|
|
|
|
|
|
|
|
subject = "AMP";
|
|
|
|
|
|
|
|
getSupportActionBar().setSubtitle(subject);
|
|
|
|
|
|
|
|
|
|
|
|
Bundle args = new Bundle();
|
|
|
|
Bundle args = new Bundle();
|
|
|
|
args.putParcelable("uri", uri);
|
|
|
|
args.putParcelable("uri", uri);
|
|
|
|
|
|
|
|
|
|
|
|