Fix talkback speak wrong item

Fixes: 145251855
Test: manual
Change-Id: I041d9fd6416e5ae5a12ea51fd8b70ca2f233f480
This commit is contained in:
Raff Tsai
2019-11-27 16:54:09 +08:00
parent dff37d694d
commit d91a1c3710
2 changed files with 3 additions and 6 deletions

View File

@@ -14,9 +14,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/location_category_recent_location_requests" android:title="@string/location_category_recent_location_requests"
android:key="recent_location_requests_see_all"> android:key="all_recent_location_requests"
<PreferenceCategory settings:controller="com.android.settings.location.RecentLocationRequestSeeAllPreferenceController">
android:key="all_recent_location_requests"
settings:controller="com.android.settings.location.RecentLocationRequestSeeAllPreferenceController"/>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -19,7 +19,6 @@ import android.content.Context;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
import androidx.preference.Preference; import androidx.preference.Preference;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen; import androidx.preference.PreferenceScreen;
import com.android.settings.R; import com.android.settings.R;
@@ -32,7 +31,7 @@ import java.util.List;
public class RecentLocationRequestSeeAllPreferenceController public class RecentLocationRequestSeeAllPreferenceController
extends LocationBasePreferenceController { extends LocationBasePreferenceController {
private PreferenceCategory mCategoryAllRecentLocationRequests; private PreferenceScreen mCategoryAllRecentLocationRequests;
private RecentLocationApps mRecentLocationApps; private RecentLocationApps mRecentLocationApps;
private boolean mShowSystem = false; private boolean mShowSystem = false;
private Preference mPreference; private Preference mPreference;