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

Commit 21ff9c0a authored by Hyundo Moon's avatar Hyundo Moon
Browse files

Remove unused BluetoothMapSettings and related classes

Bug: 348310449
Test: m -j;
Flag: EXEMPT, mechanical refactor
Change-Id: I697aeca1d2c16df5b9c181c0ba849c406e7c6879
parent a64a92ce
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -161,13 +161,6 @@
            </intent-filter>
        </service>

        <activity android:name="com.android.bluetooth.map.BluetoothMapSettings"
              android:process="@string/process"
              android:label="@string/bluetooth_map_settings_title"
              android:excludeFromRecents="true"
              android:configChanges="orientation|keyboardHidden"
              android:enabled="false">
        </activity>
        <provider android:name="com.android.bluetooth.map.MmsFileProvider"
             android:authorities="com.android.bluetooth.map.MmsFileProvider"
             android:enabled="false"
+0 −16
Original line number Diff line number Diff line
@@ -569,22 +569,6 @@
            line="111"/>
    </issue>

    <issue
        id="InflateParams"
        message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)">
        <location
            file="packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/BluetoothMapSettingsAdapter.java"
            line="110"/>
    </issue>

    <issue
        id="InflateParams"
        message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)">
        <location
            file="packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/BluetoothMapSettingsAdapter.java"
            line="231"/>
    </issue>

    <issue
        id="InflateParams"
        message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)">
+0 −42
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2014 Samsung System LSI
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/bluetooth_map_settings_linear_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".BluetoothMapSettings" >

    <TextView
        android:id="@+id/bluetooth_map_settings_description_text_view"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"

        android:text="@string/bluetooth_map_settings_intro" />

    <ExpandableListView
        android:id="@+id/bluetooth_map_settings_list_view"
        android:layout_width="fill_parent"
        android:layout_height="0dip"
        android:layout_weight="3"
        android:orientation="vertical" >

    </ExpandableListView>

</LinearLayout>
+0 −48
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2014 Samsung System LSI
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    <ImageView
        android:id="@+id/bluetooth_map_settings_group_icon"
        android:layout_width="64dp"
        android:layout_height="64dp"
        android:layout_alignParentStart="true"
        android:layout_alignParentTop="true"
        android:maxWidth="64dp"
        android:maxHeight="64dp"
        android:layout_marginStart="30dp"
         />
    <TextView
        android:id ="@+id/bluetooth_map_settings_group_text_view"
        android:layout_width ="wrap_content"
        android:layout_height ="wrap_content"
        android:layout_toEndOf="@id/bluetooth_map_settings_group_icon"/>
    <CheckBox
        android:id ="@+id/bluetooth_map_settings_group_checkbox"
        android:layout_width ="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_centerVertical="true"
        android:focusable="false"/>



</RelativeLayout>
 No newline at end of file
+0 −43
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2014 Samsung System LSI
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="51dp"
    android:clickable="true"
    android:gravity="fill_vertical"
    android:orientation="horizontal"
    android:paddingEnd="51dp"
    android:paddingStart="25dp"
    tools:context=".BluetoothMapSettings" android:baselineAligned="false">

        <TextView
            android:id="@+id/bluetooth_map_settings_item_text_view"
            android:layout_width="match_parent"
            android:layout_height="51dp"
            android:layout_weight="1"
            android:gravity="start|center_vertical"/>

        <CheckBox
            android:id="@+id/bluetooth_map_settings_item_check"
            android:layout_width="110dp"
            android:layout_height="51dp"
            android:layout_gravity="end"
            android:layout_weight="2"
            android:gravity="end|center_vertical" />
</LinearLayout>
Loading