Commit Graph

13901 Commits

Author SHA1 Message Date
Craig Mautner
3deb2baada am b4683e3d: am 4d4dd1e1: Merge "Search further than one task for fullscreen." into klp-dev
* commit 'b4683e3d9805bb48eda1d9c03c5d4a1877220a85':
  Search further than one task for fullscreen.
2013-10-23 15:41:06 -07:00
Craig Mautner
4d4dd1e173 Merge "Search further than one task for fullscreen." into klp-dev 2013-10-23 22:35:25 +00:00
Craig Mautner
39e1c5a75e Search further than one task for fullscreen.
When a non-fullscreen task over home launches another non-fullscreen
task then the home task might not be displayed. Looking all the way
down the task stacks until reaching a visible, fullscreen activity or
home provides the right information.

Fixes bug 11273803.

Change-Id: I8dab0956c1cda06ddb7850ea3ffac7f6a223c6ad
2013-10-23 15:14:22 -07:00
Igor Murashkin
44d04aa0ac am: Increase dropbox buffer size to 256KB (from 128KB)
Minor changes for dumping stack traces:
- Print the native traces right after foreground/persistent apps
- Also include mediaserver, sdcard, and surfaceflinger in traces

Bug: 11321322
Change-Id: Ic09b7da316a5f197dda0ac3bde06f75574cc2166
2013-10-23 14:43:05 -07:00
John Spurlock
93028e4c18 am 6b32736f: am c4f5868a: am c72b18b7: Merge "Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards." into klp-dev
* commit '6b32736f6dcf017a12f11950c05c1f309e3aa859':
  Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards.
2013-10-23 14:26:52 -07:00
John Spurlock
6b32736f6d am c4f5868a: am c72b18b7: Merge "Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards." into klp-dev
* commit 'c4f5868a418076db18f4b526c00cd8691d46acdb':
  Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards.
2013-10-23 14:25:09 -07:00
John Spurlock
36439b4312 Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards.
Reserve IME_VISIBLE for when software keyboards are actually
showing.

Bug:11186297
Change-Id: I4e09a7de353e564bd1a97dadd603d3104254fa56
2013-10-23 17:02:53 -04:00
Satoshi Kataoka
b5c2092c4c Merge "Notify commitText event to InputMethodManagerService" 2013-10-23 18:36:14 +00:00
Dianne Hackborn
7c6d71f352 am 15009a08: am adfb4dee: am 910c2857: Merge "Fix issue #11278906: Some wm commands fail on shell users" into klp-dev
* commit '15009a080b4346c598dae12d9af840aba6a353da':
  Fix issue #11278906: Some wm commands fail on shell users
2013-10-23 10:53:00 -07:00
Dianne Hackborn
f4bcc592bf am b3332447: am e6a8ccb3: am 2d76a1a0: Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev
* commit 'b3332447964dfe19299f6ba0365ee706daa4494b':
  Fix issue #11323037: Android apk incorrectly marked as running in app processes
2013-10-23 10:52:56 -07:00
Dianne Hackborn
15009a080b am adfb4dee: am 910c2857: Merge "Fix issue #11278906: Some wm commands fail on shell users" into klp-dev
* commit 'adfb4dee746dafc5cc2f2d1b8bcf0dc62cf82b24':
  Fix issue #11278906: Some wm commands fail on shell users
2013-10-23 10:49:55 -07:00
Dianne Hackborn
b333244796 am e6a8ccb3: am 2d76a1a0: Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev
* commit 'e6a8ccb3d11a3af2a2d9f0077965d05754abcff3':
  Fix issue #11323037: Android apk incorrectly marked as running in app processes
2013-10-23 10:49:52 -07:00
Dianne Hackborn
910c285793 Merge "Fix issue #11278906: Some wm commands fail on shell users" into klp-dev 2013-10-23 17:44:21 +00:00
Dianne Hackborn
2d76a1a068 Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev 2013-10-23 17:44:11 +00:00
Dianne Hackborn
0cca3db9ad Fix issue #11278906: Some wm commands fail on shell users
Binder.clearCallingIdentity makes everything better.

Change-Id: I31cd9478c857553b3cf1ea54d5b4987571788796
2013-10-23 10:23:39 -07:00
Dianne Hackborn
237cefbcee Fix issue #11323037: Android apk incorrectly marked as running in app processes
The android package is now a special case, not being added to the package list
when creating a multi-process component.  There is no need, since this package
is actually the framework itself which must be loaded in every process.

Also cleaned up some of the procstats dump output to help see what is going
on here.

Change-Id: If65d35ecd562f3154bdebfded69c454af6ce8c96
2013-10-22 19:15:49 -07:00
Todd Poynor
0edc5b50ab BatteryService: use new batteryproperties service name
Change-Id: Ib065a1099ec17d799f9caa6bb48390b478c28ed7
2013-10-22 17:53:13 -07:00
Todd Poynor
50ae385894 BatteryService: remove dumpsys-only info duplicated by systemhealth
Change-Id: I7fa605304b5f62ea19bcf3851d11abe7bf6c83f5
2013-10-23 00:15:08 +00:00
Christopher Tate
4c795f6990 am 037fa248: am d34e1155: am 5f474fcb: Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev
* commit '037fa2489ff4d8646e4df67950fc93a80345d879':
  Edge case: overriden system package moved & became privileged in OTA
2013-10-22 16:50:35 -07:00
Christopher Tate
037fa2489f am d34e1155: am 5f474fcb: Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev
* commit 'd34e1155226e8885d51c05209c7c87503528a2db':
  Edge case: overriden system package moved & became privileged in OTA
2013-10-22 16:45:51 -07:00
Christopher Tate
5f474fcb6d Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev 2013-10-22 23:38:02 +00:00
Christopher Tate
9f08820025 Edge case: overriden system package moved & became privileged in OTA
Because properly continuing permission grants post-OTA has changed
policy to include privilege considerations based on install location,
make sure that we re-evaluate when we determine that the apk has
moved from its pre-OTA location.

Bug 11271490

Change-Id: I6c09986e2851a67504268b289932588457c05dfc
2013-10-22 15:36:01 -07:00
Craig Mautner
94fb73beaa am 004aa071: am deba7bb0: am 798adeff: Don\'t use transient states for wallpaper animation.
* commit '004aa0714a1dbad33ee11c210edf7371e424b26b':
  Don't use transient states for wallpaper animation.
2013-10-22 15:02:00 -07:00
Craig Mautner
004aa0714a am deba7bb0: am 798adeff: Don\'t use transient states for wallpaper animation.
* commit 'deba7bb0ca821d219a384c3d611e8a25da32e07d':
  Don't use transient states for wallpaper animation.
2013-10-22 14:59:38 -07:00
Craig Mautner
798adeffb0 Don't use transient states for wallpaper animation.
The WindowManagerService member mLowerWallpaperTarget is not stable
throughout an app transition. Relying on it to be stable causes the
intra-wallpaper animation to start out right but after the windows
have been relayed out there is no longer a lower wallpaper target.
This causes the wallpaper to start tracking the animation of the
current wallpaper target rather than remain stable.

Switching to a new variable that saves the state of wallpaper
animation at the start of the animation fixes bug 11240590.

Change-Id: I336a59c47665fcf61019f567b8663956ff0e4940
2013-10-22 14:50:52 -07:00
Craig Mautner
dd2399a0d9 am 74897f07: am d37d1859: am 40006309: Merge "Check for home activity when switching focus." into klp-dev
* commit '74897f07491078e14282b30174cf14c9815d8dc0':
  Check for home activity when switching focus.
2013-10-22 13:09:22 -07:00
Craig Mautner
74897f0749 am d37d1859: am 40006309: Merge "Check for home activity when switching focus." into klp-dev
* commit 'd37d1859794e72ea6f9b98f83bf004a4364b4b2d':
  Check for home activity when switching focus.
2013-10-22 13:07:00 -07:00
Craig Mautner
4000630999 Merge "Check for home activity when switching focus." into klp-dev 2013-10-22 20:01:12 +00:00
Craig Mautner
04f0b70c13 Check for home activity when switching focus.
When finishing or stopping an activity the code was automatically
refocusing to the next activity on the same stack independent of the
task's onTopOfHome flag. When the activity eventually finished or
stopped it would then honor the onTopOfHome flag.

This fix examines the onTopOfHome flag and arranges the focus
correctly if home is the next activity to run.

Fixes bug 11318263.

Change-Id: I73a8f5e82de04b01acaffe366b085f9e475e1451
2013-10-22 12:31:01 -07:00
Satoshi Kataoka
d7443c83ce Notify commitText event to InputMethodManagerService
for the intelligent subtype switching

Bug: 7043015
Change-Id: I11ed9a767588f8080753cd9bce011dac7db579ad
2013-10-23 04:14:43 +09:00
Craig Mautner
d8796d44d5 am 39308006: am e609a677: am 74082349: Merge "Make sure mFocusedStack is never the home stack." into klp-dev
* commit '39308006d6868fa7be892276e31ff90943f8d99b':
  Make sure mFocusedStack is never the home stack.
2013-10-22 10:45:02 -07:00
Craig Mautner
39308006d6 am e609a677: am 74082349: Merge "Make sure mFocusedStack is never the home stack." into klp-dev
* commit 'e609a677f8ff02aa163d6136370b9fee0dec9096':
  Make sure mFocusedStack is never the home stack.
2013-10-22 10:42:48 -07:00
Craig Mautner
7408234985 Merge "Make sure mFocusedStack is never the home stack." into klp-dev 2013-10-22 17:36:57 +00:00
Craig Mautner
d1bbdb462a Make sure mFocusedStack is never the home stack.
There were circumstances where mFocusedStack could be assigned the
home stack. If this were ever to occur then all subsequent tasks would
be put on the home stack. This fix ensures that there is no way that
mFocusedStack will ever be assigned to the home task.

Fixes bug 11271189.

Change-Id: I7ddd9b6bcbf2787cbe2f44b461ad057ae2241f00
2013-10-22 09:53:20 -07:00
Craig Mautner
8e867f3810 am e0bebd29: am 0857e3b9: am 24ba3234: Merge "Do not delete stacks that are not empty." into klp-dev
* commit 'e0bebd294e7d2b998cc71e77e99f311c6321a6a1':
  Do not delete stacks that are not empty.
2013-10-21 21:41:47 -07:00
Craig Mautner
e0bebd294e am 0857e3b9: am 24ba3234: Merge "Do not delete stacks that are not empty." into klp-dev
* commit '0857e3b97a12bbd9f4d333b620bd7dfbd275c812':
  Do not delete stacks that are not empty.
2013-10-21 21:38:12 -07:00
Craig Mautner
24ba3234ca Merge "Do not delete stacks that are not empty." into klp-dev 2013-10-22 04:31:12 +00:00
Craig Mautner
19d9bd54d3 Do not delete stacks that are not empty.
The possibility existed that an activity was set to a task that it was
already being set to. If that were to happen, and it was the only
activity in the only task of the stack the stack would be deleted.
This fixes that situation and logs it as well to confirm that it does
fix bug 11272935. Logging to be deleted upon successful monkey run
exhibiting the log.

Change-Id: I436fdcc9a3734adad81d3ef90f29b93b3ac4dfcd
2013-10-21 20:05:26 -07:00
Christopher Tate
0cbfafdf70 am 1c565bfe: am 6fd88844: am 7eb83c59: Merge "Preserve window sizes when rebatching alarms" into klp-dev
* commit '1c565bfe53fe8205bf828f5073dd25d9d74a0f57':
  Preserve window sizes when rebatching alarms
2013-10-21 18:08:57 -07:00
Christopher Tate
1c565bfe53 am 6fd88844: am 7eb83c59: Merge "Preserve window sizes when rebatching alarms" into klp-dev
* commit '6fd8884402659c1cf2fd6e638a36fa69396be4fa':
  Preserve window sizes when rebatching alarms
2013-10-21 18:05:01 -07:00
Satoshi Kataoka
673c558e7e Merge "Shorten the interval to reconnect the disconnected IME" 2013-10-22 01:04:56 +00:00
Satoshi Kataoka
bcacc322f8 Shorten the interval to reconnect the disconnected IME
10sec -> 3sec

Bug: 5474811
Change-Id: I2f8c49eb00df6e3fd22fdb96ed0a14432ddaa874
2013-10-21 18:01:29 -07:00
Christopher Tate
7eb83c597f Merge "Preserve window sizes when rebatching alarms" into klp-dev 2013-10-22 00:58:42 +00:00
Christopher Tate
3e04b47216 Preserve window sizes when rebatching alarms
The existing code wasn't retaining the requested window bounds, if any,
and so could wind up rebatching alarms into much longer potential
delivery windows than originally demanded by the caller.  This could
wind up delivering alarms outside their designated windows entirely.

Bug 11324357

Change-Id: I4d418cd08702e397b3c7692b412d4bf51d5d9e4b
2013-10-21 17:51:31 -07:00
Adam Lesinski
b245fa4579 am 42ad5ef1: am ed51f0ac: am e17e0f0e: Merge "Fix jank for translucent window transitions" into klp-dev
* commit '42ad5ef155b52c4c6770e9e45998b8cb84d7cc9d':
  Fix jank for translucent window transitions
2013-10-21 17:23:16 -07:00
Adam Lesinski
42ad5ef155 am ed51f0ac: am e17e0f0e: Merge "Fix jank for translucent window transitions" into klp-dev
* commit 'ed51f0ac8f264c83bbafa397f8ee9a83ab9ab033':
  Fix jank for translucent window transitions
2013-10-21 17:20:15 -07:00
Adam Lesinski
e17e0f0e6c Merge "Fix jank for translucent window transitions" into klp-dev 2013-10-22 00:13:17 +00:00
Adam Lesinski
43d8d3355b Fix jank for translucent window transitions
When a translucent window is closing, the transition
animation to Launcher is janky because Launcher is
expected to be 'opening' but it has always been open
underneath the translucent window. Therefore, the
animation applied to the translucent app appears
janky.

bug:11253262
Change-Id: I9b6af3291d119e6927401f63785b12f25573f4eb
2013-10-21 16:41:48 -07:00
Jason Monk
a0e370eb21 am 85bb9056: am 7d167181: am 0aeca872: Merge "Make setting PAC require CONNECTIVITY_INTERNAL" into klp-dev
* commit '85bb9056fc3eaf7eeb826041eb030c13bd9e3e16':
  Make setting PAC require CONNECTIVITY_INTERNAL
2013-10-21 14:50:31 -07:00
Jason Monk
85bb9056fc am 7d167181: am 0aeca872: Merge "Make setting PAC require CONNECTIVITY_INTERNAL" into klp-dev
* commit '7d16718105fc2ddf2fa2238df601f8316193e3a5':
  Make setting PAC require CONNECTIVITY_INTERNAL
2013-10-21 14:47:24 -07:00