Andrew Solovay
5ae1335477
cherrypick from klp-docs docs: Corrected doc for getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38
...
Doc had inaccurately said that getLaunchIntentForPackage() throws an
exception if the package name is not recognized; in fact, it returns
null. Also cleaned up some style issues for that Javadoc item.
Doc is staged to:
http://asolovay.mtv:9655/reference/android/content/pm/PackageManager.html#getLaunchIntentForPackage(java.lang.String)
Bug: 15022655
Original SHA1: I2eab0956eaedac71289e19a3618a3553908f8c38
Change-Id: Ief8dfaac248ba03779c6f13237aff9b26d362fd9
2014-07-15 15:08:58 -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
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
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
Tim Kilbourn
05c581ac4d
Merge "DO NOT MERGE Hide more leanback stuff." into klp-modular-dev
2014-05-12 18:41:11 +00:00
Tim Kilbourn
d6fc5115a6
Merge "DO NOT MERGE Hide leanback packagemanager apis." into klp-modular-dev
2014-05-12 18:39:45 +00:00
Eino-Ville Talvala
1caeb10a7a
DO NOT MERGE: Add android.hardware.camera.external feature.
...
This feature will be listed by Android devices that allow for an
external camera to be connected to it. Such camera devices may
not always be available or connected.
Also clarify that android.hardware.camera.any also encompasses
devices that list android.hardware.camera.external.
Change-Id: I57497758877e4286c1f0116961731d483b56808f
2014-05-08 21:47:36 +00:00
Vinod Krishnan
b9d71fa108
Merge "Adding a HeartRate Feature" into klp-modular-dev
2014-05-07 20:33:12 +00:00
Tim Kilbourn
7c433b3d9c
DO NOT MERGE Hide more leanback stuff.
...
- leanback intent category
- FLAG_IS_GAME
Bug: 14116162
Change-Id: I5665dda4c47e24a06707df4989ee117b4e91c246
2014-05-06 16:54:34 -07:00
Tim Kilbourn
eeeacab5d5
DO NOT MERGE Hide leanback packagemanager apis.
...
Bug: 14116162
Change-Id: I410d720013ba4e2bc1b0f8a6973daba5ca9008c6
2014-05-06 14:33:02 -07:00
Justin Koh
e5238f53f0
Hide HDMI CEC from KKWT DO NOT MERGE
...
Hide HDMI CEC from KKWT.
Bug: 14116162
Change-Id: I086a5e51bd848a5097ccb0c47900fde30db2e7aa
2014-05-05 22:19:19 +00:00
Vinod Krishnan
8afb23cbf6
Adding a HeartRate Feature
...
Bug: 14140142
Change-Id: I080bf12995355eac7621ef46e1a4a64d1f865500
2014-05-05 11:53:28 -07:00
Craig Mautner
ffd14a13ce
Add activity attribute allowEmbedded
...
Activitys without allowEmbedded=true may not be launched in an ActivityView.
Fixes bug 13693121.
Change-Id: I431d554300fc3504ab1bc7d73a58d5dad24f8639
2014-04-24 08:41:29 -07:00
Kenny Root
89a086c16f
am cf677a37: am e00c9185: am 41ec218e: am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit 'cf677a37fb4560058fe29ebcac97f2c02bd55064':
Use hidden API to validate APK chains
2014-04-18 23:05:30 +00:00
Kenny Root
cf677a37fb
am e00c9185: am 41ec218e: am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit 'e00c9185262c675f1680920c258413299995042a':
Use hidden API to validate APK chains
2014-04-18 23:00:37 +00:00
Kenny Root
e00c918526
am 41ec218e: am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '41ec218e5f92904fe99c74bc35b9f5e4003c777a':
Use hidden API to validate APK chains
2014-04-18 22:56:26 +00:00
Kenny Root
41ec218e5f
am 6888bee5: am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '6888bee598b8c88f7a93ef2da06dd5659cc92dc6':
Use hidden API to validate APK chains
2014-04-18 22:50:12 +00:00
Kenny Root
6888bee598
am 5a0cc789: am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '5a0cc78929bf56c153696ffa16b602acfcc40089':
Use hidden API to validate APK chains
2014-04-18 22:43:08 +00:00
Kenny Root
5a0cc78929
am 2ed5f771: am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '2ed5f771c47c16e9c2be1f2025ef0a826f0290c3':
Use hidden API to validate APK chains
2014-04-18 22:37:38 +00:00
Kenny Root
2ed5f771c4
am 47231936: am 02bc4b04: am 4a62a6dc: am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '47231936c0593b87c3c9898767327f1516a7ec22':
Use hidden API to validate APK chains
2014-04-18 22:31:08 +00:00
Kenny Root
4a62a6dce9
am 451ed5f0: am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '451ed5f077b9f95deae809ae620bc210c253b922':
Use hidden API to validate APK chains
2014-04-18 22:14:14 +00:00
Kenny Root
451ed5f077
am 3ecaa88d: am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit '3ecaa88d83d04a0fd55b494829badbb41016f5a1':
Use hidden API to validate APK chains
2014-04-18 21:33:04 +00:00
Kenny Root
3ecaa88d83
am ecb013db: Merge "Use hidden API to validate APK chains" into jb-dev
...
* commit 'ecb013dbff5e33b95c49015fa375579e055911ae':
Use hidden API to validate APK chains
2014-04-18 18:14:32 +00:00
Kenny Root
16c6b177ee
Use hidden API to validate APK chains
...
Bug: 13678484
Change-Id: I28dedab74b0e24d47ab9f2190298156c909e9d54
2014-04-17 14:03:33 -07:00
Deepanshu Gupta
ec6676ddf6
am 86384880: am f1e71876: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
...
* commit '863848808d005fe1d2fd84a2982adfc02a3fbb9f':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-04-16 18:40:55 +00:00
Deepanshu Gupta
863848808d
am f1e71876: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
...
* commit 'f1e7187645f0b0388f7b97d742395efd228b347a':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-04-16 18:37:10 +00:00
Deepanshu Gupta
f1e7187645
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
...
Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
(cherry picked from commit bfec73c2db )
Conflicts:
core/java/android/content/res/Resources.java
tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
2014-04-15 20:03:19 -07:00
Jose Lima
970417c7d3
Added getLeanbackLaunchIntentForPackage()
...
Change-Id: I23be3bfa59be812a915adc37e08fdf59be8ad90f
2014-04-11 10:54:39 -07:00
Jeff Brown
037c33eae7
Plumb display power state through display manager.
...
Declare a new method, Display.getState() to retrieve the actual
power state of a display.
Improved documentation for Intent.ACTION_SCREEN_ON and
Intent.ACTION_SCREEN_OFF to clarify what they really mean in
terms of the interactive state of the device.
Deprecated PowerManager.isScreenOn() and replaced it with
PowerManager.isInteractive() with a more suggestive name and
better documentation.
Redirect display power state changes to go through the display
manager first and only then head over to the power manager for
legacy compatibility.
Eliminated the bright here and woke here policy flags since they
were unused. Simplified the input dispatch policy somewhat.
Ensure that screen wake locks are respected up until the point
when dozing really begins.
Fixed a regression in DreamService where onDreamingStarted
might be called before onWindowAttached.
Bug: 13133142
Bug: 13472578
Bug: 13929355
Bug: 13760290
Change-Id: Iabef96921dd554ce3768fb18619cefc3230b5fb0
2014-04-10 20:46:14 -07:00
John Spurlock
5c31e487c4
Merge "Introduce new UI_MODE_TYPE_WATCH and qualifier." into klp-modular-dev
2014-04-04 19:24:09 +00:00
John Spurlock
6c191299a7
Introduce new UI_MODE_TYPE_WATCH and qualifier.
...
Default ui mode to watch if we have FEATURE_WATCH.
Bug:13395758
Change-Id: Ie5ff95de60e69e91ad3612c7d2f1fca7f49061bd
2014-04-04 15:21:53 -04:00
Ricardo Cervera
d10b654315
am 5df82523: am ff3d89c0: Merge "docs: Added permissions note for Context.getFilesDir. Bug: 13716053" into klp-docs
...
* commit '5df825237afd016c48dd3577d839825e5161d3e7':
docs: Added permissions note for Context.getFilesDir. Bug: 13716053
2014-04-04 17:42:44 +00:00
Ricardo Cervera
90a5f9851a
docs: Added permissions note for Context.getFilesDir. Bug: 13716053
...
Change-Id: I02e17c358630ab298bb99731723405cdeae701fc
2014-04-04 10:26:05 -07:00
Jose Lima
eb2c85df4b
Merge "Added isGame application tag to the manifest" into klp-modular-dev
2014-03-24 15:49:18 +00:00
Jinsuk Kim
fbcd503645
Add HdmiCecManager
...
Introduces HdmiCecManager/HdmiCecClient to provide apps/system components
with the way to access HdmiCecService via Context.getSystemService(HDMI_CEC_SERVICE).
Change-Id: I39da071a328074a4b7b049947943688bd7779c26
2014-03-24 08:19:39 +09:00
Jose Lima
12d0b4cd96
Added isGame application tag to the manifest
...
Added the ability to flag applications as Games in the manifest,
so they can receive a different treatment in the UI.
Change-Id: I4c36bc1a96757030fad58ee050cd68491b31bb6c
2014-03-21 15:14:45 -07:00
Tim Kilbourn
f94b6a93a4
Add leanback device features.
...
android.software.leanback - the device supports leanback UIs.
android.software.leanback_only - the device ONLY supports leanback UIs.
leanback_only is a hidden feature for now.
Change-Id: I497bd96464125ad81212c804e150f210f3e95af2
2014-03-13 15:02:54 -07:00
Jose Lima
f78e312db2
Add banner attribute to app manifest
...
Change-Id: I28b0dc6dee9623ec7534bb0e741b88f439b48c9f
2014-03-12 18:07:38 -07:00
Jose Lima
38b75b6126
Added LEANBACK_LAUNCHER Intent category
...
Change-Id: I4f5ccfa9725106f558972c73abbe3f9435267c75
2014-03-11 10:43:31 -07:00
John Spurlock
e3a6a7b469
am 841aa8db: am 5237a792: am 8c44c394: Doc fixups to ContentResolver, MediaRouter.
...
* commit '841aa8db20d09d80cd71ef2ed8eaebd4ebccfcc5':
Doc fixups to ContentResolver, MediaRouter.
2014-03-03 17:04:01 +00:00
John Spurlock
841aa8db20
am 5237a792: am 8c44c394: Doc fixups to ContentResolver, MediaRouter.
...
* commit '5237a792aabaa49063b15cefa26f0341ea9cd311':
Doc fixups to ContentResolver, MediaRouter.
2014-03-03 17:00:49 +00:00
John Spurlock
5237a792aa
am 8c44c394: Doc fixups to ContentResolver, MediaRouter.
...
* commit '8c44c394bf82a9a8b30bef32ddf46aeed31d8ae4':
Doc fixups to ContentResolver, MediaRouter.
2014-03-03 16:57:22 +00:00
John Spurlock
8c44c394bf
Doc fixups to ContentResolver, MediaRouter.
...
Change-Id: Ie821f971adf8fbbbbb6347713ae658e421d81cb8
2014-03-03 10:14:41 -05:00
Justin Koh
b5731f091c
Add hardware feature describing a watch.
...
Add hardware feature describing a watch so that hardware can specify that
it is a device that is worn on the body (perhaps the wrist).
Change-Id: I9d4cb7e86067f6ad41b39bcc545222b3b0fbf890
2014-02-18 18:12:24 -08:00
Adam Lesinski
3d9bcb90ee
Create FEATURE_ constants for print and backup
...
Bug:13079822
Change-Id: I6f4b759951d45989e8aad4011fae431ee2ecae0c
2014-02-18 14:33:00 -08:00
Craig Mautner
e1f3fa2482
Clarify FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET usage
...
Fixes bug 12592453.
Change-Id: Ib64559727d59b3433c3753f9fda88329effc7e26
2014-01-31 11:20:40 -08:00
Narayan Kamath
7866f2fcfa
am 8005b9af: am 3c30eff6: Merge "Remove unused field from AssetManager."
...
* commit '8005b9af11ea366672d739769510240f931f3050':
Remove unused field from AssetManager.
2014-01-24 01:42:08 -08:00
Narayan Kamath
2f756cbb5a
Remove unused field from AssetManager.
...
This field was introduced in commit 4bdd33b81a17 but wasn't
used there (or since).
Change-Id: I0615e98b8990d42da6b85f8094ab19eb0465fd9e
2014-01-22 11:09:09 +00:00
Narayan Kamath
03e8be757d
am 8796ab7f: am bb35356d: Merge changes Id54087dd,I946325e4,I2a2b2e68
...
* commit '8796ab7f22d3e9f5b85571e8851851c023416f96':
AArch64: Use long for pointers in BitmapRegionDecoder
AArch64: Use long for pointers in Movie class
AArch64: Add AssetInputStream.getNativeAsset
2014-01-16 07:35:06 -08:00