Sender sent the file indeed, but receiver cannot save content normally due to below reason: 1. App shouldn't create the directory in external storage root, it should put files in its application path. 2. It is not allowed using file:// uri for posting file content above API 24, it should be done by FileProvider. Bug: 113998459 Test: manual test with two devices Change-Id: Ie50dd64206009f07414a85262e725cc4d8ac1757
22 lines
466 B
Makefile
22 lines
466 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := samples
|
|
|
|
# Only compile source java files in this apk.
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_STATIC_ANDROID_LIBRARIES += \
|
|
android-support-v4
|
|
|
|
LOCAL_PACKAGE_NAME := WiFiDirectDemo
|
|
|
|
LOCAL_SDK_VERSION := current
|
|
|
|
LOCAL_DEX_PREOPT := false
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|
|
# Use the following include to make our test apk.
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|