Hide Bluetooth, Reset, Accessibility Settings in ARC

This is an upstreaming change of http://ag/8541963 and
http://ag/10296201 to hide some items from settings search.

This CL also adds javadoc to some settings classes to fix pre-upload
warnings.

Bug: 153704887
Test: Manual. In ARC build, "bluetooth" and "accessibility" no longer shows related settings.
Change-Id: Ic3e9217944251adbea1bdd67baf66d3a9e89583a
This commit is contained in:
Hiroki Sato
2020-04-10 13:19:32 +09:00
parent df338dd652
commit 0e75d475ec
13 changed files with 25 additions and 35 deletions

View File

@@ -37,10 +37,8 @@ import com.google.common.primitives.Floats;
import java.util.ArrayList;
import java.util.List;
/**
* Settings fragment containing captioning properties.
*/
@SearchIndexable
/** Settings fragment containing captioning properties. */
@SearchIndexable(forTarget = SearchIndexable.ALL & ~SearchIndexable.ARC)
public class CaptionPropertiesFragment extends SettingsPreferenceFragment
implements OnPreferenceChangeListener {
private static final String PREF_SWITCH = "captioning_preference_switch";