2685 Commits

Author SHA1 Message Date
Mike Lockwood
f32be166d5 wifi: Disable RSSI polling when the screen is off.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-14 18:28:35 -04:00
Android (Google) Code Review
4caac2bb4c Merge change 7140 into donut
* changes:
  Add more logging to track down a monkey bug
2009-07-14 15:01:07 -07:00
Android (Google) Code Review
83a066c6d8 Merge change 7135 into donut
* changes:
  Fixes lock on Home. Adds a new API on Dialog to get a callback when the dialog shows.
2009-07-14 14:51:06 -07:00
Romain Guy
045163ac16 Fixes lock on Home. Adds a new API on Dialog to get a callback when the dialog
shows.
2009-07-14 14:50:31 -07:00
Andrei Popescu
190adf7fb2 Remove the Google domains from the Gears permission table when the global location setting is set to false 2009-07-14 14:24:04 -07:00
Tom Taylor
f748f22f4e Add more logging to track down a monkey bug
The monkey has found a situation where getting or creating a thread id is
failing. Add more logging code to help track down the bug.
2009-07-14 14:20:43 -07:00
Romain Guy
e8b165253d Fixes #1977685. Prevent crash when the soft keyboard is brought up.
ViewRoot keeps a reference to the previously focused View and use this reference
when trying to scroll the window to the focused rect. There situations however
in which the previously focused view might have been removed from the view
hierarchy. This happens on Home for instance when you trash an icon, or with
ListView's items. This change ensures the previously focused view is still part
of the view hierarchy.
2009-07-14 13:06:42 -07:00
Android (Google) Code Review
b82759a051 Merge change 6906 into donut
* changes:
  location: Add sub-locality, sub-thoroughfare and premises fields to Address class
2009-07-14 12:00:55 -07:00
Mike Lockwood
8cd1084ed1 location: Add sub-locality, sub-thoroughfare and premises fields to Address class
This is required for fully describing locations in Japan.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-14 14:41:22 -04:00
Dianne Hackborn
b06ea70653 Add reporting of activity movement for search manager.
This adds a new API with the activity manager to find out about movement between
activities.  For my sanity, the old IActivityWatcher is now renamed to
IActivityController, and the new activity movement interface is named
IActivityWatcher.

This changes the search manager itself to use the new API to manage its state.
Note that there are still problems when going back to the search dialog after
it was hidden -- the suggestions window no longer appears until you explicitly
dismiss and re-show it.
2009-07-14 11:37:11 -07:00
Mitsuru Oshima
ddd12535f0 Return adjusted display for WindowManager.getDefaultDisplay() 2009-07-14 11:11:17 -07:00
Android (Google) Code Review
3660c09500 Merge change 7094 into donut
* changes:
  Cleaning up TtsService
2009-07-14 10:55:57 -07:00
Charles Chen
edb4fc3076 Cleaning up TtsService 2009-07-14 10:54:36 -07:00
Android (Google) Code Review
e8b88ac15c Merge change 7097 into donut
* changes:
  Fix to use DP instead of pixels for Thumb drawable size.
2009-07-14 10:44:14 -07:00
Android (Google) Code Review
9181bc9ab7 Merge change 7079 into donut
* changes:
  Cleanup of unused enums
2009-07-14 10:41:14 -07:00
Mitsuru Oshima
a5e4415256 Fix to use DP instead of pixels for Thumb drawable size. 2009-07-14 10:37:22 -07:00
Android (Google) Code Review
df01d6b50b Merge change 7064 into donut
* changes:
  Implementing utterance ID callbacks for silence and pre-recorded files (both generating and playing).
2009-07-14 09:18:46 -07:00
Dave Sparks
8978bd0174 Cleanup of unused enums 2009-07-14 08:02:37 -07:00
Bjorn Bringert
c1d82e68eb Use activity icon when search suggestion icon is missing
New left-hand side icon fallback logic in search dialog:

1. If the search dialog gets no icon column, it shows no
   icon (like before). This would handle the case of in-app
   search where the provider does not include icons.
2. If the icon column is empty, or there is an error converting
   the icon id or URI to a drawable, the search dialog identifies
   the suggestion source by looking at the
   SUGGEST_COLUMN_INTENT_COMPONENT_NAME.
3. If SUGGEST_COLUMN_INTENT_COMPONENT_NAME is empty or not set,
   the current searchable activity is considered the suggestion source.
4. Try to get the activity icon of the suggestion source.
5. Fall back to the application icon of the suggestion source
   if there is no activity icon.
6. Fall back to some generic icon if there is no application icon.

Fixes http://b/issue?id=1905757
2009-07-14 13:52:01 +01:00
Android (Google) Code Review
3a27b29e41 Merge change 7069 into donut
* changes:
  Make VPN connect even when DNS is not present and other fixes.
2009-07-14 01:53:56 -07:00
Hung-ying Tyan
85646c1df3 Make VPN connect even when DNS is not present and other fixes.
* Changes:
  + As title.
  + Add two new states to VpnState: UNKNOWN and UNUSABLE.
  + Add more debug messages when stopping a service and when DNS being
    overridden.
2009-07-14 16:29:22 +08:00
Charles Chen
3ab2076d65 Implementing utterance ID callbacks for silence and pre-recorded files
(both generating and playing).
2009-07-13 21:21:01 -07:00
Android (Google) Code Review
8af55ca4dd Merge change 7008 into donut
* changes:
  Adding Utterance ID to the TtsService.
2009-07-13 18:25:01 -07:00
Android (Google) Code Review
3139297f1e Merge change 7035 into donut
* changes:
  Fixes #1972593. Updates AppSecurityPermissions styles in Theme.Light
2009-07-13 17:52:59 -07:00
Romain Guy
17606f8852 Fixes #1972593. Updates AppSecurityPermissions styles in Theme.Light 2009-07-13 17:52:19 -07:00
Charles Chen
78c9d0d2c5 Adding Utterance ID to the TtsService. 2009-07-13 17:46:19 -07:00
Android (Google) Code Review
c353268c20 Merge change 6968 into donut
* changes:
  Import new translations
2009-07-13 16:30:16 -07:00
Android (Google) Code Review
35eea54a40 Merge change 6935 into donut
* changes:
  DO NOT MERGE: backporting from master:
2009-07-13 15:44:57 -07:00
Eric Fischer
0560209bcd Import new translations 2009-07-13 15:42:14 -07:00
Android (Google) Code Review
334b861e33 Merge change 6925 into donut
* changes:
  Propagate optional audio stream type to the creation of the audio resources to enable the playback of TTS content on various stream types.
2009-07-13 13:36:37 -07:00
Mike Lockwood
2872e30684 DO NOT MERGE: backporting from master:
CDMA: Add Network ID and System ID to CdmaCellLocation.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-13 16:27:43 -04:00
jsh
aa4593706e Update javadoc for TelephonyManager.getNetwork* for CDMA.
These are unreliable for CDMA, so note it in the javadoc. Also update
for the corresponding TelephonyProperties.
2009-07-13 12:54:45 -07:00
Jean-Michel Trivi
9440bce855 Propagate optional audio stream type to the creation of the audio resources
to enable the playback of TTS content on various stream types.
2009-07-13 11:34:30 -07:00
Suchi Amalapurapu
ea5c044412 When apps switch between system and data partition the code and
resource paths should also be updated based on which version
is being picked up. update the code and resource paths when a path change
is detected
2009-07-13 10:57:50 -07:00
Dave Sparks
c4ca420625 Fix build 2009-07-13 09:42:43 -07:00
Android (Google) Code Review
6cdc4f9c00 Merge change 6880 into donut
* changes:
  Fixing TTS breakage.
2009-07-13 09:25:20 -07:00
Joe Onorato
186b3eaedd Make the backup manager do nothing when backup is turned off. 2009-07-13 09:08:59 -07:00
Android (Google) Code Review
5c04841ee3 Merge change 6912 into donut
* changes:
  JavaDoc for SearchableInfo.getActivityMetaData()
2009-07-13 09:04:25 -07:00
Android (Google) Code Review
8ceba810d5 Merge change 6871 into donut
* changes:
  Use SetByteArrayRegion to minimize copy overhead and JNI calls.
2009-07-13 09:04:01 -07:00
Bjorn Bringert
13b24b7904 JavaDoc for SearchableInfo.getActivityMetaData()
See http://b/editIssue?id=1968025
2009-07-13 15:29:59 +01:00
Android (Google) Code Review
506dd3fc13 Merge change 6907 into donut
* changes:
  Initialize searchmanager on demand
2009-07-13 06:11:08 -07:00
Bjorn Bringert
9bc75cb9c2 Initialize searchmanager on demand
The initialization of SearchManagerService is delayed, which caused
problems when other services (e.g. GlobalSearch) start up.
This change makes the SearchManagerService components
initialize when they are first needed, or when the server thread
is done with its other processing, whichever comes first.

Fixes http://b/issue?id=1970975
2009-07-13 13:23:23 +01:00
Hung-ying Tyan
c22ce6a738 Remove host IP from related VPN classes.
...since the daemon (racoon) gets the information by itself.
2009-07-13 19:31:08 +08:00
Android (Google) Code Review
575eb92885 Merge change 6883 into donut
* changes:
  Add error code in vpn connectivity broadcast.
2009-07-12 23:40:46 -07:00
Hung-ying Tyan
df1aa3359c Add error code in vpn connectivity broadcast.
* Changes
  + Add VpnConnectingError.java.
  + Broadcast the error returned by daemons.
  + Add error codes to VpnManager.java.
  + Add error code to VpnManager.broadcastConnectivity().
  Patch Set 4:
  + Replace VPN_UP with VPN_STATUS in response to ip-up-vpn changes.
  + Make VpnServiceBinder a foreground service so that it won't be
    interrupted by the system.
  Patch Set 5:
  + Remove the support of returning 0 from daemon and restart socket in
    AndroidServiceProxy.
2009-07-13 13:11:36 +08:00
Mitsuru Oshima
ba3ba57921 * Use cached resources for widgets 2009-07-11 21:50:16 -07:00
Charles Chen
630a8de44f Fixing TTS breakage. 2009-07-10 20:58:15 -07:00
Dave Sparks
a95f495f75 Use SetByteArrayRegion to minimize copy overhead and JNI calls. 2009-07-10 18:13:36 -07:00
Android (Google) Code Review
cf29e11612 Merge change 6867 into donut
* changes:
  CLOSE_SYSTEM_DIALOGS can't be protected.
2009-07-10 17:38:29 -07:00
Dianne Hackborn
4554f30c83 CLOSE_SYSTEM_DIALOGS can't be protected. 2009-07-10 17:30:50 -07:00