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

Commit f368663e authored by Susi Kharraz-Post's avatar Susi Kharraz-Post Committed by Automerger Merge Worker
Browse files

Merge "Fix NPE for Open With ChooserActivity Logging Bug" into rvc-dev am:...

Merge "Fix NPE for Open With ChooserActivity Logging Bug" into rvc-dev am: 7e9bfdfd am: 9b2b5a11 am: 9d220928 am: 8c9fd1a9

Change-Id: Ie80ed6a7b0fc4b3cf9969ce76a9d4716645b5b77
parents 2dffa0ad 8c9fd1a9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -191,6 +191,9 @@ public interface ChooserActivityLogger {
     * ChooserActivity.
     */
    default int typeFromIntentString(String intent) {
        if (intent == null) {
            return FrameworkStatsLog.SHARESHEET_STARTED__INTENT_TYPE__INTENT_DEFAULT;
        }
        switch (intent) {
            case Intent.ACTION_VIEW:
                return FrameworkStatsLog.SHARESHEET_STARTED__INTENT_TYPE__INTENT_ACTION_VIEW;