9248 Commits

Author SHA1 Message Date
Leon Scroggins
1be4098528 Make nativeMoveCursorToNextInput return a boolean and use it.
If nativeMoveCursorToNextTextInput does not succeed, do not set the
default selection or perform the other actions which assumed that the
move worked.

Part of fix for http://b/issue?id=2478052

Requires a change to external/webkit.
2010-03-01 12:50:12 -05:00
Mark Wagner
60919953ce check offset and don't crash 2010-03-01 09:28:29 -08:00
Joe Onorato
00bb93823d Add new Slog class. 2010-03-01 09:07:37 -08:00
Marc Blank
7c02ef117e Merge "Put _SYNC_LOCAL_ID into event entities" 2010-03-01 08:37:20 -08:00
Dave Sparks
a3afae33b7 Merge "Stop previous ringtone when silent is selected. Bug 2256593." 2010-03-01 07:55:11 -08:00
Derek Sollenberger
247c7275a1 Merge "force plugins to render on top of browser content." 2010-03-01 05:35:21 -08:00
Derek Sollenberger
2120cd663f force plugins to render on top of browser content. 2010-03-01 08:31:28 -05:00
Andrei Popescu
02e274321c Merge "VideoPlayer::onPrepared() can be called after the user pressed back in the VideoView. This can cass a NPE since our Timer would have been destroyed by then." 2010-03-01 05:30:05 -08:00
Bernd Holzhey
a3015b3e13 cleanup Exit car mode in UI.
Change notification text from 'disable car mode" to 'exit car mode'.
2010-03-01 10:26:46 +01:00
Marc Blank
2bd4fd279f Put _SYNC_LOCAL_ID into event entities
* This column is used by the Exchange sync adapter when sending change
  emails to attendees.

Change-Id: Ib23c07a30b41bfcbae874ae8aaa448fae2cfb6c3
2010-02-28 09:51:51 -08:00
Gilles Debunne
7628fbe031 Merge "Fixes for ExpandableListView with headers/footers" 2010-02-27 13:13:11 -08:00
Andrei Popescu
8aab46abca VideoPlayer::onPrepared() can be called after the user pressed back in the VideoView.
This can cass a NPE since our Timer would have been destroyed by then.

Add call to VideoView.stopPlayback() when the view is dismissed by the user.

Fix b: 2476002, 2475786, 2475786
2010-02-27 16:14:04 +00:00
Jacek Surazski
b71c6164ef Merge "Add BatteryInfo to ApplicationErrorReport." 2010-02-27 04:00:44 -08:00
Dianne Hackborn
87bba1ee14 Move DeviceAdmin APIs to android.app.admin.
Also add ability for admins to hide themselves when not in use,
a facility for admins to not allow other admins to reset
their password, and debug dumping.
2010-02-26 23:32:48 -08:00
Mathias Agopian
4e2b5cbad5 Merge "fix [2475541] Deprecate Sensor.TYPE_ORIENTATION" 2010-02-26 19:00:56 -08:00
Eric Fischer
4dce37b10b Merge "Import new translations." 2010-02-26 18:12:37 -08:00
Mathias Agopian
61a449393c fix [2475541] Deprecate Sensor.TYPE_ORIENTATION
It's much better to use SensorManager.getRotation() instead.
2010-02-26 18:06:26 -08:00
Robert Greenwalt
419ab66b07 Merge "Add build options for tethering." 2010-02-26 18:01:28 -08:00
Robert Greenwalt
c9d5fb7c95 Add build options for tethering.
Dun-required bool and list of allowed upstream ifaces.
2010-02-26 17:48:09 -08:00
Eric Fischer
a81894a96e Import new translations. 2010-02-26 17:25:47 -08:00
Mathias Agopian
7895da44e3 SensorManager: handle 270 and 180 rotation in the legacy APIs
Technically these APIs are deprecated, however old apps might still be using them
so we might as well make sure they work in all orientations.
2010-02-26 17:10:38 -08:00
Mathias Agopian
210fc914db [2472946] Sensor.TYPE_ORIENTATION returns inverted roll values
Fix the documentation to reflect reality and encourage developpers to use
SensorManager.getRotation() instead of using Sensor.TYPE_ORIENTATION
2010-02-26 17:09:14 -08:00
Dave Sparks
370dd39132 Stop previous ringtone when silent is selected. Bug 2256593. 2010-02-26 17:07:19 -08:00
Adam Powell
ccea766217 Merge "ListView now tries to keep the position containing focused child views on-screen." 2010-02-26 17:06:50 -08:00
Adam Powell
9bf3c12850 ListView now tries to keep the position containing focused child views on-screen. 2010-02-26 17:05:21 -08:00
Adam Powell
0edec2b3f6 Merge "FastScroller now reports scroll state changes for its associated AbsListView" 2010-02-26 16:46:35 -08:00
Ken Shirriff
9d06c5876d Unbundling: pull the recurrence string formatting out of EventRecurrence.
A separate change moves it to the calendar app.
2010-02-26 16:45:28 -08:00
Dianne Hackborn
8f7f35e0cc Add new -W option to Am to wait for the start to complete. 2010-02-26 16:34:33 -08:00
Adam Powell
d43bd48fe3 FastScroller now reports scroll state changes for its associated AbsListView 2010-02-26 16:29:09 -08:00
Mike LeBeau
340acd870a Add an extra which allows to query *only* for the voice search language preference.
This will be used by e.g. LatinIME to avoid extra computation when this is all that's
needed (probably a common use case for this API).
2010-02-26 15:20:56 -08:00
Gilles Debunne
47ccdf3760 Fixes for ExpandableListView with headers/footers
Patches in ExpandableListView to correctly handle header/footer shifter flat positions.
Make tests added in https://android-git.corp.google.com/g/#change,42312 pass.

Change-Id: I0d7823f5ae290e855bfdfb8d33c18bd34661077c
2010-02-26 14:59:44 -08:00
Robert Greenwalt
3f016cfd48 Merge "Fix hipri status notifications" 2010-02-26 14:58:45 -08:00
Suchi Amalapurapu
1f9e1b4c37 Remove public variables in PackageManager
Dont invoke getInstallLocation for forward locked apps.
If INSTALL_ON_SDCARD is selected as default, forward locked
apps are not being installed because of conflicting flags.
2010-02-26 14:32:24 -08:00
Romain Guy
92a65b23b2 Merge "Do not detach headers and footers from the list view." 2010-02-26 14:15:42 -08:00
Romain Guy
9b1bb81fe2 Do not detach headers and footers from the list view. 2010-02-26 14:14:13 -08:00
Robert Greenwalt
0e350f020a Fix hipri status notifications
MobileDataStateTracker was looking for "hipri" notifications, but it is really
just using the default apn.
2010-02-26 14:10:22 -08:00
Jacek Surazski
151de3d9df Add BatteryInfo to ApplicationErrorReport. 2010-02-26 22:52:44 +01:00
Fred Quintana
96d92f19c7 Merge "remove redundant @hides" 2010-02-26 13:43:09 -08:00
Doug Zongker
18bdb14e56 remove unused GoogleWebContentHelper resources
GoogleWebContentHelper now builds against the SDK, so remove these
resources (which it can't use any more).

b/2408470 - google-common needs to build against the SDK

Change-Id: I48556937ebcb5682d02ad48050299ffd6deed9ae
2010-02-26 13:21:43 -08:00
Fred Quintana
6cb6f246fe remove redundant @hides 2010-02-26 13:19:18 -08:00
Romain Guy
80615257cf Merge "Send cancel event to recycled views instead of an up. Bug #2309387" 2010-02-26 13:16:21 -08:00
Fred Quintana
1b487ec44b expose some sync control methods
- ActiveSyncInfo
- ContentResolver.addStatusChangeListener
  - SYNC_OBSERVER_TYPE_SETTINGS
  - SYNC_OBSERVER_TYPE_PENDING
  - SYNC_OBSERVER_TYPE_ACTIVE
- make the ContentService resilient to nulls passed in to the
  status change listener registration and unregistration calls

bug http://b/issue?id=2337197
2010-02-26 13:07:54 -08:00
Suchi Amalapurapu
0eec21d97d Add dialog to display storage users when enabling/disabling ums
Some error dialogs and related strings
MountService changes to follow unmount path when enabling ums.

Please note that MountService api setUmsEnabled does not return
error codes for now. This is a known limitation.
2010-02-26 12:48:21 -08:00
Daniel Sandler
6329bf7b1e New vibrate/silent mode behavior.
In earlier versions of Android, "vibrate mode" (in which
only alarms and media produce sound, but notifications may
operate the vibe motor) was only accessible by adjusting the
ringer volume (via the device's volume rocker) down until
the "vibrate" icon appeared (between the lowest ring volume
and silent mode).

Many users prefer that "silent mode" always allow vibration.
Others prefer Android's historical behavior, in which silent
mode stops the vibes as well.

To accommodate these two distinct usage patterns, we now
allow the user to decide whether vibration is allowed in
"silent mode", a user interface abstraction that now spans
both AudioManager.RINGER_MODE_VIBRATE and
AudioManager.RINGER_MODE_SILENT.

To minimize API impact (and therefore maximize backward
compatibility), RINGER_MODE_VIBRATE and RINGER_MODE_SILENT
remain unchanged. What has changed is what happens when the
user activates silent mode, either via Settings,
GlobalActions (longpress on power), volume rocker, or the
keyguard tab. In essence, there is now only one "silent"
position in these controls, and whether RINGER_MODE_VIBRATE
or RINGER_MODE_SILENT is actually set on the AudioService is
determined by a new one-off setting
(System.VIBRATE_IN_SILENT).  This new setting isn't meant to
be a long-term API, however: in the future we hope to
replace and extend this design with a much more
sophisticated set of systemwide feedback profiles. ETA TBD.

Related changes:
  * I09ad7d69 (GlobalActions and keyguard)
  * I22ba7bcf (Settings app)

Bug: 2457183
Change-Id: I14cf91b0910261ffdfd1bf302423f41ec747d057
2010-02-26 15:37:37 -05:00
Joe Onorato
4c904a3bf3 fix the build. 2010-02-26 12:35:55 -08:00
Patrick Scott
f8599bf814 Store the LoadListener in the SslErrorHandler passed to the client.
This ensures that the loader will not be null when passing the message to the
main handler.

Bug: 2474087
2010-02-26 15:23:36 -05:00
Romain Guy
8afa515936 Send cancel event to recycled views instead of an up.
Bug #2309387

This was a problem in lists with list items that would cause notifyDatasetChanged()
interleaved with a series of up/down motion events. This is a pretty rare case
but it's worth fixing it to avoid getting views in a weird state.
2010-02-26 11:56:30 -08:00
Vasu Nori
d20958551c Merge "in finalize() methods, log warnings if db lock is going to be held." 2010-02-26 11:45:54 -08:00
Gilles Debunne
b96f3b771b Merge "New tests for ExpandableListView to exercice packed position with headers/footers." 2010-02-26 11:37:41 -08:00
Dianne Hackborn
5cb70b5415 Rename Display.getOrientation() to Display.getRotation().
Update various docs.
2010-02-26 11:23:24 -08:00