75037 Commits

Author SHA1 Message Date
Jeff Sharkey
4b12171c64 Merge "Update Environment fallback defaults." 2012-04-18 12:23:54 -07:00
Jeff Sharkey
e7d9cd363d Merge "Add ALLOW_METERED column to DownloadManager." 2012-04-18 12:22:49 -07:00
Andreas Huber
91befdc0c4 Information required to decrypt buffers is now packaged into MediaCodec.CryptoInfo
New API on MediaExtractor to retrieve a CryptoInfo structure where applicable.

Change-Id: I18edfc9ac56a4544c8f17cba24401b96dacbff7d
related-to-bug: 6275919
2012-04-18 12:19:51 -07:00
Eric Laurent
10536b657d rename audio policy flags
Change-Id: Id273d1366ed2dc9ae9f38497414a68523bceae66
2012-04-18 10:48:42 -07:00
Joe Fernandez
68822239a5 docs: Android SDK r19 Release Notes
Change-Id: I9db59116259d087f03598f87aac099772a831eff
2012-04-18 10:45:42 -07:00
Michael Kolb
23a2ce1fad Merge "Prevent dialog from invalid context" 2012-04-18 10:40:59 -07:00
Jeff Sharkey
15ec7d6d7f Add ALLOW_METERED column to DownloadManager.
Also allow isActiveNetworkMetered() to inspect networks without
requiring ACCESS_WIFI_STATE.

Bug: 3001465
Change-Id: Ibc23577d4ad941e4f93db417be6b046881dcbfb1
2012-04-18 10:12:09 -07:00
Amith Yamasani
3cdfcdc1c4 Merge "Fix an NPE when launching an activity that's not found." 2012-04-18 10:04:28 -07:00
Amith Yamasani
95a6a96e1c Fix an NPE when launching an activity that's not found.
Bug: 6356194
Change-Id: I66aeeda3ecab36a4aa32fb78c1d0559a73cd9a7a
2012-04-18 09:54:43 -07:00
Fred Chung
f52b6ede24 am 59ec795a: am 3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1
* commit '59ec795a0798a4a7b4e7e5e0c214a826556f2c5d':
2012-04-18 09:32:08 -07:00
Chris Wren
26fbf27ad1 fixing the build break in notification_template_big_text.xml
Change-Id: Ibeef587e27d1f97dae2b6184be5e7b2548768f5e
2012-04-18 11:50:56 -04:00
Michael Kolb
dfceaf2cdb Prevent dialog from invalid context
Bug: 6346748

Change-Id: Ia65ecc1ecb882b480127aca0034db25a9e51ed3c
2012-04-18 08:37:41 -07:00
Daniel Sandler
6a858c347f Gestures for expanding notifications.
Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
2012-04-18 11:21:19 -04:00
Chet Haase
3d100d97a5 Merge "Fix logic of animator start/cancel/end callbacks" 2012-04-18 07:41:45 -07:00
Daniel Sandler
b9a6d4d052 Merge "New InboxStyle template for expanded notifications." 2012-04-18 05:28:00 -07:00
satok
e1e874854a Optimize the timing to query sentence level spell checking
Bug: 6354647
Change-Id: I52e6c21387c7f4d6fc05b4c50bbb0a5a6c75194b
2012-04-18 16:52:44 +09:00
p13451
0445bc6e4e Transparent activity orientation problem when previous landsacpe fullscreen activity not yet destroyed.
After terminating landsacpe fullscreen activity,
when user launch transparent activity via portrait home app, transparent activity is shown as landscape mode.

At this time AppWindowToken of previous acitivity has not been deleted, because Activity.onDestory() has not been returned yet.
In this case, getOrientationFromAppTokensLocked() returned ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE.

Ignore hidden application is terminated on the top.
See also http://code.google.com/p/android/issues/detail?id=28927

Change-Id: I51239431120ec6ba8f8ff76871efb2347b9810ca
2012-04-18 15:13:26 +09:00
Bart Sears
cdd9d43c4e Merge "Try out the latest SystemUI version of DroidNaskh" 2012-04-17 22:11:46 -07:00
Michael Chan
2c1dcfdabb Merge "Added identity and namespace to Calendar Attendees" 2012-04-17 21:27:53 -07:00
Daniel Sandler
879c5e07c0 New InboxStyle template for expanded notifications.
Bug: 6336834
Change-Id: I67b273350b984673cbfb19267451a3782d0477fc
2012-04-17 23:41:58 -04:00
Jeff Brown
6947fd0f96 Merge "Fix build." 2012-04-17 19:53:47 -07:00
Jeff Brown
426f905b84 Fix build.
Change-Id: I277042c91b34af59e70941fd5b458581310b1c22
2012-04-17 19:52:56 -07:00
Steven Ross
b7f0af2aca Merge "Always showing FaceUnlock view before bind fixes 6330358" 2012-04-17 19:30:23 -07:00
Svetoslav Ganov
6da9677f49 Merge "Views with zero alpha are shown for accessibility." 2012-04-17 19:29:42 -07:00
Svetoslav Ganov
b3830f6737 Views with zero alpha are shown for accessibility.
1. Views that a user cannot see should not be reported for
   accessibility. The check for zero alpha was missing.

bug:6291855

Change-Id: I3cb4c19cccf0dc2427677df630d124c36bd4770b
2012-04-17 19:27:38 -07:00
Jeff Brown
6957b60378 Merge "Add Dvorak keyboard layout." 2012-04-17 19:21:34 -07:00
Michael Chan
37f1d29784 Added identity and namespace to Calendar Attendees
Bug: 6353721
Change-Id: I8cf7a5bbeb5380320b9bb11875168bef4e180b31
2012-04-17 19:03:38 -07:00
Jeff Brown
4a3862f6b0 Add Dvorak keyboard layout.
Added support for mapping both scan codes and HID usages to
KeyLayoutMap and KeyCharacterMap.  Keyboard overlays can
now influence how key events are mapped to key codes.

Bug: 6110399
Change-Id: I6619fd2d3e1337c55928f89869dbc45b535c7ccf
2012-04-17 18:50:05 -07:00
Michael Chan
62d52f9ff8 Fix build
Change-Id: I56d6305b6c28dab8c6d4d04d56df277e0ca39d91
2012-04-17 18:39:00 -07:00
James Dong
f7d3bdfc22 Merge "AddExternalSource(String path) needs to turn the path to fd if it is a file" 2012-04-17 18:36:48 -07:00
James Dong
c4c0284e45 AddExternalSource(String path) needs to turn the path to fd if it is a file
o related-to-bug: 5542712

Change-Id: Iea32012996ca9de4c86f144de916df64fcab3c52
2012-04-17 18:31:20 -07:00
Bart Sears
b285e83e26 Try out the latest SystemUI version of DroidNaskh
This is the latest drop (ver 1.00) of DroidNaskhShifAlt.ttf
from Monotype.  Checking it in so we can see if there is any
clipping.

Bug: 5987379
Change-Id: I25697e64c1643dc4d36fe4ff6a407549c1165d60
2012-04-17 18:25:16 -07:00
Jeff Brown
420489ca1f Merge "Support loading keyboard layout overlays from resources." 2012-04-17 17:59:03 -07:00
Jeff Brown
6ec6f79e1a Support loading keyboard layout overlays from resources.
Added the concept of a keyboard layout overlay, which is
a key character map file that has "type OVERLAY".

Added support for loading keyboard layout overlays from
resources dynamically.  The layouts are reloaded whenever they
are changed in the Settings application or an application
is installed.  This is somewhat more aggressive than necessary
so we might want to optimize it later.

Before system-ready, the input system uses just the generic
keyboard layouts that are included on the device system image.
After system-ready, it considers the user's selected keyboard
layout overlay and attempts to load it as necessary.  We need to
wait until system-ready before doing this because we need to
be in a state where it is safe to start applications or access
their resources.

Bug: 6110399
Change-Id: Iae0886d3356649b0d2440aa00910a888cedd8323
2012-04-17 17:56:32 -07:00
Michael Chan
4db3ca7f81 Merge "Add support for identity in calendar attendees" 2012-04-17 17:56:25 -07:00
Craig Mautner
1b66766f62 Merge "Add call-stack reporting methods into Debug" 2012-04-17 17:28:20 -07:00
Craig Mautner
a51a9564fd Add call-stack reporting methods into Debug
Added two public methods to Debug. These methods return a String
indicating the caller (getCaller()) or callers (getCallers(int depth))
of the calling method. The String indicates the class, method and line
number of the caller(s). Similar to using Throwable.fillInStackTrace()
but much more concise.

Change-Id: I53d0085aa50e4501d28e8eb3ad5b91ef700ac218
2012-04-17 17:25:50 -07:00
Jeff Sharkey
e704a15bbf Update Environment fallback defaults.
Change-Id: Ia385b03023e38c01546e57635ccf9b29d017220a
2012-04-17 16:28:44 -07:00
Guang Zhu
d7f256dd2f TileBenchmark test app needs read sdcard permission
Since the app is using JB API level, it's required to declare
an explicit READ_EXTERNAL_STORAGE permission

Change-Id: I84142d51aeab4bc28269a6fea716c8663e080118
2012-04-17 16:01:34 -07:00
Michael Chan
48ec622265 Add support for identity in calendar attendees
Bug: 6353721
Change-Id: I8667f55e09adf09b070323484342fc296240ff51
2012-04-17 15:58:28 -07:00
John Reck
06fd472390 Merge "Fix a bug with enterTouchMode removing focus" 2012-04-17 15:37:48 -07:00
Andreas Huber
c5cbcb51ba Merge "Make seekTo not throw exceptions." 2012-04-17 15:10:36 -07:00
Andreas Huber
2b9d6bd092 Make seekTo not throw exceptions.
Change-Id: I9d0469962364b86fbab920e9ac65f468fc630737
related-to-bug: 6276111
2012-04-17 15:02:22 -07:00
Alex Yakavenka
fe37acae72 Telephony: Dynamically instantiate IccCard
Change-Id: I8c4d800158fb1eb12de66d437cb0d76695ff98d3
2012-04-17 15:00:30 -07:00
Jean-Michel Trivi
e1123e7f36 Add support for scaling mode parameter in Visualizer effect
Add set/get methods to set how the Visualizer scales the captured
 data.

Change-Id: Ia1da00fd5474dd3484b59caf7d1d0a812d0347de
2012-04-17 14:44:23 -07:00
John Reck
09dd116cd3 Fix a bug with enterTouchMode removing focus
Bug: 6347083
 Fix an issue where enterTouchMode would remove focus from the
 view that already has focus and is focusableInTouchMode. This
 causes issues with WebView, as it updates internal state when
 losing and gaining focus.

Change-Id: I5c1f72cc08baf3445e2be9e0496606a53fb9929e
2012-04-17 14:29:05 -07:00
Chet Haase
17cf42cb85 Fix logic of animator start/cancel/end callbacks
The callbacks for animators in some corner cases were not being
called correctly. For example, startDelayed animators that were
started and then ended didn't send out the proper events.

This CL fixes that logic. Specifically:
- An animator that is end()'d will implicitly start() itself and then
assign an end value. This was already the case, but listeners were not
getting notified. Now this situation causes callbacks to listeners for
both the start and end events.
- startDelayed animators that are end()'d or cancel()'d prior to finishing
the startDelay phase will send out events (start and cancel/end, as appropriate)
to listeners.

Change-Id: I40a0f2fdb19d9ec7c3726a91363686c6ecb7d915
2012-04-17 13:58:44 -07:00
Chet Haase
df1423e28c Merge "Adding new CHANGING transition to LayoutTransition." 2012-04-17 13:56:28 -07:00
John Reck
6849e4dd45 Merge "Add destroyed check" 2012-04-17 13:54:54 -07:00
Steven Ross
fe444b48ba Always showing FaceUnlock view before bind fixes 6330358
Sets the view to visible directly on the UI thread when feasible
this includes all cases where FaceUnlock is bound.
The delay in processing a message was causing the bug.
This additionally replaces the call in the keyguardview show
with one when the facelockareaview is initialized.

Change-Id: I8511f175d68023372e11d6e76fa1c44df6ac8a3d
2012-04-17 16:36:55 -04:00