OSDN Git Service
Jeff Sharkey [Fri, 13 Apr 2012 19:18:13 +0000 (12:18 -0700)]
Add simple method to dump key/value pairs.
Change-Id: I26ebf7e1a1667298c6deca742c104685c52955f7
Jeff Sharkey [Thu, 12 Apr 2012 22:59:23 +0000 (15:59 -0700)]
Enforce READ_EXTERNAL on non-user builds.
Enable default enforcement of READ_EXTERNAL_STORAGE on non-user
builds. Users can still explicitly enable enforcement in Settings.
Bug:
6131916
Change-Id: I7dc66b624ad252ed2a2ad3647f3ea85dda7f8e82
Quddus Chong [Thu, 12 Apr 2012 20:04:54 +0000 (13:04 -0700)]
am
5f9d36d5: am
02c6cad7: am
6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
* commit '
5f9d36d5b987dad1f8f13e2a392f5320cbc6053f':
Quddus Chong [Thu, 12 Apr 2012 20:02:41 +0000 (13:02 -0700)]
am
2a1a1fa6: am
6073985e: am
6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
* commit '
2a1a1fa626bfc626577730407651d9fca2d375c7':
Quddus Chong [Thu, 12 Apr 2012 20:01:29 +0000 (13:01 -0700)]
am
02c6cad7: am
6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
* commit '
02c6cad7c49942336ed6a8fe015c0cb4eced0c82':
Quddus Chong [Thu, 12 Apr 2012 20:01:00 +0000 (13:01 -0700)]
am
a97a7b5a: am
6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
* commit '
a97a7b5a6efac20a112c1833579a0a2b17bc058e':
docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537
Quddus Chong [Thu, 12 Apr 2012 20:00:18 +0000 (13:00 -0700)]
am
6073985e: am
6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
* commit '
6073985e8a6d3f32f86a24e7a2a6bbf5b6a90b4e':
docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537
Quddus Chong [Thu, 12 Apr 2012 19:58:27 +0000 (12:58 -0700)]
am
6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
* commit '
6971153d88ebe2e441b75081a273b88424498a45':
docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537
Quddus Chong [Thu, 12 Apr 2012 19:58:20 +0000 (12:58 -0700)]
am
6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
* commit '
6971153d88ebe2e441b75081a273b88424498a45':
docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537
Quddus Chong [Thu, 12 Apr 2012 19:58:11 +0000 (12:58 -0700)]
am
6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
* commit '
6971153d88ebe2e441b75081a273b88424498a45':
docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537
Quddus Chong [Thu, 12 Apr 2012 19:56:29 +0000 (12:56 -0700)]
Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug:
6318537" into ics-mr1
Svetoslav Ganov [Thu, 12 Apr 2012 19:54:25 +0000 (12:54 -0700)]
Merge "Some view not shown on the screen are reported for accessibility."
Svetoslav Ganov [Tue, 10 Apr 2012 00:39:00 +0000 (17:39 -0700)]
Some view not shown on the screen are reported for accessibility.
1. Some applications are keeping around visible views off screen
to improve responsiveness by drawing them in layers, etc. While
such a view is not visible on the screen the accessibility layer
was reporting it since it was visible. Now the check is improved
to verify whether the view is attached, is in visible window,
is visible, and has a rectangle that is not clipped by its
predecessors.
2. AccessibilityNodeInfo bounds in screen were not properly set
since only the top left point was offset appropriately to
take into account any predecessor's transformation matrix
and the not transformed width and height were used. Now
the bounds are properly offset.
bug:
6291855
Change-Id: I244d1d9af81391676c1c9e0fe86cf4574ff37225
Robert Ly [Thu, 12 Apr 2012 19:37:50 +0000 (12:37 -0700)]
Robert Ly [Thu, 12 Apr 2012 19:35:25 +0000 (12:35 -0700)]
Quddus Chong [Thu, 12 Apr 2012 18:49:37 +0000 (11:49 -0700)]
docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event).
Bug:
6318537
Change-Id: I4fb0f103bfe3ddf485e1bfa76eb39a51adce1aaa
Robert Ly [Thu, 12 Apr 2012 19:34:43 +0000 (12:34 -0700)]
Robert Ly [Thu, 12 Apr 2012 19:32:18 +0000 (12:32 -0700)]
am
9a00e8f1: am
070827e6: Merge "docs: fix bug
5158332" into ics-mr1
* commit '
9a00e8f138b13b551a96104675c93035ea1eface':
docs: fix bug
5158332
Robert Ly [Thu, 12 Apr 2012 19:32:16 +0000 (12:32 -0700)]
am
127fe418: am
070827e6: Merge "docs: fix bug
5158332" into ics-mr1
* commit '
127fe418d664eee99f91123011717bf25c00fc1f':
docs: fix bug
5158332
Robert Ly [Thu, 12 Apr 2012 19:29:33 +0000 (12:29 -0700)]
am
070827e6: Merge "docs: fix bug
5158332" into ics-mr1
* commit '
070827e6031a312d368f33fb1ad8babff92e64e4':
docs: fix bug
5158332
Robert Ly [Thu, 12 Apr 2012 19:29:29 +0000 (12:29 -0700)]
am
070827e6: Merge "docs: fix bug
5158332" into ics-mr1
* commit '
070827e6031a312d368f33fb1ad8babff92e64e4':
docs: fix bug
5158332
Robert Ly [Thu, 12 Apr 2012 19:29:20 +0000 (12:29 -0700)]
am
070827e6: Merge "docs: fix bug
5158332" into ics-mr1
* commit '
070827e6031a312d368f33fb1ad8babff92e64e4':
docs: fix bug
5158332
Robert Ly [Thu, 12 Apr 2012 19:27:20 +0000 (12:27 -0700)]
Merge "docs: fix bug
5158332" into ics-mr1
James Dong [Thu, 12 Apr 2012 19:08:31 +0000 (12:08 -0700)]
Merge "Fix failure from setDataSource(String path) when path is a local file"
Chet Haase [Thu, 12 Apr 2012 19:02:13 +0000 (12:02 -0700)]
Merge "Fix AnimatorSet duration issue"
James Dong [Thu, 12 Apr 2012 04:18:43 +0000 (21:18 -0700)]
Fix failure from setDataSource(String path) when path is a local file
o the failure was because the mediaserver does not have read permission to sdcard
o related-to-bug:
6325960,
6322913
Change-Id: I4feec01b8165c78563eee8aab69cb24df3244d03
Romain Guy [Thu, 12 Apr 2012 18:35:58 +0000 (11:35 -0700)]
Merge "Don't wait for screen on to finish animations"
Romain Guy [Thu, 12 Apr 2012 18:33:14 +0000 (11:33 -0700)]
Don't wait for screen on to finish animations
OldAnimations™ would set their start time during the first frame drawn
after calling View.startAnimation(). If this method was invoked while
the screen was off, this would cause the animation to start playing
when the screen turned back on.
Change-Id: Ic45a1af2020a7f5e81c2544bd8f16a6bedbd6849
Amith Yamasani [Thu, 12 Apr 2012 18:18:08 +0000 (11:18 -0700)]
Merge "Make dumpsys activity services work again."
Steve Block [Thu, 12 Apr 2012 18:02:29 +0000 (11:02 -0700)]
Merge "Minor clean-up in DeviceOrientation and DeviceMotion"
Amith Yamasani [Wed, 11 Apr 2012 22:02:39 +0000 (15:02 -0700)]
Make dumpsys activity services work again.
Due to the step to query the users, dumpsys was crashing when run
as non-root. Clearing the calling identity after checking perms
fixes this.
Bug:
6311443
Change-Id: I0b0bca5c7305cea19adc772b3bfec34c16bb24c4
Jeff Brown [Thu, 12 Apr 2012 17:24:31 +0000 (10:24 -0700)]
Merge "HID usage should take precedence over scan code."
Jeff Brown [Thu, 12 Apr 2012 17:05:41 +0000 (10:05 -0700)]
HID usage should take precedence over scan code.
Change-Id: Ibd8988e3dcc0d64f4019ffe491d9789733f9d243
John Reck [Thu, 12 Apr 2012 16:54:28 +0000 (09:54 -0700)]
Merge "Cleanup unused code"
Brian Colonna [Thu, 12 Apr 2012 15:36:20 +0000 (08:36 -0700)]
Merge "Changed FUL calls to more general biometric sensor calls"
Chet Haase [Thu, 12 Apr 2012 14:51:50 +0000 (07:51 -0700)]
Fix AnimatorSet duration issue
Setting the duration on an AnimatorSet should propagate that value
to its children. This works, but only if all children are added to the set
before setDuration() is called. This fix delays that propagation until
the set is started, making it possible to have a more flexible order of when
the children are added and when the duration is set.
Issue #
6324904 AnimatorSet durations too long
Change-Id: I797971c2310eb2e3fe931b4aa35de505f2a519f7
Steve Block [Wed, 3 Aug 2011 12:57:49 +0000 (13:57 +0100)]
Minor clean-up in DeviceOrientation and DeviceMotion
No functional change.
See corresponding external/webkit change
https://android-git.corp.google.com/g/#change,125700
Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
Jonathan Dixon [Thu, 12 Apr 2012 09:29:50 +0000 (02:29 -0700)]
Merge "Hide WebView.getZoomControls()"
Jeff Sharkey [Thu, 12 Apr 2012 04:24:53 +0000 (21:24 -0700)]
am
2cec767b: (-s ours) am
3d33c68f: am
d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '
2cec767b8a90fcb913f7689bb20d1fe6f437cced':
Jeff Sharkey [Thu, 12 Apr 2012 04:15:01 +0000 (21:15 -0700)]
am
3d33c68f: am
d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '
3d33c68f9e0ddc3b022e027e7644e908cfc9725e':
Jeff Brown [Thu, 12 Apr 2012 03:29:32 +0000 (20:29 -0700)]
Merge "Refactor key code mapping."
Jeff Brown [Thu, 12 Apr 2012 01:27:33 +0000 (18:27 -0700)]
Refactor key code mapping.
Added handling for EV_MSC / MSC_SCAN which typically reports
the HID usage associated with a key. This will enable key maps
to map keys with HID usages that Linux does not natively recognize.
Removed keyCode and flags fields from EventHub RawEvent since
they don't necessarily make sense in isolation now that we
pay attention to HID usage codes too.
Removed the fallback code for mapping keys and axes. In practice,
an input device should be self-sufficient. We should not ever
need to look at the built-in keyboard's key map. In fact, there
usually isn't a built-in keyboard anyhow. This code was originally
working around a problem where we weren't loading the key map
for touch screens with virtual keys, which has long since been fixed.
Change-Id: I0a319bdec44be9514f795526347397e94d53a127
Jeff Sharkey [Thu, 12 Apr 2012 02:27:58 +0000 (19:27 -0700)]
am
f6e42953: (-s ours) am
88d97104: am
d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '
f6e429531620688fa00bfae0cda4ec04d9c7d4ec':
Jeff Sharkey [Thu, 12 Apr 2012 02:24:41 +0000 (19:24 -0700)]
am
63de4562: (-s ours) am
d9818244: (-s ours) Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '
63de4562950f57fd0dc99ad16767264303345141':
DO NOT MERGE: Make component names visible in javadoc.
Jeff Sharkey [Thu, 12 Apr 2012 02:24:25 +0000 (19:24 -0700)]
am
88d97104: am
d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '
88d9710483c07c6fe985018e276532a2c480df81':
DO NOT MERGE: Make component names visible in javadoc.
Jeff Sharkey [Thu, 12 Apr 2012 02:21:27 +0000 (19:21 -0700)]
am
d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '
d9818244f9bf47b9e2981df7866b1ace01392fa9':
DO NOT MERGE: Make component names visible in javadoc.
Jeff Sharkey [Thu, 12 Apr 2012 02:21:15 +0000 (19:21 -0700)]
am
d9818244: (-s ours) Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '
d9818244f9bf47b9e2981df7866b1ace01392fa9':
DO NOT MERGE: Make component names visible in javadoc.
Jeff Sharkey [Thu, 12 Apr 2012 02:21:12 +0000 (19:21 -0700)]
am
d9818244: Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
* commit '
d9818244f9bf47b9e2981df7866b1ace01392fa9':
DO NOT MERGE: Make component names visible in javadoc.
Jeff Sharkey [Thu, 12 Apr 2012 02:18:45 +0000 (19:18 -0700)]
Merge "DO NOT MERGE: Make component names visible in javadoc." into ics-mr1
Jeff Sharkey [Thu, 12 Apr 2012 01:30:51 +0000 (18:30 -0700)]
DO NOT MERGE: Make component names visible in javadoc.
Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d
Jeff Sharkey [Thu, 12 Apr 2012 02:11:35 +0000 (19:11 -0700)]
Merge "Include enforcement state in dumpsys."
Jeff Sharkey [Thu, 12 Apr 2012 02:07:08 +0000 (19:07 -0700)]
Include enforcement state in dumpsys.
Bug:
6323087
Change-Id: I6d779798538c114ea9816d3bdbbff5552c285df6
Brett Chabot [Thu, 12 Apr 2012 02:04:08 +0000 (19:04 -0700)]
Merge "Upgrade junit.runner classes to their JUnit4.10 implementation."
Brett Chabot [Mon, 30 Jan 2012 19:29:54 +0000 (11:29 -0800)]
Upgrade junit.runner classes to their JUnit4.10 implementation.
Bug
5826326
Change-Id: If7e4c48a4369c1056dee5a2049c891bb6ab7d8d0
Jamie Gennis [Thu, 12 Apr 2012 01:52:12 +0000 (18:52 -0700)]
Merge "ANativeWindow: support for application buffer dimensions"
Jeff Sharkey [Thu, 12 Apr 2012 01:39:26 +0000 (18:39 -0700)]
Merge "Make component names visible in javadoc."
Jeff Sharkey [Thu, 12 Apr 2012 01:30:51 +0000 (18:30 -0700)]
Make component names visible in javadoc.
Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d
Ashish Sharma [Thu, 12 Apr 2012 01:22:18 +0000 (18:22 -0700)]
Merge "Synchronize/align periodic sync alarms based on a random per device seed value."
Romain Guy [Thu, 12 Apr 2012 01:19:10 +0000 (18:19 -0700)]
Merge "Fix SurfaceTexture leak in TextureView Bug #
6318631"
Romain Guy [Thu, 12 Apr 2012 01:15:20 +0000 (18:15 -0700)]
Fix SurfaceTexture leak in TextureView
Bug #
6318631
Change-Id: I282a7c9bb648365ba61c52a84ff510c8779130ef
Ashish Sharma [Thu, 12 Apr 2012 00:27:24 +0000 (17:27 -0700)]
Synchronize/align periodic sync alarms based on a random per device seed value.
Removes duplicates SyncHandler.MESSAGE_CHECK_ALARM messages from the queue.
Change-Id: Ib29a06da904cebdd45ee05c9d9a6bf00b72100eb
John Reck [Thu, 12 Apr 2012 00:51:41 +0000 (17:51 -0700)]
Cleanup unused code
Bug:
6317798
Change-Id: Ibf38d680fabacb2987cd26fac464875dd8ebad2e
Quddus Chong [Thu, 12 Apr 2012 00:44:57 +0000 (17:44 -0700)]
am
9fd39ded: am
c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
* commit '
9fd39dedf9b70a748c02d113893df498df407dd5':
Justin Mattson [Thu, 12 Apr 2012 00:44:53 +0000 (17:44 -0700)]
am
4ea7bfea: Merge "Check if WallpaperService is enabled" into ics-aah
* commit '
4ea7bfea312e4ddf815eabdef04d3f3b4878a51a':
Check if WallpaperService is enabled
Scott Main [Thu, 12 Apr 2012 00:38:07 +0000 (17:38 -0700)]
am
7d4a2ad8: am
71e8f4c1: Merge "docs: add 101 class about intents, Interacting with Other Apps" into ics-mr1
* commit '
7d4a2ad8c776207c719d186a33a68a164761f11c':
Craig Mautner [Thu, 12 Apr 2012 00:18:44 +0000 (17:18 -0700)]
Merge "Check WindowState when looking for animation."
Craig Mautner [Thu, 12 Apr 2012 00:06:21 +0000 (17:06 -0700)]
Check WindowState when looking for animation.
The method setTokenVisibilityLocked returns true when animations are
delaying the exit of an app. Previously this only checked AppToken
animations but that caused exiting WindowState animations to be
ignored.
In particular if an application both hid an AppToken and then
dismissed the AppToken, the AppToken was being removed from
mClosingTokens before the animation finished. This caused
rebuildAppWindowListLocked to lose a WindowState. Furthermore
Surfaces were not being removed when a WindowState was lost and
we were leaking Surfaces.
Fixes bug
6297563.
Change-Id: Ie75c71064518199237ec4a17d3f65e2a2dd29674
James Dong [Wed, 11 Apr 2012 23:40:56 +0000 (16:40 -0700)]
Merge "Fix thumbnail generation failure"
Quddus Chong [Wed, 11 Apr 2012 23:19:13 +0000 (16:19 -0700)]
am
e960c30d: am
a2ac13ee: am
c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
* commit '
e960c30d22deaf28df0d8c16cf36381ed06183c7':
Quddus Chong [Wed, 11 Apr 2012 23:15:57 +0000 (16:15 -0700)]
am
c4180594: am
51cb7ca5: am
c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
* commit '
c4180594855bf108fe6eccf9f7ab57605ba86b58':
SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971
Quddus Chong [Wed, 11 Apr 2012 23:14:22 +0000 (16:14 -0700)]
am
a2ac13ee: am
c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
* commit '
a2ac13ee0141035bfe5cd882d095a10883576392':
Dianne Hackborn [Wed, 11 Apr 2012 23:14:05 +0000 (16:14 -0700)]
Merge "Fix issue #
6266651: Low storage warning takes long time to sort apps by usage"
Quddus Chong [Wed, 11 Apr 2012 23:12:23 +0000 (16:12 -0700)]
am
51cb7ca5: am
c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
* commit '
51cb7ca563dda1ea92b76f216e5d2960dcd62cf8':
SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971
Quddus Chong [Wed, 11 Apr 2012 23:10:33 +0000 (16:10 -0700)]
am
c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
* commit '
c08787fc96473b5738a4c024a13a8c7d24af496b':
SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971
Quddus Chong [Wed, 11 Apr 2012 23:10:23 +0000 (16:10 -0700)]
am
c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
* commit '
c08787fc96473b5738a4c024a13a8c7d24af496b':
SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971
Quddus Chong [Wed, 11 Apr 2012 23:09:07 +0000 (16:09 -0700)]
am
c08787fc: Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
* commit '
c08787fc96473b5738a4c024a13a8c7d24af496b':
SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971
Quddus Chong [Wed, 11 Apr 2012 23:07:01 +0000 (16:07 -0700)]
Merge "SDK doc change: Fixed typo and added method parentheses in line 206. Bug:
6318971" into ics-mr1
Amith Yamasani [Wed, 11 Apr 2012 23:06:03 +0000 (16:06 -0700)]
Merge "Don't migrate accounts.db if already migrated."
Dianne Hackborn [Wed, 11 Apr 2012 23:04:12 +0000 (16:04 -0700)]
Fix issue #
6266651: Low storage warning takes long time to sort apps by usage
On a device with emulated external storage, the low storage notification
should go to the main storage settings UI. This shows the user all of
the things that could be causing their storage to be low.
Change-Id: I9c345b6cb7abbabc24a67c7e104d077ecbbfb86d
John Reck [Wed, 11 Apr 2012 23:03:46 +0000 (16:03 -0700)]
Merge "New WebView input dispatcher."
John Grossman [Wed, 11 Apr 2012 22:57:39 +0000 (15:57 -0700)]
am
5f489096: (-s ours) Merge "TimedAudio: Track of the number of pending frames." into ics-aah
* commit '
5f48909604c0e653962e643e7f1f38b1b36e9d74':
TimedAudio: Track of the number of pending frames.
Justin Mattson [Wed, 11 Apr 2012 22:55:36 +0000 (15:55 -0700)]
Merge "Check if WallpaperService is enabled" into ics-aah
Brian Colonna [Wed, 11 Apr 2012 15:12:37 +0000 (11:12 -0400)]
Changed FUL calls to more general biometric sensor calls
This is another step toward fix
5460649 - cleanup
LockPatternKeyguardView (LPKV).
After this change, LPKV has minimal knowledge of FUL. FUL now
implements a new BiometricSensorUnlock interface and LPKV talks to
that interface. Other biometric sensors can implement the same
interface such that LPKV doesn't need to know much about what type
of biometric sensor is being used or its implementation.
The new interface has better, more general function names, so some
function names in FaceUnlock.java were changed. Some of the functions
in FaceUnlock.java were also reordered to match the interface.
This change should not change the behavior of FUL. There are two
places where code functionality was changed:
1) There was a showArea() function and a showAreaWithTimeout()
function that were both called from LPKV. To simplify the interface,
only a show() function is provided - it takes a timeout and if the
timeout is 0 it doesn't do the timeout.
2) There was a stopIfRunning() function that did a check to make sure
FUL was running. If FUL was running, it stopped FUL. Then it
returned a boolean indicating if it had been running. LPKV sometimes
needs to know if FUL was running so it knows if it should restart FUL.
To simplify the interface, a single stop() function is provided which
returns whether or not it was running. I believe the 'if running'
check was redundant and that there was no case where calling stop()
when it wasn't running would cause any badness.
Change-Id: I717268f360aed823e603df8e687cd107aa69ae11
Quddus Chong [Wed, 11 Apr 2012 18:57:50 +0000 (11:57 -0700)]
SDK doc change: Fixed typo and added method parentheses in line 206.
Bug:
6318971
Change-Id: I57f3c7aff6209269ca0d95d616e551e2100eeb54
Brian Colonna [Wed, 11 Apr 2012 22:46:34 +0000 (15:46 -0700)]
Merge "Fix: FUL coming up when phone is powered off from lockscreen"
Brian Colonna [Wed, 11 Apr 2012 22:35:22 +0000 (18:35 -0400)]
Fix: FUL coming up when phone is powered off from lockscreen
When FUL was enabled and the power was turned off from the lockscreen,
either manually or by timing out, the lockscreen would turn back on
and FUL would start.
I believe this is due to a recently-added 'force' flag, which this
commit removes.
Change-Id: I314125fe52afe1536ab5a4600f39f563e1d58991
Amith Yamasani [Wed, 11 Apr 2012 22:32:07 +0000 (15:32 -0700)]
Don't migrate accounts.db if already migrated.
Some developers accidentally create a blank accounts.db and this
was causing accounts to vanish. This safeguards the case where both
old and new files exist.
Bug:
6168813
Change-Id: I79cf211acc5422ff1c17fe0c9af80c49227b60ac
Adam Powell [Wed, 11 Apr 2012 22:22:37 +0000 (15:22 -0700)]
Merge "Invalidate for scrolling animations on the animation timer"
Jeff Brown [Wed, 11 Apr 2012 22:19:41 +0000 (15:19 -0700)]
Merge "Don't do anything on lid state change by default."
Jeff Brown [Wed, 11 Apr 2012 22:19:31 +0000 (15:19 -0700)]
Merge "Unhide new animation runnable API on View."
Jeff Brown [Wed, 11 Apr 2012 22:14:55 +0000 (15:14 -0700)]
Don't do anything on lid state change by default.
Because a lid switch can be used to do many things, it's best
if the framework does not do anything by default when the lid is
opened or closed. The behavior of the lid switch should be
configured on a per-product basis in a config.xml resource overlay.
Bug:
6320088
Change-Id: I9f768dd11d76c3c17c49f46c92f993ee2ff1409f
Jeff Brown [Wed, 21 Mar 2012 18:50:06 +0000 (11:50 -0700)]
New WebView input dispatcher.
Bug:
6317798
Stuff that's better:
1. We maintain two queues in a way that ensures that WebView and
WebKit both see consistent streams of events, even in cases
where WebKit times out. We send ACTION_CANCEL if necessary, etc.
2. All pointer events go through the same channel, including
hover and click ("touch up") events, to ensure correct ordering.
3. Given that the input events are in a separate queue, we can
force execution of all of these events whenever we like, making new
latency optimizations possible.
4. The entire history of each touch event is sent to the web
application to enable smoother interaction.
5. The web application may choose to intercept a touch event stream
at any time by issuing "prevent default". Previously, it could only
prevent default on the initial down event. The new behavior is more
standards compliant.
Change-Id: I42d2d045e7d44af7c54b29570f188b7400d91d4e
James Dong [Wed, 11 Apr 2012 20:09:03 +0000 (13:09 -0700)]
Fix thumbnail generation failure
o Change the impl of MediaMetadataRetriever.setDataSource(String).
It opens and passes an fd to the media framework
rather than pass the file path directly to the media server. The change is needed since media
server does not have read permission to sdcard
o Remove the unnecessary jni method
Change-Id: I5a2f47dde804523d264b588f855ba2575a99c179
Chet Haase [Wed, 11 Apr 2012 21:54:12 +0000 (14:54 -0700)]
Merge "Pass width/height parameters to webview"
Chet Haase [Wed, 11 Apr 2012 21:32:02 +0000 (14:32 -0700)]
Pass width/height parameters to webview
When webview draws into an fbo layer, it needs to know the
size of that surface to create the rendering transform appropriately.
This change copies in the current viewport size to the structure that
is passed to the webview.
Change-Id: I7160b0836d00834134c799c95a439cdc045e2035
Chris Craik [Wed, 11 Apr 2012 21:26:11 +0000 (14:26 -0700)]
Merge "Unify composited layer/base layer draw path"
Jeff Brown [Wed, 11 Apr 2012 21:23:51 +0000 (14:23 -0700)]
Unhide new animation runnable API on View.
Change-Id: Id626688d6c7d632c01d9897777c854cb601d3301
Eric Fischer [Wed, 11 Apr 2012 20:34:04 +0000 (13:34 -0700)]
Merge "Import translations. DO NOT MERGE"
Eric Fischer [Wed, 11 Apr 2012 20:31:55 +0000 (13:31 -0700)]
Merge "Import translations. DO NOT MERGE"
Adam Powell [Wed, 11 Apr 2012 01:55:22 +0000 (18:55 -0700)]
Invalidate for scrolling animations on the animation timer
Change View methods awakenScrollBars and scrollTo to post their
invalidation on the animation timer. Since these are often used in
computeScroll or similar to continue scrolling or flinging it should
not prevent other posted events from being processed before the frame
is actually drawn. (All changes in scroll position, etc. are
immediately reflected after the calls and do not need a draw to
present correct data about scroll position to apps.)
Don't accumulate floating point error while dragging
ScrollView/HorizontalScrollView.
Change-Id: I05b57d75f89a806488e46a8fb79b85d80f56d45d