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
Basically this is to have sample code to include in the java docs.
Bug: 37544153 API Review: JobWorkItem
Test: none
Change-Id: Ie4ed3ce4af8239010da2647fab00ed2aadb1d348
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
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
Just an example of specifying rotation animation
in manifest.
Test: Try running the activity and verify the rotation animation is crossfade
Change-Id: I4481c0fd317fa4f472822159288bd5521cc52ec2
In order to avoid layering violation, LocaleList needs to be moved from
android.util package to android.os package [1]. This CL follows up that
package change.
No behavior change is intended.
[1]: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18
Bug: 28819696
Change-Id: Ib331cc3a63f7a1e656573f032a1e69eb906f7c14
Adds options to exercise the newly added KEYGUARD_DISABLE_REMOTE_INPUT
and not so newly added KEYGUARD_DISABLE_FINGERPRINT.
Change-Id: I0e2a05f2a668b7d8ceacde3abcf5f8c80cb4bdb9
Fixes: 26981262
Some sample apps on emulator are placed on /data
partition and are not pre-dexopted.
Enable them to make the emulator system image a
little faster, especially for arm.
bug: 28312444
This should only impact SDK system images, not
real devices.
Change-Id: Icdb34512a3a6d95b4d6ffd2415835c6ba8c77fcc
am: d0a7343
* commit 'd0a7343e682c4f005026ba99b8227d9871650ecb':
Fix up the makefiles and some samples.
Change-Id: I56a3636c3c299ad4ed2e2e37479f7aef94a56be3
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
This is now much more like one would write to look for
photos being added/changed. It looks at the URIs that have
changed and filters them to only files that it cares about
(in this case those under DCIM, that is photos added by the
camera), and also explicitly understands the difference
between individual URIs changing and a more general change
requiring a full re-query of the provider.
Change-Id: I509570aa66839f8b84b5a065c4b4e49fbd0f1c29