Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1465e37d authored by Saumya Prakash's avatar Saumya Prakash
Browse files

Add developer option to reset taskbar search edu

This change allows you to view taskbar search edu again by tapping the
"Taskbar Search Edu" option in launcher developer options.

Fix: 350537725
Test: Go to developer options and reset the taskbar search edu. Check
that it shows up the next time an app is launched (and if the taskbar is pinned)
Flag: EXEMPT bugfix

Change-Id: I5a0e992ef3b3d62c62998a7bbe648e4598cdde54
parent 20a07702
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ import com.android.launcher3.util.OnboardingPrefs.HOME_BOUNCE_SEEN
import com.android.launcher3.util.OnboardingPrefs.HOTSEAT_DISCOVERY_TIP_COUNT
import com.android.launcher3.util.OnboardingPrefs.HOTSEAT_LONGPRESS_TIP_SEEN
import com.android.launcher3.util.OnboardingPrefs.TASKBAR_EDU_TOOLTIP_STEP
import com.android.launcher3.util.OnboardingPrefs.TASKBAR_SEARCH_EDU_SEEN
import com.android.launcher3.util.PluginManagerWrapper
import com.android.launcher3.util.StartActivityParams
import com.android.launcher3.util.UserIconInfo
@@ -394,6 +395,7 @@ class DevOptionsUiHelper(c: Context, attr: AttributeSet?) : PreferenceGroup(c, a
                HOTSEAT_LONGPRESS_TIP_SEEN.sharedPrefKey
            )
            addOnboardPref("Taskbar Education", TASKBAR_EDU_TOOLTIP_STEP.sharedPrefKey)
            addOnboardPref("Taskbar Search Education", TASKBAR_SEARCH_EDU_SEEN.sharedPrefKey)
            addOnboardPref("All Apps Visited Count", ALL_APPS_VISITED_COUNT.sharedPrefKey)
        }
    }