OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "docs: mention x86 as a native platform filter" into ics-mr1
Scott Main [Sat, 14 Jan 2012 02:21:42 +0000 (18:21 -0800)]
Merge "docs: mention x86 as a native platform filter" into ics-mr1

12 years agodocs: mention x86 as a native platform filter
Scott Main [Sat, 14 Jan 2012 02:20:10 +0000 (18:20 -0800)]
docs: mention x86 as a native platform filter

Change-Id: I003b1e0e649f36e8971df85ef2a28f991875d605

12 years agoMerge "Update notification documentation to follow current guidelines." into ics-mr1
Dianne Hackborn [Sat, 14 Jan 2012 00:36:05 +0000 (16:36 -0800)]
Merge "Update notification documentation to follow current guidelines." into ics-mr1

12 years agocherrypick from hc-mr2, updated adk installation instructions Change-Id: I6a0e21a79b8...
Daniel Sandler [Thu, 12 May 2011 19:49:07 +0000 (15:49 -0400)]
cherrypick from hc-mr2, updated adk installation instructions Change-Id: I6a0e21a79b81c3383d1fa05a4893bab5626dbe05

Change-Id: I8910c0982ffe2be482f6ae1a49343a1c79be0632

12 years agoMerge "Fix issue with selecting proper JNI libraries" into ics-mr1
Kenny Root [Fri, 13 Jan 2012 21:11:02 +0000 (13:11 -0800)]
Merge "Fix issue with selecting proper JNI libraries" into ics-mr1

12 years agoMerge "Fix issue #5823276: home repaints after full-screen app is exited" into ics-mr1
Dianne Hackborn [Fri, 13 Jan 2012 20:56:40 +0000 (12:56 -0800)]
Merge "Fix issue #5823276: home repaints after full-screen app is exited" into ics-mr1

12 years agoMerge "Update to latest version of Roboto" into ics-mr1
Bart Sears [Fri, 13 Jan 2012 20:32:43 +0000 (12:32 -0800)]
Merge "Update to latest version of Roboto" into ics-mr1

12 years agoMerge "Streamline package-installed handling by the Backup Manager" into ics-mr1
Christopher Tate [Fri, 13 Jan 2012 19:49:20 +0000 (11:49 -0800)]
Merge "Streamline package-installed handling by the Backup Manager" into ics-mr1

12 years agoUpdate to latest version of Roboto
Bart Sears [Fri, 13 Jan 2012 19:44:23 +0000 (11:44 -0800)]
Update to latest version of Roboto

Bug: 5527891

U+0125 (h with Circumflex):  Moved the Circumflex to not stick out
       beyond the left edge of the "h"
U+0300, U+0301, U+0303, U+0309, U+030F, U+0323: Move to the left so
       that they can be composited.
U+047C (Capital Omega with Titlo): Fixed the Titlo accent
U+047D (Small Omega with Titlo): Fixed the Titlo accent
U+048E (Capital ER with tick): Changed the tick to be diagonal
U+2248 (Almost equal to):  Added the glyph

Change-Id: Ibcadcd008a58f42d8bd4238d768101d8bf726ff6

12 years agoMerge "Fix teardown of secondary connections on CDMA" into ics-mr1
John Huang [Fri, 13 Jan 2012 19:37:15 +0000 (11:37 -0800)]
Merge "Fix teardown of secondary connections on CDMA" into ics-mr1

12 years agoMerge "cherrypick from master - add overview description for RS API reference Change...
Robert Ly [Fri, 13 Jan 2012 18:13:14 +0000 (10:13 -0800)]
Merge "cherrypick from master - add overview description for RS API reference Change-Id: Id5554c607ad4c435f92bfa939e4ce4833a638f62" into ics-mr1

12 years agocherrypick from master - add overview description for RS API reference Change-Id...
Robert Ly [Fri, 13 Jan 2012 18:07:20 +0000 (10:07 -0800)]
cherrypick from master - add overview description for RS API reference Change-Id: Id5554c607ad4c435f92bfa939e4ce4833a638f62

Change-Id: Iff4b4bd171818208bb3be46dd3ef7e91b6cbd80f

12 years agoFix teardown of secondary connections on CDMA
Robert Greenwalt [Fri, 13 Jan 2012 01:38:54 +0000 (17:38 -0800)]
Fix teardown of secondary connections on CDMA

Restores functionallity from Gingerbread.  We should tear down when the
enabledcount goes to zero, but we should always notify and attempt to
switch back to default when indicated.

bug:5830081
Change-Id: Ib8469bb5369da21e8cc05fb755b2d7e24c8e02a6

12 years agoStreamline package-installed handling by the Backup Manager
Christopher Tate [Wed, 11 Jan 2012 22:41:19 +0000 (14:41 -0800)]
Streamline package-installed handling by the Backup Manager

In particular, don't do O(asec_apps * installed_apps) work during the
broadcast receiver's operation.  On devices with many installed apps
and a large number of them moved to ASECs, this was causing the system
process to become unresponsive and the watchdog to fire -- which in turn
would initiate a restart loop, as the same package-installed broadcast
would then be issued again once the package manager rescanned the ASEC
containers, ad infinitum.  With this change, the expensive call to the
package manager is only made once rather than asec_apps times.

Bug 5850283

Change-Id: I14e280ea1fa6af19cebc58869a20fbb599c92c8c

12 years agoUpdate notification documentation to follow current guidelines.
Dianne Hackborn [Tue, 10 Jan 2012 23:24:26 +0000 (15:24 -0800)]
Update notification documentation to follow current guidelines.

The documentation is now consistent with the current UI guidelines
for handling notifications, and includes complete sample code showing
the correct way to do this.

Change-Id: I68f0afc62c2af164c3205535e62093679e2a256a

12 years agoMerge "docs: make AD logo clickable on home page" into ics-mr1
Scott Main [Thu, 12 Jan 2012 23:44:53 +0000 (15:44 -0800)]
Merge "docs: make AD logo clickable on home page" into ics-mr1

12 years agodocs: make AD logo clickable on home page
Scott Main [Thu, 12 Jan 2012 23:33:38 +0000 (15:33 -0800)]
docs: make AD logo clickable on home page

Change-Id: Ib8a94280d4183b82bcbc5969f2dff1a67c1ecc53

12 years agoMerge "VPN: silence VPN notifications." into ics-mr1
Chia-chi Yeh [Thu, 12 Jan 2012 22:24:30 +0000 (14:24 -0800)]
Merge "VPN: silence VPN notifications." into ics-mr1

12 years agoFix issue #5823276: home repaints after full-screen app is exited
Dianne Hackborn [Thu, 12 Jan 2012 22:05:03 +0000 (14:05 -0800)]
Fix issue #5823276: home repaints after full-screen app is exited

Don't consider a window as a candidate for the top fullscreen window
if it is not going to be a candiate for layout.

Also don't consider windows a candidate for layout if their app token
is hidden.  This fixes a transient state where we are preparing to
unhide the window but have not done so yet.

Change-Id: Ife5299ffa003c1df1a4f787b7a2809cbf614ec16

12 years agodocs: Android design CSS/JS fixes
Roman Nurik [Thu, 12 Jan 2012 21:57:44 +0000 (13:57 -0800)]
docs: Android design CSS/JS fixes

- Remove new window icon for Developer site link
- Make videos re-load and replay on click to prevent
  failed replay for unseekable videos

Change-Id: I689607d0d53247b0e599612cb7d23a98d6ad24a1

12 years agoMerge "docs: minor Design Principles fixes for Android Design" into ics-mr1
Roman Nurik [Thu, 12 Jan 2012 20:45:00 +0000 (12:45 -0800)]
Merge "docs: minor Design Principles fixes for Android Design" into ics-mr1

12 years agoMerge "Fix 5620754: don't show pattern screen after SIM PUK unlock" into ics-mr1
Jim Miller [Thu, 12 Jan 2012 20:28:59 +0000 (12:28 -0800)]
Merge "Fix 5620754: don't show pattern screen after SIM PUK unlock" into ics-mr1

12 years agodocs: minor Design Principles fixes for Android Design
Roman Nurik [Thu, 12 Jan 2012 20:08:07 +0000 (12:08 -0800)]
docs: minor Design Principles fixes for Android Design

Change-Id: I3d69c5fd420e7e6a7d70ebf4a65179af23a70859

12 years agoMerge "Clean up wifi/mobile indicators in the expanded panel." into ics-mr1
Daniel Sandler [Thu, 12 Jan 2012 19:38:39 +0000 (11:38 -0800)]
Merge "Clean up wifi/mobile indicators in the expanded panel." into ics-mr1

12 years agodocs: replace "decide for me image"
Scott Main [Thu, 12 Jan 2012 19:30:27 +0000 (11:30 -0800)]
docs: replace "decide for me image"
bug: 5860467

Change-Id: I45f10df561c9392dc5b4621305413d1e7621e05d

12 years agoMerge "Set Bluetooth adapter to PowerOff mode when turnoff with airplane on" into...
Matthew Xie [Thu, 12 Jan 2012 19:24:06 +0000 (11:24 -0800)]
Merge "Set Bluetooth adapter to PowerOff mode when turnoff with airplane on" into ics-mr1

12 years agoMerge "docs: update text and image for "let me make it mine" prinicple in design...
Scott Main [Thu, 12 Jan 2012 19:22:24 +0000 (11:22 -0800)]
Merge "docs: update text and image for "let me make it mine" prinicple in design guide bug: 5853519" into ics-mr1

12 years agoMerge "docs: further clarify the behavior of targetSdkVersion bug: 5854083" into...
Scott Main [Thu, 12 Jan 2012 19:19:08 +0000 (11:19 -0800)]
Merge "docs: further clarify the behavior of targetSdkVersion bug: 5854083" into ics-mr1

12 years agodocs: update text and image for "let me make it mine" prinicple in design guide
Scott Main [Thu, 12 Jan 2012 19:16:35 +0000 (11:16 -0800)]
docs: update text and image for "let me make it mine" prinicple in design guide
bug: 5853519

Change-Id: I7cccbb6d6eb94f29cbad24d3a07c9222a963434c

12 years agoMerge "Disable wimax when mobile data is in Settings" into ics-mr1
Robert Greenwalt [Thu, 12 Jan 2012 17:24:45 +0000 (09:24 -0800)]
Merge "Disable wimax when mobile data is in Settings" into ics-mr1

12 years agoMerge "DO NOT MERGE - Cherry picking from master to MR1" into ics-mr1
Danielle Millett [Thu, 12 Jan 2012 15:28:24 +0000 (07:28 -0800)]
Merge "DO NOT MERGE - Cherry picking from master to MR1" into ics-mr1

12 years agoMerge "DO NOT MERGE cherry-picked FU framework tablet commits" into ics-mr1
Brian Colonna [Thu, 12 Jan 2012 14:33:49 +0000 (06:33 -0800)]
Merge "DO NOT MERGE cherry-picked FU framework tablet commits" into ics-mr1

12 years agoMerge "Remove sleep from test acitivity to avoid ANR when key event is injected bug...
Xia Wang [Thu, 12 Jan 2012 01:52:06 +0000 (17:52 -0800)]
Merge "Remove sleep from test acitivity to avoid ANR when key event is injected bug#: 5737922" into ics-mr1

12 years agoMerge "Get average value for image processing test bug#: 5566079" into ics-mr1
Xia Wang [Thu, 12 Jan 2012 01:51:48 +0000 (17:51 -0800)]
Merge "Get average value for image processing test bug#: 5566079" into ics-mr1

12 years agodocs: further clarify the behavior of targetSdkVersion
Scott Main [Wed, 11 Jan 2012 20:14:32 +0000 (12:14 -0800)]
docs: further clarify the behavior of targetSdkVersion
bug: 5854083

Change-Id: I913a245b754604165b4570447f797f7cc66af5f9

12 years agoMerge "Doc change: Adding Bluetooth HDP info." into ics-mr1
Katie McCormick [Thu, 12 Jan 2012 00:40:37 +0000 (16:40 -0800)]
Merge "Doc change: Adding Bluetooth HDP info." into ics-mr1

12 years agoDoc change: Adding Bluetooth HDP info.
Katie McCormick [Wed, 4 Jan 2012 00:32:34 +0000 (16:32 -0800)]
Doc change: Adding Bluetooth HDP info.

Change-Id: Icdc19ed9ea09422ac2ea01c03b4a569d8ae94121

12 years agoAdjust the mapping of LTE signal bars.
John Wang [Wed, 11 Jan 2012 22:47:19 +0000 (14:47 -0800)]
Adjust the mapping of LTE signal bars.

bug:5640958
Change-Id: I91efc5a81b505aae59dac9b1d69314efaffda6b6

12 years agoSet Bluetooth adapter to PowerOff mode when turnoff with airplane on
Matthew Xie [Wed, 11 Jan 2012 22:46:13 +0000 (14:46 -0800)]
Set Bluetooth adapter to PowerOff mode when turnoff with airplane on

Currently, when airplane mode was on and BT was on, turning BT off
moved BT to hotoff state. This fix moves BT all the way to Poweroff
state to have better power performance.
bug 5854282

Change-Id: I7ba41797a46a81ddb3a576453f2a8303b5eed525

12 years agoVPN: silence VPN notifications.
Chia-chi Yeh [Wed, 11 Jan 2012 22:26:24 +0000 (14:26 -0800)]
VPN: silence VPN notifications.

Bug: 5852859
Change-Id: I269d8de298a1fd69a8d777150ae97927537a5424

12 years agoMerge "Do Not Merge. Move ssl callbacks to webcore thread." into ics-mr1
Selim Gurun [Wed, 11 Jan 2012 22:18:14 +0000 (14:18 -0800)]
Merge "Do Not Merge. Move ssl callbacks to webcore thread." into ics-mr1

12 years agoClean up wifi/mobile indicators in the expanded panel.
Daniel Sandler [Wed, 11 Jan 2012 19:57:04 +0000 (14:57 -0500)]
Clean up wifi/mobile indicators in the expanded panel.

We now have two separate RSSI icons, one for wifi and one
for mobile data, as originally proposed in bug 5544770.
Each has an accompanying label showing the appropriate
network description string (PLMN or SSID or "No internet
connection"); these will be truncated as necessary to avoid
clobbering other UI elements in the panel.

Bug: 5543495
Bug: 5621224
Change-Id: I8fc322f8471fc94000e7230de359d3f1fe561b1e

12 years agoMerge "stagefright: limit audio gap for looped playback" into ics-mr1
Eric Laurent [Wed, 11 Jan 2012 19:10:38 +0000 (11:10 -0800)]
Merge "stagefright: limit audio gap for looped playback" into ics-mr1

12 years agoDo Not Merge. Move ssl callbacks to webcore thread.
Selim Gurun [Thu, 8 Dec 2011 02:39:24 +0000 (18:39 -0800)]
Do Not Merge. Move ssl callbacks to webcore thread.

Bug: 4586251

Cherry picking from master for ics-mr1.

Current ssl cert logic makes callbacks to webkit from the
UI thread. This is not right. Move the callbacks to proper thread.

Change-Id: I59affba47eca01b74e2bc33d88ef83a5850d6ce9

12 years agoPrevent Android Design sidenav links from opening a new window
Roman Nurik [Wed, 11 Jan 2012 07:59:20 +0000 (23:59 -0800)]
Prevent Android Design sidenav links from opening a new window

Change-Id: I0ec74fb7ae9e348717d0d96603cd03c58c03459d

12 years agodocs: editorial fix to homepage
Scott Main [Wed, 11 Jan 2012 05:10:08 +0000 (21:10 -0800)]
docs: editorial fix to homepage

Change-Id: Iaebcacb6be770435091de181e8ee3f9c81d58139

12 years agoFix 5620754: don't show pattern screen after SIM PUK unlock
Jim Miller [Wed, 11 Jan 2012 02:35:21 +0000 (18:35 -0800)]
Fix 5620754: don't show pattern screen after SIM PUK unlock

This fixes a bug introduced in testing 34a62348. The code now
properly invokes the callbacks before returning.

Change-Id: I637a8a792838379f0c8b42ef634da82787fcd961

12 years agoMerge "docs: add links to Android Design from dev docs" into ics-mr1
Scott Main [Wed, 11 Jan 2012 01:08:19 +0000 (17:08 -0800)]
Merge "docs: add links to Android Design from dev docs" into ics-mr1

12 years agoMerge "Android Design" into ics-mr1
Roman Nurik [Wed, 11 Jan 2012 01:01:45 +0000 (17:01 -0800)]
Merge "Android Design" into ics-mr1

12 years agoAndroid Design
Roman Nurik [Fri, 23 Dec 2011 00:18:19 +0000 (16:18 -0800)]
Android Design

Change-Id: I2692ca03fc4c0d088aec0588a36739203f4cf2d2

12 years agodocs: add links to Android Design from dev docs
Scott Main [Tue, 10 Jan 2012 01:36:46 +0000 (17:36 -0800)]
docs: add links to Android Design from dev docs

Change-Id: Ib2334be0a05d33008d2e4850547ff1c3b7b16764

12 years agoMerge "docs: fix broken links in .jd docs" into ics-mr1
Scott Main [Tue, 10 Jan 2012 20:53:42 +0000 (12:53 -0800)]
Merge "docs: fix broken links in .jd docs" into ics-mr1

12 years agoMerge "Fix 4560303: Add setting to lock later when power button pressed" into ics-mr1
Jim Miller [Tue, 10 Jan 2012 18:28:21 +0000 (10:28 -0800)]
Merge "Fix 4560303: Add setting to lock later when power button pressed" into ics-mr1

12 years agoDO NOT MERGE - Cherry picking from master to MR1
Danielle Millett [Wed, 21 Dec 2011 22:02:32 +0000 (17:02 -0500)]
DO NOT MERGE - Cherry picking from master to MR1

Fix 5783857: Device Policy Manager doesn't allow Face Unlock

This makes it so that if face unlock is enabled and then a device policy
manager that requires something more secure than face unlock is installed,
the user will be forced to choose a new acceptable lock type.

This was previously fixed for the case where the device had been reset, or
the shell was restarted after setting face unlock, but not for the case where the
device remained on between setting face unlock and setting up a device policy
manager.

Also changed the function ordering of saveLockPattern() so that the overloaded
wrapper function is next to the main function.

Change-Id: Ibed8c4ab137ebbc07fb143faef6f047bc6dc4474

12 years agoMerge "Fixes typo." into ics-mr1
Pin Ting [Tue, 10 Jan 2012 02:58:13 +0000 (18:58 -0800)]
Merge "Fixes typo." into ics-mr1

12 years agoFix 4560303: Add setting to lock later when power button pressed
Jim Miller [Sat, 7 Jan 2012 02:24:04 +0000 (18:24 -0800)]
Fix 4560303: Add setting to lock later when power button pressed

This adds a feature to delay locking the device when the power button
is pressed.  This fixes a use case where the user wants to turn off
the display (e.g. to save power) but doesn't want to lock the device.

For the case of a secure device (user has a pin/password/pattern),
this will lock the device immediately or not based on the setting.

For the non-secure case, this always "locks" the device to provide easy
access to the camera while preventing unwanted input.

Change-Id: Ie328485c3f7559e26896d761cbf0e69d3f4df4e2

12 years agoMerge "Unhide Resources APIs for getting resources at specific densities." into ics-mr1
Dianne Hackborn [Tue, 10 Jan 2012 00:47:35 +0000 (16:47 -0800)]
Merge "Unhide Resources APIs for getting resources at specific densities." into ics-mr1

12 years agostagefright: limit audio gap for looped playback
Eric Laurent [Mon, 9 Jan 2012 21:47:48 +0000 (13:47 -0800)]
stagefright: limit audio gap for looped playback

The audio gap when looping audio is mostly due to
a delay requested by the audio player when executing
the end of stream message. This is to allow the audio
to be drained out of the pipe before actually stopping the
AudioTrack.
This delay is not needed when looping as the AudioTrack
is not stopped.

The fix consists in ignoring the requested delay when the
looping flag is set in awesome player.

Issue 5800981.

Change-Id: Ib32d2930c53ecebc21ca8440e6e054c7e20db4a5

12 years agoFix Music import for Turkish locales.
Elliott Hughes [Tue, 3 May 2011 21:25:06 +0000 (14:25 -0700)]
Fix Music import for Turkish locales.

For non-localized strings like the keywords in SQL statements, we shouldn't use
locale-specific case transformations.

(Cherry pick of 03f8f84c345e7c861a6de889d434b9d82cf04c8d.)

Bug: 4284951
Change-Id: If5b7154f70a7db22837d071d1c57e929729b7d35

12 years agoDO NOT MERGE cherry-picked FU framework tablet commits
Brian Colonna [Mon, 9 Jan 2012 21:22:12 +0000 (16:22 -0500)]
DO NOT MERGE cherry-picked FU framework tablet commits

- cherry-picking framework CLs from master into ics-mr1 that are
  needed for FU to work on tablets

- needed for OEM partners even FU isn't going on xoom

Squashed commit of the following:

commit 3258f2528f558efdaf34ae15c5425f2d879848fe
Author: Brian Colonna <bcolonna@google.com>
Date:   Tue Dec 13 15:49:48 2011 -0500

    Added Face Unlock to tablet lockscreen layouts

    The Face Unlock Area was not part of the tablet layouts, so prior to
    this change, Face Unlock would not show up on tablets when selected as
    the unlock method.  The backup unlock method would show up instead.

    The goal here is for the pattern and PIN unlock layouts (in both
    portrait and landscape mode) to look the same as before this change.
    This was a little harder than it was with the phone layouts for two
    reasons:

    1) For the phones it was ok for Face Unlock to be sized such that it
    just covers the backup method.  For the tablets we want Face Unlock
    to cover far more real estate.

    2) The phones were based on a grid layout, whereas the tablet is a
    linear layout.

    Note that the diff makes the modifications look way more extensive
    than they actually are.  Basically, in most cases I am putting a
    relative layout around some existing portion of the layout and
    putting the Face Unlock Area area inside of the new relative layout.

    Change-Id: I478becddf2a9ee9fe7b6d653e604fa3ad89b822f

commit 821cfe85cf2b3daf074d9749dbf6e0a5663af0de
Author: Brian Colonna <bcolonna@google.com>
Date:   Mon Dec 19 15:51:10 2011 -0500

    Unbinding from FU when going to backup

    Lockscreen was stopping Face Unlock when going to the backup lock, but
    not unbinding from the Face Unlock service until the device was
    unlocked.

    This caused a bug on the tablets where Face Unlock would reappear when
    switching between portait and landscape orientations, even after the
    backup lock was exposed.  On an orientation change, Face Unlock is
    restarted if the service is bound to during the orientation change.
    Since it was bound to when it should not have been, Face Unlock was
    restarting when it should not have been.

    The wakelock is also now being poked on an orientation change because
    on the tablet you can keep Face Unlock alive by switching the
    orientation back and forth, but eventually the screen would go dark
    with Face Unlock running.

    Also, a conditional was moved in activateFaceLockIfAble() so the whole
    section isn't executed if Face Unlock is not in use.  Part of it was
    being executed with only the inner-most part having the check.  This
    did not cause any issues that I am aware of.

    Change-Id: Ib452b8ced28a507bf9272dbf5d3477a8abd1ba90

commit fa90bb76ac6b311d12b55d23df4ac44cec62c7b3
Author: Brian Colonna <bcolonna@google.com>
Date:   Mon Dec 12 18:02:23 2011 -0500

    Changed how Face Unlock coordinates are specified

    Was using View.getLeft() and View.getTop() to specify the upper-left
    corner of the Face Unlock area.  That gives coordinates relative the
    view, which was fine for the phones.  For the tablet it needs
    coordinates relative to the window (which still works for the phones).

    Also fixed a 'bug' where h and w were swapped.  However, it wasn't
    causing a problem because it was swapped in two places.

    Change-Id: I86c1f68439f1dcef826cfe6b8fb56c9a4a6b8dc3

Change-Id: I962c0486be85949e002b0a2701286a6a39251f36

12 years agoUnhide Resources APIs for getting resources at specific densities.
Dianne Hackborn [Mon, 9 Jan 2012 20:00:30 +0000 (12:00 -0800)]
Unhide Resources APIs for getting resources at specific densities.

This adds Resources.getDrawableForDensity() and
Resources.getValueForDensity().  These are needed for applications
to correctly retrieve larger icons such as in launcher when
running on a tablet.  We had already exposed the APIs to tell the
application which density to use for app icons on the current
device, but didn't unhide these APIs that allowed you to
actually retrieve them.

This is safe to do without introducing a new API level (as long
as we do it soon) because we know these APIs already exist in
Android 4.0, and there is no reason for anyone to be removing
them when building a device.

Change-Id: I5138e5dc908197b66a98d20af73c5374cb5d41d3

12 years agoFixes typo.
Pin Ting [Thu, 5 Jan 2012 07:52:10 +0000 (15:52 +0800)]
Fixes typo.

Change-Id: I79e09594017d1e2decb927bff0d7c8a0fc2873f2

12 years agoMerge "Switch camera sounds to always use the system enforced audio stream." into...
Eino-Ville Talvala [Fri, 6 Jan 2012 23:46:36 +0000 (15:46 -0800)]
Merge "Switch camera sounds to always use the system enforced audio stream." into ics-mr1

12 years agoMerge "getDuration can be only called after prepared. DO NOT MERGE" into ics-mr1
Bart Sears [Fri, 6 Jan 2012 23:45:13 +0000 (15:45 -0800)]
Merge "getDuration can be only called after prepared. DO NOT MERGE" into ics-mr1

12 years agoMerge "Fix an RuntimeExcpetion in GsmDCT.onDataSetupComplete" into ics-mr1
Wink Saville [Fri, 6 Jan 2012 22:27:56 +0000 (14:27 -0800)]
Merge "Fix an RuntimeExcpetion in GsmDCT.onDataSetupComplete" into ics-mr1

12 years agoMerge "Fix bug #5822825 Paint.measureText (char[] text, int index, int count) cannot...
Fabrice Di Meglio [Fri, 6 Jan 2012 22:19:20 +0000 (14:19 -0800)]
Merge "Fix bug #5822825 Paint.measureText (char[] text, int index, int count) cannot handle text more than 32K long - DO NOT MERGE" into ics-mr1

12 years agoMerge "Fixing crash when taking screenshot over secure window." into ics-mr1
Justin Ho [Fri, 6 Jan 2012 22:07:51 +0000 (14:07 -0800)]
Merge "Fixing crash when taking screenshot over secure window." into ics-mr1

12 years agoMerge "Updating default image wallpaper for tablet." into ics-mr1
Justin Ho [Fri, 6 Jan 2012 22:07:37 +0000 (14:07 -0800)]
Merge "Updating default image wallpaper for tablet." into ics-mr1

12 years agoDisable wimax when mobile data is in Settings
tk.mun [Fri, 6 Jan 2012 01:43:52 +0000 (10:43 +0900)]
Disable wimax when mobile data is in Settings

- Add wimax related code in handleSetMobileData to disable wimax when Moblie data is disabled (Settings -> Wireless & Networks - More -> Mobile Networks ->Data Enabled)

Change-Id: Ibf2d9da2eb90d161128005f26ac4b3e991526af4
Signed-off-by: tk.mun <tk.mun@samsung.com>
12 years agoSwitch camera sounds to always use the system enforced audio stream.
Eino-Ville Talvala [Thu, 5 Jan 2012 23:34:53 +0000 (15:34 -0800)]
Switch camera sounds to always use the system enforced audio stream.

Instead of picking between the music stream and the enforced audio
stream, change the camera service to always play sounds through
enforced system stream. Also update the currently-hidden CameraSound
API to match.

Bug: 5778365
Change-Id: I3cc64b1d1ff567dbac8020a665d5b19846197ff3

12 years agoFix an RuntimeExcpetion in GsmDCT.onDataSetupComplete
Wink Saville [Fri, 6 Jan 2012 01:21:46 +0000 (17:21 -0800)]
Fix an RuntimeExcpetion in GsmDCT.onDataSetupComplete

Instead of throwing an exception when the connection between
the DCT and a DC is broken (i.e. its null) it is treated as
an error with a new cause. And thus will be handled as other
typical errors.

Bug: 5798643
Change-Id: I46f1660ae78f118b54ab62504809723ca302b2ef

12 years agogetDuration can be only called after prepared. DO NOT MERGE
Teng-Hui Zhu [Thu, 5 Jan 2012 01:15:46 +0000 (17:15 -0800)]
getDuration can be only called after prepared. DO NOT MERGE

bug:5816130
Change-Id: Ia740a1a4da7f321356f24c35067f9499955289a9

12 years agoFix bug #5822825 Paint.measureText (char[] text, int index, int count) cannot handle...
Fabrice Di Meglio [Thu, 5 Jan 2012 22:34:42 +0000 (14:34 -0800)]
Fix bug #5822825 Paint.measureText (char[] text, int index, int count) cannot handle text more than 32K long - DO NOT MERGE

- do not clear the smart pointer when the cache entry does not fit the cache size

See http://code.google.com/p/android/issues/detail?id=23337

Change-Id: Id4533d9f8a396c310c9215157ec5a4c07f30c7f2

12 years agoMerge changes I1df85b6a,I7c6a68b6 into ics-mr1
Scott Main [Thu, 5 Jan 2012 17:42:52 +0000 (09:42 -0800)]
Merge changes I1df85b6a,I7c6a68b6 into ics-mr1

* changes:
  docs: second set of diagram updates
  docs: Update lifecycle diagrams to use new omnigraffle designs; add corresponding graffle files update discussion of activity state restore for clarification

12 years agodocs: second set of diagram updates
Scott Main [Tue, 3 Jan 2012 18:10:21 +0000 (10:10 -0800)]
docs: second set of diagram updates

Change-Id: I1df85b6a954c29344d537737da57683b2c7941fd

12 years agoFixing crash when taking screenshot over secure window.
Winson Chung [Thu, 5 Jan 2012 00:43:10 +0000 (16:43 -0800)]
Fixing crash when taking screenshot over secure window.

Change-Id: If3d4e458030e37aae3310b23dcad2ff5fe29fa73

12 years agoMerge "Enhancement on ICS data stall polling logic" into ics-mr1
Wink Saville [Wed, 4 Jan 2012 21:53:25 +0000 (13:53 -0800)]
Merge "Enhancement on ICS data stall polling logic" into ics-mr1

12 years agoMerge "Add support of dislaying Alpha tag for BIP commands" into ics-mr1
Wink Saville [Wed, 4 Jan 2012 21:50:04 +0000 (13:50 -0800)]
Merge "Add support of dislaying Alpha tag for BIP commands" into ics-mr1

12 years agoMerge "Support suggestedRetryTime in CDMA DCT" into ics-mr1
Wink Saville [Wed, 4 Jan 2012 21:47:55 +0000 (13:47 -0800)]
Merge "Support suggestedRetryTime in CDMA DCT" into ics-mr1

12 years agoMerge "Do not allow file:// access when it is disabled. Do not merge." into ics-mr1
Bart Sears [Wed, 4 Jan 2012 21:47:09 +0000 (13:47 -0800)]
Merge "Do not allow file:// access when it is disabled. Do not merge." into ics-mr1

12 years agoMerge "audioflinger: fix clicks on 48kHz audio." into ics-mr1
Eric Laurent [Wed, 4 Jan 2012 20:58:17 +0000 (12:58 -0800)]
Merge "audioflinger: fix clicks on 48kHz audio." into ics-mr1

12 years agodocs: add Teleepoch VID/driver info
Scott Main [Wed, 4 Jan 2012 19:47:18 +0000 (11:47 -0800)]
docs: add Teleepoch VID/driver info
and update Huawei url

Change-Id: I4d6720d132f0d4e53bb25aa225327e38ba969881

12 years agoEnhancement on ICS data stall polling logic
Kazuhiro Ondo [Thu, 22 Dec 2011 02:54:03 +0000 (20:54 -0600)]
Enhancement on ICS data stall polling logic

Put enhancements on data stall polling logic in ICS so that
stall recovery can kick in earler while screen is on.

Bug: 5767897
Change-Id: I4683fc45c0161f4374749c8e5840261c19a48f77

12 years agoDo not allow file:// access when it is disabled. Do not merge.
Ben Murdoch [Fri, 16 Dec 2011 18:08:30 +0000 (18:08 +0000)]
Do not allow file:// access when it is disabled. Do not merge.

Cherry pick of If2793f31cb37e0d3af15cb18e818bfa4058167fd

If WebSettings is configured to disallow access to file://
URLs, then block them.

Bug: 5773763
Change-Id: I0ab84cde90c955d31077329fddebc25978287c64

12 years agodocs: Update lifecycle diagrams to use new omnigraffle designs;
Scott Main [Thu, 29 Dec 2011 19:28:38 +0000 (11:28 -0800)]
docs: Update lifecycle diagrams to use new omnigraffle designs;
add corresponding graffle files
update discussion of activity state restore for clarification

Change-Id: I7c6a68b627b35d0b648fac071a06960a7e833686

12 years agoMerge "Tweak docs on 'adb logcat'" into ics-mr1
Christopher Tate [Wed, 4 Jan 2012 01:38:51 +0000 (17:38 -0800)]
Merge "Tweak docs on 'adb logcat'" into ics-mr1

12 years agoTweak docs on 'adb logcat'
Christopher Tate [Tue, 3 Jan 2012 22:03:06 +0000 (14:03 -0800)]
Tweak docs on 'adb logcat'

* Add description of 'threadtime' output format
* Remove description of highly-confusing and never-used 'thread' output format
* Adjust language slightly

Change-Id: I2dcc8b7e5e8c039659697e90d7a4b3746b9135e9

12 years agodocs: dasboard update for 1/3/12
Scott Main [Tue, 3 Jan 2012 19:54:50 +0000 (11:54 -0800)]
docs: dasboard update for 1/3/12

Change-Id: Ie584d9ee238b6d4a37c25dd7e30b0cf493cbfe47

12 years agodocs: fix broken links in .jd docs
Scott Main [Wed, 28 Dec 2011 00:22:27 +0000 (16:22 -0800)]
docs: fix broken links in .jd docs

Change-Id: Ide8bb1a11a704d6821b52a0128b24a76de2e707f

12 years agoAdd support of dislaying Alpha tag for BIP commands
Wink Saville [Tue, 3 Jan 2012 23:06:15 +0000 (15:06 -0800)]
Add support of dislaying Alpha tag for BIP commands

While BIP data call setup is still handled in RIL/Modem,
this patch is adding support of Alpha tag display on UI.
Alpha tag is optionally included in "OPEN Channel", "Close Channel",
"Send Data" or "Receive Data" command.

"Open channel" will be notified via RIL_UNSOL_STK_PROACTIVE_COMMAND
which requires TERMINAL RESPONSE based on user input.
"Close channel", "Send Data" and "Receive Data" commands
are send via RIL_UNSOL_STK_EVENT_NOTIFY just to display
transient notice.

Bug:5165510
Change-Id: I873e55274c860886bc816ce6fb07cb882d339214

12 years agoUpdating default image wallpaper for tablet.
Winson Chung [Tue, 3 Jan 2012 22:00:08 +0000 (14:00 -0800)]
Updating default image wallpaper for tablet.

Change-Id: Ia4784cf05ccbf819d35adb494cd181850f6b7e11

12 years agoDoc change: fix link target for "Publish" icon.
Dirk Dougherty [Tue, 3 Jan 2012 18:09:29 +0000 (10:09 -0800)]
Doc change: fix link target for "Publish" icon.

Change-Id: Iafc8db7e9ad7c42e5e2a1eaed2fb5b93a53e56f9

12 years agodocs: add links for Galaxy Nexus driver
Scott Main [Tue, 27 Dec 2011 23:31:54 +0000 (15:31 -0800)]
docs: add links for Galaxy Nexus driver

Change-Id: Iae875f70049f3b4561783e66e264eac802e8ae19

12 years agoaudioflinger: fix clicks on 48kHz audio.
Eric Laurent [Fri, 23 Dec 2011 00:08:41 +0000 (16:08 -0800)]
audioflinger: fix clicks on 48kHz audio.

The calculation done in prepareTracks_l() for the minimum amount
off frames needed to mix one output buffer had 2 issues:
- the additional sample needed for interpolation was not included
- the fact that the resampler does not acknowledge the frames consumed
immediately after each mixing round but only once all frames requested have been used
was not taken into account.
Thus the number of frames available in track buffer could be considered sufficient although
it was not and the resampler would abort producing a short silence perceived as a click.

Issue 5727099.

Change-Id: I7419847a7474c7d9f9170bedd0a636132262142c

12 years agoMerge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1
Joe Fernandez [Thu, 22 Dec 2011 23:55:00 +0000 (15:55 -0800)]
Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1

12 years agodocs: Add developer guide cross-references, Project ACRE, round 4
Joe Fernandez [Tue, 20 Dec 2011 18:38:34 +0000 (10:38 -0800)]
docs: Add developer guide cross-references, Project ACRE, round 4

Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991

12 years agoMerge "docs: Update App Widgets dev guide size discussion" into ics-mr1
Roman Nurik [Thu, 22 Dec 2011 22:27:55 +0000 (14:27 -0800)]
Merge "docs: Update App Widgets dev guide size discussion" into ics-mr1

12 years agodocs: Update App Widgets dev guide size discussion
Roman Nurik [Thu, 22 Dec 2011 21:58:53 +0000 (13:58 -0800)]
docs: Update App Widgets dev guide size discussion

This is mainly an update to match the design guidelines.
See also bug 5555264.

Change-Id: I1c83fb33b7dca412905d21b588c5754d1d3c5cfe

12 years agoSupport suggestedRetryTime in CDMA DCT
Kazuhiro Ondo [Tue, 13 Dec 2011 16:34:37 +0000 (10:34 -0600)]
Support suggestedRetryTime in CDMA DCT

Support suggestedRetryTime in SETUP_DATA response in CDMA DCT.

Bug: 5740832
Change-Id: I4abd884bec76f1d9ee29d1ba36c7ea2cac9e0fb3

12 years agoFix issue with selecting proper JNI libraries
Anthony Mazzola [Tue, 20 Dec 2011 21:49:09 +0000 (13:49 -0800)]
Fix issue with selecting proper JNI libraries

Current code will load both abi and abi2 versions of the JNI libraries.
The second one found will be the library in use. Update algorithm so
that abi2 libraries will never be loaded once we find a library that
supports the primary abi. This is consistent with the original
implementation.

Bug: 5787224
Change-Id: Ib4d30bea8316ca9bf62757c970dcc5b75cd969ec