mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-05 08:45:08 -05:00
minor Intent/Extra key renamings
This commit is contained in:
parent
04b1d08d58
commit
0f226e40cb
@ -117,7 +117,6 @@ public class Apg {
|
||||
|
||||
public static final String EXTRA_TEXT = "text";
|
||||
public static final String EXTRA_DATA = "data";
|
||||
public static final String EXTRA_STATUS = "status";
|
||||
public static final String EXTRA_ERROR = "error";
|
||||
public static final String EXTRA_DECRYPTED_MESSAGE = "decryptedMessage";
|
||||
public static final String EXTRA_DECRYPTED_DATA = "decryptedData";
|
||||
@ -138,12 +137,14 @@ public class Apg {
|
||||
public static final String EXTRA_ENCRYPTION_KEY_IDS = "encryptionKeyIds";
|
||||
public static final String EXTRA_SELECTION = "selection";
|
||||
public static final String EXTRA_MESSAGE = "message";
|
||||
public static final String EXTRA_PROGRESS = "progress";
|
||||
public static final String EXTRA_MAX = "max";
|
||||
public static final String EXTRA_ACCOUNT = "account";
|
||||
public static final String EXTRA_ASCII_ARMOUR = "asciiArmour";
|
||||
public static final String EXTRA_BINARY = "binary";
|
||||
|
||||
public static final String EXTRA_PROGRESS = "progress";
|
||||
public static final String EXTRA_PROGRESS_MAX = "max";
|
||||
public static final String EXTRA_ACCOUNT = "account";
|
||||
public static final String EXTRA_STATUS = "status";
|
||||
|
||||
public static final String AUTHORITY = DataProvider.AUTHORITY;
|
||||
|
||||
public static final Uri CONTENT_URI_SECRET_KEY_RINGS =
|
||||
|
@ -318,7 +318,7 @@ public class BaseActivity extends Activity
|
||||
Bundle data = new Bundle();
|
||||
data.putInt(Apg.EXTRA_STATUS, Id.message.progress_update);
|
||||
data.putInt(Apg.EXTRA_PROGRESS, progress);
|
||||
data.putInt(Apg.EXTRA_MAX, max);
|
||||
data.putInt(Apg.EXTRA_PROGRESS_MAX, max);
|
||||
msg.setData(data);
|
||||
mHandler.sendMessage(msg);
|
||||
}
|
||||
@ -329,7 +329,7 @@ public class BaseActivity extends Activity
|
||||
data.putInt(Apg.EXTRA_STATUS, Id.message.progress_update);
|
||||
data.putString(Apg.EXTRA_MESSAGE, message);
|
||||
data.putInt(Apg.EXTRA_PROGRESS, progress);
|
||||
data.putInt(Apg.EXTRA_MAX, max);
|
||||
data.putInt(Apg.EXTRA_PROGRESS_MAX, max);
|
||||
msg.setData(data);
|
||||
mHandler.sendMessage(msg);
|
||||
}
|
||||
@ -348,7 +348,7 @@ public class BaseActivity extends Activity
|
||||
if (message != null) {
|
||||
mProgressDialog.setMessage(message);
|
||||
}
|
||||
mProgressDialog.setMax(data.getInt(Apg.EXTRA_MAX));
|
||||
mProgressDialog.setMax(data.getInt(Apg.EXTRA_PROGRESS_MAX));
|
||||
mProgressDialog.setProgress(data.getInt(Apg.EXTRA_PROGRESS));
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user