17223 Commits

Author SHA1 Message Date
Teng-Hui Zhu
b1c2c1e3c7 Release the media player when exiting the full screen
Once we switch out from full screen mode, the player will be re-created for the
next video, we should release the sources as early as possible.

bug:4332676
Change-Id: I4c26523b3600d3100f81e422979236fca57beb7c
2011-06-30 16:44:47 -07:00
Jim Miller
4dfecf55c1 Fix runtime reboot loop.
Change-Id: Ib0614e64e81e376fdbbe7c42a5e4aa8fb9c88ce9
2011-06-30 15:45:35 -07:00
Svetoslav Ganov
1e75fbd8fe Merge "Updating accessibility documentation." 2011-06-30 14:19:02 -07:00
Svetoslav Ganov
38e8b4e5bc Updating accessibility documentation.
Change-Id: Ice8cf9ac6918b3bfa553776c68d4619fa6559cf8
2011-06-30 14:18:34 -07:00
Dianne Hackborn
e6b3af24c4 Merge "Fix issue #4902856: Don't let apps register non-explicit PendingIntents" 2011-06-30 13:57:27 -07:00
Shimeng (Simon) Wang
56528a3546 Merge "Keep initial zoom overview for non-standard load." 2011-06-30 13:55:10 -07:00
Shimeng (Simon) Wang
72a1d2e138 Keep initial zoom overview for non-standard load.
In case of non-standard load such as reload, currently the ZoomManager's
onFirstLayout will not be triggered, hence initial zoom overview will not
be set.

This change provides a fix to set initial zoom overview in case of
non-standard load for the new picture after first layout.

issue: 4975315
Change-Id: If2ba3e472f2bb7b6fc4c52024d18a66dc1e41a23
2011-06-30 13:36:53 -07:00
RoboErik
5612b3d125 Merge "API updates to respond to comments" 2011-06-30 13:30:15 -07:00
Fabrice Di Meglio
fe8b06cfb4 Merge "Support control of text alignment." 2011-06-30 13:11:50 -07:00
RoboErik
083cd2dfeb API updates to respond to comments
Change-Id: I58597b722fc0c39da53570a45c859372bf4c3782
2011-06-30 13:09:33 -07:00
Jeff Hamilton
169abcf63f Merge "Add a string based createUri()." 2011-06-30 13:08:44 -07:00
Jeff Brown
8ef7358fb3 Merge "Synthetic cancel event should have touchscreen source." 2011-06-30 12:52:13 -07:00
Jeff Hamilton
1584af9d4e Add a string based createUri().
Change-Id: Ie26977684d0f48201daa605b8b6057ab9afb370e
2011-06-30 14:51:07 -05:00
Jeff Brown
2fdbc5a0c4 Synthetic cancel event should have touchscreen source.
Fixed a warning identified by the InputEventConsistencyVerifier
due to some code that synthesizes a touch event which it sends
to onTouchEvent with no input device source specified.
This is generally harmless but a fake source is better than
none in this case.

Change-Id: I44cfa36a4746f598f8fde3086084af3896e2ba2a
2011-06-30 12:25:54 -07:00
Dianne Hackborn
6c418d585e Fix issue #4902856: Don't let apps register non-explicit PendingIntents
Location manager now checks for such intents, and logs a warning when
they are given to it.  Nothing thrown yet, it needs to check the
targetSdkVersion of the caller somehow.

When sending the pending intent, we require that the recipient hold the
appropriate permission.  This should pretty much close the security hole.

Includes a bunch of infrastructure in the activity manager needed to
support all this.

Change-Id: I4dba7a98a7b8bbb9e347666451aa9cb1efad1848
2011-06-30 11:23:54 -07:00
Shimeng (Simon) Wang
e58e9b8c82 Merge "Use default scale when restored scale is 0." 2011-06-30 11:23:12 -07:00
Shimeng (Simon) Wang
be768ee508 Use default scale when restored scale is 0.
issue: 4975315
Change-Id: I47aa09605bb245cd271932d59d4d334f1e1b732f
2011-06-30 10:27:30 -07:00
Jeff Sharkey
b3f19ca36c Enforce background data flag, rules through netd.
Connect up netd penalty box through NMS, and enforce the existing
background data flag by putting all UIDs in penalty box.  Allow
platform applications to have policy applied.  Only dispatch unique
rules to netd, avoiding any repeats.

Bug: 4598463, 4965677
Change-Id: Ibf9beff998ba7a1ea92f5e2f7eeba7b483d4b918
2011-06-30 00:17:46 -07:00
Brian Carlstrom
6e24576b6b Merge "KeyChain API for credential installation" 2011-06-29 18:49:39 -07:00
Brian Carlstrom
a00a2b33cc KeyChain API for credential installation
Bug: 3497064
Change-Id: I4ac4d8b5559496b1632d63c2129e2bafd240893f
2011-06-29 18:46:56 -07:00
Shimeng (Simon) Wang
3e622f5c3c Merge "Initial zoom overview flag only meaningful in page overview mode." 2011-06-29 18:04:56 -07:00
Doug Felt
c0ccf0c47c Support control of text alignment.
Change-Id: Id6f3682f67ba2e6811e3014cd34a281e6dd0a469
2011-06-29 16:08:42 -07:00
Teng-Hui Zhu
7a1e5769ee Merge "Media player should be paused while the surface is still alive" 2011-06-29 15:58:38 -07:00
Teng-Hui Zhu
ac3cea3b1e Media player should be paused while the surface is still alive
bug:4975014
Change-Id: Ic3ff5480c3ab18fb1037d270aa822bacdd7d6b20
2011-06-29 15:34:00 -07:00
Dianne Hackborn
2c22882181 Merge "Plumb information from the framework about asec container size." 2011-06-29 14:05:01 -07:00
Shimeng (Simon) Wang
50e04e2d45 Initial zoom overview flag only meaningful in page overview mode.
Change-Id: I206864678e61777276468718a78e3da8de4f06a7
2011-06-29 12:28:16 -07:00
Svetoslav Ganov
aa2f8066c1 Merge "Minor tweak of NumberPicker to draw the scroll wheel at the right locaion" 2011-06-29 12:26:43 -07:00
Svetoslav Ganov
6a19fcde07 Minor tweak of NumberPicker to draw the scroll wheel at the right locaion
Change-Id: I8429ee1f06f5ef2c41a97c287d598f7c14c22837
2011-06-29 12:26:11 -07:00
Matthew Xie
3e65551028 Merge "Method setBondState passes its parameter reason to mBondState.setBondState." 2011-06-29 11:33:58 -07:00
Svetoslav Ganov
2551ef0f51 Merge "Minot twaek of the NumberPicker" 2011-06-29 11:31:41 -07:00
Svetoslav Ganov
5203194fdf Minot twaek of the NumberPicker
Change-Id: I3ab1d27633e7b75f77d09084964cc17edddb9394
2011-06-29 11:31:02 -07:00
Fabrice Di Meglio
83955ef12f Merge "Add textDirection support for TextView and ViewGroup" 2011-06-29 11:02:23 -07:00
Jeff Sharkey
afb60c36b7 Merge "Push interface quota rules from NetworkPolicyManager to kernel." 2011-06-29 10:53:06 -07:00
Ashish Sharma
50fd36d7c3 Push interface quota rules from NetworkPolicyManager to kernel.
Change-Id: Id2b758f561820b44839f69bf5fbd676cae771fe3
2011-06-29 10:51:06 -07:00
satok
fe41366e3a Merge "Add onClickView to InputMethodService" 2011-06-29 08:14:54 -07:00
satok
863fcd6217 Add onClickView to InputMethodService
Bug: 4697141

- onClickView is called everytime the user taps EditText

Change-Id: Ia71ad325e50a20e9e1001def662ef992bb50a9d0
2011-06-29 23:24:24 +09:00
Flavio Lerda
9ef78f00d2 Constants for accessing call log with voicemails.
Move the constants from the contacts provider implementation to the
framework.

These constants will remain hidden as currently only the system is
allowed access to the voicemail, protected by a signature permission.

Change-Id: I7cdb0fe217603b3d755238067a877f4209f4c26c
2011-06-29 10:51:59 +01:00
Jesse Wilson
b0b713f25b Merge "Move socket tagging from libcore." 2011-06-28 23:47:02 -07:00
Jesse Wilson
8568db5341 Move socket tagging from libcore.
Change-Id: I7515896936c5bbd212c88e2801b831914219a925
2011-06-28 23:43:51 -07:00
Svetoslav Ganov
01fa0d7aae Date and time pickers do not show properly on phone
1. Copied the default NumberPicker layout to sw-600dip
   i.e. in the layouts for tablets and changed the
   layout to fit on the screen. No mini calendar on
   phones - you need an microsope to see it.

2. Fixed a two pixel off erroro in NumberPicker noticable
   when the scroll wheel fades away.

bug:4259424

Change-Id: I07a73faff1e95dffd30424cc8addd35f2fe30e8f
2011-06-28 22:25:03 -07:00
Fabrice Di Meglio
222688682e Add textDirection support for TextView and ViewGroup
- use ViewGroup inheritance if defined
- use different heuristics (inherit, firstStrong, anyRtl, ltr, rtl)
- add more unit tests

Change-Id: Ic1325aa7d9e4689b181e0a2d08b7dd7fb3f0dbeb
2011-06-28 20:29:08 -07:00
Jeff Brown
e9e860762b Merge "Improve input event consistency invariants." 2011-06-28 20:17:59 -07:00
Jeff Brown
8134681b25 Improve input event consistency invariants.
Fixed some issues where inconsistent streams of events could
be generated by the dispatcher, particularly when switching from
hovering with one device to hovering with another.

Fixed a bug where the touch pad would fail to generate a new
HOVER_MOVE following a tap event.  As a result, the hover event
stream would not resume until the user touched the touch pad
again.

Change-Id: I444dce84641fb12e56a0af84c931520771d6c493
2011-06-28 20:10:40 -07:00
Jeff Sharkey
4414cea139 Better network stats parsing, integer tags, async.
Change NMS parsing to handle extended /proc/ stats formats by pairing
values with header keys.  Move TrafficStats to integer tags to match
kernel internals, and offer well-known tags for system services.

Async policy event dispatch from NPMS, and update tests to block for
event dispatch.  Narrow app policy to exclude apps signed with system
key, which are usually critical.

Bug: 4948913, 4903489, 4585280

Change-Id: Idb357227ccaa617906411f309371cea18d7bc519
2011-06-28 17:59:00 -07:00
Huahui Wu
b90a83c246 Merge "2nd try: Gets the URL that has a cert error and carrys it in SslError." 2011-06-28 16:26:32 -07:00
Dianne Hackborn
292f8bc9d1 Plumb information from the framework about asec container size.
Change-Id: Ie0ec3cb6d463aefa341a8cbea80be790451ba5e3
2011-06-28 15:02:44 -07:00
Daisuke Miyakawa
64c044f30e Merge "Use new usage feedback API in phone app / strequent" 2011-06-28 14:02:01 -07:00
Jeff Brown
3ec7fb4bcf Merge "Hover and stylus API cleanup." 2011-06-28 13:58:44 -07:00
Huahui Wu
5bb9b19c5a 2nd try: Gets the URL that has a cert error and carrys it in SslError.
Identical to https://android-git.corp.google.com/g/#change,117828
which was reverted since its collaborative CL broke the build.

Change-Id: I5fa7d3e9b6026639bf72530ff5b449e36f802914
2011-06-28 12:32:56 -07:00
Daisuke Miyakawa
f468591caf Use new usage feedback API in phone app / strequent
Basiaclly two changes included:

- Let CallLog use new data usage feedback API, so that
  ContactsProvider2 is able to figure out what type of contact
  method is used when a person is contacted.
- introduce phone_only parameter for strequent uri, which enables
  Contacts app to obtain a contact list for recently phone-called
  contacts.

markAsContacted() isn't used anymore, as nhe new API takes care of
old counters (TIMES_CONTACTED/LAST_TIME_CONTACTED) too.

Bug: 4371572
Change-Id: Ie193bb91ee49b18f4a546a1f52be780bb514301d
2011-06-28 11:12:33 -07:00