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

Commit 8fec3eb3 authored by Adnan Begovic's avatar Adnan Begovic
Browse files

core: Factor out profiles related resources.

Change-Id: Ic4c7b5a0b5981e52603d3561a7a36adecafd535f
parent 1d1f5f0f
Loading
Loading
Loading
Loading
+6 −23
Original line number Diff line number Diff line
@@ -16,32 +16,15 @@
     limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- Names of default profiles. -->
    <string name="profileNameDefault">Default</string>
    <string name="profileNameWork">Work</string>
    <string name="profileNameHome">Home</string>
    <string name="profileNameSilent">Silent</string>
    <string name="profileNameNight">Night</string>
    <string name="profileNameAutomobile">Automobile</string>

    <!-- Names of application groups. -->
    <string name="profileGroupPhone">Phone</string>
    <string name="profileGroupCalendar">Calendar</string>
    <string name="profileGroupGmail">Gmail</string>
    <string name="profileGroupEmail">Email</string>
    <string name="profileGroupSMS">SMS</string>

    <!-- Name of wildcard profile. -->
    <string name="wildcardProfile">Other</string>

     <!-- The item label for the no profile selection item. -->
     <string name="profile_none">None</string>

    <!-- The title of the profile picker dialog. -->
    <string name="profile_picker_title">Profiles</string>

    <!-- label for item that opens the profile choosing dialog -->
    <string name="global_action_choose_profile">Profile</string>

    <!-- The item label for the no profile selection item. -->
    <string name="profile_none">None</string>

    <!-- label for item that screenshots in phone options dialog -->
    <string name="global_action_screenshot">Screenshot</string>

+0 −2
Original line number Diff line number Diff line
@@ -93,8 +93,6 @@
    <java-symbol type="string" name="usb_charging_notification_title" />

    <!-- Profiles -->
    <java-symbol type="xml" name="profile_default" />
    <java-symbol type="string" name="wildcardProfile" />
    <java-symbol type="string" name="profile_picker_title" />
    <java-symbol type="string" name="profile_none" />
    <java-symbol type="string" name="global_action_choose_profile" />
+0 −34
Original line number Diff line number Diff line
<profiles>
    <profile
        nameres="profileNameDefault"
        uuid="0230226d-0d05-494a-a9bd-d222a1117655">
        <ringModeDescriptor>
            <value>normal</value>
            <override>true</override>
        </ringModeDescriptor>
    </profile>
    <profile
        nameres="profileNameSilent"
        uuid="e4e77d03-82ce-4417-9257-7d6c9ffb8fd1">
        <ringModeDescriptor>
            <value>mute</value>
            <override>true</override>
        </ringModeDescriptor>
    </profile>
    <profile
        nameres="profileNameAutomobile"
        uuid="6a181391-12ef-4f43-a701-32b11ed69449">
        <!-- turn GPS on -->
        <connectionDescriptor>
            <connectionId>4</connectionId>
            <value>1</value>
            <override>true</override>
        </connectionDescriptor>
        <!-- turn Bluetooth on -->
        <connectionDescriptor>
            <connectionId>7</connectionId>
            <value>1</value>
            <override>true</override>
        </connectionDescriptor>
    </profile>
</profiles>