Aurimas Liutikas
33be7cbcbe
Add explicit exported tags
...
Bug: 195988762
Test: make javac-check
Change-Id: Ifd07672da0141c74ad32613a17691c6cd09e54de
Merged-In: Ifd07672da0141c74ad32613a17691c6cd09e54de
(cherry picked from commit 7512a62755 )
2021-09-14 11:09:20 -07:00
Bob Badour
40a7447daa
[LSC] Add LOCAL_LICENSE_KINDS to development
...
Added SPDX-license-identifier-Apache-2.0 to:
apps/Development/Android.mk
apps/DumpViewer/app/src/main/Android.mk
apps/OBJViewer/Android.bp
samples/ApiDemos/Android.mk
samples/ApiDemos/tests/Android.mk
samples/HeavyWeight/Android.bp
samples/IntentPlayground/Android.mk
samples/MultiClientInputMethod/Android.mk
samples/MultiDisplay/Android.mk
samples/MySampleRss/Android.bp
samples/RenderScript/HelloCompute/Android.mk
samples/RenderScript/Levels/Android.mk
samples/ShortcutDemo/launcher/Android.mk
samples/ShortcutDemo/publisher/Android.mk
samples/ShortcutSample/Android.mk
testrunner/tests/Android_java.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I535f73ffa885f723b9dca745f199ce3a3fd409ea
2021-04-20 14:03:26 -07:00
TreeHugger Robot
d898ad06d0
Merge "Migrated various apps under development/samples/ShortcutDemo/publisher to androidx"
2018-05-22 23:28:27 +00:00
vineel sadineni
7bb444d8b1
Migrated various apps under development/samples/ShortcutDemo/publisher to androidx
...
Bug: 76692459
Test: mmma development/samples/ShortcutDemo/publisher
Change-Id: Ia0150e2579f286a34de7d5accffeafffe69de635
2018-05-18 14:11:46 -07:00
vineel sadineni
7a629ba096
Migrated various apps under development/samples/ShortcutDemo/launcher to androidx
...
Bug: 76692459
Test: mmma development/samples/ShortcutDemo/launcher
Change-Id: Ic68392460192d91af2dcbfb4790f020b95d2bfee
2018-05-18 10:36:49 -07:00
Alan Viverette
a3d037382d
Migrate to AAPT2
...
Bug: 73250914
Test: make checkbuild
Change-Id: I64ad5cb08aeb1e1c5cd2594dc0be1bbb105610f6
2018-02-27 20:30:57 +00: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
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
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
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
Sunny Goyal
8e930924c5
Merge "Updating samples as per API changes"
2017-01-26 22:22:57 +00:00
Sunny Goyal
fb19290186
Updating samples as per API changes
...
Test: Manually tested on device
Bug: 34174006
Change-Id: I811753b2ebfb7319f50b1eabbc00c3decaaea755
2017-01-24 12:21:20 -08:00
Makoto Onuki
64ef7bcd6f
Support new ACTION_CREATE_SHORTCUT in sample apps
...
Test: manual tests
Change-Id: I188b846152ccf7fdb143be69d6375ece4f61211b
2017-01-20 16:38:27 -08:00
Makoto Onuki
0778a898f4
Use the new API being introduced in I34e9f351d2a8addf
...
Bug: 34340531
Test: Manual tests
Change-Id: I5c4a95edb7008bbd5723f87249cbc68c06f82234
2017-01-20 09:10:07 -08:00
Makoto Onuki
fc6a83fd85
Use the new shortcut manager APIs
...
Test: Manual tests
Change-Id: Ia521472f42cac7057afd42648339d3b0fb7d432a
2016-12-12 15:55:46 -08:00
Makoto Onuki
ea9c4b3b05
Don't assume getActivity() is @NonNull
...
Test: Manual testing.
Change-Id: I871a8b4341cfa32c142c2f7a84fc1b2b5ca32271
2016-12-01 08:44:23 -08: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
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
767491535c
ShortcutDemo: Add Japanese translation
...
Change-Id: Ic80e69bd62bc53742e13946a2a9c3a8d72ad1e8a
2016-07-13 13:46:40 -07:00
Makoto Onuki
4aa351c0ec
ShortcutDemo: Add 2nd main activity with manifest shortcuts
...
To test b/29601844
Bug 29601844
Change-Id: I034947f62d5d1ece90f0c5fd0b7b26f48bea809e
2016-06-23 14:40:52 -07:00
Makoto Onuki
1cf985bff6
Shortcut Demo: Address API changes
...
Bug 29515722
Bug 29516909
Bug 29515090
Change-Id: I7214d1d75acb7550cb8181d076d0b7b938a04488
2016-06-21 11:37:35 -07:00
Makoto Onuki
7621142253
Shortcut Demo: Switch to new XML schema
...
Bug 29390156
Change-Id: I2311012f5c48ce7d150d4045c602489f95da78f9
2016-06-17 11:50:36 -07:00
Makoto Onuki
46f140b555
Shortcut demo: Add a notification with remote input
...
To test b/28705275.
Bug 28705275
Change-Id: I47893ce935e5afb20ac9038c0a1becb309f23198
2016-06-14 14:10:52 -07:00
Makoto Onuki
b8dc9f912b
ShortcutDemo: Address API rename
...
Bug 29057378
Change-Id: Iddcdb0d0418e19661cbadb4a6ff8788e8d2dfb0c
2016-06-01 10:09:41 -07:00
Makoto Onuki
f3ee57a5e1
Shortcut demo: Use the new get shortcut drawable API
...
Bug 28594168
Change-Id: I0efe5a2f129edec43524316022fed435d815f341
2016-05-27 10:46:10 -07:00
Makoto Onuki
a02d7acf66
ShortcutManager demo: Manifest shortcuts + API renames
...
Bug 28785283
Bug 28536066
Change-Id: I5b12715038a30a143f2df7ccc188ea23e88605f9
2016-05-24 17:53:49 -07:00
Makoto Onuki
f3f9a3b553
ShortcutDemo: changes for DR API update.
...
Bug 28536066
Change-Id: I1c23bd57aba42e761ed31f8c9584d61c6900aa70
2016-05-12 16:46:02 -07:00
Makoto Onuki
28dde7fe5f
Fix the tab focus when view pager current page changes.
...
Bug 27548047
Change-Id: I3ed4202b0077b965d3dafec2d969d3ddf7d5737c
2016-05-09 15:24:13 -07:00
Makoto Onuki
d1d0d5ac76
Improve the shortcut manager sample launcher.
...
Now it's actually usable as a launcher, and supports work profile too.
- Also make sure when the client app adds a shortcut, it'll always get
an unique ID.
Bug 27548047
Change-Id: I025cbcd6483010986208652f85638966bf2448c4
2016-05-04 14:22:38 -07:00
Makoto Onuki
40fc690cd4
ShortcutManager sample update:
...
- Don't use content: URI icons.
- Add a service to allow publishing a shortcut in background.
Bug 27923857
Change-Id: Ib17afdd76a6e122d14a22d331b0a47916c7d584d
2016-04-29 12:52:24 -07:00
Makoto Onuki
f63434074f
ShortcutManager: Address API review feedback.
...
Bug 27923857
Change-Id: I7d5057569e013e2562cabcd0755c15057616412e
2016-04-12 11:28:49 -07:00
Makoto Onuki
61cf704666
Update for the API changes.
...
Bug 28053541
Change-Id: I86329c3e55a4c29539215953c1406f4d636f3f34
2016-04-07 11:41:50 -07:00
Makoto Onuki
ed8e4d8529
Don't override the setting activity shortcut
...
- Also dump updated shortcuts on logcat
Bug 27548047
Change-Id: Id6a80e518dd801f530bbd30b6379ed86d7cf8a2b
2016-03-15 11:10:23 -07:00
Makoto Onuki
05b869cfcc
Don't use the launcher shortcut APIs when not allowed.
...
Bug 27548047
Change-Id: Ie9f85b1662be9b071458180c128554711642e55e
2016-03-14 15:14:40 -07:00
Makoto Onuki
618cfbf728
Shortcut Demo: update shortcuts
...
Bug 27548047
Change-Id: I354cd468217f735dd79407de59a855cace247a85
2016-03-10 15:21:12 -08:00
Makoto Onuki
ad5c8aaf19
Improve shortcut demo
...
Bug 27548047
Change-Id: Iba717ec910e1fd48e623f5dea4604fc27e5d2818
2016-03-10 12:40:09 -08:00
Makoto Onuki
ebdd0c2e4e
Improve shortcut demo
...
- Add launcher demo
- Now we build two of launchers and publishers, for better testing
Bug 27548047
Change-Id: Iede6abcf611261c83b7486f07709b56c6f5c53e0
2016-03-10 11:24:12 -08:00
Makoto Onuki
89f3a6aa5b
ShortcutDemo to call more APIs
...
Bug 27548047
Change-Id: I8ae8d53ba41b6649a072f565f662d45cfbb413e1
2016-03-09 14:31:37 -08:00
Makoto Onuki
eb9d55cd45
Demo app for ShortcutManager
...
Bug 27325877
Change-Id: I29624ee31008c2cc5e207e7544d48efc3f733bea
2016-03-07 17:27:58 -08:00