1123 Commits

Author SHA1 Message Date
Dominic Mazzoni
8cb5e47278 Add missing contentDescription to focusable controls. 2010-02-03 09:56:48 -08:00
Bjorn Bringert
4a2b498766 Restore search UI layout to get search button back
This reverts commit aa0cfa7b6bf8000c59ceca2f9b698103e553d402.

Change-Id: Ia58b6ac4778c1c376db144f6c5bde22adbc41c10
2010-02-01 22:32:56 +00:00
Mike Lockwood
f863db516c Add resources to specify package name for network location and geocode providers.
Will be used in an upcoming location manager change.

Change-Id: Idc0ad897704d2eab160e09c144776fa8586baba4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-31 21:13:05 -05:00
Bjorn Bringert
60f1b95ef3 Merge "Update search source selector assets" 2010-01-29 09:23:05 -08:00
Bjorn Bringert
aa0cfa7b6b Update search source selector assets
Change-Id: Id56e2ac195e1d1f8dcfe2fbe07025f3527396bba
2010-01-29 16:15:36 +00:00
Daniel Sandler
77c292d83e Merge "New full-screen activity for USB mass storage interaction." 2010-01-29 06:22:33 -08:00
Jim Miller
2e9dea1dbe am fbf977be: am 9985867a: Fix 2397617: Right-align carrier text in lock screen and add carrier text to PINunlock in landscape mode.
Merge commit 'fbf977be5471a81b664bfc0a048497f268688a17'

* commit 'fbf977be5471a81b664bfc0a048497f268688a17':
  Fix 2397617: Right-align carrier text in lock screen and add carrier text to PINunlock in landscape mode.
2010-01-28 14:57:03 -08:00
Daniel Sandler
b94f795c25 New full-screen activity for USB mass storage interaction.
Still TODO: patch into forthcoming callbacks from
MountService so the USB storage activity always shows the
correct state of the device. (Right now it only refreshes
its display onResume.)

Bug: 2299129
2010-01-28 16:18:22 -05:00
Kenny Root
e096ddee54 resolved conflicts for merge of 33ca1f32 to master
Change-Id: If5344c23c4fd727c0ad684859126337de6ca1d9f
2010-01-28 13:16:19 -08:00
Eric Fischer
93a81378d8 am ad0e5363: am 50adb167: Pull in "emergency calls only" translations.
Merge commit 'ad0e53635571066e7928e30a4a669067fff6a382'

* commit 'ad0e53635571066e7928e30a4a669067fff6a382':
  Pull in "emergency calls only" translations.
2010-01-27 17:27:23 -08:00
John Wang
a338136499 am 97fdd0ab: am 7f70998d: Merge "Add Emergency Calls Only String." into eclair
Merge commit '97fdd0aba93f7c609c1194edf636805ff70e4918'

* commit '97fdd0aba93f7c609c1194edf636805ff70e4918':
  Add Emergency Calls Only String.
2010-01-27 17:26:40 -08:00
Dianne Hackborn
8ea138cbf1 More work on device admins:
- You can now show a dynamic message to the user when asking to
  have your DeviceAdmin added.
- A DeviceAdmin can now provide a warning message that is displayed
  before a user disables it.
- Better ordering (and text) of the policy warnings.
- New API to set the maximum failed password attempts before the device
  wipes itself.
- We now store the number of failed unlock attempts in persistent
  storage.
- New managed dialog APIs that will be used by the settings app.

Also a little bit of cleanup as I was working on this - removed the
long unused MailboxNotAvailableException, fixed a java doc in Messenger.
2010-01-27 13:51:53 -08:00
Suchi Amalapurapu
c028be4f3b AppsOnSd feature - Add default container
Add new remote interface to do temporary copies. The new
remote stub handling is done on mHandler thread and doesn't need locking
for now.
Add new InstallArgs class and subclasses to isolate cases for installation.
Move resource deletion for failed installs/upgrades to later on in installation
cycle.
Fix code path for forward locked apps when using scanPackageLI

TODO's
Fix installation paths to completely use InstallArgs based design later on.
Get rid of using flags in various install/uninstall code paths.
Ideally InstallArgs should be created using these flags and used in the
rest of the code.
Function renames.
Revisit mount api's.
2010-01-27 10:26:43 -08:00
San Mehat
02735bc9b7 MountService: Introduce new @hide permissions to protect secure containers.
Signed-off-by: San Mehat <san@google.com>
2010-01-27 06:14:28 -08:00
Scott Main
7d3a558b9e Merge "remove @deprecated from dropDownHeight and dropDownWidth" 2010-01-26 15:42:15 -08:00
Scott Main
34c09b53fd remove @deprecated from dropDownHeight and dropDownWidth 2010-01-26 15:37:01 -08:00
Scott Main
6f3abdd29e Merge "remove @deprecated tag from "fill_parent" because it bubbles up and declares the entire attribute as deprecated." 2010-01-26 15:32:02 -08:00
Scott Main
4459295998 remove @deprecated tag from "fill_parent" because it bubbles up
and declares the entire attribute as deprecated.
2010-01-26 15:27:54 -08:00
Jim Miller
9985867a8e Fix 2397617: Right-align carrier text in lock screen and add carrier text to PINunlock in landscape mode. 2010-01-26 12:34:25 -08:00
Dianne Hackborn
8aa2e8939c More device admin work: description, policy control.
There is now a description attribute associated with all components,
that can supply user-visible information about what the component does.
We use this to show such information about device admins, and wallpapers
are also updated to be able to show this in addition to the existing
description in their meta-data.

This also defines security control for admins, requiring that they
declare the policies they will touch, and enforcing that they do
so to be able to use various APIs.
2010-01-26 12:28:15 -08:00
Jim Miller
af1b980ef1 Fix 2287263: Change carrier TextView to be 1 line and marquee if text is too long.
This is intended as a workaround for the long text lines introduced in https://android-git.corp.google.com/g/#change,38100.
2010-01-22 19:09:50 -08:00
Romain Guy
5e5e6ccc37 Make dialogs look better when their content is small. 2010-01-22 15:11:12 -08:00
Romain Guy
177b580f56 Merge "Add a new attribute to LinearLayout: useLargestChild. Bug #2379138" 2010-01-21 19:11:20 -08:00
Romain Guy
5b1b241710 Add a new attribute to LinearLayout: useLargestChild.
Bug #2379138

This new attribute is to be used when the LinearLayout is wrap_content but you want
all the children inside to have the same dimension. Set useLargestChild to true and
give all the children a width/height of 0 and a weight of 1.0.
2010-01-21 19:09:51 -08:00
Jim Miller
cd2354f540 am 84928fa9: am 813d2d86: Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair
Merge commit '84928fa93c3be222b77794de9922d299f4971ea4'

* commit '84928fa93c3be222b77794de9922d299f4971ea4':
  Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.
2010-01-21 17:56:03 -08:00
Paul Westbrook
68f2f547f5 Bug 2330111
Make NumberPicker public

Made setCurrent() more robust, as the value needs to be within the range
specified earlier. setCurrent() will now throw an exception
if the specified doesn't fall in the range
2010-01-21 16:56:57 -08:00
Eric Fischer
50adb16753 Pull in "emergency calls only" translations. 2010-01-21 13:52:09 -08:00
John Wang
f936745f5a Add Emergency Calls Only String.
Prepare strings for bug 2352094.

The string is the same as the settings.R.string.radioInfo_service_emergency,
so use the same msgid and translations.
2010-01-21 12:46:01 -08:00
Mike Lockwood
670f93283b Implement Notification.DEFAULT_LIGHTS flag.
This flag was already in the public API but did not do anything until now.
We now use it so we can override the default notification LED color on a per device basis.

Change-Id: I0d6e239b7da2fdbeda9608d6d4de3e778aa88e2c
BUG: 2329568

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-20 22:43:47 -05:00
Joe Onorato
fd24feaf79 Merge "Add DateTimeView, a widget that shows a time or the date depending on the current time. Use that for notifications instead of a TextView that doesn't ever update." 2010-01-19 16:45:05 -08:00
Joe Onorato
c83bb730ec Add DateTimeView, a widget that shows a time or the date depending on the
current time.  Use that for notifications instead of a TextView that
doesn't ever update.

BUG 1563917
2010-01-19 16:32:22 -08:00
Bjorn Bringert
cf3b73569b Fix WEB_SEARCH handler whitelist
Change-Id: I9450ac1554ed062cc3f833b0986157e54165e8f1
2010-01-19 18:45:14 +00:00
Dianne Hackborn
d68478467e First pass at new device policy and administration APIs.
This adds new DevicAdmin, DevicePolicyManager, and DeviceAdminInfo classes.
See the java docs for each on documentation on them.  Basically: a DeviceAdmin
is what you derive from to administer a device; DevicePolicyManager is what you
use to apply and check your policy requirements and perform other administration
tasks.
2010-01-17 15:10:24 -08:00
Jim Miller
2cd1e6eda9 Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.
The previous workaround for this race condition prevented glitches by postponing drawing the SlidingTab until the internal state was consistent.
Unfortunately, the InCallScreen seems to trigger this most of the time if the keyboard is open or the last application was in landscape mode.

Instead, we'll handle this separately in lockscreen.
2010-01-15 16:20:36 -08:00
Bjorn Bringert
4a5bff9e27 Add QSB's GoogleSearch as the preferred web search provider
This is temporary, until we can switch to using the GLOBAL_SEARCH
permission to decide who is the web search provider.

Change-Id: I6491671e33ab05297d05114968d8b7f492a2b6d4
2010-01-13 10:56:55 +00:00
Jim Miller
69aa4a953f Fix 2332563: Add password-lock support to lockscreen 2010-01-11 15:50:39 -08:00
Bjorn Bringert
32d580c360 Copy SearchSourceSelector from QuickSearchBox
The widget shows the icon for a search source, and when clicked
fires an intent that shows a search source selection activity.
That intent is handled by the QuickSearchBox app.

This change also adds the source selector to the in-app
search dialog.

An upcoming change to QuickSearchBox will add the search source
selector to the home screen search widget and to the Quick Search Box
activity.

TODO: Add assets for selected and pressed states to the search selector.
TODO: The SearchDialog hides when the soruce selection activity
appears. This will be fixed when SearchDialog is changed from a
system window to a normal app window.

Change-Id: I91eadd60682577614e274ecf5b995b927c70a48a
2010-01-09 13:19:52 +00:00
Romain Guy
980a938c1c Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:38 -08:00
Eric Fischer
d22c49a2d5 Update with latest translations. 2010-01-07 15:55:17 -08:00
Doug Zongker
6e99b7a3b2 add ACCESS_CACHE_FILESYSTEM permission to core manifest
All of the permissions in data/etc/platform.xml are defined in
core/res/AndroidManifest.xml, except for ACCESS_CACHE_FILESYSTEM.  Add
it.

Change-Id: If7906bc0007484cc21196fb1c0593b967fd79920
2010-01-06 15:05:24 -08:00
Jean-Baptiste Queru
432bff01ec Do not use a user tag on apps, as it is ignored.
The build system does not honor user tags on apps,
and setting it is misleading.

This removes the confusion by making the makefiles
behave like they read.

Change-Id: I7c5feba1c7d07f915b97dd098584f29938a4c885
2010-01-06 08:53:44 -08:00
Marco Nelissen
e0a8efd874 Merge "Remove the drawables for the VerticalTextSpinner, since they're no longer needed here." 2010-01-06 07:39:48 -08:00
Marco Nelissen
2627652d17 Remove the drawables for the VerticalTextSpinner, since they're no longer needed here. 2010-01-05 16:37:40 -08:00
Dianne Hackborn
03abb8179f Kill the task killers.
The ActivityManager.restartPackage() API is now deprecated, and no longer
allows applications to mess up the state of other applications.  This was
being abused by task killers, causing users to think their other applications
had bugs.

A new API is introduced for task killers,
ActivityManager.killBackgroundProcesses(), which allows these applications
to kill processes but only the same amount that the out of memory
killer does, thus causing no permanent damage.  The old restartPackage()
API is now a wrapper for calling this new API.

There is also a new private forceStopPackage() API that is used for the
system's force stop UI which does what the old restartPackage() API did.
2010-01-05 15:47:05 -08:00
Dianne Hackborn
de2606dcd3 Don't perform app transition of the app is not currently visible.
Yet more special casing for the window manager...  try really hard,
if we are performing an activity transition that is behind an
opaque window (like say the lock screen or status bar) to just not
do it.  And, just as important, do a reasonable transition away from
whatever is on top.

Examples:

- If the lock screen is up, and you get a call or press the
  emergency dialer button, we fade from the lock screen to the
  new UI, instead of fading to the animation going on between
  the old and new.

- If you are in something hiding the lock screen, like the
  in-call screen, and that is hidden, then fade back to the
  lock screen.

- If you select an item from the status bar, then have the
  new item displayed behind it as the status bar rolls up
  rather than seeing a second animation.  (In fact this can't
  always be done because we may not start the transition to
  the new thing until the status bar is already going away.
  But for most cases we can do this with just one anim.)
2009-12-21 15:26:51 -08:00
Scott Main
9256bb08d2 am 9a6c8168: am 77fa05a4: Merge change Iab5952e1 into eclair
Merge commit '9a6c8168f743c1dc8cc28de22fe12be4623434cd'

* commit '9a6c8168f743c1dc8cc28de22fe12be4623434cd':
  docs: add "required" attribute to the <uses-feature> docs
2009-12-19 00:41:10 -08:00
Scott Main
0b91635caf docs: add "required" attribute to the <uses-feature> docs
and add a note to the CAMERA permission stating that it enables
the <uses-feature> for camera.
This is an incrimental update for the 2.0.1 docs. More changes
to come for the 2.1 docs to include more features
2009-12-19 00:25:11 -08:00
Jim Miller
8cb0badf6c am 5ee51f07: am 05de7c88: Merge change I420cc110 into eclair-mr2
Merge commit '5ee51f07356b81ff2b026ef864f2f6349994e3fc'

* commit '5ee51f07356b81ff2b026ef864f2f6349994e3fc':
  Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
2009-12-18 16:16:05 -08:00
Android (Google) Code Review
05de7c882e Merge change I420cc110 into eclair-mr2
* changes:
  Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
2009-12-18 16:07:19 -08:00
Dmitri Plotnikov
d1168af4fa Cherry-picking c95b39d3 from eclair-mr2
Change-Id: Ib8aaefdde96422ab7b54e10e0e9328bba10e305f
2009-12-15 16:42:47 -08:00