OSDN Git Service

android-x86/frameworks-base.git
15 years agoAI 144309: am: CL 144308 aapt extensions: required sdk version, dependent software...
Suchi Amalapurapu [Thu, 2 Apr 2009 22:20:29 +0000 (15:20 -0700)]
AI 144309: am: CL 144308 aapt extensions: required sdk version, dependent software libraries, gadgets
  Add new attributes for sdk version, software libs and gadgets
  BUG = 1730924
  Original author: asuchitra
  Merged from: //branches/cupcake/...

Automated import of CL 144309

15 years agoAI 144307: am: CL 144306 Fix SDK issue 1716562 - Broadcast mechanism documentation...
Chris Tate [Thu, 2 Apr 2009 22:01:22 +0000 (15:01 -0700)]
AI 144307: am: CL 144306 Fix SDK issue 1716562 - Broadcast mechanism documentation should be improved.
  Original author: ctate
  Merged from: //branches/cupcake/...

Automated import of CL 144307

15 years agoAI 144282: Tweak this tool to work with the current directory structure.
Jack Palevich [Thu, 2 Apr 2009 20:38:26 +0000 (13:38 -0700)]
AI 144282: Tweak this tool to work with the current directory structure.
  Also leave the "generated" directory around if it contains files that
  need to be checked in.

Automated import of CL 144282

15 years agoAI 144257: am: CL 144256 Need to show opt-in screen for location collection.
Amith Yamasani [Thu, 2 Apr 2009 18:40:25 +0000 (11:40 -0700)]
AI 144257: am: CL 144256 Need to show opt-in screen for location collection.
  Added a screen to the setup wizard, after login, to ask user to
  opt-in for location collection.
  Added a dialog to Settings when user turns on Network location.
  Fixed a security permission issue in LocationManagerService related
  to this change.
  Original author: yamasani
  Merged from: //branches/cupcake/...

Automated import of CL 144257

15 years agoAI 144241: Stop polling dbus.
Robert Greenwalt [Thu, 2 Apr 2009 16:53:35 +0000 (09:53 -0700)]
AI 144241: Stop polling dbus.
  BUG=1244263

Automated import of CL 144241

15 years agoAI 144221: Fix typo in Javadoc
Mike Lockwood [Thu, 2 Apr 2009 12:27:16 +0000 (05:27 -0700)]
AI 144221: Fix typo in Javadoc

Automated import of CL 144221

15 years agoAI 144185: Integrate cdma into the main code base.
Wink Saville [Thu, 2 Apr 2009 08:37:02 +0000 (01:37 -0700)]
AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185

15 years agoAI 144182: am: CL 144181 Modify ProgressDialog class and its xml so that it follows the
Daisuke Miyakawa [Thu, 2 Apr 2009 08:34:15 +0000 (01:34 -0700)]
AI 144182: am: CL 144181 Modify ProgressDialog class and its xml so that it follows the
  Android's UI guide line. This modification is based on leland's mock.
  See http://b/issue?id=1748136 for more information.
  Put ProgressNumber left side, next to ProgressPercentage.
  Make ProgressPercentage Bold.
  Put ProgressNumber and ProgressPercentage near to the ProgressBar
  above. This is same as the design of Market application.
  Enable ProgressDialog change the ProgressNumber format. This is hidden
  since the interface is premature.
  Original author: dmiyakawa
  Merged from: //branches/cupcake/...

Automated import of CL 144182

15 years agoAI 144176: To fix the race condition in case "requestCancelDecode"
Ray Chen [Thu, 2 Apr 2009 08:31:49 +0000 (01:31 -0700)]
AI 144176: To fix the race condition in case "requestCancelDecode"
  happens earlier than AutoDecoderCancel object is added
  to the gAutoDecoderCancelMutex linked list.
  BUG=1692286

Automated import of CL 144176

15 years agoAI 144151: am: CL 144150 Fix heap corruption.
Nick Pelly [Thu, 2 Apr 2009 08:21:13 +0000 (01:21 -0700)]
AI 144151: am: CL 144150 Fix heap corruption.
  Take mutex in close(), and skip write path after turning bluetooth off.
  Original author: npelly
  Merged from: //branches/cupcake/...

Automated import of CL 144151

15 years agoAI 144135: am: CL 144134 Fix issue 1750132 - SensorManager listener 'rate' parameter...
Chris Tate [Wed, 1 Apr 2009 23:01:18 +0000 (16:01 -0700)]
AI 144135: am: CL 144134 Fix issue 1750132 - SensorManager listener 'rate' parameter units are undocumented
  Original author: ctate
  Merged from: //branches/cupcake/...

Automated import of CL 144135

15 years agoAI 144098: am: CL 144093 Fix NPE in ActivityUnitTestCase.
Brett Chabot [Wed, 1 Apr 2009 22:15:33 +0000 (15:15 -0700)]
AI 144098: am: CL 144093 Fix NPE in ActivityUnitTestCase.
  Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 144098

15 years agoAI 144054: am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid...
Eric Laurent [Wed, 1 Apr 2009 19:55:13 +0000 (12:55 -0700)]
AI 144054: am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid buffer size: minFrameCount 10240, frameCount 4800
  The problem comes from the fact that AudioSystem::getOutputFrameCount() calls getOutput() to retrieve the active output (A2DP or Hardware) before calling get_audio_flinger(). If it is the first time AudioSystem::getOutputFrameCount() is called in a given process, getOutput() will return a wrong value because gA2dpEnabled has not yet been updated by get_audio_flinger().
  The fix consists in calling get_audio_flinger() in getOutput() to be sure that gA2dpEnabled is valid when getOutput() reads it.
  Original author: elaurent
  Merged from: //branches/cupcake/...

Automated import of CL 144054

15 years agoAI 144044: First cut of tunneling HTTP requests over gtalk connection:
Doug Zongker [Wed, 1 Apr 2009 19:01:43 +0000 (12:01 -0700)]
AI 144044: First cut of tunneling HTTP requests over gtalk connection:
  - We define HttpRequest and HttpResponse protocol buffers.
  The RMQ mechanism is *not* used for these (though the
  messages define rmq id fields in case we want to start).
  - GTalkHttpClient will send an http request over the
  connection to MCS if:
  - gtalk_tunnel_http in gservices is turned on
  - the request destination is the android proxy
  - it can make a connection to gtalkservice
  The request falls back to using GoogleHttpClient if it can't
  be processed over the MCS connection.
  A few shortcuts are taken with cookie handling, but these
  are okay for the envisioned usage.

Automated import of CL 144044

15 years agoAI 144042: Fixes #1742109. Add a new API to ListView to return the list of checked...
Romain Guy [Wed, 1 Apr 2009 18:46:43 +0000 (11:46 -0700)]
AI 144042: Fixes #1742109. Add a new API to ListView to return the list of checked items ids.
  BUG=1742109

Automated import of CL 144042

15 years agoAI 144032: Added missing import to fix breakage caused by CL 144008.
Bjorn Bringert [Wed, 1 Apr 2009 18:13:07 +0000 (11:13 -0700)]
AI 144032: Added missing import to fix breakage caused by CL 144008.

Automated import of CL 144032

15 years agoAI 144013: Rename PoolFactory to Pools, to follow the java.util convention (Collectio...
Romain Guy [Wed, 1 Apr 2009 17:40:10 +0000 (10:40 -0700)]
AI 144013: Rename PoolFactory to Pools, to follow the java.util convention (Collections, Arrays.)

Automated import of CL 144013

15 years agoAI 144008: UriMatcher: Avoid repeated calls to Uri.getPathSegments()
Bjorn Bringert [Wed, 1 Apr 2009 17:27:37 +0000 (10:27 -0700)]
AI 144008: UriMatcher: Avoid repeated calls to Uri.getPathSegments()
  in UriMatcher.match().
  Before, every call to UriMatcher.match() called
  Uri.getPathSegments() N + 1 times,
  where N is the size of the list returned by
  Uri.getPathSegments(). Since some of the implementations
  of Uri.getPathSegments() are O(N), UriMatcher.match() was O(N^2).
  This CL fixes the problem by calling uri.getPathSegments() once in
  the beginning of match(). That should be safe since Uri is
  immutable.
  BUG=1751158

Automated import of CL 144008

15 years agoAI 144007: am: CL 144006 Set a real 3.xml, which is the current candidate cupcake...
Jean-Baptiste Queru [Wed, 1 Apr 2009 17:23:58 +0000 (10:23 -0700)]
AI 144007: am: CL 144006 Set a real 3.xml, which is the current candidate cupcake API.
  This allows work done in later codelines to have proper
  backward-compatibility checks.
  Original author: jbq
  Merged from: //branches/cupcake/...

Automated import of CL 144007

15 years agoAI 144002: am: CL 144001 Fix tiny bug in Rfc822Token.java
Tadashi Takaoka [Wed, 1 Apr 2009 16:53:52 +0000 (09:53 -0700)]
AI 144002: am: CL 144001 Fix tiny bug in Rfc822Token.java
  Original author: takaoka
  Merged from: //branches/cupcake/...

Automated import of CL 144002

15 years agoAI 143999: am: CL 143998 Fix #1750489. Call WebKit's setNetworkOnLine from WebCore...
Grace Kloba [Wed, 1 Apr 2009 16:44:18 +0000 (09:44 -0700)]
AI 143999: am: CL 143998 Fix #1750489. Call WebKit's setNetworkOnLine from WebCore thread instead of UI thread as WebKit is not thread safe.
  Using the same code pattern as the rest of the file:
  . throw IllegalStateException if BrowserFrame.sJavaBridge is null in pauseTimers/resumeTimers.
  . use (msg.arg1 == 1) to pass the boolean from WebView to WebViewCore as in CLEAR_CACHE
  Original author: klobag
  Merged from: //branches/cupcake/...

Automated import of CL 143999

15 years agoAI 143908: am: CL 143907 Make search widget drop-down wider.
Jeffrey Sharkey [Wed, 1 Apr 2009 01:25:03 +0000 (18:25 -0700)]
AI 143908: am: CL 143907 Make search widget drop-down wider.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143908

15 years agoAI 143905: am: CL 143904 Fix the failure in the media recorder large test by adding...
Yu Shan Emily Lau [Wed, 1 Apr 2009 01:15:52 +0000 (18:15 -0700)]
AI 143905: am: CL 143904 Fix the failure in the media recorder large test by adding the Camera permission.
  Original author: yslau
  Merged from: //branches/cupcake/...

Automated import of CL 143905

15 years agoAI 143900: am: CL 143898 Attempt to set the device Locale (if not already set) at...
Robert Greenwalt [Wed, 1 Apr 2009 01:04:05 +0000 (18:04 -0700)]
AI 143900: am: CL 143898 Attempt to set the device Locale (if not already set) at phone
  init based on the phone's reported carrier ID.
  Uses a core system resource string-array to contain the mapping
  of carrier ID -> default locale.  This should be set per project in
  an overlay.
  Original author: rgreenwalt
  Merged from: //branches/cupcake/...

Automated import of CL 143900

15 years agoAI 143899: am: CL 143896 Fix issue #1748954 and #1737952:
Dianne Hackborn [Wed, 1 Apr 2009 01:00:36 +0000 (18:00 -0700)]
AI 143899: am: CL 143896 Fix issue #1748954 and #1737952:
  #1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden.  To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big...  actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
  #1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix.  This involved a few things to clean up hiding/showing the status bar:
  - We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window.  This required tweaking the layout API so the policy can request a second layout pass if needed.
  - When doing layout, we are now much more aggressive about skipping the layout of windows.  Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen.  The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143899

15 years agoAI 143890: Fixes #1749387. Improve the pooling of the VelocityTracker class. This...
Romain Guy [Wed, 1 Apr 2009 00:52:16 +0000 (17:52 -0700)]
AI 143890: Fixes #1749387. Improve the pooling of the VelocityTracker class. This introduces a new, hidden, API for pooling objects easily.
  BUG=1749387

Automated import of CL 143890

15 years agoAI 143870: am: CL 143869 Change InstrumentationTestRunner so all tests in the applica...
Brett Chabot [Wed, 1 Apr 2009 00:04:34 +0000 (17:04 -0700)]
AI 143870: am: CL 143869 Change InstrumentationTestRunner so all tests in the application are run when no other arguments are supplied, instead of running only tests in the app's package.
  Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143870

15 years agoAI 143815: am: CL 143758 Fixes #1749387. When a client of VelocityTracker obtains...
Romain Guy [Tue, 31 Mar 2009 22:15:47 +0000 (15:15 -0700)]
AI 143815: am: CL 143758 Fixes #1749387. When a client of VelocityTracker obtains an instance from the pool, actually remove the object from the pool. Otherwise, several clients can share the same VelocityTracker which can lead to really weird side effects (including concurrency and UI issues.)
  Original author: romainguy
  Merged from: //branches/cupcake/...

Automated import of CL 143815

15 years agoAI 143800: am: CL 143748 Fix issue #1743326 (More battery stats)
Dianne Hackborn [Tue, 31 Mar 2009 22:04:46 +0000 (15:04 -0700)]
AI 143800: am: CL 143748 Fix issue #1743326 (More battery stats)
  Adds stats for:
  - Number of raw user events that have happened in the system.
  - Number of times user activity has been reported, dividied by UID and type of activity.
  - Duration of screen brightness levels in 4 buckets.
  - Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143800

15 years agoAI 143788: am: CL 143740 Don't clear supported profiles in settings app if getRemoteC...
Nick Pelly [Tue, 31 Mar 2009 21:56:26 +0000 (14:56 -0700)]
AI 143788: am: CL 143740 Don't clear supported profiles in settings app if getRemoteClass returns error.
  Also clean up the error codes returned by the framework, so that the settings app can properly detect an error.
  Original author: npelly
  Merged from: //branches/cupcake/...

Automated import of CL 143788

15 years agoAI 143779: am: CL 143727 Make the test runner and results assets of DumpRendertree...
Sridhar Gurivireddy [Tue, 31 Mar 2009 21:47:19 +0000 (14:47 -0700)]
AI 143779: am: CL 143727 Make the test runner and results assets of DumpRendertree. This is done so that we could have
  1) Lab machines can run layout tests without having build environment setup
  2) We could have different set of pass/fail results per branch
  Also added a simple python script which runs run_layout_tests.py
  Original author: sridharg
  Merged from: //branches/cupcake/...

Automated import of CL 143779

15 years agoAI 143775: am: CL 143620 Attempt for fixing crash in AudioFlinger::MixerThread::dumpT...
Eric Laurent [Tue, 31 Mar 2009 21:33:34 +0000 (14:33 -0700)]
AI 143775: am: CL 143620 Attempt for fixing crash in AudioFlinger::MixerThread::dumpTracks() seen in bug report for issue 1747119.
  AudioFlinger::MixerThread::dumpTracks() was reading mTracks[] vector instead of mActiveTracks[] when dumping active tracks.
  Original author: elaurent
  Merged from: //branches/cupcake/...

Automated import of CL 143775

15 years agoAI 143710: am: CL 143615 -Add more stats:
Evan Millar [Tue, 31 Mar 2009 18:33:18 +0000 (11:33 -0700)]
AI 143710: am: CL 143615 -Add more stats:
  -total network sent/received
  -total full/partial wakelock times.
  -Format the network sent/received amounts to be more easily readable.
  Original author: emillar
  Merged from: //branches/cupcake/...

Automated import of CL 143710

15 years agoAI 143696: am: CL 143576 SDK doc change: Fix links from SDK upgrading docs to migrati...
Dirk Dougherty [Tue, 31 Mar 2009 18:22:15 +0000 (11:22 -0700)]
AI 143696: am: CL 143576 SDK doc change: Fix links from SDK upgrading docs to migration and diff info.
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 143696

15 years agoAI 143685: am: CL 143547 Import revised translations.
Eric Fischer [Tue, 31 Mar 2009 18:11:16 +0000 (11:11 -0700)]
AI 143685: am: CL 143547 Import revised translations.
  Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143685

15 years agoAI 143678: am: CL 143540 Try not to start TextView lines with non-starter characters.
Eric Fischer [Tue, 31 Mar 2009 18:08:30 +0000 (11:08 -0700)]
AI 143678: am: CL 143540 Try not to start TextView lines with non-starter characters.
  TextView was previously following the "relaxed" line breaking
  convention and would allow a line break between any two
  ideographic characters.  Tighten that up and do not allow
  line breaks before non-starter characters (sound and iteration
  marks and small Hiragana and Katakana).
  Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143678

15 years agoAI 143669: am: CL 143495 Add more accented letters to the character picker.
Eric Fischer [Tue, 31 Mar 2009 17:59:44 +0000 (10:59 -0700)]
AI 143669: am: CL 143495 Add more accented letters to the character picker.
  The hardware keyboard doesn't have all the accents needed for
  Czech and Polish, so round out the selection.
  Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143669

15 years agoAI 143616: Fix ANR that could occur when disabling GPS in Settings while the GPS...
Mike Lockwood [Tue, 31 Mar 2009 15:59:58 +0000 (08:59 -0700)]
AI 143616: Fix ANR that could occur when disabling GPS in Settings while the GPS is active.
  Exit from GpsEventThread immediately when the GPS is disabled instead of
  waiting for the GPS to shut down fully.
  BUG=1729031

Automated import of CL 143616

15 years agoAI 143267: am: CL 143127 Media recorder service requires android.permission.CAMERA...
Dave Sparks [Sat, 28 Mar 2009 03:28:22 +0000 (20:28 -0700)]
AI 143267: am: CL 143127 Media recorder service requires android.permission.CAMERA to record video
  Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 143267

15 years agoAI 143266: am: CL 143124 Fix bug #1731826, in which auto-connect to remembered networ...
Eric Shienbrood [Sat, 28 Mar 2009 03:25:31 +0000 (20:25 -0700)]
AI 143266: am: CL 143124 Fix bug #1731826, in which auto-connect to remembered networks does not
  take place.
  This has the same underlying cause as bug #1739874, so this fixes that
  bug as well. The problem was that if the supplicant was in the DORMANT
  state at the time a scan-only Wi-Fi lock was released, the command to
  stop the Wi-Fi driver would never be issued. This had two main results:
  first, the driver would stay awake when the screen was blank and it was
  supposed to be sleeping, leading to excessive battery drain, and second,
  when the screen was turned back on, there would be no DRIVER-STARTED
  event generated (because the driver was already running). The
  DRIVER-STARTED event is the trigger for the framework to issue a
  RECONNECT command to the supplicant to cause it leave the DORMANT state
  and look for available remembered networks.
  To assist in tracking down this problem, and any such problems in the
  future, I added four counters to keep track of how many times full and
  scan-only Wi-Fi locks are acquired and released. The counter values
  are output in the dump() method of WifiService. While doing this, I
  noticed that because of missing "break" statements, the battery stats
  that keep track of how much time Wi-Fi locks are held were including
  the time for full locks in the time reported for scan-only locks.
  Original author: ers
  Merged from: //branches/cupcake/...

Automated import of CL 143266

15 years agoAI 143255: Integrate.
Dianne Hackborn [Sat, 28 Mar 2009 03:14:13 +0000 (20:14 -0700)]
AI 143255: Integrate.

Automated import of CL 143255

15 years agoAI 143227: am: CL 143046 Add extra pixel on right and left in 9 patch for expanders...
Karl Rosaen [Sat, 28 Mar 2009 02:28:16 +0000 (19:28 -0700)]
AI 143227: am: CL 143046 Add extra pixel on right and left in 9 patch for expanders to fix padding problem
  Original author: krosaen
  Merged from: //branches/cupcake/...

Automated import of CL 143227

15 years agoAI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too big...
Dianne Hackborn [Sat, 28 Mar 2009 01:26:13 +0000 (18:26 -0700)]
AI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143214

15 years agoAI 143209: am: CL 143001 Remove sdutils from user build to save 12K on /system partition.
Mike Lockwood [Sat, 28 Mar 2009 01:11:25 +0000 (18:11 -0700)]
AI 143209: am: CL 143001 Remove sdutils from user build to save 12K on /system partition.
  BUG=1739507
  Original author: lockwood
  Merged from: //branches/cupcake/...

Automated import of CL 143209

15 years agoAI 143207: am: CL 142996 Fix bug in human readable battery stats dumping code which...
Evan Millar [Sat, 28 Mar 2009 01:03:56 +0000 (18:03 -0700)]
AI 143207: am: CL 142996 Fix bug in human readable battery stats dumping code which caused the wifi lock times to be off by an order of magnitude.
  Original author: emillar
  Merged from: //branches/cupcake/...

Automated import of CL 143207

15 years agoAI 143203: am: CL 142986 Work on issue #1739922 (Removed unused resources). We don...
Dianne Hackborn [Sat, 28 Mar 2009 00:49:19 +0000 (17:49 -0700)]
AI 143203: am: CL 142986 Work on issue #1739922 (Removed unused resources).  We don't seem to use these.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143203

15 years agoAI 143196: am: CL 142964 Add a function to clear styles in EditStyledText.
Satoshi Kataoka [Sat, 28 Mar 2009 00:27:28 +0000 (17:27 -0700)]
AI 143196: am: CL 142964 Add a function to clear styles in EditStyledText.
  Add a function to change getBackground color.
  Add a function to check whether EditStyledText has styled text or not.
  Refactor function and variable names for readability.
  Original author: satok
  Merged from: //branches/cupcake/...

Automated import of CL 143196

15 years agoAI 143185: am: CL 142930 Adds a straightforward abort() function in addition to inter...
Nicolas Roard [Fri, 27 Mar 2009 23:50:56 +0000 (16:50 -0700)]
AI 143185: am: CL 142930 Adds a straightforward abort() function in addition to interrupt(). Used on the gears C++ side to get rid of the thread leaking introduced with the HttpRequest refactoring.
  Original author: nicolasroard
  Merged from: //branches/cupcake/...

Automated import of CL 143185

15 years agoAI 143181: am: CL 142924 Support DCM specific MMI network service.
John Wang [Fri, 27 Mar 2009 23:38:58 +0000 (16:38 -0700)]
AI 143181: am: CL 142924 Support DCM specific MMI network service.
  IExtendedNetworkService has 4 MMI service interface used by PhoneUtils to put DCM related nw service.
  void setMmiString(String number);
  CharSequence getMmiRunningText();
  CharSequence getUserMessage(CharSequence text);
  void clearMmiString();
  And the service is bind via "com.android.ussd.IExtendedNetworkService".
  Original author: johnwang
  Merged from: //branches/cupcake/...

Automated import of CL 143181

15 years agoAI 143177: am: CL 142889 Fix issue #1736153 Camera shutter sound can be muted by...
Eric Laurent [Fri, 27 Mar 2009 23:27:16 +0000 (16:27 -0700)]
AI 143177: am: CL 142889 Fix issue #1736153 Camera shutter sound can be muted by new AlarmClock setting.
  Current implementation of Camera service plays the camera shutter sound over the ALARM stream so that it cannot be muted by silent mode in order to comply to some country specific requirement. A recent change made it possible for the user to mute the ALARM stream thus making this stream not suitable any more for the camera shutter sound.
  The fix consists in creating a new stream type only accessible by native code and that cannot be muted and use it to play camera sounds.
  Original author: elaurent
  Merged from: //branches/cupcake/...

Automated import of CL 143177

15 years agoAI 143173: am: CL 142879 Fix issue #1732012 (Only show screen rotation animation...
Dianne Hackborn [Fri, 27 Mar 2009 23:16:03 +0000 (16:16 -0700)]
AI 143173: am: CL 142879 Fix issue #1732012 (Only show screen rotation animation when triggered by sensor) -- set the new surface flag as appropriate.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143173

15 years agoAI 143172: am: CL 142875 [1732012] for some reason these files didn't go through...
Mathias Agopian [Fri, 27 Mar 2009 23:13:24 +0000 (16:13 -0700)]
AI 143172: am: CL 142875 [1732012] for some reason these files didn't go through in the preview check-in.
  Original author: mathias
  Merged from: //branches/cupcake/...

Automated import of CL 143172

15 years agoAI 143171: am: CL 142873 fix [1732012] Only show screen rotation animation when trigg...
Mathias Agopian [Fri, 27 Mar 2009 23:10:37 +0000 (16:10 -0700)]
AI 143171: am: CL 142873 fix [1732012] Only show screen rotation animation when triggered by sensor
  Original author: mathias
  Merged from: //branches/cupcake/...

Automated import of CL 143171

15 years agoAI 143169: am: CL 142870 Fix issue #1724917 (Applications (browser, maps, gmail)...
Dianne Hackborn [Fri, 27 Mar 2009 23:04:08 +0000 (16:04 -0700)]
AI 143169: am: CL 142870 Fix issue #1724917 (Applications (browser, maps, gmail) fail to retain their landscape state after coming out of sleep mode).  We now rely on the listeners last known orientation, and make sure to clear it when enabling/disabling.
  Also do most of the work for issue #1732012 (Only show screen rotation animation when triggered by sensor).  This just needs to be hooked up to the surface flinger API when that appears.
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143169

15 years agoAI 143165: am: CL 142861 Make TextView Emoji scale to match the size of the text.
Eric Fischer [Fri, 27 Mar 2009 22:52:38 +0000 (15:52 -0700)]
AI 143165: am: CL 142861 Make TextView Emoji scale to match the size of the text.
  Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143165

15 years agoAI 143162: am: CL 142858 Fix framework orientation issues
Suchi Amalapurapu [Fri, 27 Mar 2009 22:43:35 +0000 (15:43 -0700)]
AI 143162: am: CL 142858 Fix framework orientation issues
  Define orientation limits for various cases.
  Values between 235 and 295 are considered landscape,
  0 - 60 are considered portrait.
  0-235 are ignored since we don't support Surfaces for 180 and 270 yet.
  A linear threshold value is calculated for values between 265 and 355 to switch between landscape and portrait.(different for both cases)
  Based on current mode we not only calculate the threshold but also compare accordingly based on increasing or decreasing orientation
  BUG = 1734325
  Original author: asuchitra
  Merged from: //branches/cupcake/...

Automated import of CL 143162

15 years agoAI 143160: am: CL 142856 new-new-new-new rotation animation. it may still change...
Mathias Agopian [Fri, 27 Mar 2009 22:36:09 +0000 (15:36 -0700)]
AI 143160: am: CL 142856 new-new-new-new rotation animation. it may still change one more time.
  Original author: mathias
  Merged from: //branches/cupcake/...

Automated import of CL 143160

15 years agoAI 143159: am: CL 142855 Fix SHOW_OR_CREATE intent to correctly handle duplicate...
Jeffrey Sharkey [Fri, 27 Mar 2009 22:32:56 +0000 (15:32 -0700)]
AI 143159: am: CL 142855 Fix SHOW_OR_CREATE intent to correctly handle duplicate E-mail or IM entries for a person.
  Added a new WITH_EMAIL_OR_IM_FILTER_URI to find people with a given string as either an E-mail or IM address.  This cleans up the original code, and lets us handle duplicates when there are multiple ContactMethod matches for a single person.  (We don't get GROUP BY through the ContentProvider interface.)
  In ContactsListActivity we don't show possibly-incorrect labels when in MODE_QUERY_PICK_TO_VIEW, as any labels and values would be identical.  (The people appearing in that list are there because their ContactMethod matches the query.)
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143159

15 years agoAI 143150: Fixed the problem where setEnabled(false) has no effect from onResume().
Michael Chan [Fri, 27 Mar 2009 22:06:14 +0000 (15:06 -0700)]
AI 143150: Fixed the problem where setEnabled(false) has no effect from onResume().
  The problem was that the Preference widget was reenabled when its dependency
  was in enabled state. The enabled field was basically overloaded.  The fix was
  to add an additional field to keep track of whether its dependencies were met.
  BUG=1653960

Automated import of CL 143150

15 years agoAI 143147: Manual integration
Dianne Hackborn [Fri, 27 Mar 2009 21:59:22 +0000 (14:59 -0700)]
AI 143147: Manual integration

Automated import of CL 143147

15 years agoAI 143095: Location Manager cleanup: move MockProvider to a separate file.
Mike Lockwood [Fri, 27 Mar 2009 14:46:48 +0000 (07:46 -0700)]
AI 143095: Location Manager cleanup: move MockProvider to a separate file.
  BUG=1729031

Automated import of CL 143095

15 years agoAutomated import from //branches/donutburger/...@142990,142990
Romain Guy [Thu, 26 Mar 2009 21:51:52 +0000 (14:51 -0700)]
Automated import from //branches/donutburger/...@142990,142990

15 years agoAutomated import from //branches/donutburger/...@142828,142828
Joe Onorato [Thu, 26 Mar 2009 01:22:18 +0000 (18:22 -0700)]
Automated import from //branches/donutburger/...@142828,142828

15 years agoAutomated import from //branches/donutburger/...@142826,142826
Jim Miller [Thu, 26 Mar 2009 01:18:34 +0000 (18:18 -0700)]
Automated import from //branches/donutburger/...@142826,142826

15 years agoAutomated import from //branches/donutburger/...@142820,142820
Romain Guy [Thu, 26 Mar 2009 01:04:42 +0000 (18:04 -0700)]
Automated import from //branches/donutburger/...@142820,142820

15 years agoAutomated import from //branches/donutburger/...@142801,142801
Andreas Huber [Thu, 26 Mar 2009 00:54:39 +0000 (17:54 -0700)]
Automated import from //branches/donutburger/...@142801,142801

15 years agoAutomated import from //branches/donutburger/...@142790,142790
Romain Guy [Thu, 26 Mar 2009 00:42:35 +0000 (17:42 -0700)]
Automated import from //branches/donutburger/...@142790,142790

15 years agoAutomated import from //branches/donutburger/...@142787,142787
Amith Yamasani [Thu, 26 Mar 2009 00:39:37 +0000 (17:39 -0700)]
Automated import from //branches/donutburger/...@142787,142787

15 years agoAutomated import from //branches/donutburger/...@142784,142784
Chris Tate [Thu, 26 Mar 2009 00:36:48 +0000 (17:36 -0700)]
Automated import from //branches/donutburger/...@142784,142784

15 years agoAutomated import from //branches/donutburger/...@142766,142766
Nick Pelly [Thu, 26 Mar 2009 00:33:56 +0000 (17:33 -0700)]
Automated import from //branches/donutburger/...@142766,142766

15 years agoAutomated import from //branches/donutburger/...@142727,142727
Dianne Hackborn [Thu, 26 Mar 2009 00:24:35 +0000 (17:24 -0700)]
Automated import from //branches/donutburger/...@142727,142727

15 years agoAutomated import from //branches/donutburger/...@142722,142722
Dianne Hackborn [Thu, 26 Mar 2009 00:10:37 +0000 (17:10 -0700)]
Automated import from //branches/donutburger/...@142722,142722

15 years agoAutomated import from //branches/donutburger/...@142720,142720
Eric Fischer [Thu, 26 Mar 2009 00:04:27 +0000 (17:04 -0700)]
Automated import from //branches/donutburger/...@142720,142720

15 years agoAutomated import from //branches/donutburger/...@142717,142717
Mark Womack [Wed, 25 Mar 2009 23:54:49 +0000 (16:54 -0700)]
Automated import from //branches/donutburger/...@142717,142717

15 years agoAutomated import from //branches/donutburger/...@142714,142714
Chris Tate [Wed, 25 Mar 2009 23:44:52 +0000 (16:44 -0700)]
Automated import from //branches/donutburger/...@142714,142714

15 years agoAutomated import from //branches/donutburger/...@142710,142710
Raphael Moll [Wed, 25 Mar 2009 23:33:12 +0000 (16:33 -0700)]
Automated import from //branches/donutburger/...@142710,142710

15 years agoAutomated import from //branches/donutburger/...@142700,142700
Eric Fischer [Wed, 25 Mar 2009 23:08:50 +0000 (16:08 -0700)]
Automated import from //branches/donutburger/...@142700,142700

15 years agoAutomated import from //branches/donutburger/...@142698,142698
Karl Rosaen [Wed, 25 Mar 2009 23:01:38 +0000 (16:01 -0700)]
Automated import from //branches/donutburger/...@142698,142698

15 years agoAutomated import from //branches/donutburger/...@142693,142693
Dave Sparks [Wed, 25 Mar 2009 22:43:23 +0000 (15:43 -0700)]
Automated import from //branches/donutburger/...@142693,142693

15 years agoAutomated import from //branches/donutburger/...@142687,142687
Jack Palevich [Wed, 25 Mar 2009 22:30:56 +0000 (15:30 -0700)]
Automated import from //branches/donutburger/...@142687,142687

15 years agoAutomated import from //branches/donutburger/...@142509,142509
Daisuke Miyakawa [Wed, 25 Mar 2009 05:52:27 +0000 (22:52 -0700)]
Automated import from //branches/donutburger/...@142509,142509

15 years agoAutomated import from //branches/donutburger/...@142490,142490
Romain Guy [Wed, 25 Mar 2009 05:49:43 +0000 (22:49 -0700)]
Automated import from //branches/donutburger/...@142490,142490

15 years agoAutomated import from //branches/donutburger/...@142486,142486
Jack Palevich [Wed, 25 Mar 2009 05:49:06 +0000 (22:49 -0700)]
Automated import from //branches/donutburger/...@142486,142486

15 years agoAutomated import from //branches/donutburger/...@142484,142484
Jack Palevich [Wed, 25 Mar 2009 05:48:26 +0000 (22:48 -0700)]
Automated import from //branches/donutburger/...@142484,142484

15 years agoAutomated import from //branches/donutburger/...@142472,142472
Dianne Hackborn [Wed, 25 Mar 2009 05:47:09 +0000 (22:47 -0700)]
Automated import from //branches/donutburger/...@142472,142472

15 years agoAutomated import from //branches/donutburger/...@142470,142470
Romain Guy [Wed, 25 Mar 2009 05:46:33 +0000 (22:46 -0700)]
Automated import from //branches/donutburger/...@142470,142470

15 years agoAutomated import from //branches/donutburger/...@142465,142465
Romain Guy [Wed, 25 Mar 2009 05:45:53 +0000 (22:45 -0700)]
Automated import from //branches/donutburger/...@142465,142465

15 years agoAutomated import from //branches/donutburger/...@142446,142446
Mathias Agopian [Wed, 25 Mar 2009 05:43:22 +0000 (22:43 -0700)]
Automated import from //branches/donutburger/...@142446,142446

15 years agoAutomated import from //branches/donutburger/...@142430,142430
Mathias Agopian [Wed, 25 Mar 2009 05:42:15 +0000 (22:42 -0700)]
Automated import from //branches/donutburger/...@142430,142430

15 years agoAutomated import from //branches/donutburger/...@142397,142397
Dianne Hackborn [Wed, 25 Mar 2009 05:39:49 +0000 (22:39 -0700)]
Automated import from //branches/donutburger/...@142397,142397

15 years agoAutomated import from //branches/donutburger/...@142376,142376
Jean-Michel Trivi [Wed, 25 Mar 2009 05:36:44 +0000 (22:36 -0700)]
Automated import from //branches/donutburger/...@142376,142376

15 years agoAutomated import from //branches/donutburger/...@142372,142372
Jean-Michel Trivi [Wed, 25 Mar 2009 05:35:57 +0000 (22:35 -0700)]
Automated import from //branches/donutburger/...@142372,142372

15 years agoAutomated import from //branches/donutburger/...@142347,142347
Dianne Hackborn [Wed, 25 Mar 2009 05:32:56 +0000 (22:32 -0700)]
Automated import from //branches/donutburger/...@142347,142347

15 years agoAutomated import from //branches/donutburger/...@142336,142336
John Huang [Wed, 25 Mar 2009 05:31:33 +0000 (22:31 -0700)]
Automated import from //branches/donutburger/...@142336,142336

15 years agoAutomated import from //branches/donutburger/...@142318,142318
Cedric Beust [Wed, 25 Mar 2009 05:28:03 +0000 (22:28 -0700)]
Automated import from //branches/donutburger/...@142318,142318

15 years agoAutomated import from //branches/donutburger/...@142301,142301
Joe Onorato [Wed, 25 Mar 2009 05:25:52 +0000 (22:25 -0700)]
Automated import from //branches/donutburger/...@142301,142301

15 years agoAutomated import from //branches/donutburger/...@142291,142291
Suchi Amalapurapu [Wed, 25 Mar 2009 05:24:47 +0000 (22:24 -0700)]
Automated import from //branches/donutburger/...@142291,142291

15 years agoAutomated import from //branches/donutburger/...@142239,142239
Ed Heyl [Wed, 25 Mar 2009 04:32:21 +0000 (21:32 -0700)]
Automated import from //branches/donutburger/...@142239,142239

15 years agoAutomated import from //branches/donutburger/...@142149,142149
Yu Shan Emily Lau [Wed, 25 Mar 2009 04:31:10 +0000 (21:31 -0700)]
Automated import from //branches/donutburger/...@142149,142149

15 years agoAutomated import from //branches/donutburger/...@142129,142129
Romain Guy [Wed, 25 Mar 2009 04:30:00 +0000 (21:30 -0700)]
Automated import from //branches/donutburger/...@142129,142129