[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-60.2.1esr-8.5-1] Bug 1448305 - Avoid disk cache for icons of private tabs in the TabsLayoutItemView. r=JanH
commit 34242a922172ddfcee8e089949e9972f4c0a882f
Author: Rob Wu <rob@xxxxxxxx>
Date: Thu Jun 21 15:36:27 2018 +0200
Bug 1448305 - Avoid disk cache for icons of private tabs in the TabsLayoutItemView. r=JanH
---
mobile/android/base/java/org/mozilla/gecko/tabs/TabsLayoutItemView.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/mobile/android/base/java/org/mozilla/gecko/tabs/TabsLayoutItemView.java b/mobile/android/base/java/org/mozilla/gecko/tabs/TabsLayoutItemView.java
index bfd09e2a5e56..329eb9f437f4 100644
--- a/mobile/android/base/java/org/mozilla/gecko/tabs/TabsLayoutItemView.java
+++ b/mobile/android/base/java/org/mozilla/gecko/tabs/TabsLayoutItemView.java
@@ -201,6 +201,7 @@ public class TabsLayoutItemView extends LinearLayout
final Context appContext = getContext().getApplicationContext();
mOngoingIconLoad = Icons.with(appContext)
.pageUrl(url)
+ .setPrivateMode(tab.isPrivate())
.skipNetwork()
.targetSize(iconSize)
.textSize(textSize)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits