Commit Graph

3378 Commits

Author SHA1 Message Date
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
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
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
Paul Duffin
26d21cc0e1 Merge "Prepare for removal of legacy-test from default targets" am: 3c371ed8e4
am: 4199fe0d9c

Change-Id: Ib0d8a55ba985937ab1a7a6f1cdf9d079697b815e
2017-01-18 15:32:45 +00:00
Paul Duffin
24306258e0 Prepare for removal of legacy-test from default targets
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

Bug: 30188076
Test: make checkbuild
Change-Id: I63b6cb622e46952a48938ed055e8892eeaa67f72
2017-01-17 14:49:41 +00:00
Nasir Khan
8dc5ea8f13 Update the Notepad sample app to: 1. Show that any application state should be saved in onStop() versus onPause(). 2. Remove the deprecated methods and start using CursorLoader instead of any managedQuery. 3. Remove deprecated LiveFolders usage. am: 3468e63e12
am: ed5495cdee

Change-Id: Id3794178b8ded31df2cbb167c14224218a3b231f
2016-11-30 20:05:21 +00:00
Nasir Khan
3468e63e12 Update the Notepad sample app to:
1. Show that any application state should be saved in onStop() versus
   onPause().
2. Remove the deprecated methods and start using CursorLoader instead
   of any managedQuery.
3. Remove deprecated LiveFolders usage.

Change-Id: I65be6b91ee1d4d0980494fb8455ce0906691dc21
2016-11-28 15:03:26 -08:00
Trevor Johns
6b945e5cc6 docs: Add new samples for N MR1 am: 0af1e772c4 am: 2b4561c639 am: fb01ea0180
am: 969d9efc63

Change-Id: I03ae89253e88d8c5f37a07219fe6fa205a641ab5
2016-10-18 17:13:49 +00:00
Trevor Johns
fb01ea0180 docs: Add new samples for N MR1 am: 0af1e772c4
am: 2b4561c639

Change-Id: I9fd2e353866986677a9724931196820afabd6dc2
2016-10-18 17:00:31 +00:00
Trevor Johns
2b4561c639 docs: Add new samples for N MR1
am: 0af1e772c4

Change-Id: Ifb45550dc950204362d88e31901243ddd50ba9ed
2016-10-18 16:55:33 +00:00
Trevor Johns
0af1e772c4 docs: Add new samples for N MR1
- AppShortcuts
- CommitContentSampleApp
- CommitContentSampleIME

Change-Id: I3cefc134839f944b1c0c5efc943fb779c7e7ee70
2016-10-18 03:19:42 -07:00
Trevor Johns
8467f3ec07 Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc am: dbd82b9b22
am: 99136d6c64

Change-Id: I0f1b7e6a4081a16985f2ea25b5368bf18b1500bf
2016-09-29 05:38:09 +00:00
Trevor Johns
2d4385d054 Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc am: dbd82b9b22
am: d3f580780b

Change-Id: I04f552f971bf45e416b81b970c1b4443fa46de3c
2016-09-29 05:38:06 +00:00
Trevor Johns
99136d6c64 Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc
am: dbd82b9b22

Change-Id: I0ea216993b39947fcfcd2dd9ad9d37cbef8667ba
2016-09-29 05:34:09 +00:00
Trevor Johns
d3f580780b Syncing latest sample prebuilts for mnc-dev. am: 697d71f7cc
am: dbd82b9b22

Change-Id: I2ace1b9340ed24f714da0eec682207d0101b55f1
2016-09-29 05:34:07 +00:00
Trevor Johns
697d71f7cc Syncing latest sample prebuilts for mnc-dev.
developers/build: 3c56004c2e943b3a87d99958c18950de0f89f3a7
developers/samples/android: d72f3df26721c64aa403e3b6d400cf8b99260dd1

Change-Id: Ice543fd11f2956aacfa3301bf9bdb4b1f49e9c4d
2016-09-29 05:17:16 +00:00
Trevor Johns
008955c28f docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e am: 2fbc4b7d6a
am: 2da40e2ef5

Change-Id: I993abfa8d0cd840232864837f17e3eeeb6c329cc
2016-08-28 11:13:13 +00:00
Trevor Johns
c21b5a0ab8 docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e am: 2fbc4b7d6a
am: 947579e66d

Change-Id: I1248cfebf34f2d3865f159046e094fe20e7b26f4
2016-08-28 11:13:11 +00:00
Trevor Johns
947579e66d docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e
am: 2fbc4b7d6a

Change-Id: Ie5691a6e495b4df968ae35847e976d44772a60f1
2016-08-28 11:10:08 +00:00
Trevor Johns
2da40e2ef5 docs: Add AccelerometerPlay sample to prebuilts am: ef51b0db8e
am: 2fbc4b7d6a

Change-Id: Ib6dc7cd0a64a0f1a590f5471b8758902dae5dda9
2016-08-28 11:10:00 +00:00
Trevor Johns
ef51b0db8e docs: Add AccelerometerPlay sample to prebuilts
Change-Id: I8e4146cd00df889e60aa9f03f9a79231b02dfdd5
2016-08-28 10:58:43 +00:00
Makoto Onuki
c46c66135e Update shortcut sample am: 8d2a8f05c7
am: 252f0b4be1

Change-Id: Ide1cd60070e1c90c1929978225ddeb9888861ca1
2016-08-19 22:18:42 +00:00
Makoto Onuki
8d2a8f05c7 Update shortcut sample
Use favicon as a shortcut icon, if available.

Change-Id: Ic2393e2de6ce9eb39b5d25d0dafd9686416cdfe7
2016-08-18 11:11:09 -07:00
Trevor Johns
ba014ece08 docs: Update prebuilts for nyc-dev samples am: a374bcd44d am: d77e9cdd0e
am: 3a6ac95ade

Change-Id: I5bab553b836886a0122c4567c9bb7e514f252dc5
2016-08-12 19:23:48 +00:00
Trevor Johns
3a6ac95ade docs: Update prebuilts for nyc-dev samples am: a374bcd44d
am: d77e9cdd0e

Change-Id: I11b7304d1e152774efadebc5c9831186435dee80
2016-08-12 19:20:15 +00:00
Trevor Johns
6ecd38debd docs: Update prebuilts for nyc-dev samples am: a374bcd44d
am: d77e9cdd0e

Change-Id: I4da63018cc412c4f513ed3ce33a5ef2f42b6c054
2016-08-12 19:20:14 +00:00
Trevor Johns
a374bcd44d docs: Update prebuilts for nyc-dev samples
Synced to commits:
- //developers/samples/android
  fc1c2eac13aa87531f030f8c65d7e27c301135af
- //developers/build
  18730e97939c9545a26e52d135a99045c86abeaf

Change-Id: I88952b8f86921739af9fed6b87d39a72af835748
2016-08-11 22:59:11 +00:00
Makoto Onuki
2f5a91de94 Shortcut launcher demo: am: 5671322243
am: 0d48acccb2

Change-Id: I3268550ff3e227b18727fbb6fd92df24bfb570f7
2016-08-02 20:43:15 +00:00
Makoto Onuki
0d48acccb2 Shortcut launcher demo:
am: 5671322243

Change-Id: I77ee5377b77dd67e6a66477d1c3e365cea341f86
2016-08-02 20:40:17 +00:00
TreeHugger Robot
6d48ba4dd4 Merge "Shortcut launcher demo:" into nyc-mr1-dev 2016-08-02 20:37:11 +00:00
Makoto Onuki
5671322243 Shortcut launcher demo:
- Listen to work profile broadcasts and refresh the screen.
- Fix the bug about mixing up user 0 and user 10.
- Add a "user has any shortcuts or not" test to detect
user unlock races.

Change-Id: I4c5ae34317b669dd8fcda466a960074b22e88d5a
2016-08-02 10:26:51 -07:00
Dianne Hackborn
747849e01a Add API demo for running multiple foreground services. am: 9302998b13
am: d9cdb23133

Change-Id: Ied29cf6325a76169b68b91a19fcebbb66b9a70b1
2016-08-02 17:21:38 +00:00
Dianne Hackborn
9302998b13 Add API demo for running multiple foreground services.
Change-Id: I44435f6e7750ccbbadf5e293dd10069c6cef94a4
2016-08-01 17:52:18 -07:00
Makoto Onuki
f91097c72f Fix demo launcher am: 74d5f56ed8
am: ad36445b18

Change-Id: I36b7f93212ef4599745ad9098e5daafd35db5057
2016-07-29 20:52:21 +00:00
Makoto Onuki
ad36445b18 Fix demo launcher
am: 74d5f56ed8

Change-Id: Ife01637a46eab56580a19daa0d56b981ffab9086
2016-07-29 20:44:15 +00:00
TreeHugger Robot
644dd1aa45 Merge "Fix demo launcher" into nyc-mr1-dev 2016-07-29 20:24:41 +00:00
Makoto Onuki
48b9543c84 Update sample app icons am: 038f4f7882
am: b5d2bd8628

Change-Id: Iace33ab5e3fcd1999db907d7a6a5fb116fd58676
2016-07-29 18:12:51 +00:00
Makoto Onuki
74d5f56ed8 Fix demo launcher
- pinShortcuts() needs to be passed all pinned shortcut IDs from the target app,
but originally it was passing those from the target *activity*.

- Also LauncherApps throws IllegalStateException when work profile is off.
Catch runtime exceptions and show a message.

Change-Id: I5a97c808ed7d9aff17bd11aa4ed28ee0efc330f0
2016-07-29 10:54:12 -07:00
Makoto Onuki
038f4f7882 Update sample app icons
Bug 30259354

Change-Id: I8fd049e821540c0253e055c967824222d3e0e3a4
2016-07-27 16:32:33 -07:00
Makoto Onuki
cbd0f79690 ShortcutManager sample application.
am: 8e1f716acc

Change-Id: I19f704791a9d289941ba630bb9d45430774bd9f2
2016-07-23 00:52:31 +00:00
Makoto Onuki
8e1f716acc ShortcutManager sample application.
This is slightly more practical than ShortuctDemo.

This app allows the user to publish shortcuts to websites.

Bug 30259354

Change-Id: I0e7358aadf016c75c4926595abbe6ce117d69c2d
2016-07-22 15:27:47 -07:00
Makoto Onuki
119b716550 ShortcutDemo: Add Japanese translation
am: 767491535c

Change-Id: I61c37a78c03490e7c349666d0830e23099c5e550
2016-07-14 00:02:12 +00:00
Makoto Onuki
767491535c ShortcutDemo: Add Japanese translation
Change-Id: Ic80e69bd62bc53742e13946a2a9c3a8d72ad1e8a
2016-07-13 13:46:40 -07:00
Makoto Onuki
1b342b02dd Merge \"ShortcutDemo: Add 2nd main activity with manifest shortcuts\" into nyc-mr1-dev
am: 0f3323555c

Change-Id: I2814cdfd8afab448715edc1845ec536330dbad07
2016-07-11 19:43:56 +00:00