[tbb-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

gk at torproject.org gk at torproject.org
Thu Oct 18 18:48:43 UTC 2018


commit 34242a922172ddfcee8e089949e9972f4c0a882f
Author: Rob Wu <rob at robwu.nl>
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)





More information about the tbb-commits mailing list