Commit Graph

7 Commits

Author SHA1 Message Date
Jimmy Chen
2e1f06e591 WiFiDirectDemo: update permission requirement
After Q-release, WiFi Direct requires FINE location permission.

Bug: 139787683
Test: build and launch
Change-Id: I4599ab24498f07fe0dd9873a356d8f8b34502fff
2019-08-22 13:11:27 +08:00
Sasha Smundak
bef01b9173 Convert Android.mk files to Android.bp
See build/soong/README.md for more information.

Bug: 122332515
Test: treehugger
Change-Id: I0f6ae8d880114d1bc83f7aac2b96eafef76dc046
2019-06-25 14:18:16 -07:00
Jimmy Chen
9698e38ec3 WiFiDirectDemo: fix no peer in list after m-release
After m-release, location permission is necessary for getting wifi scan
results, including p2p scan results.

Bug: 113998459
Test: manual test with two devices
Change-Id: I0f7e3578108c690bea382c41abd28b98fd1d5d31
2018-12-07 19:00:06 +08:00
Jimmy Chen
fc884a6df0 WiFiDirectDemo: fix broken sample code
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
2018-11-20 10:22:33 +08:00
Christopher Ferris
0e2da18081 Fix up the makefiles and some samples.
Add LOCAL_DEX_PREOPT := false to force the samples to build actual apks.

In addition, fix a couple of other small issues:

- TtsEngine didn't have the api level set properly.
- SimpleJNI used a non-ndk library and was using libc++.

Change-Id: I1fd7c187956eed4620049bb746f4d62babcd648a
2016-04-19 14:32:13 -07:00
Dirk Dougherty
9ba4ba7094 Doc change: string changes for Google Play
Change-Id: I39acdc4faae23a43d39c2e2976543a946bd656af
2012-03-04 20:54:23 -08:00
Anirudh Dewani
12634496be WiFiDirectDemo
Change-Id: I9ea5020a39f02fd2ba4934397fa9a2ea79f781b4
2011-10-06 05:35:23 +05:30