Make pinned settings tab aware.
[PrivacyBrowser.git] / app / src / main / java / com / stoutner / privacybrowser / dialogs / CreateHomeScreenShortcutDialog.java
index 95a3ef5ed2bc7312cf585996d93bcc0dc4043692..b82f4bbf690ee8b46f5653ec202a4db970a41e55 100644 (file)
@@ -75,19 +75,19 @@ public class CreateHomeScreenShortcutDialog extends DialogFragment {
         // Convert the byte array output stream to a byte array.
         byte[] favoriteIconByteArray = favoriteIconByteArrayOutputStream.toByteArray();
 
-        // Create a bundle.
-        Bundle bundle = new Bundle();
+        // Create an arguments bundle.
+        Bundle argumentsBundle = new Bundle();
 
         // Store the variables in the bundle.
-        bundle.putString("shortcut_name", shortcutName);
-        bundle.putString("url_string", urlString);
-        bundle.putByteArray("favorite_icon_byte_array", favoriteIconByteArray);
+        argumentsBundle.putString("shortcut_name", shortcutName);
+        argumentsBundle.putString("url_string", urlString);
+        argumentsBundle.putByteArray("favorite_icon_byte_array", favoriteIconByteArray);
 
         // Create a new instance of the dialog.
         CreateHomeScreenShortcutDialog createHomeScreenShortcutDialog = new CreateHomeScreenShortcutDialog();
 
         // Add the bundle to the dialog.
-        createHomeScreenShortcutDialog.setArguments(bundle);
+        createHomeScreenShortcutDialog.setArguments(argumentsBundle);
 
         // Return the new dialog.
         return createHomeScreenShortcutDialog;