dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
- compile 'com.android.support:design:25.3.0'
+ compile 'com.android.support:design:25.3.1'
// Only compile `com.google.firebase:firebase-ads:9.8.0` for the free flavor.
freeCompile 'com.google.firebase:firebase-ads:9.8.0'
\r
<body>\r
<h3>2.1 (version code 21)</h3>\r
- <p>25. März 2017 - Mindest-API 19, Ziel-API 25</p>\r
+ <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=f01cad697eb5ab015888e88e20f26ac5911b1d85">25. März 2017</a> - Mindest-API 19, Ziel-API 25</p>\r
<ul>\r
<li>Fix a <a href="https://redmine.stoutner.com/issues/110">crash on load</a> introduced in version 2.0.1 if the homepage is set to be blank.</li>\r
<li>Fix a bug that <a href="https://redmine.stoutner.com/issues/112">prevented websites with a localhost domain from loading</a>.</li>\r
<body>
<h3>2.1 (version code 21)</h3>
- <p>25 March 2017 - minimum API 19, target API 25</p>
+ <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=f01cad697eb5ab015888e88e20f26ac5911b1d85">25 March 2017</a> - minimum API 19, target API 25</p>
<ul>
<li>Fix a <a href="https://redmine.stoutner.com/issues/110">crash on load</a> introduced in version 2.0.1 if the homepage is set to be blank.</li>
<li>Fix a bug that <a href="https://redmine.stoutner.com/issues/112">prevented websites with a localhost domain from loading</a>.</li>
as their user agent, it will be a good choice for privacy. Firefox or Chrome are the most common user agents, but they auto-update and their version numbers change so quickly that it is likely the user agents included in Privacy Browser
will often be out of step with the majority of user agents in the server logs.</p>
- <p>Android's WebView does not allow the user agent to be blank. If it is, WebView simply sends the default user agent to the server.</p>
+ <p>Android’s WebView does not allow the user agent to be blank. If it is, WebView simply sends the default user agent to the server.</p>
</body>
</html>
\ No newline at end of file
<body>
<h3>2.1 (código de versión 21)</h3>
- <p>25 de marzo de 2017 - API mínimo 19, API dirigido 25</p>
+ <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=f01cad697eb5ab015888e88e20f26ac5911b1d85">25 de marzo de 2017</a> - API mínimo 19, API dirigido 25</p>
<ul>
<li>Arreglar un <a href="https://redmine.stoutner.com/issues/110">problema al cargar</a> introducido en la versiĆ³n 2.0.1 si la página de inicio está en blanco.</li>
<li>Arreglar un error que <a href="https://redmine.stoutner.com/issues/112">impedía la carga de páginas web con un dominio localhost</a>.</li>
<body>
<h3>2.1 (versione codice 21)</h3>
- <p>25 Marzo 2017 - minima API 19, target API 25</p>
+ <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=f01cad697eb5ab015888e88e20f26ac5911b1d85">25 Marzo 2017</a> - minima API 19, target API 25</p>
<ul>
<li>Eliminazione di un <a href="https://redmine.stoutner.com/issues/110">crash durante il caricamento</a> introdotto nella versione 2.0.1 quando la homepage è impostata per essere una pagina vuota.</li>
<li>Eliminazione di un bug che <a href="https://redmine.stoutner.com/issues/112">impediva il caricamento di siti con dominio localhost</a>.</li>
// Destroy the internal state of `mainWebView`.
mainWebView.destroy();
- // Manually delete the `app_webview` folder, which contains an additional `WebView` cache. See `https://code.google.com/p/android/issues/detail?id=233826&thanks=233826&ts=1486670530`.
+ // Manually delete folders.
Runtime runtime = Runtime.getRuntime();
String dataDirString = getApplicationInfo().dataDir; // `dataDir` will vary, but will be something like `/data/user/0/com.stoutner.privacybrowser.standard`, which links to `/data/data/com.stoutner.privacybrowser.standard`.
try {
+ // Delete the main `cache` folder.
+ runtime.exec("rm -rf " + dataDirString + "/cache");
+
+ // Delete the `app_webview` folder, which contains an additional `WebView` cache. See `https://code.google.com/p/android/issues/detail?id=233826&thanks=233826&ts=1486670530`.
runtime.exec("rm -rf " + dataDirString + "/app_webview");
} catch (IOException e) {
- // Do nothing if the files do not exist.
+ // Do nothing if an error is thrown.
}
// Close Privacy Browser. `finishAndRemoveTask` also removes Privacy Browser from the recent app list.
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.3.0'
+ classpath 'com.android.tools.build:gradle:2.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files