Griff Hazen
339f437dc3
Additional doc fixes for WearableExtender
...
Change-Id: I3764e4d97c0007b905ff0f3eb553234668fd50e1
2014-05-28 09:13:05 -07:00
Griff Hazen
a9cb1e6673
Add full screen size preset to WearableExtender
...
For custom display notifications.
Bug: 14838838
Change-Id: Id038d994d61d3c89dba08232a424a5b1b934e5db
2014-05-27 15:40:09 -07:00
Griff Hazen
6f72ac5d5f
Doc fixes for Notification.WearableExtender
...
Change-Id: I22947e30d329e667079555ac4ac5f9b25d6bd3fa
2014-05-27 11:28:45 -07:00
Etienne Le Grand
af80510e85
Add confidence to the heart rate monitor definition and clarify onAccuracyChange
...
Change-Id: I686d07dcd603bf3c3be3c1471de8be3b4e240855
2014-05-23 19:14:33 -07:00
Andrew Solovay
768a899f21
am b5960898: am 9562863c: doc: Updated branding guidelines per request from @deniseamling.
...
* commit 'b59608981ff464b85a26987b8822913e41e72291':
doc: Updated branding guidelines per request from @deniseamling.
Noted that OnSharedPreferenceChangeListener does not store a strong reference to the listener.
2014-05-22 22:45:06 +00:00
Andrew Solovay
b59608981f
am 9562863c: doc: Updated branding guidelines per request from @deniseamling.
...
* commit '9562863cf184fe99be223aff9700b3ceb8559e1a':
doc: Updated branding guidelines per request from @deniseamling.
Noted that OnSharedPreferenceChangeListener does not store a strong reference to the listener.
2014-05-22 22:41:55 +00:00
Vinod Krishnan
810ed89c24
Merge "Adding activity enter/exit animations for wearables" into klp-modular-dev
2014-05-22 22:39:42 +00:00
Griff Hazen
c3104157d8
Api updates for wearable extensions to notifications
...
1. Move Extender outside of Builder
2. Rename apply/applyTo to extend
3. Move Wearable extenders into Notification.java
4. Collapse Builder model into single classes
5. Use Bundle for storage: no new parcelable types.
Minor fix to RemoteInput to use flags int for boolean options.
Change-Id: I40012fd0458ec103eabf75ed4c91f636e02f4c8f
2014-05-22 14:38:36 -07:00
Vinod Krishnan
87224df175
Adding activity enter/exit animations for wearables
...
Bug: 14939877
Bug: 15022424
Change-Id: Id230066c675254a63c5222719a05f86c6b897fa5
2014-05-22 10:55:45 -07:00
Baligh Uddin
74e7e2d844
Merge "Import translations. DO NOT MERGE" into klp-modular-dev
2014-05-22 03:04:49 +00:00
Mindy Pereira
a718943d42
Merge "Make a smaller cliff for dismissing cards" into klp-modular-dev
2014-05-21 21:54:38 +00:00
Baligh Uddin
89f6dace62
Import translations. DO NOT MERGE
...
Change-Id: I0d1bfc06ee6a3f8a0f75eaa37a055f0b6f887076
Auto-generated-cl: translation import
2014-05-21 13:56:23 -07:00
Vinod Krishnan
9b8e4d01f6
Adding more DeviceDefault for CTS tests
...
Bug: 15091518
Change-Id: Iddabacbd023f031c9c4ec6fd4c4f60ce17b606c4
2014-05-21 10:28:57 -07:00
Baligh Uddin
ef2b35cc2e
Merge "Import translations. DO NOT MERGE" into klp-modular-dev
2014-05-21 15:34:11 +00:00
Jeff Brown
6fb904bfd1
Merge "Make power button behavior configurable." into klp-modular-dev
2014-05-21 04:28:34 +00:00
Jeff Brown
6d8fd27e51
Make power button behavior configurable.
...
Allow power button to be used to either go to sleep as usual,
which may doze, or skip that completely and really go to sleep.
May also really go to sleep and go home all at once.
Bug: 14406056
Change-Id: Ia19e2551b9c2a72271bb2eddd5c0d1749761e019
2014-05-20 21:24:38 -07:00
Griff Hazen
ef6aae62f6
Merge "Fixes to WearableActionExtensions" into klp-modular-dev
2014-05-21 02:41:02 +00:00
Jeff Brown
0702786d81
Merge "Allow display timeouts to be set in config.xml." into klp-modular-dev
2014-05-21 02:34:25 +00:00
Griff Hazen
4ae73202c3
Fixes to WearableActionExtensions
...
* Add missing parcelable creator.
* Review fixes.
* Minor doc fixes.
* Kill SIZE_FULLSCREEN
Change-Id: Iaf6458fdd3482202aa416ebaf2302f79cb48635e
2014-05-20 18:46:16 -07:00
Jeff Brown
27736f5c0a
Allow display timeouts to be set in config.xml.
...
Bug: 13671523
Change-Id: I79fc21999bc62743178d2d22071455a0c11070c9
2014-05-20 17:17:10 -07:00
Griff Hazen
7ea18e1c92
Add wearable notification extensions to frameworks/base.
...
Change-Id: Ic312cec7dc11e637002ff2be3975940a93a6babf
2014-05-20 13:50:06 -07:00
Griff Hazen
9e1379f112
Fix sdk docs build for framework from remote input api addition.
...
Change-Id: I6a6f3df06d924fe72f67466d67d9feced8d8719f
2014-05-20 12:51:29 -07:00
Mindy Pereira
56e533a5f6
Make a smaller cliff for dismissing cards
...
Fixes b/14997474 swipe to dismiss cliff guard may be too big
Change-Id: I3e681f1c6dc3eaac37a0e840b36f4c7041e86e62
2014-05-20 10:19:03 -07:00
Griff Hazen
5cadc3b00a
Add RemoteInput, Grouping, and Extender to Notification api.
...
RemoteInputs annotate actions and content intents to request
input from the user as part of an intent being sent. Results
are sent along using ClipData to avoid unparcel of developer
provided bundle values. A helper method is expexted to be used
to extract results.
Grouping allows notifications to be bundled together, with an optional
summary notification for display on older platforms. SortKey is an
important part of grouping since child notifications will likely have
a prescribed ordering. It is also useful in top level notifications
for apps that want to provide an ordering all other fields being equal.
Also provide a fluid way to to extend Actions and Notifications
using Extenders, e.g.:
Notification n = new NotificationCompat.Builder(context)
.setOption1()
.apply(new SomeExtender()
.setOption2())
.build();
This helps extension libraries provide a nice API experience for devs.
Change-Id: Ib3438ef854772c2c34d21bf1eb4ed7c9e032106f
2014-05-20 09:55:39 -07:00
Baligh Uddin
e5762bc2b4
Import translations. DO NOT MERGE
...
Change-Id: I813af1cbb2db0674a3cf81649f0d130ebb2d6164
Auto-generated-cl: translation import
2014-05-20 08:27:22 -07:00
Ben Murdoch
e0d6a6b05b
Merge "Add PackagManager flag for WebView system feature." into klp-modular-dev
2014-05-20 09:32:43 +00:00
Guang Zhu
6071e45a64
Merge "add a command to list all bonded devices" into klp-modular-dev
2014-05-20 04:36:48 +00:00
Guang Zhu
d22b2413b9
add a command to list all bonded devices
...
Bug: 14601515
Change-Id: I3cc5bb664485ef768bb81f1f8870ed9bf62f8329
2014-05-19 21:36:10 -07:00
Andrew Solovay
de0c99e89b
Noted that OnSharedPreferenceChangeListener does not store a strong reference
...
to the listener.
Because of this, the listener is susceptible to garbage collection unless the
caller preserves a strong reference to it. We suggest that the caller store a
reference to the listener in an instance field of an object that will exist as
long as the listener is needed.
Also fixed code sample formatting in Settings.jd (some lines were overlong).
Docs are staged in:
http://asolovay.mtv:8901/guide/topics/ui/settings.html#Listening
http://asolovay.mtv:8901/reference/android/content/SharedPreferences.html#registerOnSharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener)
Bug: 10437648
Change-Id: I48f5b87fa2ca7a240661d0cc00114d225819d54d
2014-05-19 16:05:06 -07:00
Mark Renouf
facdea7f69
Override windowContentOverlay and windowBackground for Theme.Micro.*
...
Change-Id: Iab40fb70398ad2ce87b613aa9278cb87f7a35d84
2014-05-19 15:10:05 -04:00
Ben Murdoch
422c7a5834
Add PackagManager flag for WebView system feature.
...
Add a flag for PackageManager.hasSystemFeature to determine
if a functional webview is available on the device.
Bug: 13438487
Change-Id: I770f7e924b3e5fa6be0397904acf18c9306096e4
2014-05-19 12:46:41 +01:00
Ben Murdoch
3011fc1aa7
Merge "Fallback to NullWebView when Chromium WebView not present." into klp-modular-dev
2014-05-19 11:26:33 +00:00
Joe LaPenna
45734b4ae1
Merge "Log accept and close debug statements in BluetoothSocket." into klp-modular-dev
2014-05-17 01:55:06 +00:00
Griff Hazen
50c11659f0
Fix Notification sdk docs build.
...
Builder#X looked like it was considered ambiguous even though Action
was not in scope. Intellij disagreed but this fixes the issue.
Change-Id: I51fac39b2a4834e25f936c6eae223cda8c9c610e
2014-05-16 09:46:31 -07:00
Ben Murdoch
0e04bcfbdc
Fallback to NullWebView when Chromium WebView not present.
...
If it's not possible to load the Chromium WebView, fallback to loading
the NullWebView that will throw UnsupportedOperationException.
Bug: 13438487
Change-Id: If44b8b7a569c2f8e0e8bba7e6953288802d1c9e0
2014-05-16 13:41:12 +01:00
Griff Hazen
959591e3ba
Add support for extendable actions to Notification.
...
Change-Id: I2945a6994a28fc454af3f84e75c96d7619547f01
2014-05-15 22:26:18 -07:00
Justin Koh
0ade263c28
Merge "If there is only 1 simple global action, autolaunch it" into klp-modular-dev
2014-05-15 17:17:14 +00:00
Baligh Uddin
aab161cf2c
Import translations. DO NOT MERGE
...
Change-Id: I443d4950531e7ab7018cb5db1b8316f1b8baaa9e
Auto-generated-cl: translation import
2014-05-14 10:44:46 -07:00
Justin Koh
1c46c2d784
If there is only 1 simple global action, autolaunch it
...
Requested by UX. Also made settings available before provisioning
Bug: 14683740
Bug: 14886954
Change-Id: If62ccc6472a72b7adb4d309ee89e51069f8e0413
2014-05-14 17:30:32 +00:00
Joe LaPenna
f3de98a2d0
Log accept and close debug statements in BluetoothSocket.
...
Bug: 14902781
Bug: 14784262
Change-Id: Id0c2cd216244e05c218568427bda863a538b1041
2014-05-13 18:53:11 -07:00
Justin Koh
78b94de4b5
Set KITKAT_WATCH to be level 20, document API specific changes.
...
Bug: 14116162
Change-Id: Iab094dbd0add414a365234c275bd473787b8803b
2014-05-13 16:03:18 -07:00
Justin Koh
e98122ed5d
Hide new methods in notificationlistenerservice DO NOT MERGE
...
Hide new methods in notificationlistenerservice for now.
Bug: 14116162
Change-Id: Ib57fd2feff174ab8638bd172710873e9e2be553a
2014-05-13 15:10:16 -07:00
Aaron Whyte
5ff35f8a7f
Merge "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859" into klp-modular-dev
2014-05-13 20:32:21 +00:00
Baligh Uddin
a8e18c8152
Merge "Import translations. DO NOT MERGE" into klp-modular-dev
2014-05-13 15:41:05 +00:00
Aaron Whyte
1fb617fecd
Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork.
...
Make LauncherActivity CTS tests pass on clockwork.
Bug: 14657859
Change-Id: I342eea5afafd56bed9b4138b97c2e906a10d300d
2014-05-12 22:08:53 -07:00
Aaron Whyte
6af2ef8e25
Merge "Revert "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859"" into klp-modular-dev
2014-05-13 02:24:13 +00:00
Aaron Whyte
d5f010e4e7
Revert "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859"
...
This reverts commit 3f3e3e87e2 .
Change-Id: I799d9a2b0eeb708f57127be60780c7a005b792b5
2014-05-13 02:19:10 +00:00
Aaron Whyte
24f3d0915e
Merge "Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork. Make LauncherActivity CTS tests pass on clockwork. Bug: 14657859" into klp-modular-dev
2014-05-13 01:44:18 +00:00
Aaron Whyte
3f3e3e87e2
Disallow FEATURE_INDETERMINATE_PROGRESS for clockwork.
...
Make LauncherActivity CTS tests pass on clockwork.
Bug: 14657859
Change-Id: I0a8641894b41058f53a5bf241763a9a0605244d1
2014-05-12 17:20:02 -07:00
Tim Kilbourn
05c581ac4d
Merge "DO NOT MERGE Hide more leanback stuff." into klp-modular-dev
2014-05-12 18:41:11 +00:00