diff --git a/device.mk b/device.mk index 570c01e..41611a2 100644 --- a/device.mk +++ b/device.mk @@ -1315,7 +1315,8 @@ endif # Telephony satellite geofence data file PRODUCT_COPY_FILES += \ - device/google/zumapro/telephony/sats2.dat:$(TARGET_COPY_OUT_VENDOR)/etc/telephony/sats2.dat + device/google/zumapro/telephony/sats2.dat:$(TARGET_COPY_OUT_VENDOR)/etc/telephony/sats2.dat \ + device/google/zumapro/telephony/satellite_access_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/telephony/satellite_access_config.json # Touch service include device/google/gs-common/touch/twoshay/aidl_zuma.mk diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 93af15c..ce2d991 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -542,6 +542,9 @@ in the satellite availability state at the current location. --> false + + /vendor/etc/telephony/satellite_access_config.json + true diff --git a/telephony/satellite_access_config.json b/telephony/satellite_access_config.json new file mode 100644 index 0000000..d67b6bb --- /dev/null +++ b/telephony/satellite_access_config.json @@ -0,0 +1,159 @@ +{ + "access_control_configs": [ + { + "config_id": 0, + "satellite_infos": [ + { + "satellite_id": "c9d78ffa-ffa5-4d41-a81b-34693b33b496", + "satellite_position": { + "longitude": -101.3, + "altitude": 35786.0 + }, + "bands": [ + 255 + ], + "earfcn_ranges": [ + { + "start_earfcn": 229011, + "end_earfcn": 229011 + }, + { + "start_earfcn": 229013, + "end_earfcn": 229013 + }, + { + "start_earfcn": 229015, + "end_earfcn": 229015 + }, + { + "start_earfcn": 229017, + "end_earfcn": 229017 + } + ] + } + ], + "tag_ids": [ + 11, + 1001 + ] + }, + { + "config_id": 1, + "satellite_infos": [ + { + "satellite_id": "62de127d-ead1-481f-8524-b58e2664103a", + "satellite_position": { + "longitude": -98.0, + "altitude": 35775.1 + }, + "bands": [ + 255 + ], + "earfcn_ranges": [ + { + "start_earfcn": 228837, + "end_earfcn": 228837 + } + ] + } + ], + "tag_ids": [ + 11, + 1001 + ] + }, + { + "config_id": 2, + "satellite_infos": [ + { + "satellite_id": "62de127d-ead1-481f-8524-b58e2664103a", + "satellite_position": { + "longitude": -98.0, + "altitude": 35775.1 + }, + "bands": [ + 255 + ], + "earfcn_ranges": [ + { + "start_earfcn": 228909, + "end_earfcn": 228909 + }, + { + "start_earfcn": 228919, + "end_earfcn": 228919 + } + ] + } + ], + "tag_ids": [ + 11 + ] + }, + { + "config_id": 3, + "satellite_infos": [ + { + "satellite_id": "c9d78ffa-ffa5-4d41-a81b-34693b33b496", + "satellite_position": { + "longitude": -101.3, + "altitude": 35786.0 + }, + "bands": [ + 255 + ], + "earfcn_ranges": [ + { + "start_earfcn": 229011, + "end_earfcn": 229011 + }, + { + "start_earfcn": 229013, + "end_earfcn": 229013 + }, + { + "start_earfcn": 229015, + "end_earfcn": 229015 + }, + { + "start_earfcn": 229017, + "end_earfcn": 229017 + } + ] + } + ], + "tag_ids": [ + 12 + ] + }, + { + "config_id": 4, + "satellite_infos": [ + { + "satellite_id": "62de127d-ead1-481f-8524-b58e2664103a", + "satellite_position": { + "longitude": -98.0, + "altitude": 35775.1 + }, + "bands": [ + 255 + ], + "earfcn_ranges": [ + { + "start_earfcn": 228919, + "end_earfcn": 228919 + }, + { + "start_earfcn": 228909, + "end_earfcn": 228909 + } + ] + } + ], + "tag_ids": [ + 11, + 1001 + ] + } + ] +} \ No newline at end of file diff --git a/telephony/sats2.dat b/telephony/sats2.dat index f308cc1..dcceffe 100644 Binary files a/telephony/sats2.dat and b/telephony/sats2.dat differ