New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 616328 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

[Android MOS] 'Browse more for less' popup came up

Reported by sunthema...@gmail.com, Jun 1 2016

Issue description

Steps to reproduce the problem:
Preconditon : data saver is OFF
1. Used the browser for a week
2. Just used

What is the expected behavior?
I just want to know conditions of this popup.

What went wrong?
Used the browser for a week with test line that does not pop-up for data concerns, and all of a sudden this came up today.

Did this work before? N/A 

Chrome version: 49.0.2623.91  Channel: stable
OS Version: 6.0.1
Flash Version: Shockwave Flash 21.0 r0

I already had checked this on source code that DataReductionPromoScreen had several conditions to execute.
But conditions are so complex to me.
I need more detail description of that.
Could you please explain executing conditions of DataReductionPromoScreen?

https://code.google.com/p/chromium/codesearch#chromium/src/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java&q=DataReductionPromoScreen&sq=package:chromium&dr=C&l=77

    @Override
    public void finishNativeInitialization() {
        try {
            TraceEvent.begin("ChromeTabbedActivity.finishNativeInitialization");

            launchFirstRunExperience();

            ChromePreferenceManager preferenceManager = ChromePreferenceManager.getInstance(this);
            // Promos can only be shown when we start with ACTION_MAIN intent and
            // after FRE is complete.
            if (!mIntentWithEffect && FirstRunStatus.getFirstRunFlowComplete(this)) {
                // Only show promos on the second oppurtunity. This is because we show FRE on the
                // first oppurtunity, and we don't want to show such content back to back.
                if (preferenceManager.getPromosSkippedOnFirstStart()) {
                    // Data reduction promo should be temporarily suppressed if the sign in promo is
                    // shown to avoid nagging users too much.
                    if (!SigninPromoUtil.launchSigninPromoIfNeeded(this)) {
                        DataReductionPromoScreen.launchDataReductionPromo(this);
                    }
                } else {
                    preferenceManager.setPromosSkippedOnFirstStart(true);
                }
            }
 
Dear Chromium Team

Could you please check this?

thanks.
Cc: bengr@chromium.org megjab...@chromium.org
Components: -UI Internals>Network>Proxy
Status: Available (was: Unconfirmed)
Please try below steps to see data saver promo:
1. Launch Chrome
2. Browse few pages 
3. Force quit chrome and relaunch
4. Flywheel promo appears

I tried but failed to reproduce.
Does "Force quit chrome" mean case 1 or case 2 or other?

case 1. select ㅁ -> delete chrome
case 2. Settings -> Application manager -> Chrome -> Force stop

thanks
To reproduce you will need to delete Chrome (case 1). Then after going through the welcome and sign in flow, you should force quit chrome (case 2) and relaunch. 
I tried and succeeded sometimes, using below steps.

Please try below steps to see data saver promo:
0. Delete Chrome (Settings -> Application manager -> Chrome -> Storage -> Clear data)
1. Launch Chrome
2. Browse few pages 
3. Force quit chrome(Settings -> Application manager -> Chrome -> Force stop) and relaunch
4. Flywheel promo appears

I found some conditions of this promo popup on chromium code Reviews.
And i think, in my case, first condition is the key of success.

Is this right?
If yes, could you please let me know the condition of the DataReductionProxyInfobarPromo field trial?

case 1. I have first condition of below logic.(The user in the DataReductionProxyInfobarPromo field trial.)
==> Success to reproduce
case 2. I don't have first condition of below logic.(The user in the DataReductionProxyInfobarPromo field trial.)
==> Fail to reproduce

--------------------------------------------------------------------------------------------------------------------

https://responsive-dot-chromiumcodereview-hr.appspot.com/2005623002/#ps170001

Logic for the Data Saver InfoBar Promo

For non-users of Data Saver, show a promotional InfoBar if the following are true:

The user in the DataReductionProxyInfobarPromo field trial.
The user doesn’t have the Data Reduction Proxy enabled.
The user saw the promo in a version >= M51 or installed before the M48 release date 1/26/16.
The user didn’t opt out of the FRE promo card.
The current version is at least two milestones after the last promo was displayed.
The infobar has never been shown and dismissed before.
The request is HTTP.
Gently remind
Components: -Internals>Network>Proxy Internals>Network>DataProxy
Labels: Needs-Feedback
Re #5: Right. You need to delete Chrome data in order to trigger it for sure. The conditions for triggering the promo are somewhat complicated. The conditions are all in the source code. But is there anything specific that you are looking for that can be answered here?
i wonder if condition of the DataReductionProxyInfobarPromo field 
trial is determined in first chrome running.
Status: Archived (was: Available)
Going to archive this - doesn't seem to be an actual bug report.

Sign in to add a comment