1214 Commits

Author SHA1 Message Date
Romain Guy
fd6c927a6d Update indeterminate progress bar assets.
Bug #2469246
2010-03-04 11:17:05 -08:00
Adam Powell
37f700a83c Merge "InputDevice filtering for jumpy screens. Updated ScaleGestureDetector for framework deprecations." 2010-03-03 17:22:15 -08:00
Adam Powell
f5bcc6addd InputDevice filtering for jumpy screens.
Updated ScaleGestureDetector for framework deprecations.
2010-03-03 17:12:55 -08:00
Robert Greenwalt
5a73506cdd Add error reporting for Tethering.
Also make the usb interface configuration more robust so retries are possible.

Makes all Tethering errors recoverable - no harm letting them try again anyway.  Worst case
is they need to reboot.
2010-03-03 15:14:29 -08:00
Bjorn Bringert
22b23a1bea Use "play" icon for search dialog button in Browser
Fixes http://b/issue?id=2485462

Change-Id: Ibc8843b236aa0a063d91fbd37a2c09cebd21163e
2010-03-03 21:50:29 +00:00
Wink Saville
25c374e836 Merge "Fix documentation." 2010-03-02 18:00:01 -08:00
Bjorn Bringert
d95c8f2dae Merge "Fixing: search button and mic button are not right-aligned" 2010-03-02 10:57:35 -08:00
Valentin Kravtsov
59b0b74abf Fixing: search button and mic button are not right-aligned
Second part of bug fix for: http://b/issue?id=2478280

On sapphire only, the right edge of the mic and search buttons is not aligned

Change-Id: I1919c762eafca19de026fb4f10e03574d02b423c
2010-03-02 18:44:51 +00:00
Daniel Sandler
7491d8757f Merge "New vibrate/silent mode behavior." 2010-03-01 17:16:55 -08:00
Romain Guy
61c9d4b450 Let apps change the bottom strip in TabWidget.
Bug #2478088

Also expose a few useful APIs.
2010-03-01 14:23:23 -08:00
Robert Greenwalt
921ec7fb75 Fix documentation.
config_tether_upstream_regexs documentation wasn't clear.
2010-03-01 11:53:39 -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
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
Eric Fischer
4dce37b10b Merge "Import new translations." 2010-02-26 18:12:37 -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
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
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
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
Jim Miller
69ac988745 Fix 2336057: Provide a way for the user to return to a call from LockScreen.
This makes the "Emergency call" button dual-purpose. If there's a call in progress,
the button will show "Return to call" and take the user back to the call.
2010-02-25 20:07:56 -08:00
Amith Yamasani
55df5c2c7c Configuration param to indicate if sd card is behind the battery.
This is to disable unmounting of the sd card by the user.
2010-02-24 20:27:54 -08:00
Christopher Tate
3dda518a4f Add 'restoreAnyVersion' attr for apps that want to restore "future" data
If a backup-participating app sets android:restoreAnyVersion="true" in its
manifest <application> tag, then its agent will be invoked for restore
even if the available dataset was created by a later version of the app
than is currently installed on the device.  This will not typically be
a problem for third party applications, since for them the installation
and initial data restore are tightly coupled, but it can cause serious
problems for applications which are both preinstalled on the system
partition and overridden by later updates.  The primary difficulty
that this new attribute addresses is this:

1. User buys a Nexus One, Market self-updates, and the user installs some apps.
At this point the backup data on the server may indicate that the version of
Market which originated its bookkeeping is newer than the stock N1 Market app.
2. User loses their phone, and buys a replacement N1.  At setup time, Market
has not yet had a chance to self-update, so when the restore comes in, it's
tagged as being from "the future" and so the restore is refused.  No apps get
reinstalled.

Bug: 2442127
Change-Id: I076a9553dc613e5c3189350e778315718ed1ed2b
2010-02-24 17:23:54 -08:00
Kenny Root
4217a3e0c2 Fix spelling mistakes in attrs_manifest.xml
Change-Id: I6ff54cacff85ff60535b2c03559a33d219c52e72
2010-02-24 13:53:16 -08:00
Kenny Root
846ebf38ab Merge "Add some backup Javadoc and clean imports" 2010-02-24 13:19:14 -08:00
Kenny Root
5a20ea16d7 Add some backup Javadoc and clean imports
Add a bit more Javadoc to the backup infrastructure and clean up unused
imports.

Change-Id: I8ab7c3fb887ae2e8d2f1bfac42f03cb4b42685ef
2010-02-24 12:47:14 -08:00
Romain Guy
9897c67c05 Add disabled state to the Spinner widget.
Bug #2464034
2010-02-24 10:02:30 -08:00
Joe Onorato
0e93b562f4 Merge "Make the notification windowshade work properly with overscroll." 2010-02-23 19:20:22 -08:00
Joe Onorato
f0fda925e6 Make the notification windowshade work properly with overscroll.
Bug: 2432590
2010-02-23 19:18:54 -08:00
Roy West
2854419072 Merge "Edit strings related to calendar permissions, bug 2463956." 2010-02-23 18:09:19 -08:00
Roy West
7467d49e61 Edit strings related to calendar permissions, bug 2463956. 2010-02-23 17:18:22 -08:00
Romain Guy
9844b27c05 Merge "Remove unused private assets from Android 1.0." 2010-02-23 16:01:37 -08:00
Romain Guy
3ce488143c Remove unused private assets from Android 1.0. 2010-02-23 16:00:52 -08:00
Adam Powell
5375116901 Fixing pressed state in preferences, addresses bug 2310741 2010-02-23 12:05:14 -08:00
Bjorn Bringert
cfe79e9220 Merge "Clean up global search and web search activity finding" 2010-02-23 06:28:31 -08:00
Bjorn Bringert
6cf7a325e6 Clean up global search and web search activity finding
This removes the '*' value for android.app.searchable and
android.app.default_searchable that was previously used by apps to say
that they want global search as their search. I think the only
activity that this will affect is the wallpaper chooser in the
launcher, which doesn't seem like it matters.  It could mean that some
third party code will stop invoking global search, but all they would
need to do is call startSearch() with globalSearch=true instead.

Fixes http://b/issue?id=2377433 and http://b/issue?id=2377429

Change-Id: I0252952b44ae85dab31221b598ed79cc24e2b580
2010-02-23 14:27:43 +00:00
Valentin Kravtsov
d162a114cc Increasing the VS button's touchable area
adding invisible padding to the background buttons

Change-Id: Icb8ff9b31e83049520566c2498e1f82067636897
2010-02-23 11:29:17 +00:00
Adam Powell
8e4e7263e5 Standard alert dialogs overscroll only when content scrolls 2010-02-22 15:18:14 -08:00
Joe Onorato
679dd12fa1 Ignore touch down events near the edge of the screen for the purposes of pulling down the
windowshade.

This makes it happen less often when you pick up the device or push open the keyboard.
2010-02-22 10:52:11 -08:00
Leon Scroggins
4379dca2f4 Change the text for the browser downloads and history views.
Fix for http://b/issue?id=2450232
2010-02-22 09:13:57 -05:00
Suchi Amalapurapu
8946dd3355 Move package from internal to external and vice versa. 2010-02-19 14:20:54 -08:00
Jim Miller
2c0b6ddf2a Fix 2455162: Fix mdpi password entry keyboard to show 'OK' instead of return icon. 2010-02-18 17:32:01 -08:00
Tobias Haamel
154f7a1cc2 Show car mode notification in status bar.
The notification is an ongoing event and can be used to get out of car mode.
2010-02-18 11:43:03 -08:00
Adam Powell
c9fbaabc1b XML attribute for overscrolling behavior 2010-02-17 11:47:00 -08:00
Dianne Hackborn
ef6b22fc04 Fix issue #2420412: API review: DeviceAdmin API changes
Note in docs that callbacks are on main thread.
Rename to DeviceAdminReceiver?
Document resetPassword is the device's password.

Also hide android.R.attr.neverEncrypt.
2010-02-17 10:29:52 -08:00
Leon Scroggins
e265532f30 Create a default style for WebTextView.
As a result, all apps using WebView (and therefore WebTextView)
will get the same style, and display properly.

Fixes http://b/issue?id=2385422
2010-02-17 10:30:12 -05:00
Robert Greenwalt
6a6ce74e59 Merge "Update Tethering." 2010-02-16 17:11:10 -08:00
Robert Greenwalt
2a091d7aa0 Update Tethering.
Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855
2010-02-16 16:56:09 -08:00
Costin Manolache
63cfebf2db Switch from REMOTE_INTENT to the new push messaging, add the required permission. 2010-02-16 13:57:52 -08:00