Skip to content

Commit c4892a8

Browse files
ChrisDestiny911gtr
authored andcommitted
vendor: Build WeatherProvider
Change-Id: Iaf79f64b4f372b9a2f6a4a7cc7791508c14f1198
1 parent 0df61de commit c4892a8

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
2+
<exceptions>
3+
4+
<exception package="com.android.providers.weather">
5+
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
6+
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
7+
</exception>
8+
9+
</exceptions>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
3+
<permissions>
4+
<feature name="com.android.providers.weather.SUPPORTED" />
5+
</permissions>

prebuilt/common/prebuilt.mk

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
# limitations under the License.
1414

1515
# Prebuilt Packages
16-
#PRODUCT_PACKAGES += \
16+
PRODUCT_PACKAGES += \
17+
WeatherProvider
1718
# Turbo
1819

1920
# Permissions
@@ -23,3 +24,8 @@
2324
# Sysconfig
2425
#PRODUCT_COPY_FILES += \
2526
# vendor/liquid/prebuilt/common/etc/sysconfig/turbo.xml:system/etc/sysconfig/turbo.xml
27+
28+
# WeatherProvider
29+
PRODUCT_COPY_FILES += \
30+
vendor/liquid/prebuilt/common/etc/permissions/com.android.providers.weather.xml:system/etc/permissions/com.android.providers.weather.xml \
31+
vendor/liquid/prebuilt/common/etc/default-permissions/com.android.providers.weather.xml:system/etc/default-permissions/com.android.providers.weather.xml

0 commit comments

Comments
 (0)