56377 Commits

Author SHA1 Message Date
Daniel Sandler
0761e4cd95 Clean up some effects in the phone notification panel.
* Clear-all button (X) fades in and out
* "No notifications" text fades in after a few sec
* Swipe-out velocity can be much higher, dramatically
  reducing perceived jankiness in clearing notifications

Bug: 5150699
Change-Id: Ic7e5254fee57724c42b6437d1c4ed8a700615208
2011-08-11 00:19:49 -04:00
Mathias Agopian
246ae5011c Merge "Read leftover parcel data when a parceled Surface is found in the cache." 2011-08-10 19:45:34 -07:00
Mathias Agopian
875dee4e12 Merge changes I5174a6ec,I1f8538b6,Idb71fdcf
* changes:
  fix a crasher in SurfaceTexture::updateTexImage()
  rework dequeueBuffer()'s main loop.
  error out when SurfaceTexture APIs are called while not connected
2011-08-10 19:40:48 -07:00
Mathias Agopian
379eac2474 Merge "Fix typos and use new HAL_PRIORITY_URGENT_DISPLAY constant" 2011-08-10 19:40:15 -07:00
Daniel Sandler
542f0510d4 Fix fullScreenAlert test.
Change-Id: I3df0a998347c9e3d21e067381bd22eb9a0862f0d
2011-08-10 22:27:15 -04:00
Matthew Xie
10fc9bc55e Revert "Implement switchConnectable with Powered property setting instead of scan modes"
This reverts commit c5708036b47c474ad3a01dacc3c3940e087d6e27
2011-08-10 19:04:00 -07:00
Daniel Sandler
294a6199bd Merge "Subtract the navigation bar from DisplayMetrics." 2011-08-10 18:54:20 -07:00
Christopher Tate
6853fcf53f Fix partial-read handling during restore
...by once and for all making all of the code deal appropriately with
expected partial reads.  We also now produce a properly conformant
underlying 'tar' EOF sequence [which will be compressed to almost
nothing] to doubly bulletproof the end-of-archive logic.

Fixes bug 5133658

Change-Id: I24a785574861d64ef10fc727b9f6b235575696b0
2011-08-10 17:55:15 -07:00
Chia-chi Yeh
ac0a0d06c2 Merge "Unhide APIs for user space VPN." 2011-08-10 17:42:45 -07:00
Chia-chi Yeh
cd1420b03d Merge "VPN: remove unused protected intent." 2011-08-10 17:42:30 -07:00
Bjorn Bringert
733f6eb185 Merge "Add PendingIntent extra for WEB_SEARCH intents" 2011-08-10 17:39:08 -07:00
Mathias Agopian
5c71575983 fix a crasher in SurfaceTexture::updateTexImage()
we now make sure to drain the buffer queue on disconnect.
this happens only when in synchrnous mode. in async mode
we clear all buffers except the head of the queue.

for extra safety we also catch the null pointer
in updateTexImage (which should  never happen) and return
an error.

Bug: 5111008

Change-Id: I5174a6ecbb0de641c6510ef56a611cbb4e9e1f59
2011-08-10 17:35:52 -07:00
Mathias Agopian
71fd1213b4 rework dequeueBuffer()'s main loop.
this simplifies the code a bit and also makes sure
we reevaluate mAbandoned and mConnectedApi each time
we come back from waiting on mDequeueCondition

Change-Id: I1f8538b62ad321b51ed79d953b700036daba796d
2011-08-10 17:35:26 -07:00
Mathias Agopian
a04cda9986 error out when SurfaceTexture APIs are called while not connected
- also log a warning when freeAllBuffers is called with a non empty buffer queue
- rename freeAllBuffers to freeAllBuffersLocked

Change-Id: Idb71fdcf233b9ccae62d5a2a7c3c4bad2501d877
2011-08-10 17:33:46 -07:00
Jeff Brown
c269dc55f1 Merge "Add input system to Watchdog. Bug: 5094994" 2011-08-10 17:28:15 -07:00
Jeff Brown
7034e4e665 Merge "Fix getSwitchState and others to check bitmasks. Bug: 5149443" 2011-08-10 17:28:09 -07:00
Jeff Brown
bf48b571cf Merge "Use BTN_TOUCH or BTN_TOOL_* to determine if touch active. Bug: 5064702" 2011-08-10 17:28:05 -07:00
Jeff Brown
f167213a1a Merge "Update keymaps. Bug: 5069142" 2011-08-10 17:27:59 -07:00
Dianne Hackborn
f9abb40590 New broadcast telling when an app is fully removed.
Change-Id: Ia516d826f302a01881fa92d9ffdc0adfbf669a4b
2011-08-10 17:15:17 -07:00
Amith Yamasani
467da68064 Merge "Pass in the title of the preference as a title for the ringtone picker dialog." 2011-08-10 17:12:05 -07:00
Kenny Root
f5121a9b80 Better errors from copyResource
Copy resource would fail without a good error code when the file
couldn't be found during copy.

Also destroy the target container ID during move operations since it
might exist. If the copy failed due to it existing, it would get
destroyed anyway. This way the user has a chance to have a good outcome
the first time.

Bug: 3375299
Bug: 5113898
Change-Id: I00559833f0801bc50e7cc031b462495e37a6b4ab
2011-08-10 17:00:30 -07:00
Amith Yamasani
023f8e00fd Pass in the title of the preference as a title for the ringtone picker dialog.
Bug: 5135537
Change-Id: I988c4c6b800466a5f28e41b452a91a5424c7d58b
2011-08-10 16:25:31 -07:00
Jeff Brown
89ef0720ee Add input system to Watchdog.
Bug: 5094994

Change-Id: I153866958efc64ac19bda8b997c1c9f6ad425ec4
2011-08-10 16:25:21 -07:00
Winson Chung
9a79680bde Merge "Fixing screenshot timestamp (5147168)" 2011-08-10 16:23:52 -07:00
Bjorn Bringert
4519ff6aa3 Add PendingIntent extra for WEB_SEARCH intents
This allos apps (e.g. browsers) that launch web searches
to control how the search results page is opened. For example,
the Android Browser will use this to make sure that searches
typed in the browser address bar open in the Andorid Browser,
and not somewhere else.

Bug: 4988580
Change-Id: I4665c9812ca8d704adbaea22a3812188bb48d1d2
2011-08-10 16:20:25 -07:00
Amith Yamasani
5585c08cd3 Merge "Accessibility and silent mode changes to Volume Panel." 2011-08-10 16:17:03 -07:00
Irfan Sheriff
be3ba059bf Merge "Ensure interface down before wpa_supplicant start" 2011-08-10 16:04:50 -07:00
Winson Chung
930facd20e Fixing screenshot timestamp (5147168)
Change-Id: I28ce2431bdfe7025191d9a6780ba0a59175c8047
2011-08-10 16:02:59 -07:00
Amith Yamasani
9b8e848570 Accessibility and silent mode changes to Volume Panel.
Volume icons don't say "tap to toggle.." anymore.
Only silentable streams have touchable volume icons.

Bug: 4982424
Bug: 5128528
Change-Id: Iafc0f4b309af390a356d71c382f1200663c5a6e4
2011-08-10 15:55:36 -07:00
Irfan Sheriff
7244c977ec Ensure interface down before wpa_supplicant start
Now that the driver is built into the kernel, a runtime crash
followed by a driver unload and reload does not reset the interface.

Ensure interface is down before bringing up supplicant

Bug: 5032635
Change-Id: Ib8f3d47617e587139a8a91a82146ee3a2f329700
2011-08-10 15:49:25 -07:00
Marco Nelissen
a962544fce Merge "Check pids instead of IBinders" 2011-08-10 15:48:53 -07:00
Kenny Root
260e9105d7 Merge "Manifest digest stored during package scanning" 2011-08-10 15:39:41 -07:00
Gilles Debunne
03f9c572cd Merge "SuggestionEnabled flag enforced in ActionPopup" 2011-08-10 15:17:40 -07:00
Jeff Brown
ba421dddfd Fix getSwitchState and others to check bitmasks.
Bug: 5149443

Removed some dead code and unnecessary checks, such as checks
for non-nullity of arrays that used to be dynamically allocated
once upon a time but are now part of the Device object itself.

Change-Id: I531116e816772d7c5030d22da0c8e1d7dcfba778
2011-08-10 15:17:37 -07:00
Jeff Brown
d87c6d5fd5 Use BTN_TOUCH or BTN_TOOL_* to determine if touch active.
Bug: 5064702

Should not include stylus buttons in the condition.

Change-Id: If4d78a875b77da8bd59672d6fdbf5353004d0023
2011-08-10 14:55:59 -07:00
Kenny Root
bcc954d772 Manifest digest stored during package scanning
This allows things that scanned an APK to pass a hash of the manifest to
others that would then be able to compare it.

Change-Id: I465f5edf3acab2a952c3d321c8df2247ffe012ea
2011-08-10 14:54:21 -07:00
Gloria Wang
458a572109 Merge "To reduce the bytes need to be buffered before start playing the streaming video. We might revert this change if too many spinnings were introduced. For bug 4448008." 2011-08-10 14:52:36 -07:00
Jeff Brown
eee00495f5 Update keymaps.
Bug: 5069142

Add some additional mappings for the POWER key to support more
standard HID devices.

Remove some non-standard mappings that don't make sense anymore.

Change-Id: Ie95a72c60d4dc4bfb3c90f6f3b343365f8e76685
2011-08-10 14:43:20 -07:00
Marco Nelissen
f1ddd51f9c Check pids instead of IBinders
There can be multiple AudioManagers per process (because each Context has
its own cache of services), so AudioService should protect SCO activation
based on whether the pids match, not whether the IBinders match.

b/5044873

Change-Id: Ibec81365f95fec11f34b47becd0e473762bf06ad
2011-08-10 14:32:45 -07:00
Kenny Root
4a51773e4a Merge "Eliminate warnings from PackageParser" 2011-08-10 14:28:13 -07:00
Gloria Wang
7096f5502b To reduce the bytes need to be buffered before start playing the streaming video.
We might revert this change if too many spinnings were introduced.
For bug 4448008.

Change-Id: I3248bba9237d71c2bd99feebc9c73f7bd45260de
2011-08-10 14:19:05 -07:00
Gilles Debunne
072b50c667 SuggestionEnabled flag enforced in ActionPopup
Also removed the Nothing to paste string (and its references)

Change-Id: Iaed952075e9e72dcb962ca52341615bc57cb4047
2011-08-10 14:13:17 -07:00
Jeff Brown
8f226dcb21 am ca97671e: am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."
* commit 'ca97671e2b74ed31b5bef6fd0b39e489f1ec5f51':
  Fix getSwitchState according to device capabilities.
2011-08-10 13:59:44 -07:00
Jeff Brown
b4459d8d6d am 7e79b9aa: am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
* commit '7e79b9aad85db332d334f8bc1625bf46f030830f':
  Support wrapping app processes to inject debug instrumentation. Bug: 4437846
2011-08-10 13:59:41 -07:00
Jeff Brown
ca97671e2b am 6f5a837c: Merge "Fix getSwitchState according to device capabilities."
* commit '6f5a837c9c4a55c82111c6cd5af6055b63fcb5a9':
  Fix getSwitchState according to device capabilities.
2011-08-10 13:56:33 -07:00
Jeff Brown
7e79b9aad8 am dbff9107: Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846"
* commit 'dbff91077ddf437b62794e077d2ce9e10fff8170':
  Support wrapping app processes to inject debug instrumentation. Bug: 4437846
2011-08-10 13:56:31 -07:00
Jeff Brown
6f5a837c9c Merge "Fix getSwitchState according to device capabilities." 2011-08-10 13:42:03 -07:00
Jeff Brown
dbff91077d Merge "Support wrapping app processes to inject debug instrumentation. Bug: 4437846" 2011-08-10 13:41:36 -07:00
Daniel Sandler
36412a7e7c Subtract the navigation bar from DisplayMetrics.
Its region is now treated like the system bar: inaccessible
to applications and therefore not worth reporting as part of
the display.

(Note that using setSystemUiVisibility you can gain
temporary access to the navigation bar region, unlike the
sempiternal system bar.)

The navigation bar is now considerably less in control of
its own behavior (the window manager assumes it will be a
certain size and in a certain position in landscape and
portrait). This change also fixes the navbar so that it
becomes GONE instead of merely INVISIBLE (allowing
underlying windows to expand in size accordingly).

Bug: 5052456 // the feature
Bug: 5067627 // notification shade falling behind the navbar
Bug: 4959805 // fix third-party apps relying on DisplayMetrics
Change-Id: I60257fc5c858e0edcaba8cfc1f8d58dd99a68258
2011-08-10 16:10:59 -04:00
Andreas Huber
e963ebdb44 Merge "When using "secure input buffer mode" we instantiate a different OMX component" 2011-08-10 13:03:29 -07:00