4673 Commits

Author SHA1 Message Date
Eric Fischer
14766b1910 Import translations. DO NOT MERGE
Change-Id: I1c74b3c254a7c6ed1563aa451ddcbd00ccff39ce
2012-03-23 12:55:06 -07:00
Mike Lockwood
ced11a5bc4 Merge changes I35a76a27,I04bb7ad4,If38a1a10,Ice5be6e5,I009e443f,I968ddf90,I69d4e518,I09b1dfc9
* changes:
  Merge commit '74803dc'
  add config_bluetooth_default_profiles config var and use it to disable bt profiles
  Do not allow Surface creation on machines without SurfaceFlinger We will fail later anyways, but this change makes it much easier to track down places where we are inadvertently doing operations that depend on the flinger.
  fix setting only usb mode
  Detect (at runtime) kernel support for the "hdmi_audio" switch.
  Add a config resource to disable key-chord screenshotting
  Do not assume that there is always a running activity (Necessary for headless devices)
  Add batch volume adjust support to adjustMasterVolume() in AudioManager and AudioService.
2012-03-22 15:16:03 -07:00
Mike Lockwood
ca1f596677 Merge changes Ifbc8b4dd,I96a4e3bf
* changes:
  Add config_wifi_driver_stop_delay to public.xml to fix build
  WifiStateMachine: Move wifi teardown delay to a framework resource
2012-03-22 15:14:05 -07:00
Amith Yamasani
ad812a23df Merge "Package restrictions per user" 2012-03-22 15:11:51 -07:00
Travis Geiselbrecht
a91da5da56 add config_bluetooth_default_profiles config var and use it to disable bt profiles
For devices that don't care about the previously default bluetooth profiles,
add a config var to disable them.

Change-Id: I04bb7ad4b1235bc37227645f472fdf5b918f6a31
2012-03-22 15:09:44 -07:00
Christopher Tate
e90585f89d Add a config resource to disable key-chord screenshotting
The key chord screenshot mechanism introduces significant latency into
processing of volume-key input; enough to be quite noticeable and
annoying on some kinds of device.  This patch introduces a new config
resource entry ("config_enableScreenshotChord"), true by default, so
that products on which this functionality is inapplicable can avoid
its runtime overhead.

Bug 6039047

Change-Id: I968ddf9046741da35988310b7893fae2c0369beb
2012-03-22 15:09:25 -07:00
Mike Lockwood
c1c0ced669 Add config_wifi_driver_stop_delay to public.xml to fix build
Change-Id: Ifbc8b4dd97f20a343119b414423fdb609331e482
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-03-22 15:09:09 -07:00
Mike Lockwood
09a12bcfab WifiStateMachine: Move wifi teardown delay to a framework resource
Bug: 5931171

Change-Id: I96a4e3bf1d044ea4a4d2955775703b6f0ce862ed
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-03-22 15:09:05 -07:00
Amith Yamasani
483f3b06ea Package restrictions per user
Packages can be enabled/disabled per user.
This requires maintaining stopped/launched states and
enabled / disabled components and packages per user.

Refactored pm.Settings and PackageSettingsBase to keep
track of states per user.

Migrated the stopped-packages.xml to users/<u>/package-restrictions.xml

Changed intent resolution to handle individual user restrictions.
Bunch of IPackageManager calls now have a userId argument.
Make AppWidgetService handle removals of packages.

Added some tests for pm.Settings and PackageManager.

Change-Id: Ia83b529e1df88dbcb3bd55ebfc952a6e9b20e861
2012-03-22 10:08:24 -07:00
Daniel Sandler
a0a938cd5f Notification actions API.
Actions will be attached to the Notification object and also
used to inject additional tap targets in the default
template used by Builder.

Change-Id: Idd58686b9c44b2ca7bb9ec5aa8337f3bdce5b878
2012-03-21 22:13:30 -04:00
Eric Fischer
88796897d3 Restore deleted string still referenced from public.xml.
Change-Id: I738c1ef185b306f5a25afc6ed4b0f46a14e3c6a7
2012-03-21 13:38:55 -07:00
Eric Fischer
6e05e37a58 Import translations. DO NOT MERGE
Change-Id: I4c22ac70a03bfc348fc201415c5a4e432d1add53
2012-03-21 12:38:30 -07:00
Amith Yamasani
525a058c00 am 65e4b90d: am 31f7ef24: am 90e3bcae: Increase line limit for summary text
* commit '65e4b90d6cc3673e70b6b94fa1566e31eb44ffc7':
  Increase line limit for summary text
2012-03-20 17:54:57 -07:00
Steven Ross
848763daea Merge "Adding lock icon to FaceLockAreaView on lockscreen fixes 5394522" 2012-03-20 17:39:06 -07:00
Eric Fischer
635f3a3db1 Merge "Import translations. DO NOT MERGE" 2012-03-20 13:19:50 -07:00
Steven Ross
ec5501acd8 Adding lock icon to FaceLockAreaView on lockscreen fixes 5394522
This makes the transition from the backup to Face Unlock invisible to the user,
using three layers:
the base background layer (also used in Face Unlock)
the spotlight mask layer (black alpha = .8), representing a size-0 spotlight
The cancel button, which would incorrectly resize to full-screen if a View with
a background were used instead of the current ImageView

Change-Id: Ieb433baf171088e0af06f183fcdb5ddda6001f01
2012-03-20 15:19:58 -04:00
Svetoslav Ganov
eb0b1da78f Merge "Revamp of the NumberPicker widget." 2012-03-20 12:14:37 -07:00
Svetoslav Ganov
d11e6151fe Revamp of the NumberPicker widget.
1. The number picker no longer shows up and down arrows, it
   has only three touch targets which are the currently selected number
   in the middle with a lesser one above and greater below, now what
   you touch is what you get, flingability and long press are still
   supported.

2. Removed the restriction for a View with an AccessibilityNodeProvider
   to not have any concrete children. If the View has a provider, then
   this provider is responsible for creating the AccessibilityNodeInfos
   for all its descendants, concrete and virtual. The number picker is
   a good example for such a case - it has a concrete input view and
   two virtual buttons as its children. This is a safe change since
   this behavior has not been released.

3. This patch also fixes bug where the number picker is stretched too
   much in the Theme theme.

bug:6177794
bug:5728294

Change-Id: I5fb370fe0b864a156f5f2aaf2de5f55f6b6d4e84
2012-03-20 12:13:06 -07:00
Eric Fischer
413c4c71ed Import translations. DO NOT MERGE
Change-Id: Ia1039610eecfe92fe348056b774b0d8f16cea898
2012-03-20 11:59:58 -07:00
Svetoslav Ganov
52c1055462 Merge "Revert "Revamp of the NumberPicker widget."" 2012-03-19 20:03:45 -07:00
Svetoslav Ganov
efd1c67779 Revert "Revamp of the NumberPicker widget."
This reverts commit 912ab8506ae6409ee7fa0323b217fefaf0bd9771
2012-03-19 20:03:29 -07:00
Svetoslav Ganov
ca07bc1d35 Merge "Revamp of the NumberPicker widget." 2012-03-19 18:56:51 -07:00
Jim Miller
5d189e12d7 Merge "Fix 6021938: Improved target support in lock screen" 2012-03-19 17:18:34 -07:00
Jim Miller
b030476d19 Fix 6021938: Improved target support in lock screen
This adds the ability to enable or disable target icons based on the drawable
resource of the target.

It also fixes a bug where we'd show the camera while displaying
the PIN/PUK unlock screen or when it's disabled by DevicePolicyAdmin.

Minor simplification and cleanup KeyguardUpdateMonitor callbacks.

Change-Id: I33fad56a2203bc8b7bcd0300c20478711a56713a
2012-03-19 14:18:13 -07:00
Eric Fischer
def849723e Import translations. DO NOT MERGE
Change-Id: I6f82687669c41ae6a681b306d53e1b95ec8f95c6
2012-03-19 13:52:26 -07:00
Svetoslav Ganov
912ab8506a Revamp of the NumberPicker widget.
1. The number picker no longer shows up and down arrows, it
   has only three touch targets which are the currently selected number
   in the middle with a lesser one above and greater below, now what
   you touch is what you get, flingability and long press are still
   supported.

2. Removed the restriction for a View with an AccessibilityNodeProvider
   to not have any concrete children. If the View has a provider, then
   this provider is responsible for creating the AccessibilityNodeInfos
   for all its descendants, concrete and virtual. The number picker is
   a good example for such a case - it has a concrete input view and
   two virtual buttons as its children. This is a safe change since
   this behavior has not been released.

3. This patch also fixes bug where the number picker is stretched too
   much in the Theme theme.

bug:6177794
bug:5728294

Change-Id: Id8c0b3549174b9599f971d6e3086ca427cfbaa39
2012-03-19 13:02:22 -07:00
Eric Fischer
21cc2c15b1 Merge "Move map center resources out of arrays.xml." 2012-03-19 11:20:31 -07:00
Eric Fischer
e10333fdcc Move map center resources out of arrays.xml.
Having them in the same file means that the translation importer
will in some cases try to override the files that were manually
added for each locale.

Change-Id: Ie34106d08aacdbddb0c1005fb511f2018db93800
2012-03-19 11:14:20 -07:00
Dianne Hackborn
d6b32b6178 More work on rotation animation.
Change-Id: Ib8206db98b68cb1e0b16e4c55d949e80ff31bd9f
2012-03-16 18:20:07 -07:00
Amith Yamasani
90e3bcae67 Increase line limit for summary text
Doing this to accomodate some really long warning text in a
checkbox widget. Needs 5 lines for English. Probably a lot
more for German, etc., so increasing it to 10 lines.

Please don't abuse that. 4 lines is still a reasonable max.

Change-Id: Ife5858f2165cb2bc046ce606f29d31010d26ecc2
2012-03-16 13:13:50 -07:00
Eric Fischer
a1d2bd829d Merge "Import translations. DO NOT MERGE" 2012-03-15 13:48:06 -07:00
Eric Fischer
1469438f8b Import translations. DO NOT MERGE
Change-Id: Icb1104d90c24d1f6a572205e2a6bcb9fcd489b19
2012-03-15 13:37:49 -07:00
Dianne Hackborn
df358687f5 am b99b7f51: am 4d85c98d: am 33ace979: Merge "Remove fade animations from framework drawables." into ics-mr1
* commit 'b99b7f51b0b9406fb36189092e8d560c164718fc':
  Remove fade animations from framework drawables.
2012-03-15 11:39:19 -07:00
Dianne Hackborn
6fdab076b7 Remove fade animations from framework drawables.
Change-Id: Ic4115ba779e88a405b5d2cd927db99c43def3704
2012-03-14 16:46:59 -07:00
Eric Fischer
e0b0a2c11d Import translations. DO NOT MERGE
Change-Id: I31003b11213e50fff8e42da9aaef3c60804d1301
2012-03-14 13:16:04 -07:00
Eric Fischer
39cfc7c1cc Merge "Import translations. DO NOT MERGE" 2012-03-13 14:25:11 -07:00
Eric Fischer
6e3735fa01 Import translations. DO NOT MERGE
Change-Id: I1797f7d37caafea3764ef0d95a3ab7b8f6bd16ab
2012-03-13 14:04:22 -07:00
Daniel Lehmann
53567a756e Merge "Introduce READ_CALL_LOG and WRITE_CALL_LOG" 2012-03-13 12:17:45 -07:00
Dianne Hackborn
035c20f5b4 Merge "Add new READ_EXTERNAL_STORAGE permission." 2012-03-12 15:26:46 -07:00
Dianne Hackborn
7924512aa1 Add new READ_EXTERNAL_STORAGE permission.
Also adds some initial compatibility code for dealing with it.

Change-Id: I104bff11798349e4aaa6da9b7be787b257daa1bb
2012-03-12 15:07:31 -07:00
Eric Fischer
06ac153fe0 Import translations. DO NOT MERGE
Change-Id: I782f85b8c4819c0362b549c72e7f02f07976ac88
2012-03-12 13:46:56 -07:00
Daniel Lehmann
f06d9497af Introduce READ_CALL_LOG and WRITE_CALL_LOG
Bug:6141864

Change-Id: I66fcab2a35b8c1c73bac7cfffb9f008c82ed51e8
2012-03-12 13:45:19 -07:00
Ken Wakasa
559c4841a6 Merge "Fix obvious typos under frameworks/base/core" 2012-03-09 15:52:06 -08:00
Eric Fischer
742f4fa8c9 Restore deleted strings still referenced from public.xml.
Change-Id: I494bcd73ac0fcf4d5f5a9c1c0829246e46f34098
2012-03-09 14:54:33 -08:00
Eric Fischer
2463353c01 Merge "Import translations. DO NOT MERGE" 2012-03-09 14:33:15 -08:00
Eric Fischer
f63ec13351 Import translations. DO NOT MERGE
Change-Id: I9a83c7f3cd4fd081d2af4479039dae84603dad06
2012-03-09 12:33:37 -08:00
Adam Powell
c68bbe6a86 Merge "Reduce excessive right padding on action bar titles" 2012-03-09 11:51:07 -08:00
Adam Powell
d06c29439b Reduce excessive right padding on action bar titles
Change-Id: I6ef44ce330523dda38a57fe09b9d0520447a6e3c
2012-03-09 11:49:56 -08:00
Dianne Hackborn
55b4b28606 Merge "Improved rotation animation." 2012-03-09 11:40:23 -08:00
Dianne Hackborn
191874e371 Improved rotation animation.
Change-Id: Id21686be8b2b229dc61c5d01f888c9b5deabb857
2012-03-09 11:20:54 -08:00