57089 Commits

Author SHA1 Message Date
Tadashi G. Takaoka
fb3db1f3a2 Update IME switcher icon on notification bar
Bug: 5086639
Change-Id: Ic29e4e864e574da748ed74d02a2e0f2f62ab8fd9
2011-08-22 18:18:13 +09:00
Jaikumar Ganesh
ae37d06dd0 Listen to the right Bluez signal for Channel deletion.
Health device channel deletion was looking at the
wrong dbus interface.

Reported by: Sungjun<sj222.choi@samsung.com>

Change-Id: I48e7c464fdcdd8bd47dc8cc9cd55b14ba8ea6bbf
2011-08-21 20:24:57 -07:00
Chih-Chung Chang
8598e57598 Merge "Remove useAndroidNativeBuffer(2) warning message." 2011-08-21 19:19:01 -07:00
Jim Miller
0191bba17c Fix 4993068: Don't check password history when dpm sets the password
This fixes a crash caused by permission problems when we try to update
the password history and discover there's no password salt.  The code
attempts to create the salt, which triggers the exception.

This could be fixed by wrapping the call with a clearCallingIdentity()/
restoreCallingIdentity(ident).  However, while looking at it, it occurred to me
that this can cause unexpected failures if the DPM tries to set the
password twice or happens to set it to something in the password history.

Instead, we should *always* allow the DPM to reset the password to whatever it wants,
provided it passes the minimum password criteria.

Change-Id: I1505b24f9c097ee5c2c44e4bf378ba90095b113b
2011-08-21 14:47:59 -07:00
Jim Miller
4f36995777 Fix 5026428: Rework unlock attempt logic with active DPM to show better messages
Prior to this change, we didn't have a mechanism to warn the user when
they were approaching the wipe data threshold dictated by active DPMs.

Here's the new flow:

- If a device policy manager is installed and sets the max
password attempts, we start warning the user when they are within
a grace period of hitting the max (currently hard-wired to 5).

- We continue to show a dialog after each continued attempt
until the user reaches 0 remaining attempts.

- We now show a message when they hit 0 so they know why their device is
being reset.  The device will reboot and wipe data shortly after this final
dialog is shown.

Also increased the criteria for a pattern attempt from 3 dots to 4 dots
since the user can never set a pattern less than 4 in length. This will
greatly reduce the likelihood of a false wipe on the pattern unlock screens
without compromising security.

Change-Id: I28825ef21dfa2e2b6540e743252c6d50c41e5ad7
2011-08-21 13:57:01 -07:00
Tsu Chiang Chuang
6951b1b421 fix bandwidth microbenchmark tests.
Change-Id: I8e8fbfdaca629503061c3199b0a969137fa60e68
2011-08-21 13:36:23 -07:00
Daniel Sandler
69314e7294 Fix NPE.
Bug: 5192200
Change-Id: Ifd869f92969016ea9c3ff9c5fa0a2a0f197c6cbf
2011-08-20 00:31:08 -04:00
Jeff Brown
86c471db06 Merge "Fix tap gesture on touch pads." 2011-08-19 17:38:09 -07:00
Wei Hua
7526a6d923 Merge "Added additional Face attributes." 2011-08-19 17:20:54 -07:00
Romain Guy
bb41daadf9 Merge "Minor fixes to SurfaceTexture transform matrix." 2011-08-19 16:57:32 -07:00
Alexandre Elias
c01391fb4e Minor fixes to SurfaceTexture transform matrix.
- Sometimes, the applyUpdate was applied through draw() and the
  underlying matrix was not updated in time, causing "jitter".  Add a
  matrix update call in draw().

- Switch to invalidateParentIfNeeded() in setTransform().

Change-Id: I1cf9cdfe78f9d989821cdc9600984fc826430211
2011-08-19 16:53:42 -07:00
Jim Miller
6d97842849 Merge "Fix 5021968: Add input method switcher button to lock screen." 2011-08-19 16:30:13 -07:00
Fabrice Di Meglio
a646145c33 Improve TextDirection resolution
- remove unuseful heuristics
- tune Javadoc

Change-Id: Id72a158b3a17a528423d278b1cbfd95b8c2951b5
2011-08-19 16:19:37 -07:00
repo sync
53ec3ff77b Merge "Fix device address and interface address usage" 2011-08-19 16:08:50 -07:00
Jeff Brown
a66cee134e Fix tap gesture on touch pads.
Change-Id: I92b23e5971d4b98b173aacd64fe03ce9f0755c88
2011-08-19 16:04:30 -07:00
Mathias Agopian
e74f83a5f8 Merge "Fix occasional fusion divergence by detecting it and resetting the fusion." 2011-08-19 15:54:09 -07:00
Jim Miller
858f8eaac7 Fix 5021968: Add input method switcher button to lock screen.
This adds an IME switcher button to lock screen.  It is only
shown if the user has more than one applicable and enabled IME installed.

Change-Id: I5f9503a205c2edb27170825539ba4a6ef25418ed
2011-08-19 15:46:03 -07:00
Jeff Brown
30867d8bdf Merge "Input system bug fixes, particularly for stylus. Bug: 5049148" 2011-08-19 15:26:13 -07:00
Christopher Tate
d6a2be3ef7 Merge "Allow Instrumentation to kill even persistent processes" 2011-08-19 15:21:43 -07:00
Jeff Brown
65fd251c39 Input system bug fixes, particularly for stylus.
Bug: 5049148

Finished stylus support, including support for indirect stylus
and mouse tools.

Added TILT axis.  When stylus tilt X/Y is available, it is transformed
into an orientation and tilt inclination which is a more convenient
representation and a simpler extension to the exiting API.

Touch devices now only report touch data using a single input
source.  Previously touch devices in pointer mode would report
both absolute touch pad data and cooked pointer gestures.
Now we just pick one.  The touch device switches modes as needed
when the focused application enables/disables pointer gestures.
This change greatly simplifies the code and reduces the load
on the input dispatcher.

Fixed an incorrect assumption that the value of ABS_(MT_)DISTANCE
would be zero whenever the stylus was in direct contact.  It appears
that the correct way to determine whether the stylus is in direct
contact (rather than hovering) is by checking for a non-zero
reported pressure.

Added code to read the initial state of tool buttons and axis values
when the input devices are initialized or reset.  This fixes
problems where the input mapper state might have the wrong initial
state.

Moved responsibility for cancelling pending inputs (keys down,
touches, etc.) to the InputDispatcher by sending it a device reset
notification.  This frees the InputReader from having to synthesize
events during reset, which was cumbersome and somewhat brittle
to begin with.

Consolidated more of the common accumulator logic from
SingleTouchInputMapper and MultiTouchInputMapper into
TouchInputMapper.

Improved the PointerLocation output.

Change-Id: I595d3647f7fd7cb1e3eff8b3c76b85043b5fe2f0
2011-08-19 15:02:26 -07:00
Rajneesh Chowdury
c0a2222552 Merge "Fix for 4142219 Don't hard code platform-specific limitations (Jni/ Java)" 2011-08-19 15:01:11 -07:00
Christopher Tate
3dacd8470a Allow Instrumentation to kill even persistent processes
Fixes bug 5117630

Change-Id: Iff40145fbbdc1d81a60cf2ecc5b24321162f7897
2011-08-19 14:57:57 -07:00
Dianne Hackborn
ace0be25d8 Merge "Fix issue #5187844: Query is misrouted to wrong content provider" 2011-08-19 14:49:39 -07:00
Dianne Hackborn
cd94303e8a Merge "Fix issue #5186318: Can't take multiple screenshots" 2011-08-19 14:48:40 -07:00
repo sync
8c57bcdbc6 Fix device address and interface address usage
After a p2p group is formed, STA connect and disconnects come over
interface address. Figure out device address from interface address
and fix the device comparison

Bug: 5002384
Change-Id: I7d3aa4f0616e000550cd2b057adbac71cfd2adb4
2011-08-19 14:41:03 -07:00
Fabrice Di Meglio
067bb3b443 Merge "Update TextLayout logging" 2011-08-19 14:39:15 -07:00
Jamie Gennis
c0ce60774c Merge "Stagefright: fix a compiler warning" 2011-08-19 14:36:10 -07:00
Rajneesh Chowdury
3ced044154 Fix for 4142219 Don't hard code platform-specific limitations (Jni/ Java)
Also fixes 5118207 add other video codec support for video editor export.

Change-Id: If72427173bd8ff684af07ba00f4425c1deef29c6
2011-08-19 14:34:47 -07:00
Amith Yamasani
1629618098 Merge "Fix an unintentional change in method signature and avoid an API change." 2011-08-19 14:29:34 -07:00
Dianne Hackborn
c0e3f2453c Fix issue #5186318: Can't take multiple screenshots
Locking good.  Races bad.

Change-Id: I59dd0ec2de47973c38fd646c2f441dd174eba444
2011-08-19 14:19:10 -07:00
Stephen Hines
c3ccfb8eec Merge "Issue proper parameters to root() calls for RS." 2011-08-19 14:17:47 -07:00
Dianne Hackborn
1c9b260cf5 Fix issue #5187844: Query is misrouted to wrong content provider
Change-Id: I56834f41844990d67edc8af83273036b3d755e37
2011-08-19 14:08:43 -07:00
Wei Hua
d52b308916 Added additional Face attributes.
bug: 5186701
Change-Id: Id08df922b9a79192a81e6e8bd7c0dccad4664b3b
2011-08-19 13:01:51 -07:00
Amith Yamasani
a465b2d4c3 Fix an unintentional change in method signature and avoid an API change.
Change onDetachedFromWindow() override to a protected method, like superclass.

Change-Id: If626c5187290516d525cab5a76f5c5cabe2d87f0
2011-08-19 13:01:22 -07:00
Guang Zhu
4a6f044786 Merge "Use port 18000 instead of 8000 for layout tests" 2011-08-19 12:44:28 -07:00
Eino-Ville Talvala
d06fa51b3e Merge "Make changing white-balance mode always disable AWB lock." 2011-08-19 12:42:06 -07:00
Adam Powell
b7d34e7172 Merge "Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items" 2011-08-19 12:34:28 -07:00
Stephen Hines
1222393e35 Issue proper parameters to root() calls for RS.
BUG=5076887

Change-Id: Ic0ce9d45ee20a99add4c780233c0804d05a55e96
2011-08-19 12:27:07 -07:00
Justin Ho
d4f6025702 Merge "Remove old spinner_ assets from zygote Bug: 5076695" 2011-08-19 12:24:06 -07:00
Adam Powell
bfcdfaf919 Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items
Fix a bug where action menus were not updating after configuration
changes.

Change-Id: Iaeed7d924a7b8b40849fd8e1826ed1c8f4079c94
2011-08-19 12:18:13 -07:00
Justin Ho
d5e4e0a112 Merge "Updated overscroll asset Bug: 5076695" 2011-08-19 12:14:30 -07:00
Justin Ho
13684c3523 Remove old spinner_ assets from zygote
Bug: 5076695

Change-Id: I1dddea226dc1701936e4c9dcc05c6b9d2d3c4db6
2011-08-19 12:13:06 -07:00
Wink Saville
499e9fdb47 Merge "Remove writing pin's to log." 2011-08-19 12:06:54 -07:00
Jason Sams
00c0dcb846 Merge "Fix issue with freeing allocation with circular references." 2011-08-19 11:23:46 -07:00
Wink Saville
9f1b94a14f Remove writing pin's to log.
Change-Id: Ib84397ac718ebcc3862c69fc7556e0403c2b3940
2011-08-19 11:17:54 -07:00
Amith Yamasani
7c670365ae Merge "Dismiss the volume overlay dialog when user touches above the dialog as well." 2011-08-19 11:17:48 -07:00
Joe Fernandez
0486f836be Merge "docs: OpenGL ES 1.0 and 2.0 Tutorials - Patch1" 2011-08-19 11:13:06 -07:00
Guang Zhu
e2b9d7f2f0 Use port 18000 instead of 8000 for layout tests
Apparently some system process is occupying this port now

Change-Id: Iaed4c64d7a8ab41830588d91f5deab1caadfdcdd
2011-08-19 10:52:12 -07:00
Andreas Huber
b9784398e6 Merge "Raise the maximum input buffer size for the vpx video decoder to 256KB" 2011-08-19 10:33:41 -07:00
Andreas Huber
121e50c066 Raise the maximum input buffer size for the vpx video decoder to 256KB
Change-Id: I0411763829bf186d1b3b679fa72c9051524506b4
related-to-bug: 5169641
2011-08-19 10:30:58 -07:00