29906 Commits

Author SHA1 Message Date
Jeff Sharkey
35be756030 Move SystemUI out of system UID.
Add permissions for various things it pokes.  Create new permission
to control launching non-exported activities from recents.  Hidden
API to relax WallpaperService checks.

Change-Id: I547fdcd7c213dd153ae101533ce7c56cd8f86a0d
2012-04-19 11:54:34 -07:00
Jeff Sharkey
1b96594171 Merge "Pipe DHCP vendor info towards framework." 2012-04-19 11:43:49 -07:00
Jeff Brown
b4aed7f5c7 Merge "Ensure that db connection reconfiguration can change the db." 2012-04-19 11:32:35 -07:00
Jeff Brown
76070d1690 Ensure that db connection reconfiguration can change the db.
If the db connection had been marked read-only, then certain
operations performed during reconfiguration, such as setting the
locale, could fail.  So we need to make sure to clear the
read-only flag ahead of time.

Bug: 6296752
Change-Id: I98e19aff6386497b7fc321e04ca560fc1817a781
2012-04-19 11:30:33 -07:00
John Reck
cada1ae717 Merge "Allow removing messages before EventHub created" 2012-04-19 11:09:44 -07:00
George Mount
0bb01cfea6 Merge "Allow long press to work on text." 2012-04-19 11:06:02 -07:00
Chet Haase
0e5bd8da9d Merge "Make ViewPropertyAnimator ListView-animation-capable" 2012-04-19 11:05:28 -07:00
Chet Haase
563d4f2d46 Make ViewPropertyAnimator ListView-animation-capable
ViewPropertyAnimator now sets the hasTransientState flag in View to tell
it when an animation has started (and unsets it when the animation ends).
This allows ListView to retain views with transient state without recycling them,
which makes ListView item animation possible (because you can't animate a View
if it's being recycled and reused elsewhere as it moves into and out of view).

Change-Id: I75c26a7a56474a76428500afef03a80bb46e04e0
2012-04-19 11:01:27 -07:00
Irfan Sheriff
f40a02f85f Merge "Fix build" 2012-04-19 10:27:58 -07:00
Irfan Sheriff
54ac7a5102 Fix build
Change-Id: I1968e0d7d25f613fa6cf72f82d79f17224e3d5ab
2012-04-19 10:26:34 -07:00
Joe Malin
7b5f22e11c am 787fa9dc: am 20176edc: Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1
* commit '787fa9dc69262dc002c9da77fa86e88e5a4e658f':
  DOC CHANGE: Add javadoc to ClipboardManager
2012-04-19 10:13:29 -07:00
Joe Malin
787fa9dc69 am 20176edc: Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1
* commit '20176edc4ff43f10ab3be03d84bb9f02b7859bdb':
  DOC CHANGE: Add javadoc to ClipboardManager
2012-04-19 10:10:18 -07:00
Joe Malin
20176edc4f Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1 2012-04-19 10:08:06 -07:00
Adam Powell
1bf4d5f24e Merge "Fix crash setting null seekbar thumb" 2012-04-19 10:00:22 -07:00
Adam Powell
0283a5573c Fix crash setting null seekbar thumb
External bug http://code.google.com/p/android/issues/detail?id=15693

Change-Id: I2f869b4ebd1f0857564c69999abb49285beefd14
2012-04-19 09:58:22 -07:00
Irfan Sheriff
75e91f7716 Merge "Add network service discovery broadcast" 2012-04-19 09:57:24 -07:00
George Mount
e3e26c41c3 Allow long press to work on text.
Bug 6351196

Change-Id: I7604ebe70ab58d17b916f92e364343776b66aa3c
2012-04-19 09:57:23 -07:00
Irfan Sheriff
66e69db6d9 Merge "Add user control to turn on/off nsd" 2012-04-19 09:57:02 -07:00
Irfan Sheriff
6c07ba8183 Add network service discovery broadcast
Allows apps to know if user has the feature turned off

Change-Id: I2d2fecb148eb4e48eb4aea51d1d7643a82df5c52
2012-04-19 09:54:40 -07:00
Wink Saville
d38e766e5e Merge "Fix calcuation of CMD_TO_STRING_COUNT." 2012-04-19 09:53:52 -07:00
Irfan Sheriff
3ef889bf56 Add user control to turn on/off nsd
Change-Id: Ide3cc20adb21ac6dffaf6b9b9136d77a129afa3b
2012-04-19 09:52:09 -07:00
Chet Haase
f37d87b35b Merge "Fix init of Animation in View drawing code" 2012-04-19 09:36:49 -07:00
John Reck
9687433dc6 Merge "Cleanup PositionMetadata recycles" 2012-04-19 09:28:16 -07:00
Chet Haase
1fb8a9e44a Fix init of Animation in View drawing code
The refactor of ViewGroup.drawChild() resulted in an error
in a new method (View.drawAnimation) where animations were being
initialized with their view dimensions instead of the parent dimensions.

Issue #6292681 RotateAnimationTest#testRotateAgainstPoint fails on JRN04
Issue #6293275 TranslateAnimationTest#testInitialize fails on JRN04

Change-Id: Ia90711cadd7a6c20fd788e5b8b18a5b28551e68c
2012-04-19 09:22:34 -07:00
Daniel Sandler
0da673f02e Notifications may now be disabled on a per-package basis.
When a package's ability to post notifications is disabled,
all outstanding notifications from that package are
immediately canceled, and the score of any future
notification from that package is set so low that the
notification manager won't even send it to the status bar.

No UI for this yet, but you can try it out:

  adb shell service call notification 8 s16 $PKG i32 (1|0)

Bug: 5547401

Change-Id: Ieccac5746b40f60debd902a45d1dedbc91dcdc89
2012-04-19 11:39:49 -04:00
Daniel Sandler
3dfc82b567 Merge "Expand too-small notifications to fill 64dp." 2012-04-19 07:01:37 -07:00
Wu-cheng Li
f66bc73fa7 Merge "Remove new camera open API." 2012-04-19 00:29:39 -07:00
Wu-cheng Li
7bc1b21a52 Remove new camera open API.
Applications are not resumed under the lock screen now.
This API is not needed anymore.

bug:5584464
Change-Id: I1c18efb5ba1ecd39320eb5fd252c6e1229d7b89c
2012-04-19 14:18:44 +08:00
Wu-cheng Li
3c3b5b5e0b Merge "Unhide MediaColumns.WIDTH and MediaColumns.HEIGHT." 2012-04-18 23:13:10 -07:00
Daniel Sandler
bc5559f192 Expand too-small notifications to fill 64dp.
Also fix NotificationTestList so it runs again.

Change-Id: I2fb28cd9cfad25a7a1b17ccef9ccd741c3aa99b0
2012-04-19 01:08:15 -04:00
Jeff Sharkey
77b87ba0bc Pipe DHCP vendor info towards framework.
Bug: 6344821
Change-Id: Ifb9a93c995f4d70f4ae2aa03b7e21f13013ef3b6
2012-04-18 21:55:14 -07:00
Wink Saville
01ce0ce472 Fix calcuation of CMD_TO_STRING_COUNT.
Change-Id: I03ae1a545474d7dcd4e65c58d9befd020d5b9c54
2012-04-18 21:42:44 -07:00
Wu-cheng Li
ac13cc06ee Unhide MediaColumns.WIDTH and MediaColumns.HEIGHT.
bug:5224359
Change-Id: I3dcaa2ed383e12ae308b28db45cbe8e503610cdc
2012-04-19 12:11:17 +08:00
Daniel Sandler
6b31880838 Remove intruder alert APIs from JB.
Change-Id: I27042d604fbe15879e7b7aaaac860db2d1efa47f
2012-04-18 20:53:24 -07:00
Jeff Brown
83cb5807b0 Merge "Add more dead keys. Use NFC tables for composition." 2012-04-18 19:12:18 -07:00
Jeff Brown
c3643b9013 Add more dead keys. Use NFC tables for composition.
Bug: 6110399
Change-Id: I343d24df21dac2c069136b016e70e39f0feb6df9
2012-04-18 19:09:08 -07:00
Svetoslav Ganov
2c23a14a3b Merge "Adding API for getting the root node info in the active window." 2012-04-18 18:55:24 -07:00
Svetoslav Ganov
0846e29d0b Adding API for getting the root node info in the active window.
1. This APIs is useful for accessibility services since very often
   they want to get access to the root node in the current window
   to determine where accessibility focus is and subsequently find
   a next view to take accessibility focus.

Change-Id: Ide5231f832d9ce2e9b14dc411dfd675f753a4edb
2012-04-18 18:50:57 -07:00
John Reck
fd6ad04441 Allow removing messages before EventHub created
Bug: 5421676

Change-Id: Id15b669947bd01d3cc3ba3e9b93175120fa518e8
2012-04-18 17:59:17 -07:00
Quddus Chong
8f05a120c9 am 0691f70a: am 13bb0791: Merge "docs: Added missing comma in code snippet. Bug: 6322757" into ics-mr1
* commit '0691f70ad8833e9a2b042d7a56b07ad0ee561f87':
  docs: Added missing comma in code snippet. Bug: 6322757
2012-04-18 17:04:57 -07:00
Quddus Chong
0691f70ad8 am 13bb0791: Merge "docs: Added missing comma in code snippet. Bug: 6322757" into ics-mr1
* commit '13bb0791a1cec6a678db3bd7ab23060b3bb911ae':
  docs: Added missing comma in code snippet. Bug: 6322757
2012-04-18 17:02:48 -07:00
Philip Milne
eaa0a04f83 Merge "Share Insets instances between views that have the same background (Drawable)" 2012-04-18 16:17:33 -07:00
Philip Milne
bbd51f1e36 Share Insets instances between views that have the same background (Drawable)
Change-Id: I47d93ccca6f553b678d25966d10d7a0a97cfa5ea
2012-04-18 16:06:27 -07:00
Jeff Brown
0b9de5336d Merge "Improve selection of dead key accent chars." 2012-04-18 15:58:54 -07:00
Jeff Brown
accce945e5 Improve selection of dead key accent chars.
The '^', '`', and '~' characters that we use for circumflex,
grave and tilde accents are ugly.  Use the appropriate printing
modifier characters instead.

Bug: 6110399
Change-Id: I53891139ed1cef3010f5319ff49df1eeb1c6feeb
2012-04-18 15:47:48 -07:00
Eric Laurent
3d6f95fac9 Merge "rename audio policy flags" 2012-04-18 15:04:05 -07:00
John Reck
820b236adc Cleanup PositionMetadata recycles
Bug: 6360817

Change-Id: I428014be20447d074d378901a289e090b4e4e777
2012-04-18 14:15:00 -07:00
Svetoslav Ganov
f01d3dd710 Merge "Adding some more gestures and actions for accessibility." 2012-04-18 14:14:37 -07:00
Svetoslav Ganov
005b83b0c6 Adding some more gestures and actions for accessibility.
1. Added more gesture for accessibility. After a meeting
   with the access-eng team we have decided that the current
   set of gestures may be smaller than needed considering
   that we will use four gestures for home, back, recents,
   and notifications.

2. Adding actions for going back, home, opening the recents,
   and opening the notifications.

3. Added preliminary mapping from some of the new gestures
   to the new actions.

4. Fixed a bug in the accessibility interaction controller
   which was trying to create a handled on the main looper
   thread which may be null if the queried UI is in the
   system process. Now the context looper of the root view
   is used.

5. Fixed a bug of using an incorrect constant.

6. Added a missing locking in a couple of places.

7. Fixed view comparison for accessibilityt since it was
   not anisymmetric.

bug:5932640
bug:5605641

Change-Id: Icc983bf4eafefa42b65920b3782ed8a25518e94f
2012-04-18 13:43:55 -07:00
Eric Fischer
54ffee751c Merge "Import translations. DO NOT MERGE" 2012-04-18 13:29:09 -07:00