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

Commit e57fb32a authored by Menghan Li's avatar Menghan Li Committed by Android (Google) Code Review
Browse files

Merge "feat(A11yHaTS): Add accessibility survey notifications constant" into main

parents 53acaf6c 13cf2352
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2025 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.android.internal.accessibility.common;

/**
 * Collection of common constants for accessibility notifications.
 *
 * @hide
 */
public class NotificationConstants {

    /** Broadcast action sent when attempting to show the accessibility survey notification. */
    public static final String ACTION_SURVEY_NOTIFICATION_SHOWN =
            "android.settings.ACCESSIBILITY_SURVEY_NOTIFICATION_SHOWN";

    /** Broadcast action to indicate the accessibility survey notification has been dismissed. */
    public static final String ACTION_SURVEY_NOTIFICATION_DISMISSED =
            "android.settings.ACCESSIBILITY_SURVEY_NOTIFICATION_DISMISSED";

    /** Extra key indicating the source of an action. */
    public static final String EXTRA_SOURCE = "source";

    /** Value for {@link #EXTRA_SOURCE} indicating the survey was started. */
    public static final String SOURCE_START_SURVEY = "startSurvey";

    /** Extra key for the survey page ID. */
    public static final String EXTRA_PAGE_ID = "pageId";
}