Merge "Add visibility config for assistant, home and emergency role."

This commit is contained in:
TreeHugger Robot
2019-02-20 18:16:13 +00:00
committed by Android (Google) Code Review
3 changed files with 15 additions and 0 deletions

View File

@@ -216,6 +216,9 @@ package android {
public static final class R.bool {
field public static final int config_sendPackageName = 17891328; // 0x1110000
field public static final int config_showDefaultAssistant = 17891329; // 0x1110001
field public static final int config_showDefaultEmergency = 17891330; // 0x1110002
field public static final int config_showDefaultHome = 17891331; // 0x1110003
}
public static final class R.color {

View File

@@ -1948,12 +1948,18 @@
<!-- The name of the package that will hold the assistant role by default. -->
<string name="config_defaultAssistant" translatable="false" />
<!-- Whether the default assistant settings should be shown. -->
<bool name="config_showDefaultAssistant">true</bool>
<!-- The name of the package that will hold the browser role by default. -->
<string name="config_defaultBrowser" translatable="false">@string/default_browser</string>
<!-- The name of the package that will hold the dialer role by default. -->
<string name="config_defaultDialer" translatable="false">com.android.phone</string>
<!-- The name of the package that will hold the SMS role by default. -->
<string name="config_defaultSms" translatable="false">@string/default_sms_application</string>
<!-- Whether the default emergency settings should be shown. -->
<bool name="config_showDefaultEmergency">false</bool>
<!-- Whether the default home settings should be shown. -->
<bool name="config_showDefaultHome">true</bool>
<!-- The name of the package that will hold the music role by default. -->
<string name="config_defaultMusic" translatable="false">com.android.music</string>
<!-- The name of the package that will hold the gallery role by default. -->

View File

@@ -2992,6 +2992,12 @@
<public-group type="bool" first-id="0x01110000">
<!-- @hide @SystemApi -->
<public name="config_sendPackageName" />
<!-- @hide @SystemApi -->
<public name="config_showDefaultAssistant" />
<!-- @hide @SystemApi -->
<public name="config_showDefaultEmergency" />
<!-- @hide @SystemApi -->
<public name="config_showDefaultHome" />
</public-group>
<public-group type="dimen" first-id="0x01050007">