121607 Commits

Author SHA1 Message Date
Jeff Brown
010e561a70 Add dumpsys to dock observer.
Minor refactoring of dock observer to allow its state to be
inspected and modified via dumpsys for debugging purposes.

eg. View current state.
adb shell dumpsys DockObserver

eg. Simulate being docked.
adb shell dumpsys DockObserver set state 1

eg. Reset back to normal.
adb shell dumpsys DockObserver reset

Change-Id: Ie48db775290ebed9aa4d9d9d5ac5a6fcb6122ac9
2014-05-29 17:48:33 -07:00
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
d7439d8c59 Merge "Add confidence to the heart rate monitor definition and clarify onAccuracyChange" into klp-modular-dev 2014-05-27 18:03:13 +00:00
Craig Mautner
1b4bf857d3 Do not start tasks on ActivityViews unless explicit
New tasks were being started on ActivityViews because they
matched packages. This fix enforces a rule that new tasks
can only be started on ActivityViews if they are explicitly
targeted for that ActivityView.

Fixes bug 15162447.

Change-Id: I9ccb72171b5cda0897a0b9ffe4cbebfbb0d92c2c
2014-05-27 09:19:28 -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
Scott Main
e5c9c92c23 am a4c95869: am 1f1bb9d0: Merge "add style to community page to adapt to the new sticky nav styles. basically override the new style to use the previous style because this page does not use sticky nav." into klp-docs
* commit 'a4c95869ed2727ecc471e218b204657b7eaf8b5c':
  add style to community page to adapt to the new sticky nav styles. basically override the new style to use the previous style because this page does not use sticky nav.
2014-05-23 21:52:43 +00:00
Scott Main
a4c95869ed am 1f1bb9d0: Merge "add style to community page to adapt to the new sticky nav styles. basically override the new style to use the previous style because this page does not use sticky nav." into klp-docs
* commit '1f1bb9d06830552269c68bf3bd1e7184f1a7bb9d':
  add style to community page to adapt to the new sticky nav styles. basically override the new style to use the previous style because this page does not use sticky nav.
2014-05-23 21:49:15 +00:00
Scott Main
1f1bb9d068 Merge "add style to community page to adapt to the new sticky nav styles. basically override the new style to use the previous style because this page does not use sticky nav." into klp-docs 2014-05-23 21:45:33 +00:00
Griff Hazen
00389a46ea Fix build: CheckBuild line for removed wearable package
Change-Id: I26e39dc11add182e07bcc13456a166c86c911210
2014-05-23 05:10:05 +00: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
Aravind Akella
73da981fd6 Merge "Remove getRequiredPermission from NDK." into klp-modular-dev 2014-05-22 22:01:23 +00:00
Andrew Solovay
9562863cf1 doc: Updated branding guidelines per request from @deniseamling.
Per her team's request, I also removed the AI version of the Google
Play Store icon, and replaced it with a high-rez PNG version.

Current version of doc is staged at:

http://asolovay.mtv:9010/distribute/tools/promote/brand.html

(Denise gave me a LGTM via email.)

Bug: 14621461

Change-Id: Id44a0dc73c7ef2f2bde595a1e98b75083d126176
2014-05-22 21:54:27 +00:00
Nick Vaccaro
117df28201 Don't grab wakelock if Wifi feature not supported on device
Only grab the suspend wakelock when handling screen on/off
transitions if the device actually supports Wifi.

Bug: 14250726
Change-Id: Ic332cf84e40622ab6bbe60a2288ee478f1cabb2a
2014-05-22 21:48:22 +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
Aravind Akella
8bcdd9b7a5 Remove getRequiredPermission from NDK.
Change-Id: Ieb1e97e44ef335e6087ba9164058fe3535e9998a
2014-05-22 13:33:52 -07:00
Andrew Solovay
7f24adf19b Merge "Noted that OnSharedPreferenceChangeListener does not store a strong reference to the listener." into klp-docs 2014-05-22 20:23:50 +00: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
adb0a906dc Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-05-22 03:06:14 +00:00
Baligh Uddin
b9c1e5a829 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-05-22 03:04:53 +00:00
Baligh Uddin
74e7e2d844 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-05-22 03:04:49 +00:00
Baligh Uddin
5938757f51 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-05-22 03:04:46 +00:00
Baligh Uddin
675b48712e Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-05-22 03:04:44 +00:00
Quddus Chong
b11a52cb6f am a3c773e8: am 539f9e31: docs: Update the sample Gradle dependency declaration to reflect GMS K version.
* commit 'a3c773e836dcb97c7f1045c8347dc7267bd21936':
  docs: Update the sample Gradle dependency declaration to reflect GMS K version.
2014-05-21 23:39:46 +00:00
Quddus Chong
a3c773e836 am 539f9e31: docs: Update the sample Gradle dependency declaration to reflect GMS K version.
* commit '539f9e31726dc780f26901de06c35a4b2446c37a':
  docs: Update the sample Gradle dependency declaration to reflect GMS K version.
2014-05-21 23:23:33 +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
Quddus Chong
539f9e3172 docs: Update the sample Gradle dependency declaration to reflect GMS K version.
Change-Id: I5e5c40974b2fbaf61256d320d24acf5e0e9178d6
2014-05-21 14:36:11 -07:00
Baligh Uddin
8c703dc593 Import translations. DO NOT MERGE
Change-Id: I39fc3fb7096c632d5856dca116fdacb51ca1701d
Auto-generated-cl: translation import
2014-05-21 14:07:31 -07:00
Baligh Uddin
25cb436bbc Import translations. DO NOT MERGE
Change-Id: Ibb49ad5c4d9a81d64086f05d71e0ff769af3177e
Auto-generated-cl: translation import
2014-05-21 13:57:22 -07: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
Jim Miller
af103dd393 am 911176d7: am 607d5998: Fix crash in widget pager - DO NOT MERGE
* commit '911176d7e6c8ba28ed7f7be63edcb17456f615fe':
  Fix crash in widget pager - DO NOT MERGE
2014-05-21 20:39:41 +00:00
Jim Miller
911176d7e6 am 607d5998: Fix crash in widget pager - DO NOT MERGE
* commit '607d59982a046d23770a7289be6272ad5983d6ae':
  Fix crash in widget pager - DO NOT MERGE
2014-05-21 20:35:51 +00:00
Baligh Uddin
0f79af9aec Import translations. DO NOT MERGE
Change-Id: I49ddd704e0123b75945312b78c3754e112c0308d
Auto-generated-cl: translation import
2014-05-21 13:24:07 -07:00
Baligh Uddin
7399ffccc8 Import translations. DO NOT MERGE
Change-Id: If6387f104f7761afe32026d821f927c15729ee76
Auto-generated-cl: translation import
2014-05-21 13:21:04 -07:00
Vinod Krishnan
4f65a54561 Merge "Adding more DeviceDefault for CTS tests" into klp-modular-dev 2014-05-21 17:40:06 +00:00
Vinod Krishnan
9b8e4d01f6 Adding more DeviceDefault for CTS tests
Bug: 15091518
Change-Id: Iddabacbd023f031c9c4ec6fd4c4f60ce17b606c4
2014-05-21 10:28:57 -07:00
Dan Sandler
7509733c8d Elide extras strings from noman dumpsys output.
Bug: 14292528
Change-Id: I19cfb6b692e6901fa7f115ea675b1b03fc5ba176
(cherry picked from commit 44de3cfc08428378b93172a2b03f9785a3638678)
2014-05-21 15:57:10 +00:00
Baligh Uddin
ef2b35cc2e Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-05-21 15:34:11 +00:00
Jeff Brown
6099fd21e1 Merge "Fix build." into klp-modular-dev 2014-05-21 05:17:31 +00:00
Jeff Brown
61116acdc6 Fix build.
Change-Id: I00f040ab16cf8a3b7a995b4626d49e70b97fb294
2014-05-20 22:16:25 -07:00
Jeff Brown
9beccf9f9e Merge "Defer display ready until brightness ramp completes." into klp-modular-dev 2014-05-21 05:09:15 +00:00
Jeff Brown
4255869ac0 Defer display ready until brightness ramp completes.
Bug: 14494096
Change-Id: I6da6fffbbce2c7058170e5c6139eae4cb5a06d88
2014-05-20 22:02:46 -07: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
2d9b513dab Merge "I'm feeling the good vibrations." into klp-modular-dev 2014-05-21 02:35:09 +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