|
|
@ -10,7 +10,6 @@ import android.graphics.BitmapFactory; |
|
|
|
import android.net.Uri; |
|
|
|
import android.net.Uri; |
|
|
|
import android.os.Message; |
|
|
|
import android.os.Message; |
|
|
|
import android.support.v7.app.AlertDialog; |
|
|
|
import android.support.v7.app.AlertDialog; |
|
|
|
import android.util.Log; |
|
|
|
|
|
|
|
import android.view.LayoutInflater; |
|
|
|
import android.view.LayoutInflater; |
|
|
|
import android.view.View; |
|
|
|
import android.view.View; |
|
|
|
import android.webkit.GeolocationPermissions; |
|
|
|
import android.webkit.GeolocationPermissions; |
|
|
@ -20,21 +19,14 @@ import android.webkit.WebView; |
|
|
|
|
|
|
|
|
|
|
|
import com.squareup.otto.Bus; |
|
|
|
import com.squareup.otto.Bus; |
|
|
|
|
|
|
|
|
|
|
|
import java.io.File; |
|
|
|
|
|
|
|
import java.io.FileOutputStream; |
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import acr.browser.lightning.R; |
|
|
|
import acr.browser.lightning.R; |
|
|
|
import acr.browser.lightning.app.BrowserApp; |
|
|
|
import acr.browser.lightning.app.BrowserApp; |
|
|
|
import acr.browser.lightning.bus.BrowserEvents; |
|
|
|
import acr.browser.lightning.bus.BrowserEvents; |
|
|
|
import acr.browser.lightning.constant.Constants; |
|
|
|
|
|
|
|
import acr.browser.lightning.controller.UIController; |
|
|
|
import acr.browser.lightning.controller.UIController; |
|
|
|
|
|
|
|
|
|
|
|
import com.anthonycr.grant.PermissionsManager; |
|
|
|
import com.anthonycr.grant.PermissionsManager; |
|
|
|
import com.anthonycr.grant.PermissionsResultAction; |
|
|
|
import com.anthonycr.grant.PermissionsResultAction; |
|
|
|
|
|
|
|
|
|
|
|
import acr.browser.lightning.utils.Utils; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @author Stefano Pacifici based on Anthony C. Restaino code |
|
|
|
* @author Stefano Pacifici based on Anthony C. Restaino code |
|
|
|
* @date 2015/09/21 |
|
|
|
* @date 2015/09/21 |
|
|
|