Chih-Hung Hsieh
62f253dc80
Use -Werror in development
...
* Fix/suppress existing warnings.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Iacc9052f81e6fe7e8a10b00a6fcea912a7d636d3
2017-10-27 14:43:17 -07:00
Makoto Onuki
8671b509d1
Generate the shortcut sample app with different version numbers
...
Test: manual
Change-Id: Ic86b2d33ee37655104809bc8e9cefe1379f9c905
2017-10-05 09:13:54 -07:00
Fyodor Kupolov
d704ae2552
APK Cache Demo App
...
Simple app that lists files in the app's preloaded cache directory.
(/data/preloads/file_cache/com.android.apkcachetest)
Test: make ApkCacheTest
Bug: 38434471
Change-Id: Ia98650e41bc383d45ebf620bc065deb68076a75f
2017-08-03 00:01:09 +00:00
Mathieu Chartier
8f85766087
Disable proguard for BusinessCard app
...
Otherwise the com.example.android.businesscard.ContactAccessorSdk*
classes get removed by proguard. This cause a class not found
exception during app launch.
Bug: 62554875
Test: launch the app
Change-Id: Ic3d44b50f51be6514fd6af822717e0864a6126db
2017-07-25 14:46:57 -07:00
Willie Koomson
c1247c43a8
Merge "The base files for the project & activities and XML resources Test: build and run manually Change-Id: I6eb7f1a444703e99f592ac9106261f9c6bd90127"
2017-07-13 21:22:27 +00:00
Willie Koomson
2bf50179b3
The base files for the project & activities and XML resources
...
Test: build and run manually
Change-Id: I6eb7f1a444703e99f592ac9106261f9c6bd90127
2017-07-12 12:08:15 -07:00
Makoto Onuki
c27bcaea5d
Sample authenticator that creates a "DPM-whitelisted" account.
...
This account will not prevent a test-only DO/PO from being activated.
Test: Manual test
Change-Id: I6407c8c85b4476436db3379752488557d58bc617
2017-07-11 10:23:36 -07:00
Clara Bayarri
e38828eaac
Merge "Replace fonts of unclear origin" into oc-dev
...
am: ac2a416a5b
Change-Id: I5592ae97240969a7cc68f38a1599c50bc03322f2
2017-06-07 16:42:27 +00:00
TreeHugger Robot
ac2a416a5b
Merge "Replace fonts of unclear origin" into oc-dev
2017-06-07 16:36:48 +00:00
Makoto Onuki
c6df549cdd
Merge "Use support lib shortcut manager in sample apps" into oc-dev
...
am: b0bcb8f365
Change-Id: I4d0ddab6405fe8990cab0de1e0a38e0060e74163
2017-06-06 16:27:56 +00:00
Clara Bayarri
a3516bc957
Replace fonts of unclear origin
...
The font being used in the ApiDemos is of unclear origin, replace
it with a font we created. Also cleanup the code around it
Test: manual
Bug: 37726227
Change-Id: I7e30c3afddc731473c9bbe5a767fa0e1144a20d6
2017-06-01 11:08:13 +01:00
Makoto Onuki
8c445e5b1f
Use support lib shortcut manager in sample apps
...
Bug 62193112
Test: manual
Change-Id: I157f13b4fffbe5ffd48cf97094362ae1be1c0658
2017-05-30 16:37:49 -07:00
Makoto Onuki
19e43703e1
The test launcher should work on N-MR2 too.
...
am: d057d9f027
Change-Id: I22f37a4b2b7dccfde2ca3a42a748188982ac48ee
2017-05-16 21:13:21 +00:00
Makoto Onuki
d057d9f027
The test launcher should work on N-MR2 too.
...
Fixes 38345873
Test: manual
Change-Id: I72cedfe860c0c57672d057b209df03917ed6411c
2017-05-16 12:07:57 -07:00
Wale Ogunwale
b9ed669d6b
Commented out caption API.
...
am: bbfa17e179
Change-Id: Iec508f2049825077088dccd830e11523112ebbd3
2017-04-25 02:29:57 +00:00
Wale Ogunwale
bbfa17e179
Commented out caption API.
...
Not ready inO. May you have better luck in P!
Test: N/A
Change-Id: I9489b14e41845b2aca522d8ab5058b895845e3ae
2017-04-24 19:23:33 -07:00
Dianne Hackborn
d1035aead1
Add sample for enqueuing work in a job.
...
am: 5229a90146
Change-Id: Idc0461e19fd7e14e2a41940b0db8a64f995d6db2
2017-04-22 00:37:41 +00:00
Dianne Hackborn
5229a90146
Add sample for enqueuing work in a job.
...
Basically this is to have sample code to include in the java docs.
Bug: 37544153 API Review: JobWorkItem
Test: none
Change-Id: Ie4ed3ce4af8239010da2647fab00ed2aadb1d348
2017-04-21 15:02:25 -07:00
Dan Shi
c3f8e12ec7
Merge "Add ApiDemos to device-tests as it's needed by JankMicroBenchmarkTests" am: 285aca0218 am: d5f5352f05
...
am: 6749625947
Change-Id: I9afb2edfa21fa91dfd29561b1fcc0b7a2beaaa8d
2017-04-05 00:16:08 +00:00
Dan Shi
285aca0218
Merge "Add ApiDemos to device-tests as it's needed by JankMicroBenchmarkTests"
2017-04-05 00:05:07 +00:00
Dan Shi
b73a7a2f4c
Add ApiDemos to device-tests as it's needed by JankMicroBenchmarkTests
...
Bug: 35882476
Test: local test
make -j32 JankMicroBenchmarkTests ApiDemos && \
tradefed.sh run template/local --template:map test=JankMicroBenchmarkTests \
--test-tag testname --log-level-display VERBOSE
Change-Id: I6d6eceaaefa1d78656630e950022e3b1636b6f05
2017-03-31 23:07:09 -07:00
Makoto Onuki
2d11c909ea
Merge "Fix potential NPE and also add more log." into oc-dev
...
am: b57ce71006
Change-Id: I70e86c3620de8a06ba167522af0096a2319f19e3
2017-03-30 22:55:58 +00:00
Makoto Onuki
4ddd7cecca
Fix potential NPE and also add more log.
...
Test: Manual test, launch, tc.
Change-Id: I9e540ee8a0daa540ef1cc1b02a9a46c772773586
2017-03-30 13:26:14 -07:00
Robin Lee
739b274dfb
Merge "Make ToyVpn a little more realistic" am: 5387f7163d am: e58f77f2f3
...
am: 40458405a3
Change-Id: I76de3ae554d029c4b0ad9e999cf0d99a5269c5cf
2017-03-28 16:25:52 +00:00
Robin Lee
e58f77f2f3
Merge "Make ToyVpn a little more realistic"
...
am: 5387f7163d
Change-Id: I5ce97f677253a310048074601f6308d5db6ce1c6
2017-03-28 16:17:50 +00:00
Robin Lee
72f57c9946
Make ToyVpn a little more realistic
...
Now it shows how to:
- start as an always-on VPN.
- take over the last connection using protect().
Bug: 35802839
Test: manual connection
Change-Id: I4699afbcf4bd0933dbeb3bf77a2d91f49d6ede1d
2017-03-28 14:53:09 +01:00
TreeHugger Robot
62e6b0467b
Merge "Change the AdaptiveIconSample to use mipmap-anydpi directory for AdaptiveIconDrawable location Bug: 36068314 Bug: 35908647 Bug: 35400815 Test: manual"
2017-03-13 20:04:08 +00:00
Ben Lin
77e01745b8
Merge "Update DocumentsContract call."
2017-03-13 17:27:18 +00:00
Hyunyoung Song
db94008bc6
Change the AdaptiveIconSample to use mipmap-anydpi directory for AdaptiveIconDrawable location
...
Bug: 36068314
Bug: 35908647
Bug: 35400815
Test: manual
Change-Id: Icc20f1d0989e2bca2ad1c3b484a60d99dfcc5d8c
2017-03-12 23:36:58 -07:00
Ben Lin
9cf5fd65aa
Update DocumentsContract call.
...
Test: Builds properly.
Bug: 36023174
Change-Id: I6d8c604a9660741dda1c997f949efd0f570cc506
2017-03-09 11:04:44 -08:00
Joachim Sauer
96f6845b80
Merge "Renaming Czech Republic to Czechia." am: a824f044c3 am: e7b9cff32e
...
am: cb632200b0
Change-Id: I79436472ad4a60803db657cbf82b2cde008558a2
2017-03-08 17:49:22 +00:00
Joachim Sauer
e7b9cff32e
Merge "Renaming Czech Republic to Czechia."
...
am: a824f044c3
Change-Id: Iaa98ab9b06edc1adc70bf3a4661069eed9c6f05b
2017-03-08 17:38:52 +00:00
Joachim Sauer
a824f044c3
Merge "Renaming Czech Republic to Czechia."
2017-03-08 17:31:27 +00:00
Paul Duffin
061c702dae
Merge "Prepare for removal of junit and android.test classes from Android API (step 1)" am: f2d90cc8d8 am: b017d07b78
...
am: 18c0851a12
Change-Id: I2dead96af0552919fb06c5298a28034121afa2f0
2017-03-03 10:06:33 +00:00
Paul Duffin
b017d07b78
Merge "Prepare for removal of junit and android.test classes from Android API (step 1)"
...
am: f2d90cc8d8
Change-Id: I1cb7c5aeb0c3efaf5477df9ef8c08fad425742e9
2017-03-03 10:01:04 +00:00
Paul Duffin
3a87d4fea4
Prepare for removal of junit and android.test classes from Android API (step 1)
...
In preparation for removing junit and android.test classes from
the Android API this change adds explicit dependencies on junit
and/or legacy-android-test to ensure that modules will compile
properly once it is removed.
Care was taken to ensure that any targets that depended,
directly or indirectly, on android-support-test did not also
depend on junit or hamcrest as they conflict with the versions
embedded within android-support-test.
Bug: 30188076
Test: make checkbuild
Change-Id: I03f7836a1081acda5ed2c6e43cb24e9dc23b944c
2017-03-01 13:21:09 +00:00
Fredrik Roubert
3e55022b86
Renaming Czech Republic to Czechia.
...
Bug: 34964100
Test: n/a
Change-Id: I711723923cefa88c99585518b085a2c8df076b7d
2017-02-23 17:30:02 +01:00
Hyunyoung Song
d00f26a867
Merge "Cleanup non-aosp assets with aosp assets Test: installed on O and N device and verified the three icons."
2017-02-23 08:04:49 +00:00
Hyunyoung Song
18754db637
Cleanup non-aosp assets with aosp assets
...
Test: installed on O and N device and verified the three icons.
b/35634834
Change-Id: Ib74262080d2f67821fa2950429a31269186ff3ad
2017-02-22 16:59:56 -08:00
Bryce Lee
1e71f119c4
Merge "Stop screen sharing when exiting MediaProjectionDemo."
2017-02-21 23:22:34 +00:00
Hyunyoung Song
ecc5f8c011
Change MaskableIconDrawable to AdaptiveIconDrawable
...
Test: $ make -j31 dist
Bug: 35399620
Change-Id: I9425d14b25ad44630c33e07b4bb4f925258b18f9
2017-02-17 14:54:29 -08:00
Hyunyoung Song
b12e980c48
Update MaskableIconActivity
...
Test: this is a sample test app for MaskableIconDrawable
b/35400815
Change-Id: Id4ea1bd8ea3694a13fba81e7c5a37255654d146c
2017-02-16 17:55:07 -08:00
Bryce Lee
f7a0b42d09
Stop screen sharing when exiting MediaProjectionDemo.
...
The existing implementation will leave screen sharing running after
stop, causing the VirtualDisplay to not be destroyed. This change
makes sure any screen sharing ends on stop.
This change also addresses the the ToggleButton's state being saved.
Test: manual
Bug: 26221019
Change-Id: I51ac8bf09932a83100776c919146eed8c28f35b3
2017-02-16 14:09:43 -08:00
Trevor Johns
48d22f3c54
Increment package revision for 2017-02 samples release am: 49453c6ceb am: 687e7b105f am: aba600bc4a
...
am: 451d9b9f65
Change-Id: Icdd8b7abf862a1496c0d8a8c0532ca6e03044094
2017-02-11 02:03:58 +00:00
Trevor Johns
e95151910d
Update sample prebults for 2017-02 release (nyc-mr1-dev) am: 8a66f8cbc0 am: b2c8c7c8d8 am: 95aaa6f803
...
am: 004a8df08d
Change-Id: I0b17a8cfa9f950e133d62af0cecf2ebfbc95482b
2017-02-11 02:03:53 +00:00
Trevor Johns
aba600bc4a
Increment package revision for 2017-02 samples release am: 49453c6ceb
...
am: 687e7b105f
Change-Id: I99560dd453449878cfbbf39bee60130bcbcfebd4
2017-02-11 01:59:02 +00:00
Trevor Johns
95aaa6f803
Update sample prebults for 2017-02 release (nyc-mr1-dev) am: 8a66f8cbc0
...
am: b2c8c7c8d8
Change-Id: Ib89130912b7bee51a2d546c447b0d165bfdd91a2
2017-02-11 01:58:58 +00:00
Trevor Johns
49453c6ceb
Increment package revision for 2017-02 samples release
...
Change-Id: Id775a1d0715b839404852ce3b8318ba89447f071
2017-02-09 00:46:33 -08:00
Trevor Johns
8a66f8cbc0
Update sample prebults for 2017-02 release (nyc-mr1-dev)
...
developers/samples/android commit: 6f3586bc08b96d14d8f1315f4839ac59aa39798c
Change-Id: I08c9af2d58f1b3314eba807048dc05175a58e164
2017-02-09 00:45:30 -08:00
Makoto Onuki
790a0402aa
Add a test app for DevicePolicyManager.wipeData().
...
Test: mmm -j32 development/samples/DataWiper and then manual testing
Change-Id: Iaf25d540f64083d4079052beddb341b17014d41f
2017-02-02 12:02:54 -08:00