commit 34242a922172ddfcee8e089949e9972f4c0a882f Author: Rob Wu rob@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)