4146 Commits

Author SHA1 Message Date
Android (Google) Code Review
ebd45e5ca9 Merge change I55edce63 into eclair
* changes:
  Fix issue #2149145: Safe Mode does not work on Sholes device
2009-09-28 18:11:28 -04:00
Mike Cleron
fe81d386a8 Remove obsolete links; start at a method to turn on fading scrollbars 2009-09-28 14:34:14 -07:00
Romain Guy
b4c547a56c Fix possible NPE in AbsListView.positionSelector().
ListView was being reckless and calling the method with a null object in some
situations.

Change-Id: Ibb595a1ff6f916c699e4af55450966dd7fd8c156
2009-09-28 13:45:00 -07:00
Dianne Hackborn
6af0d50a8e Fix issue #2149145: Safe Mode does not work on Sholes device
The APIs for checking whether keys are held down now also look
at virtual keys.

However it turns out there is less than a second between the time we
start the input thread and check for safe mode, so there is not enough
time to actually open all of the devices and get the data from them
about the finger being down to determine if a virtual key is down.

So now you can also hold DPAD center, trackball center, or s to
enter safe mode.  Also give some vibrator feedback.

Change-Id: I55edce63bc0c375813bd3751766b8070beeb0153
2009-09-28 13:40:45 -07:00
Nick Pelly
aef439e6f8 Move android.bluetooth.ParcelUuid to android.os.ParcelUuid
Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631
2009-09-28 13:06:22 -07:00
Android (Google) Code Review
2dfa6edcd0 Merge change Ida50e915 into eclair
* changes:
  Pass limit=50 to all suggestion sources.
2009-09-28 15:47:56 -04:00
Bjorn Bringert
3fc7c67de1 Pass limit=50 to all suggestion sources.
Should mitigate http://b/issue?id=2149158
"Bad suggestions behavior within contacts app
search for 10k contact db"

Change-Id: Ida50e9157c3ce46fc7892ef09a67da9f4008e665
2009-09-28 20:32:13 +01:00
Android (Google) Code Review
9d686c9384 Merge change 27474 into eclair
* changes:
  Don't crash search when getKeyDispatcherState() is null
2009-09-28 14:46:43 -04:00
Mike Cleron
3ecd58c650 Fix build 2009-09-28 11:44:36 -07:00
Android (Google) Code Review
14f65ff945 Merge change 27243 into eclair
* changes:
  Add drop shadow to contact name in ContactHeaderWidget
2009-09-28 14:44:42 -04:00
Bjorn Bringert
5b6b41241d Don't crash search when getKeyDispatcherState() is null
Fixes http://b/editIssue?id=2150672

Change-Id: I6fb87c1a59b4b3a945822932047a66c4116e6391
2009-09-28 19:37:29 +01:00
Android (Google) Code Review
fedb32696a Merge change 27349 into eclair
* changes:
  Fix 2143297: Fix transition from password -> visible password
2009-09-28 14:12:03 -04:00
Android (Google) Code Review
96e42b3a54 Merge change 27462 into eclair
* changes:
  Add an API to request a system activity to turn on Bluetooth.
2009-09-28 14:09:47 -04:00
Amith Yamasani
a8c0edb8fb Fix 2143297: Fix transition from password -> visible password 2009-09-28 11:08:57 -07:00
Nick Pelly
1acdcc1a50 Add an API to request a system activity to turn on Bluetooth.
Change-Id: I2fca33ad27017ea4e2ecba37854b749682d07672
2009-09-28 11:04:00 -07:00
Mike Cleron
f116bf8884 Fading scrollbars return. But you have to opt in. 2009-09-28 10:47:04 -07:00
Android (Google) Code Review
5d062bc3de Merge change 27426 into eclair
* changes:
  Handle the case where GoogleLocationSettingObserver::onChange is called after GoogleLocationSettingObserver::doNotObserve().
2009-09-28 13:33:01 -04:00
Evan Millar
b71e554d7e Add drop shadow to contact name in ContactHeaderWidget
Change-Id: Ieb6555bfca014b98567d1a981eaeb04e887e4dff
2009-09-28 10:10:33 -07:00
Grace Kloba
0d03b91407 Before we send VIEW_SIZE_CHANGED after first layout,
we should remove VIEW_SIZE_CHANGED in the queue if
there is any as we are going to send the message in
the front of the queue.

Fix http://b/issue?id=2133222
2009-09-28 10:10:15 -07:00
Android (Google) Code Review
fee73ee2d6 Merge change 27411 into eclair
* changes:
  Cache inflated view to avoid inflation of layouts in preferences If layout id is specified for a Preference object, convertView is set to null in its adapter which results in inflation of Preference view in getView each time the Preference object is laid out on the screen. Just use an instance variable to cache the inflated view nulling it whenever the layout changes and use it in initing the convertView in getView.
2009-09-28 13:07:16 -04:00
Grace Kloba
207308a781 WebView may get message after destroy() is called.
Just return in this case.

Fix http://b/issue?id=2143668
2009-09-28 09:41:33 -07:00
Andrew Stadler
6585fe004e Add extension->mime type mappings
* Microsoft Office common extensions
* .xml -> text/xml
* Change existing mapping of ".pot"->"text/plain" to ".po"

Note:  We already had a definition for .pot to text/plain.  Per the
information found at <http://www.fileinfo.com/extension/pot> this is the
rarely seen "portable object file", and is often named ".po" to avoid
this same conflict.

Addresses bug # 2097457

Change-Id: I964b853fdeae77d742f627c535a8b32e0e53516a
2009-09-28 09:23:53 -07:00
Daniel Sandler
b19774d520 Updated status bar graphics (drop date 9/25/09). 2009-09-28 10:38:38 -04:00
Andrei Popescu
7885381f9b Handle the case where GoogleLocationSettingObserver::onChange
is called after GoogleLocationSettingObserver::doNotObserve().

Fixes http://b/issue?id=2147888
2009-09-28 12:42:02 +01:00
Suchi Amalapurapu
01dbc2ed55 Cache inflated view to avoid inflation of layouts in preferences
If layout id is specified for a Preference object, convertView is set to null
in its adapter which results in inflation of Preference view in getView each time the Preference object is laid out on the screen.
Just use an instance variable to cache the inflated view nulling it whenever the layout changes and use it in initing the convertView in getView.
2009-09-28 00:46:05 -07:00
Dmitri Plotnikov
a60479d2ea Fixing broken javadoc.
Was linking to a hidden interface.

Change-Id: Iff48cb97ed4078b2b91bade9a47d7afc5d7891bf
2009-09-27 20:16:37 -07:00
Dmitri Plotnikov
879664e3e2 Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.
Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
2009-09-27 19:47:48 -07:00
Android (Google) Code Review
e883847f17 Merge change 27292 into eclair
* changes:
  Add documentation about flash and change video-light to torch.
2009-09-27 22:13:43 -04:00
Wu-cheng Li
068ef42c3f Add documentation about flash and change video-light to torch. 2009-09-27 17:29:44 -07:00
Android (Google) Code Review
02541fe6a2 Merge change 27351 into eclair
* changes:
  Allow wallpaper picker to work.
2009-09-27 20:06:33 -04:00
Dianne Hackborn
aef405d829 Allow wallpaper picker to work.
Change-Id: I379f25e0e8e372d72c0a89e71ccd584a5dbb3648
2009-09-27 17:05:46 -07:00
Christopher Tate
f582a69dd2 Don't back up / restore "allow apps from unknown sources"
We no longer back up the state of the "Allow the installation of applications
from unknown sources" setting, nor do we set that based on restore data even if
it is present.

Change-Id: Ida276874616f1ff82807d642b0b733fcab339529
2009-09-27 16:36:14 -07:00
Android (Google) Code Review
e02e8b9c11 Merge change 27315 into eclair
* changes:
  Reset mPreventDrag at touch_down.
2009-09-27 18:04:13 -04:00
Grace Kloba
d66d84ffa2 Reset mPreventDrag at touch_down.
Check the delta for short press case as we may switch to
PREVENT_DRAG_NO at SWITCH_TO_SHORTPRESS.

This should fix another two corner cases where flick doesn't
do anything.
2009-09-27 14:53:45 -07:00
Wei Huang
fbb7263121 add new column "real_date" for IM messages table.
Change-Id: I5c4b3da0843ff0205c2aff5f89639aba47a84e3b
2009-09-27 14:46:20 -07:00
Wei Huang
c6b336d6a4 bug 2148061: if PduBody is zero length, treat it as an empty message.
Change-Id: I2f352dd481f6b8d02b67cd3a44d692e3a5d03999
2009-09-27 13:39:46 -07:00
Android (Google) Code Review
e7d60bfdff Merge change 27032 into eclair
* changes:
  BatteryService: Specify low battery levels in resources.
2009-09-27 15:43:17 -04:00
Android (Google) Code Review
94bbfa47b0 Merge change 27142 into eclair
* changes:
  Handle expiration of discovery mode in system server.
2009-09-27 15:42:14 -04:00
Mike Lockwood
d81b1f41e5 BatteryService: Specify low battery levels in resources.
Also trigger low battery when battery reaches the specified level
rather than when it drops below the level.

Fixes bug b/1788656

Change-Id: I81f5cbb9892fc6574320d92e153211f83c69f415
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-27 15:42:07 -04:00
Android (Google) Code Review
65dea14caf Merge change 27129 into eclair
* changes:
  Bounds check read and write path in native code.
2009-09-27 15:41:51 -04:00
Android (Google) Code Review
e03848eb93 Merge change 27154 into eclair
* changes:
  When change from narrow screen to wide screen, we will leave the mMinZoomScale to 1.0
2009-09-27 15:24:48 -04:00
Android (Google) Code Review
954e98e023 Merge change 27267 into eclair
* changes:
  Add official assets for tabs in compatibility mode
2009-09-27 14:05:05 -04:00
Mike Cleron
68d9254d59 Add official assets for tabs in compatibility mode 2009-09-27 11:00:14 -07:00
Android (Google) Code Review
141e4f1d69 Merge change 27177 into eclair
* changes:
  Add auto-brightness mode to the list of backed-up settings
2009-09-27 13:20:44 -04:00
Dmitri Plotnikov
8e55eaccff Changing contact status to Presence-based
Change-Id: I35589e87f1e1743413d3f10509e9eccc333aa2fb
2009-09-27 08:23:58 -07:00
Android (Google) Code Review
db9c3f2e9a Merge change 27188 into eclair
* changes:
  Fix 2146581: Make tabs work for donut apps Use different tab assets with the original coloring scheme for apps that are not Eclair-aware.
2009-09-27 03:31:59 -04:00
Dianne Hackborn
2397640740 Maybe fix issue #2145012: Array bounds exception in touch event processing
Change-Id: I223d9ae29f22f08cb8426ccd8bbadeedd5db3fc3
2009-09-26 17:34:50 -07:00
Android (Google) Code Review
093f581090 Merge change 27238 into eclair
* changes:
  The touch screen is probably a feature.
2009-09-26 20:00:07 -04:00
Dianne Hackborn
039c68e756 The touch screen is probably a feature.
Also extend the feature APIs a bit.

Change-Id: I99e932d7f4e61edb0e20f75c55e9831e4b59a14d
2009-09-26 16:39:23 -07:00
Android (Google) Code Review
3579c4c672 Merge change 27234 into eclair
* changes:
  Fix http://b/issue?id=2106682 (Don't show status if we don't have it).
2009-09-26 17:49:12 -04:00