Skip to content

Commit

Permalink
config: Ship EmergencyInfo on WiFi only tablets
Browse files Browse the repository at this point in the history
Change-Id: I89e16f716076d5351949c0bb13f55fc4eaeee4f5
  • Loading branch information
luk1337 committed Feb 17, 2024
1 parent bbefef9 commit eaa2614
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/common_full_tablet_wifionly.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ PRODUCT_PACKAGES += \
# Include Lineage LatinIME dictionaries
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/dictionaries
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/dictionaries

$(call inherit-product, vendor/lineage/config/wifionly.mk)
2 changes: 2 additions & 0 deletions config/common_mini_tablet_wifionly.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ $(call inherit-product, vendor/lineage/config/common_mini.mk)
# Required packages
PRODUCT_PACKAGES += \
LatinIME

$(call inherit-product, vendor/lineage/config/wifionly.mk)
5 changes: 5 additions & 0 deletions config/wifionly.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Apps
PRODUCT_PACKAGES += \
EmergencyInfo

PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/wifionly
20 changes: 20 additions & 0 deletions overlay/wifionly/packages/apps/Settings/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 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>
<!-- Whether to show emergency gesture in Settings -->
<bool name="config_show_emergency_gesture_settings">false</bool>
</resources>

0 comments on commit eaa2614

Please sign in to comment.