1112 Commits

Author SHA1 Message Date
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
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
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
Leon Scroggins
273ee3c763 am 62daa729: am aacced6b: Provide localized strings for <input> labels.
Merge commit '62daa7298bd26da37227b3a48ed86854e3643d6c'

* commit '62daa7298bd26da37227b3a48ed86854e3643d6c':
  Provide localized strings for <input> labels.
2009-12-15 16:10:25 -08:00
Dmitri Plotnikov
07ab85b338 Introducing fields for capturing national specifics of contact names.
Change-Id: Ia848390b9a74c5eb1a5a45a0b909a40307beb9ab
2009-12-15 11:58:11 -08:00
Leon Scroggins
aacced6bc5 Provide localized strings for <input> labels.
Fix for http://b/issue?id=2178786

Provide strings for input types file, submit, and reset, and allow
them to be passed down to native.

Requires a change in external/webkit.
2009-12-15 08:49:59 -05:00
Jim Miller
292224d1c1 Fix 2318046: Modify PIN entry layout in keyguard so it works well on HVGA as well as WVGA devices.
This change basically tightens up the layout and makes the emergency button area the "stretchy" part of
the layout.
2009-12-14 18:27:28 -08:00
Paul Westbrook
26ca1a6d70 am b6ffc8f2: am 16396414: Merge change If5b0b6fa into eclair-mr2
Merge commit 'b6ffc8f2535c38703e753cfc1535134b5976c4e1'

* commit 'b6ffc8f2535c38703e753cfc1535134b5976c4e1':
  Fixed class paths in layout xml files
2009-12-14 15:35:19 -08:00
Paul Westbrook
4ee9e53837 Fixed class paths in layout xml files
Updated the class paths in some layout files to match the package of
the NumberPicker and NumberPickerButton
2009-12-14 14:54:01 -08:00
Dan Egnor
d021302134 resolved conflicts for merge of f6bb01b0 to master 2009-12-11 14:55:24 -08:00
Dan Egnor
b7f0367cec Eliminate CrashData and friends.
(CrashData was a custom-marshalled crash-info class used for a server crash
reporting system I am deprecating).  Use ApplicationErrorReport.CrashInfo
instead to report crash details (mostly the stack trace) from RuntimeInfo to
ActivityManagerService, since we're likely to need the crash information in
that form anyway.

Remove the (long-disabled) flags and support for the "Debug" button
in the crash dialog.

Further gut the ICheckinService interface by removing the crash-reporting
APIs (and everything that calls them), plus the synchronous checkin()
method (which has been stubbed out for a while now).

A new dropbox-based crash reporting system is in the works, but not part
of this change.
2009-12-11 13:27:04 -08:00
Jean-Baptiste Queru
513b7234a6 use a fixed value for public ID 2009-12-10 11:14:41 -08:00
Jean-Baptiste Queru
a74df10ac2 resolved conflicts for merge of cfccf5a1 to master 2009-12-10 09:19:02 -08:00
Daniel Sandler
1fb1e2f5ea am f43eeef3: am 10c1dfad: Merge change Ifea65fb9 into eclair-mr2
Merge commit 'f43eeef301cb5a0c24c95ffa0425fcabda905b8d'

* commit 'f43eeef301cb5a0c24c95ffa0425fcabda905b8d':
  Move the emergency call button to the top-right when there's no SIM.
2009-12-10 07:02:30 -08:00