Skip to content

Commit faf94e2

Browse files
committed
Allow decrypting PCAPNG without IAB purchase
1 parent f6a4c9f commit faf94e2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/main/java/com/emanuelef/remote_capture/activities/MainActivity.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -970,9 +970,7 @@ private void pcapFileOpenResult(final ActivityResult result) {
970970
return;
971971

972972
Log.d(TAG, "pcapFileOpenResult: " + uri);
973-
if (mOpenPcapDecrypt &&
974-
(!mIab.isPurchased(Billing.PCAPNG_SKU) || !Utils.isPcapng(this, uri))
975-
) {
973+
if (mOpenPcapDecrypt && !Utils.isPcapng(this, uri)) {
976974
// Ask to select the keylog
977975
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
978976
intent.addCategory(Intent.CATEGORY_OPENABLE);

0 commit comments

Comments
 (0)