/**
- * Copyright 2015 Soren Stoutner
+ * Copyright 2015 Soren Stoutner <soren@stoutner.com>.
*
- * This file is part of Privacy Browser <https://privacybrowser.stoutner.com/>.
+ * This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
*
* Privacy Browser is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
void onCreateHomeScreenShortcutCreate(DialogFragment dialog);
}
- CreateHomeScreenSchortcutListener buttonListener;
+ private CreateHomeScreenSchortcutListener buttonListener;
// Check to make sure that the activity that called CreateHomeScreenShortcut implements both listeners.
public void onAttach(Activity activity) {
@NonNull
public Dialog onCreateDialog(Bundle savedInstanceState) {
// Create a drawable version of the favorite icon.
- Drawable favoriteIconDrawable = new BitmapDrawable(getResources(), Webview.favoriteIcon);
+ Drawable favoriteIconDrawable = new BitmapDrawable(getResources(), MainWebViewActivity.favoriteIcon);
// Use AlertDialog.Builder to create the AlertDialog
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(getActivity());