83934 Commits

Author SHA1 Message Date
Craig Mautner
b868f1914e am 8f260c9a: am ec42c3c3: Merge "Ensure that mAllAppWinAnimators is not null." into jb-mr1-dev
* commit '8f260c9a685af38940d498f3d8a4ee2b70e2971d':
  Ensure that mAllAppWinAnimators is not null.
2012-08-20 10:35:42 -07:00
Craig Mautner
8f260c9a68 am ec42c3c3: Merge "Ensure that mAllAppWinAnimators is not null." into jb-mr1-dev
* commit 'ec42c3c35fd4c16e1823cfd0e5b589ed2d205aa7':
  Ensure that mAllAppWinAnimators is not null.
2012-08-20 10:33:29 -07:00
Craig Mautner
ec42c3c35f Merge "Ensure that mAllAppWinAnimators is not null." into jb-mr1-dev 2012-08-20 10:30:00 -07:00
Craig Mautner
bea12bdc2e Ensure that mAllAppWinAnimators is not null.
The method showAllWindowsLocked can be called from the layout
side of the WindowManagerService. Previously the AppWindowAnimator
member mAllAppWinAnimators was created on the animation side. If
showAllWindowsLocked was called before the first animation of the
activity an NPE would occur. This fix creates mAllAppWinAnimators
when the AppWindowAnimator is created and also updates it with
current values before calling showAllWindowsLocked.

Fixes bug 6917136.

Change-Id: If3ace22022b65c6888bbb9d0575efe9a45d86475
2012-08-20 10:23:18 -07:00
Przemyslaw Szczepaniak
cf02521b2a am 0430aab3: am 091d56ca: Fix double call to TTS connection disconnect() on reconnect
* commit '0430aab3dfeb6ca9ed3111336abeebfdf78d847b':
  Fix double call to TTS connection disconnect() on reconnect
2012-08-20 09:44:58 -07:00
Przemyslaw Szczepaniak
0430aab3df am 091d56ca: Fix double call to TTS connection disconnect() on reconnect
* commit '091d56cab8f6f6a3460fbb596f99b1a262948e96':
  Fix double call to TTS connection disconnect() on reconnect
2012-08-20 09:01:04 -07:00
Przemyslaw Szczepaniak
091d56cab8 Fix double call to TTS connection disconnect() on reconnect
- Sets the service connection to null when unbindService is called,
instead of in onServiceDisconnected. This avoids a double disconnect
if a call to onServiceConnected is received before a call to
onServiceDisconnected.

- Extended synchronize on runAction error handling and reconnection.
This prevents from reconnecting N times if N>1 threads enter this method
while there's issue with TTS service.

Bug:6993880
Change-Id: I5a387622c6032a18d17fc072029ae6be1a9b8e6c
2012-08-20 08:56:39 -07:00
Jeff Brown
b0646addc2 am 30e7d762: am bf5740e7: Improve display manager debugging.
* commit '30e7d7620c7483d93eb8303164d644299b36adcc':
  Improve display manager debugging.
2012-08-19 23:28:16 -07:00
Jeff Brown
30e7d7620c am bf5740e7: Improve display manager debugging.
* commit 'bf5740e75efd87ae0213486e78e029403804c6f0':
  Improve display manager debugging.
2012-08-19 23:26:02 -07:00
Jeff Brown
bf5740e75e Improve display manager debugging.
Change-Id: Iae794fe99a7cf9809f64eafb216091126a2f7e39
2012-08-19 23:20:02 -07:00
Jeff Brown
ae56520b36 am aa32f5f0: am 98365d76: Refactor for multi-display support.
* commit 'aa32f5f0db25a1553a353d93274f12432e5d07fc':
  Refactor for multi-display support.
2012-08-19 23:12:23 -07:00
Jeff Brown
df408baca5 am 2112e190: am 848c2dc9: Stub out display manager service implementation.
* commit '2112e190986f17e83f7e91d719772c891669be0b':
  Stub out display manager service implementation.
2012-08-19 23:12:19 -07:00
Jeff Brown
aa32f5f0db am 98365d76: Refactor for multi-display support.
* commit '98365d7663cbd82979a5700faf0050220b01084d':
  Refactor for multi-display support.
2012-08-19 23:10:13 -07:00
Jeff Brown
2112e19098 am 848c2dc9: Stub out display manager service implementation.
* commit '848c2dc93b6795e171f3dd6f64ea0be65e2762ca':
  Stub out display manager service implementation.
2012-08-19 23:10:09 -07:00
Jeff Brown
98365d7663 Refactor for multi-display support.
Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class.  This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault().  This represents the
bulk of this change.  Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids.  Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
2012-08-19 22:42:08 -07:00
Jeff Brown
848c2dc93b Stub out display manager service implementation.
Reverting to the previous stub as the display adapter registration
and the logical to physical mapping is not at all what we are going
to need moving forward.

Fixed up the service initialization order so that the display manager
service has a context from the start.

Change-Id: I717f2f1099c7a77180ef207c371ec8329258850a
2012-08-19 21:21:37 -07:00
Guang Zhu
6dab159afb am 41cae3c2: am 82d53ce2: Merge "fix sdcard path for webkit perf and layout test scripts" into jb-mr1-dev
* commit '41cae3c2b6ae5bc77e854671fc70f7ce1654fb84':
  fix sdcard path for webkit perf and layout test scripts
2012-08-19 15:32:58 -07:00
Guang Zhu
41cae3c2b6 am 82d53ce2: Merge "fix sdcard path for webkit perf and layout test scripts" into jb-mr1-dev
* commit '82d53ce283b7c275624d66e9bf20cfe2614af5c4':
  fix sdcard path for webkit perf and layout test scripts
2012-08-19 15:31:24 -07:00
Guang Zhu
82d53ce283 Merge "fix sdcard path for webkit perf and layout test scripts" into jb-mr1-dev 2012-08-19 15:29:08 -07:00
Guang Zhu
8aaa32b13e fix sdcard path for webkit perf and layout test scripts
paths are moved from /sdcard/ to /sdcard/0/

Change-Id: I27dee294eff033da47c5de17c3b7843790386be3
2012-08-19 15:27:40 -07:00
Amith Yamasani
8ea5e7cd75 am b3af0446: am 2284c36b: Merge "Fixed static wallpaper for multi-user" into jb-mr1-dev
* commit 'b3af04465d5ca2bf6f2e5ac43023554fdfe9741b':
  Fixed static wallpaper for multi-user
2012-08-19 08:01:01 -07:00
Amith Yamasani
870275de28 am 82bb930b: am 67645821: Merge "Don\'t create cache directory for isolated processes" into jb-mr1-dev
* commit '82bb930b17cb0f2a84b3dd8fa5c0650291ea2383':
  Don't create cache directory for isolated processes
2012-08-19 07:59:18 -07:00
Amith Yamasani
b3af04465d am 2284c36b: Merge "Fixed static wallpaper for multi-user" into jb-mr1-dev
* commit '2284c36bfac6507be9c4361557a7e8359c319ae4':
  Fixed static wallpaper for multi-user
2012-08-19 07:58:33 -07:00
Amith Yamasani
82bb930b17 am 67645821: Merge "Don\'t create cache directory for isolated processes" into jb-mr1-dev
* commit '67645821a5c1501edac684b876e49562c70a9424':
  Don't create cache directory for isolated processes
2012-08-19 07:56:50 -07:00
Amith Yamasani
2284c36bfa Merge "Fixed static wallpaper for multi-user" into jb-mr1-dev 2012-08-19 07:56:16 -07:00
Amith Yamasani
67645821a5 Merge "Don't create cache directory for isolated processes" into jb-mr1-dev 2012-08-19 07:54:36 -07:00
Amith Yamasani
ce777171fc Fixed static wallpaper for multi-user
Earlier assumption that systemui was running in the system process
does not hold true, so running static wallpaper in its own user
sandbox.

Bug: 7008230
Change-Id: I32a128e6bbd8efa7006286330e970bafcf37f05a
2012-08-18 22:13:07 -07:00
Amith Yamasani
11de39a5cf Don't create cache directory for isolated processes
They don't have access anyway
This makes Chrome work in secondary users

Change-Id: I4d30581bc6e807901e642893d6964854c0567fec
2012-08-17 18:01:24 -07:00
Dianne Hackborn
7ebc491aa4 am fabff0a0: am f337a89b: Merge "More view hierarchy, fragment debugging." into jb-mr1-dev
* commit 'fabff0a081079a4311c9b8f2d50527005d67c796':
  More view hierarchy, fragment debugging.
2012-08-17 17:42:36 -07:00
Dianne Hackborn
fabff0a081 am f337a89b: Merge "More view hierarchy, fragment debugging." into jb-mr1-dev
* commit 'f337a89b4d6f6fd0a49b6edd7f895f06cb96d28b':
  More view hierarchy, fragment debugging.
2012-08-17 17:41:21 -07:00
Dianne Hackborn
f337a89b4d Merge "More view hierarchy, fragment debugging." into jb-mr1-dev 2012-08-17 17:39:09 -07:00
Dianne Hackborn
4702a85697 More view hierarchy, fragment debugging.
Add a View.toString() method.

Rename all of the View private flags to have a PFLAG prefix to
avoid going insane trying to figure out which constant goes with
which flag.

Activity.dump() now includes a summary of the activity's view
hierarchy, using the View.toString() method.

All exceptions thrown by FragmentManager now perform a dump of
the owning activity state, where appropriate.

Change-Id: I6482e397e10cb5a0612ab02ce6ed5131823437a6
2012-08-17 17:35:00 -07:00
Amith Yamasani
dbf29fa5dd am 77d9f308: am 427dccc0: Merge "Fix build part 2" into jb-mr1-dev
* commit '77d9f308c0b9356b5df411c6debcdbec7fc0464b':
  Fix build part 2
2012-08-17 17:12:47 -07:00
Amith Yamasani
77d9f308c0 am 427dccc0: Merge "Fix build part 2" into jb-mr1-dev
* commit '427dccc0cdc315f6a4b2be9954ff16f802cd9a60':
  Fix build part 2
2012-08-17 17:10:23 -07:00
Amith Yamasani
427dccc0cd Merge "Fix build part 2" into jb-mr1-dev 2012-08-17 17:08:33 -07:00
Amith Yamasani
fc6e0ca07e Fix build part 2
Change-Id: I3b4ed430f214468a22d3b3aaf3605e570cfd0ed1
2012-08-17 17:07:14 -07:00
Dianne Hackborn
93e3ec3264 am e3d89013: am 5c6912c6: Merge "Fix permission check on ContentProvider to be multi-user aware." into jb-mr1-dev
* commit 'e3d89013c6dc683f911a2372b11ffa3542dd10ae':
  Fix permission check on ContentProvider to be multi-user aware.
2012-08-17 17:04:58 -07:00
Dianne Hackborn
e3d89013c6 am 5c6912c6: Merge "Fix permission check on ContentProvider to be multi-user aware." into jb-mr1-dev
* commit '5c6912c6f697e34d79447b0cd794a6d9edea72ab':
  Fix permission check on ContentProvider to be multi-user aware.
2012-08-17 17:03:38 -07:00
Dianne Hackborn
5c6912c6f6 Merge "Fix permission check on ContentProvider to be multi-user aware." into jb-mr1-dev 2012-08-17 17:01:48 -07:00
Dianne Hackborn
0d8af78b74 Fix permission check on ContentProvider to be multi-user aware.
Change-Id: I1e504fe6561caef99d478e37660e2294fec7ea8b
2012-08-17 16:51:54 -07:00
Amith Yamasani
ec0d899b2c am ca5d8dc2: am 14e883b2: Fix merge error
* commit 'ca5d8dc2c08f2bfbb0c06e9b7b9cda9776493862':
  Fix merge error
2012-08-17 16:41:33 -07:00
Amith Yamasani
ca5d8dc2c0 am 14e883b2: Fix merge error
* commit '14e883b25e0998e3bc4e574a0df3db252d6e987f':
  Fix merge error
2012-08-17 16:39:09 -07:00
Amith Yamasani
14e883b25e Fix merge error
Didn't apply the recent API change from another CL.

Change-Id: I65ac6108909eca7ac48beabb4a8b7bbedda84249
2012-08-17 16:34:53 -07:00
Chet Haase
503b0cc356 am 0784c870: am 998ca230: Merge "Fix glyph cropping bug" into jb-mr1-dev
* commit '0784c87061d7c68ae9814b0353c5f96e857d12a6':
  Fix glyph cropping bug
2012-08-17 16:24:59 -07:00
Amith Yamasani
56f4a67250 am 539d2b56: am 7fdaa397: Merge "Save preferred activity info with user id." into jb-mr1-dev
* commit '539d2b562fa1aa8afc4c3e98209e8b4f6ab56e9c':
  Save preferred activity info with user id.
2012-08-17 16:23:20 -07:00
Chet Haase
0784c87061 am 998ca230: Merge "Fix glyph cropping bug" into jb-mr1-dev
* commit '998ca2301c695c02966cc169ce2e407054dc7c5c':
  Fix glyph cropping bug
2012-08-17 16:22:49 -07:00
Amith Yamasani
539d2b562f am 7fdaa397: Merge "Save preferred activity info with user id." into jb-mr1-dev
* commit '7fdaa3976d6082bd7e96329240bda478c08b751e':
  Save preferred activity info with user id.
2012-08-17 16:21:10 -07:00
Chet Haase
998ca2301c Merge "Fix glyph cropping bug" into jb-mr1-dev 2012-08-17 16:20:22 -07:00
Amith Yamasani
7fdaa3976d Merge "Save preferred activity info with user id." into jb-mr1-dev 2012-08-17 16:19:19 -07:00
Victoria Lease
3e59f3fce6 Merge "LocaleSpan makes Han disambiguation easy!" 2012-08-17 16:14:46 -07:00