292 Commits

Author SHA1 Message Date
Eric Fischer
a3ea3ae07f AI 143697: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143697
2009-03-31 14:17:10 -07:00
Mike Lockwood
4d7a385889 AI 143648: am: CL 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
  Original author: lockwood
  Merged from: //branches/donutburger/...

Automated import of CL 143648
2009-03-31 13:59:40 -07:00
Doug Kwan
d94755bf33 AI 143430: Remove broken and unused code.
This CL removes RoManager::getDevicePrivateKey() and its declaration.
  The method is not used anywhere and it contains bad code that returns
  reference to a local object.
  This is tested by building the master tree and running the framework
  testsuite.  No error was found in testsuite.
  BUG=1737538

Automated import of CL 143430
2009-03-28 21:53:49 -07:00
Jean-Baptiste Queru
d2e72d97c1 AI 143427: Remove preloaded class that depends on OpenCORE, as it
crashes the system on builds where OpenCORE is missing.

Automated import of CL 143427
2009-03-28 11:31:34 -07:00
Dave Sparks
17612fcdcb AI 143396: am: CL 143267 am: CL 143127 Media recorder service requires android.permission.CAMERA to record video
Original author: davidsparks
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143396
2009-03-27 19:56:11 -07:00
Eric Shienbrood
eeced21302 AI 143395: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143395
2009-03-27 19:54:50 -07:00
Jean-Baptiste Queru
1b683a4104 AI 143391: Merge from donut Change 143255
Automated import of CL 143391
2009-03-27 19:49:17 -07:00
Karl Rosaen
c61d318e8f AI 143377: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143377
2009-03-27 19:34:33 -07:00
Dianne Hackborn
1ca6a1ca84 AI 143364: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143364
2009-03-27 19:19:20 -07:00
Mike Lockwood
64a5458e76 AI 143360: am: CL 143209 am: CL 143001 Remove sdutils from user build to save 12K on /system partition.
BUG=1739507
  Original author: lockwood
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143360
2009-03-27 19:14:26 -07:00
Evan Millar
05bc50ddba AI 143358: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143358
2009-03-27 19:12:14 -07:00
Dianne Hackborn
5e152c185e AI 143354: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143354
2009-03-27 19:07:32 -07:00
Satoshi Kataoka
0b4d64807e AI 143347: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143347
2009-03-27 18:59:37 -07:00
Nicolas Roard
7977a61308 AI 143336: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143336
2009-03-27 18:28:55 -07:00
John Wang
e91bc680b7 AI 143331: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143331
2009-03-27 18:24:06 -07:00
Eric Laurent
63e45f2854 AI 143327: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143327
2009-03-27 18:18:46 -07:00
Dianne Hackborn
052eb7131b AI 143323: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143323
2009-03-27 18:13:57 -07:00
Mathias Agopian
d97bbd8871 AI 143321: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143321
2009-03-27 18:12:49 -07:00
Mathias Agopian
eb0c86e18b AI 143320: am: CL 143171 am: CL 142873 fix [1732012] Only show screen rotation animation when triggered by sensor
Original author: mathias
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143320
2009-03-27 18:11:38 -07:00
Dianne Hackborn
e4fbd6235c AI 143318: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143318
2009-03-27 18:09:16 -07:00
Eric Fischer
423f0e4205 AI 143314: am: CL 143165 am: CL 142861 Make TextView Emoji scale to match the size of the text.
Original author: enf
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143314
2009-03-27 18:04:12 -07:00
Suchi Amalapurapu
94befd1be9 AI 143311: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143311
2009-03-27 18:00:44 -07:00
Mathias Agopian
3552f53c83 AI 143309: am: CL 143160 am: CL 142856 new-new-new-new rotation animation. it may still change one more time.
Original author: mathias
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143309
2009-03-27 17:58:20 -07:00
Jeffrey Sharkey
f5f8d247d1 AI 143308: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143308
2009-03-27 17:57:15 -07:00
Michael Chan
da53eca79e AI 143298: am: CL 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.
  Original author: chanm
  Merged from: //branches/donutburger/...

Automated import of CL 143298
2009-03-27 17:46:36 -07:00
Jean-Baptiste Queru
bf62297bd1 AI 143296: Merge from donut Change 143147
Automated import of CL 143296
2009-03-27 17:43:53 -07:00
Mike Lockwood
f8dd2e1d4b AI 143287: am: CL 143095 Location Manager cleanup: move MockProvider to a separate file.
BUG=1729031
  Original author: lockwood
  Merged from: //branches/donutburger/...

Automated import of CL 143287
2009-03-27 17:03:45 -07:00
Romain Guy
604ed546b7 AI 143281: am: CL 142990 Fixes #1739360. SimpleCursorAdapter was calling (unnecessarily) toString() on the Cursor even in the case where a ViewBinder was being used. This could cause crashes when the cursor was currently on a blob. This change defers the String conversion to the case where no ViewBinder is used.
Original author: romainguy
  Merged from: //branches/donutburger/...

Automated import of CL 143281
2009-03-27 16:58:23 -07:00
Joe Onorato
32f114b3c7 AI 143279: am: CL 142828 am: CL 142827 Fix a typo that made the blink rate of the LED incorrect.
(and add a test that helped me debug it)
  Original author: joeo
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143279
2009-03-27 16:54:49 -07:00
Ed Heyl
a2debb356d AI 143278: Merge 142826: Add tutorial to platform. The tutorial can be launched with the new Intent ACTION_SYSTEM_TUTORIAL and
is available through Settings->About->System Tutorial

Automated import of CL 143278
2009-03-27 16:52:45 -07:00
Romain Guy
d9b7d24667 AI 143249: am: CL 142820 am: CL 142818 Fixes #1735278. Deep hierarchies could generate stack overflow exception due to new local variables introduces in Cupcake. This change removes 4 ints from the dispatchDraw/drawChild code path to save a bit of stack on deep hierarchies. This is a stop-gap measure but that's all we can/should do for now.
Original author: romainguy
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143249
2009-03-27 15:40:27 -07:00
Andreas Huber
059c446fbf AI 143244: am: CL 142801 am: CL 142799 Ensure thread exit resets mThread to null (synchronized with sListeners)
If sensors_data_poll failed the sensor thread would exit leaving
  mThread non-null, hence SensorManager would never again attempt
  to start the thread because it assumes that it's still running,
  compromising future sensor notifications.
  Original author: andih
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143244
2009-03-27 15:36:43 -07:00
Romain Guy
c4a5f87c7a AI 143240: am: CL 142790 am: CL 142788 Fixes #1730741. Marquee text was not always animated in context menus.
The reason for that bug was that the marquee could potentially be stopped/started as part of the layout workflow. Unfortunately TextView was relying on setFrame() being called after onMeasure() which is *not* always the case, especially when the widget is inside of a ListView. This change simply checks for the marquee restart flag in on the onDraw() method in case we skipped the setFrame() step.
  Original author: romainguy
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143240
2009-03-27 15:30:50 -07:00
Amith Yamasani
a565e5e3d0 Automated import from //branches/master/...@142936,142936 2009-03-26 10:19:09 -07:00
Grace Kloba
52cf58a2a4 Automated import from //branches/master/...@142846,142846 2009-03-25 20:05:44 -07:00
Chris Tate
82a0c4615e Automated import from //branches/master/...@142785,142785 2009-03-25 16:27:34 -07:00
Nick Pelly
b8088b9bc9 Automated import from //branches/master/...@142774,142774 2009-03-25 16:25:37 -07:00
Dianne Hackborn
4e829f0aca Automated import from //branches/master/...@142771,142771 2009-03-25 16:21:55 -07:00
Dianne Hackborn
95518a712c Automated import from //branches/master/...@142765,142765 2009-03-25 16:16:10 -07:00
Eric Fischer
fea44a0cc2 Automated import from //branches/master/...@142759,142759 2009-03-25 16:13:51 -07:00
Mark Womack
78ef45602a Automated import from //branches/master/...@142755,142755 2009-03-25 16:10:13 -07:00
Chris Tate
a7f7dee1e2 Automated import from //branches/master/...@142751,142751 2009-03-25 16:05:06 -07:00
Raphael Moll
0704009786 Automated import from //branches/master/...@142746,142746 2009-03-25 15:58:47 -07:00
Eric Fischer
09691cd15b Automated import from //branches/master/...@142739,142739 2009-03-25 15:51:17 -07:00
Karl Rosaen
c06a594d85 Automated import from //branches/master/...@142737,142737 2009-03-25 15:49:02 -07:00
Dave Sparks
f2a29345ee Automated import from //branches/master/...@142732,142732 2009-03-25 15:43:14 -07:00
Jack Palevich
b2e0cf3553 Automated import from //branches/master/...@142688,142688 2009-03-25 15:38:48 -07:00
Daisuke Miyakawa
c9a8e0ba6c Automated import from //branches/master/...@142673,142673 2009-03-25 15:23:27 -07:00
Jack Palevich
a605a51e63 Automated import from //branches/master/...@142658,142658 2009-03-25 15:16:50 -07:00
Leon Scroggins
6e3835ff4a Automated import from //branches/master/...@142632,142632 2009-03-25 15:15:24 -07:00