Skip to content
This repository was archived by the owner on Mar 6, 2022. It is now read-only.

Fix missing notifications in Messaging app #143

Merged
merged 1 commit into from
Dec 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions templates/build_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ apply_patches() {
patch_priv_ext
patch_launcher
patch_broken_alarmclock
patch_broken_messaging
patch_disable_apex
}

Expand All @@ -753,6 +754,16 @@ patch_broken_alarmclock() {
fi
}

# TODO: remove once this once fix from upstream makes it into release branch
# https://android.googlesource.com/platform/packages/apps/Messaging/+/8e71d1b707123e1b48b5529b1661d53762922400%5E%21/
patch_broken_messaging() {
log_header ${FUNCNAME}

if ! grep -q "android:targetSdkVersion=\"24\"" ${BUILD_DIR}/packages/apps/Messaging/AndroidManifest.xml; then
sed -i 's@<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="28" />@<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="24" />@' ${BUILD_DIR}/packages/apps/Messaging/AndroidManifest.xml
fi
}

patch_aosp_removals() {
log_header ${FUNCNAME}

Expand Down