1239 Commits

Author SHA1 Message Date
Roy West
e45805927c Second of three sets of minor edits for SD card storage text.
Change-Id: I53e76142fa77b01d5a5ab3fae2b5dafead7f8445
2010-03-11 17:17:30 -08:00
Adam Powell
52733902b4 Let ListView overscroll header/footer attributes take a color
Change-Id: I8b21794d177299f2f649a58ab972291bbc4dab5a
2010-03-11 10:13:50 -08:00
Adam Powell
bfb5d4b93b Added overscroll headers and footers to ListView.
These let developers set a drawable for the list header and footer
to be drawn above and below list content.

Change-Id: Ideddec854cb0bc11f83efb3c000c217844be82c7
2010-03-10 22:14:28 -08:00
Dianne Hackborn
2ee89ea288 Applications should -not- be able to set preferred activities.
I can't believe I let this slip through.  And in the SDK no less. :(

The APIs for setting preferred activities will now throw a security
exception when used.  This may break some apps, we'll see how it
goes.  If it is too bad we can just make these log and not throw
anything, but I would much prefer they throw an exception.

Change-Id: I3aed434750eef8b202aa9d5bd774a0121be521c6
2010-03-10 21:26:23 -08:00
Joe Onorato
02a5cd13b7 use ifContentScrolls in the windowshade
Change-Id: Ia261e60233cc6dd23d0fcf8459ed8f17597e8448
2010-03-10 16:26:35 -08:00
Tobias Haamel
eb2d9534bc Fix: Polished icons for car mode notification
Bug #2496930
Bug #2465538

Change-Id: I4ba9a53573791df7813d86c10faa901391247386
2010-03-10 09:17:43 +01:00
Robert Greenwalt
a599fe7c0d Re-add tethered notification to framework.
Add new artwork and string.

Change-Id: I9c4b2b4bdbd10ee9355c3a7ca81b29fba3b5830c
2010-03-09 11:20:13 -08:00
Dmitri Plotnikov
aeae357f63 Showing phonetic name in the contact header.
Change-Id: I83f608ddf3a01ba6c29687f9e78212800e4ad4b1
2010-03-08 16:05:41 -08:00
Bjorn Bringert
6aa6185709 Merge "Fixing: Position of right button edge is different for VS" 2010-03-08 07:16:16 -08:00
Bjorn Bringert
d1b21ff09a Merge "Hide Go button in browser when no text is entered" 2010-03-08 05:45:42 -08:00
Amith Yamasani
56ddddd426 Update keyboard key assets. 2010-03-05 21:36:29 -08:00
Grace Kloba
c0068adc86 Merge "Adding over scroll to webview. We will always apply over scroll vertically. In horizontal direction, if the page can't be zoomed and the current content just fit, we will not do over scroll." 2010-03-05 13:06:15 -08:00
Grace Kloba
d7625dd281 Adding over scroll to webview. We will always apply
over scroll vertically. In horizontal direction, if
the page can't be zoomed and the current content just
fit, we will not do over scroll.

Per UI request, only draw the shadow when title bar
is not visible.
2010-03-05 11:51:02 -08:00
Valentin Kravtsov
5fcea7e317 Fixing: Position of right button edge is different for VS
bug fix for: http://b/issue?id=2491958

Position of right button edge is different for voice search and Go button in search dialog

STEPS TO REPRODUCE:
1. Open Browser (or Maps)
2. Press search button
3. Look at right edge of voice search button and type 'a'

EXPECTED RESULTS:
The edge of the button does not move

OBSERVED RESULTS:
The edge of the button moves slightly to the left when text is entered.

Change-Id: I92709c14faf1a88c40c5070a23b5e81e01bcff47
2010-03-05 19:22:30 +00:00
Dianne Hackborn
7299c41630 Refactor car mode.
Extract all UI behavior from dock observer and ACTION_DOCK_EVENT.

Also introduce a desk type to go along with the car type all through
the resource system, since we now need to have corresponding high-level
broadcasts for desk dock mode.  As part of that I also reworked some
of the logic for switching modes to all funnel through a single
update() call that looks all of the current state to decide what to
do next, and fixed various locking issues.

In addition I found there were bugs in the configuration change
handling causing us to only switch into the car mode config and
then never get out of it.  Unfortunately now that we are actually
changing the configuration for each mode change, the transitions
between them are really crummy as we restart all kinds of
activities. :(
2010-03-05 10:57:47 -08:00
Bjorn Bringert
33b167be34 Hide Go button in browser when no text is entered
Fixes http://b/issue?id=2485438

Change-Id: If3d6106eebb22d8b4a2d9aed8d3118c14fdbedde
2010-03-05 16:28:33 +00:00
Daniel Sandler
24e09b9957 New artwork for audio settings on keyguard and power menu.
Introduces new vibe-mode icons for GlobalActions and makes
other icons (volume & silent) consistent on GlobalActions
and the keyguard.

Change-Id: Ic9a04bb8929343faf6c33f5db9894b0c8febaa2d
2010-03-05 09:32:50 -05:00
Robert Greenwalt
e7085e909d Update framework tethering UI
Getting rid of notification dialog - maybe the entire TetherActivity.
Also getting rid of toasts - to ephemeral.
2010-03-04 18:20:58 -08:00
Eric Fischer
bf8a78f60c Merge "Import new translations" 2010-03-04 14:17:32 -08:00
John Wang
fc26c77f61 Update DSAC notification.
Update the notification string of CS restricted per DoCoMo's request. More restricted message string are added for future use.
2010-03-04 14:09:24 -08:00
Eric Fischer
7f2be9806e Import new translations 2010-03-04 14:02:53 -08:00
Daniel Sandler
175ab23dbf Merge "Remove whitespace around UMS dialog artwork." 2010-03-04 11:58:38 -08:00
Daniel Sandler
88c81c5387 Remove whitespace around UMS dialog artwork.
Bug: 2483276
Change-Id: I3ac5b3e985fa47fb63d251ff0c4a6ed7abccb434
2010-03-04 14:57:31 -05:00
Romain Guy
5997c05fe5 Merge "Update indeterminate progress bar assets. Bug #2469246" 2010-03-04 11:17:43 -08:00
Romain Guy
fd6c927a6d Update indeterminate progress bar assets.
Bug #2469246
2010-03-04 11:17:05 -08:00
Adam Powell
3f5144b8a4 Change overscrollMode for dialogs 2010-03-04 10:49:56 -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