Loading android/app/res/values-v35/styles.xml 0 → 100644 +27 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2024 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 --> <resources> <!-- TODO(b/309578419): Make activities handle insets properly and then remove this. --> <style name="OptOutEdgeToEdgeEnforcement"> <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item> </style> </resources> android/app/res/values/styles.xml +6 −1 Original line number Original line Diff line number Diff line Loading @@ -47,4 +47,9 @@ <style name="dialog" parent="android:style/Theme.Material.Light.Dialog.Alert"/> <style name="dialog" parent="android:style/Theme.Material.Light.Dialog.Alert"/> <!-- TODO(b/309578419): Make activities handle insets properly and then remove this. --> <style name="OptOutEdgeToEdgeEnforcement" /> </resources> </resources> android/app/src/com/android/bluetooth/opp/BluetoothOppTransferHistory.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -87,6 +87,10 @@ public class BluetoothOppTransferHistory extends Activity @Override @Override public void onCreate(Bundle icicle) { public void onCreate(Bundle icicle) { super.onCreate(icicle); super.onCreate(icicle); // TODO(b/309578419): Make this activity handle insets properly and then remove this. getTheme().applyStyle(R.style.OptOutEdgeToEdgeEnforcement, /* force */ false); setContentView(R.layout.bluetooth_transfers_page); setContentView(R.layout.bluetooth_transfers_page); mListView = (ListView) findViewById(R.id.list); mListView = (ListView) findViewById(R.id.list); mListView.setEmptyView(findViewById(R.id.empty)); mListView.setEmptyView(findViewById(R.id.empty)); Loading Loading
android/app/res/values-v35/styles.xml 0 → 100644 +27 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2024 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 --> <resources> <!-- TODO(b/309578419): Make activities handle insets properly and then remove this. --> <style name="OptOutEdgeToEdgeEnforcement"> <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item> </style> </resources>
android/app/res/values/styles.xml +6 −1 Original line number Original line Diff line number Diff line Loading @@ -47,4 +47,9 @@ <style name="dialog" parent="android:style/Theme.Material.Light.Dialog.Alert"/> <style name="dialog" parent="android:style/Theme.Material.Light.Dialog.Alert"/> <!-- TODO(b/309578419): Make activities handle insets properly and then remove this. --> <style name="OptOutEdgeToEdgeEnforcement" /> </resources> </resources>
android/app/src/com/android/bluetooth/opp/BluetoothOppTransferHistory.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -87,6 +87,10 @@ public class BluetoothOppTransferHistory extends Activity @Override @Override public void onCreate(Bundle icicle) { public void onCreate(Bundle icicle) { super.onCreate(icicle); super.onCreate(icicle); // TODO(b/309578419): Make this activity handle insets properly and then remove this. getTheme().applyStyle(R.style.OptOutEdgeToEdgeEnforcement, /* force */ false); setContentView(R.layout.bluetooth_transfers_page); setContentView(R.layout.bluetooth_transfers_page); mListView = (ListView) findViewById(R.id.list); mListView = (ListView) findViewById(R.id.list); mListView.setEmptyView(findViewById(R.id.empty)); mListView.setEmptyView(findViewById(R.id.empty)); Loading