- return slice like in airplan mode when mobile data disabled in the getSlice of the MobileDataSlice - replace CONDITIONALLY_UNAVAILABLE by DISABLED_DEPENDENT_SETTING in the getAvailabilityStatus of the MobileDataPreferenceController - remove the duplicated mobile data item by update data_usage_cellular.xml Fixes: 130650621 Test: robotest Change-Id: I42c0983c27d4edb17fcdce7ca386023911254d2d
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="utf-8"?>
 | 
						|
<!-- Copyright (C) 2016 The Android Open Source Project
 | 
						|
 | 
						|
     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.
 | 
						|
-->
 | 
						|
 | 
						|
<PreferenceScreen
 | 
						|
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
						|
    xmlns:settings="http://schemas.android.com/apk/res-auto"
 | 
						|
    android:key="data_usage_cellular_screen">
 | 
						|
 | 
						|
    <com.android.settings.datausage.TemplatePreferenceCategory
 | 
						|
        android:key="mobile_category"
 | 
						|
        android:title="@string/data_usage_tab_mobile">
 | 
						|
 | 
						|
        <com.android.settings.datausage.CellDataPreference
 | 
						|
            android:key="data_usage_enable"
 | 
						|
            android:title="@string/data_usage_enable_mobile"
 | 
						|
            settings:searchable="false" />
 | 
						|
 | 
						|
        <com.android.settings.datausage.DataUsagePreference
 | 
						|
            android:key="cellular_data_usage"
 | 
						|
            android:title="@string/cellular_data_usage" />
 | 
						|
 | 
						|
        <com.android.settings.datausage.BillingCyclePreference
 | 
						|
            android:key="billing_preference"
 | 
						|
            android:title="@string/billing_cycle" />
 | 
						|
 | 
						|
    </com.android.settings.datausage.TemplatePreferenceCategory>
 | 
						|
 | 
						|
</PreferenceScreen>
 |