1275 Commits

Author SHA1 Message Date
Romain Guy
2aba11f6b9 Fix possible security issue.
Bug #2553187

Limit the max number of lines for each entry in the ResolveActivity to 2. Also
make sure to discard potential styling tags and newlines/space characters from
package name and activity labels.

Change-Id: Ibda3688267aa948b921164d3d3abc8c9236e61a2
2010-03-29 16:03:01 -07:00
Romain Guy
6b1e696982 Rename tab widget attributes, remove scroll barrier constant.
Bug #2553515 #2553595

Change-Id: Id36280a57f00a1ee59251be6be1aae8df2189c09
2010-03-29 14:40:34 -07:00
Romain Guy
ab924c909a Merge "Make EditTextPreference scrollable. Bug #2549257" into froyo 2010-03-29 11:24:31 -07:00
Romain Guy
b5d73d0fb0 Make EditTextPreference scrollable.
Bug #2549257

Change-Id: If2f69f957681e15977a7603a1f6533e9d1fea9f7
2010-03-29 11:23:18 -07:00
Daniel Lehmann
d07950f0a1 Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts
Bug:2542703
Bug:2549485

Change-Id: Ic2b88fd405043c2869610c9495bd4aa860b5c025
2010-03-26 19:34:13 -07:00
Dianne Hackborn
d49258fed4 Fix issue #2544466: Car Home brightness icon comes and goes while phone is in car dock in FRE83
There was a really dumb bug that was causing us to not always apply
the new configuration.  As a result of fixing this, there were new
glithes in the transition between car and regular mode, so further
work here to fix that.  And since I was actually working during the
night and seeing night mode, I noticed how obnoxiously bright the
status bar is compared to the car home at night, so it now nicely
dims itself when we switch to the night config.  Oh and in doing
that I also found and fixed a bug in dispatching config changes to
a window (where they wouldn't get dispatched if the window didn't
resize).

FINALLY...  tweak the wallpaper enter/exit animations a bit to
make them a little smoother.

Change-Id: I4e062093cbcfbc919307799a794846db2920216f
2010-03-26 12:52:53 -07:00
Daniel Sandler
629520527e Redesigned keyguard layout in the no-SIM case. DO NOT MERGE
The emergency call button has been removed (since the user
can disable the keyguard, open the phone app, and enter the
emergency number there).

AM/PM have also been baseline-aligned with the clock.

Bug: 2421380
Change-Id: I3fb25a29e02f3e2ee2b1505a8765d53ccceb1372
2010-03-26 11:52:59 -04:00
Marco Nelissen
35a2a90fd6 Remove spurious byte order marks from xml files.
Change-Id: I864078ad1a1621609a8a33412327844499712324
2010-03-25 18:15:14 -07:00
Daniel Sandler
c68b5b7e5b Merge "Use a more benign icon for ADB notifications." 2010-03-25 13:26:36 -07:00
Daniel Sandler
39576c8df3 Use a more benign icon for ADB notifications.
Also suppress vibe & noise for ADB notifications.

Bug: 2544480
Bug: 2545486

Change-Id: I955a7271f47601f9b35f0d3fcd48363370ebd252
2010-03-25 16:19:53 -04:00
Leon Clarke
a652e4ffdd Merge "http://b/issue?id=2516676 Correctly scale the play button and youtube logo when embedded youtube videos are displayed at smaller than the suggested size." 2010-03-25 07:38:22 -07:00
Leon Clarke
6fad943d19 http://b/issue?id=2516676
Correctly scale the play button and youtube logo when embedded
youtube videos are displayed at smaller than the suggested size.
2010-03-25 14:19:06 +00:00
Bjorn Bringert
98bfa39596 Use a secure setting for default browser geolocation permissions
Partly reverts I6308b476ad18b1d71d7438b936c592a45365c9f0

Bug: http://b/issue?id=2535598

Change-Id: Ib488c6d4f10a87b714ecb78eef6fe58f572907c6
2010-03-25 14:04:45 +00:00
Amith Yamasani
1c9f1c6323 Merge "Asset update for key feedback bubble - removes edge artifact." 2010-03-24 12:43:28 -07:00
Amith Yamasani
8db3ed3e5f Asset update for key feedback bubble - removes edge artifact.
Bug: 2511111
2010-03-24 12:40:19 -07:00
Patrick Scott
f60ce402dd Remove old asset.
Change-Id: I5b4bdb6b038bba3eb2f03c6f53541d99fab0bad5
2010-03-24 14:28:55 -04:00
Patrick Scott
300f2e95a4 Add on-demand setting for plugins.
Deprecate the old apis for enabling plugins in favor of the multi-state plugin
flag. Add the assets for WebView to display the plugin placeholder for on-demand
plugins.

Bug: 2411524
Change-Id: I5a35cc6d0afced1489f54d4dcb8bb92d36de52d8
2010-03-23 16:35:37 -04:00
Dianne Hackborn
e38ed5f18d Don't use dim behind for the search box.
This causes ugly artifacts, such as when dismissing, the full white
completions window disappears into the dimmed background and then
the dimmed background immediately starts undimming.  Likewise when
being displayed, the content behind dims down and then the full
white completions window appears on top.

Change-Id: Id33fb7a172796412143d84e4b3d8915624565f7d
2010-03-23 10:38:46 -07:00
San Mehat
cbf953ed09 Permissions: Change ASEC permissions from 'dangerous' -> 'signature'
Change-Id: I5e495332c45f718178486f2e07d37031e6fa5afc
Signed-off-by: San Mehat <san@google.com>
2010-03-22 10:31:12 -07:00
Grace Kloba
f8338d4a98 Change overscroll background to be same as status
bar pulldown.

Fix http://b/issue?id=2520825
2010-03-18 23:00:51 -07:00
Dmitri Plotnikov
e6d36ffb2c Merge "Cleaning up list of common nicknames" 2010-03-18 18:18:02 -07:00
Adam Powell
9db133cbd9 Merge "Documentation fix" 2010-03-18 16:12:28 -07:00
Adam Powell
c900687280 Fix bug 2523989
AlertDialog's docs now refer to the id android.R.id.custom, the
correct method addView, and android.R.id.custom has been exported as a
public id.

Change-Id: Ide43a03b702f0b36326130909f9a864872ec93fb
2010-03-18 13:44:45 -07:00
Adam Powell
2944190f5d Documentation fix
Better documentation for the screenLayout option in the Activity
configChanges attribute.

Change-Id: I9e86b08f1b305118478e3d7f134cb497839bb77b
2010-03-18 12:25:55 -07:00
Kenny Root
ea3e8e0758 Merge "Import revised translations" 2010-03-18 10:25:37 -07:00
Eric Laurent
d726b35ebd Added a configuration option indicating if the platform supports use of
bluetooth SCO for off call use cases.
Added method to BluetoothHeadset API to check if voice dialer over
bluetooth is supported. Replaces direct use of DISABLE_BT_VOICE_DIALING
and takes platform capabilities into account.

Needed for issue 2416481: Support Voice Dialer over BT SCO.

Change-Id: I237d5a984dbc4cbc88e98b85d710a6c87ba1b315
2010-03-17 19:11:59 -07:00
Kenny Root
35f480eb06 Import revised translations
Change-Id: Id1a0d62dc917937fc14ccab26eb7bd2c2148137e
2010-03-17 18:30:12 -07:00
Daniel Sandler
09bc8d8c12 Merge "Add progress indicator to USB mass storage screen." 2010-03-17 10:53:11 -07:00
Leon Scroggins
d426c58d94 Remove assets which are no longer used.
Change-Id: I3d09d8a096603438b32bd927b33e738a0fd2068b
2010-03-17 10:01:01 -04:00
Leon Scroggins
a03d4ce5b4 Make browser search consistent with QSB.
Use the arrow icon for the browser search.

Fixes http://b/issue?id=2520802

Change-Id: I5ebc7de2b5df5fe80be730a46da32fee35d5deff
2010-03-17 09:36:09 -04:00
Irfan Sheriff
9ab518ad79 softAp framework changes
Remove AP persist settings
Add new netd interface
Handle errors
Handle AP config change
Bug: 2413908
Change-Id: I31a1221ef5479da8d4a2620f0f0ee0b62539bc69
2010-03-16 19:54:17 -07:00
Daniel Sandler
c8b7b9f45e Add progress indicator to USB mass storage screen.
When the user taps on the enable button, it's hidden and
replaced with an indeterminate ProgressBar; this is in turn
hidden and replaced with the disable button in response to
broadcasts from the MountService. (Disabling UMS is
analogous.)

(Requires change Ic53cb370, which moves MountService's
operations out of the UI thread.)

Bug: 2483340
Change-Id: Ia25d99cd9709ee5a05316e8f05f66ca9da20aa25
2010-03-16 16:38:04 -04:00
Dmitri Plotnikov
28359cc751 Cleaning up list of common nicknames
Bug: 2447291
Change-Id: Id162b6a65e15ccd903accb4258d596944cf80ad0
2010-03-16 10:04:41 -07:00
Robert Greenwalt
27e8576c0d Merge "Update the tethering icons." 2010-03-15 17:06:44 -07:00
Robert Greenwalt
56f480bbf0 Update the tethering icons.
Got new artwork from the art guys.

Change-Id: I1e1939a0cf201ac26183501609048b44791d8fe2
2010-03-15 17:01:14 -07:00
Christopher Tate
3de55bcd34 API CHANGE: expose the backup-related ApplicationInfo flag masks
Fixes bug #2507582 by doing the following:

- Un-@hide the FLAG_ALLOW_BACKUP, FLAG_KILL_AFTER_RESTORE, and
  FLAG_RESTORE_ANY_VERSION mask constants in ApplicationInfo.  These
  correspond, respectively, to the <application> manifest tag's
  android:allowBackup, android:killAfterRestore, and
  android:restoreAnyVersion attributes.

- Remove the android:restoreNeedsApplication attribute and the
  corresponding FLAG_RESTORE_NEEDS_APPLICATION constant [which was still
  marked @hide].  We now always use the application's own Application
  class when performing a normal restore.  In the future when we support
  an externalized full-filesystem backup/restore operation, we will use
  an OS-defined agent class with a base-class Application instance, but
  this will not happen until a future release.

Also expands real documentation on the above ApplicationInfo constants;
that work is part of bug #2465360

Change-Id: I735d07a963ae80a01343637d83bef84e4c23fdcc
2010-03-12 18:11:00 -08:00
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