Skip to content

Commit 325dea2

Browse files
jhenrique09liquid0624
authored andcommitted
Add support for Screenshot Editor
Change-Id: Ib7e825951bf9ef9c3b7f4a5acab04ae6ccf4b80a
1 parent 9e42a81 commit 325dea2

6 files changed

Lines changed: 26 additions & 1 deletion

File tree

config/common.mk

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ PRODUCT_COPY_FILES += \
203203
PRODUCT_COPY_FILES += \
204204
vendor/liquid/prebuilt/common/etc/calibration_cad.xml:system/etc/calibration_cad.xml
205205

206+
# Google Markup
207+
PRODUCT_COPY_FILES += \
208+
vendor/liquid/prebuilt/common/lib/libsketchology_native.so:system/lib/libsketchology_native.so \
209+
vendor/liquid/prebuilt/common/lib64/libsketchology_native.so:system/lib64/libsketchology_native.so
210+
206211
# TWRP
207212
ifeq ($(WITH_TWRP),true)
208213
include vendor/liquid/config/twrp.mk
@@ -229,7 +234,11 @@ PRODUCT_PACKAGES += \
229234
PRODUCT_PACKAGES += \
230235
librsjni
231236

232-
# Omni packages
237+
# Google packages
238+
PRODUCT_PACKAGES += \
239+
MarkupGoogle
240+
241+
# Weather packages
233242
PRODUCT_PACKAGES += \
234243
OmniJaws
235244

overlay/common/frameworks/base/core/res/res/values/config.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,9 @@
109109
<!-- Flag indicating whether we should enable smart battery. -->
110110
<bool name="config_smart_battery_available">true</bool>
111111

112+
<!-- Screenshot editing default activity. Must handle ACTION_EDIT image/png intents.
113+
Blank sends the user to the Chooser first.
114+
This name is in the ComponentName flattened format (package/class) -->
115+
<string name="config_screenshotEditor" translatable="false">com.google.android.markup/com.google.android.markup.AnnotateActivity</string>
116+
112117
</resources>
1.36 MB
Binary file not shown.
2.47 MB
Binary file not shown.

prebuilt/common/priv-app/Android.mk

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,14 @@ LOCAL_MODULE_CLASS := APPS
3434
LOCAL_MODULE_SUFFIX := .apk
3535
LOCAL_DEX_PREOPT := false
3636
include $(BUILD_PREBUILT)
37+
38+
include $(CLEAR_VARS)
39+
LOCAL_MODULE := MarkupGoogle
40+
LOCAL_MODULE_TAGS := optional
41+
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
42+
LOCAL_CERTIFICATE := PRESIGNED
43+
LOCAL_PRIVILEGED_MODULE := true
44+
LOCAL_MODULE_CLASS := APPS
45+
LOCAL_MODULE_SUFFIX := .apk
46+
LOCAL_DEX_PREOPT := false
47+
include $(BUILD_PREBUILT)
1.63 MB
Binary file not shown.

0 commit comments

Comments
 (0)