Make some gesture related slices public.
Only PreferenceControllers with isPublicSlice() set to true are exposed to other apps. Others will be Settings only. Bug: 141088937 Test: robotests Change-Id: I0b54e752c5982f13193590db47dc3a84dde5311d
This commit is contained in:
@@ -23,7 +23,6 @@ import android.content.Context;
|
||||
import android.hardware.display.AmbientDisplayConfiguration;
|
||||
import android.os.UserHandle;
|
||||
import android.provider.Settings;
|
||||
import android.text.TextUtils;
|
||||
|
||||
public class TapScreenGesturePreferenceController extends GesturePreferenceController {
|
||||
|
||||
@@ -54,7 +53,7 @@ public class TapScreenGesturePreferenceController extends GesturePreferenceContr
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSliceable() {
|
||||
public boolean isPublicSlice() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user