Dianne Hackborn
e77187d018
Fix issue #11391003 : Allow dumpsys meminfo to be used with native processes
...
Change-Id: I005e4dc763deafac95dc3aa6261c06d1808fdaff
2013-10-25 16:32:41 -07:00
Dianne Hackborn
b251e0794a
am 33c7520b: am 0b1ec016: am 19d79659: Merge "Fix issue #11374840 : adb shell am startservice not working any more" into klp-dev
...
* commit '33c7520b68e015c46ed1bcb277dc4faaa368cc55':
Fix issue #11374840 : adb shell am startservice not working any more
2013-10-25 16:14:19 -07:00
Dianne Hackborn
33c7520b68
am 0b1ec016: am 19d79659: Merge "Fix issue #11374840 : adb shell am startservice not working any more" into klp-dev
...
* commit '0b1ec0165a5dc98bc82670288894af446ff5bcaa':
Fix issue #11374840 : adb shell am startservice not working any more
2013-10-25 15:37:30 -07:00
Dianne Hackborn
19d79659ee
Merge "Fix issue #11374840 : adb shell am startservice not working any more" into klp-dev
2013-10-25 22:30:35 +00:00
Marco Nelissen
a22010ebe5
am d19385bf: am 21657181: Merge "Add a method to set a list of uids for a wake lock" into klp-dev
...
* commit 'd19385bf58225069c8ea0a7ce5075ed28861b039':
Add a method to set a list of uids for a wake lock
2013-10-25 15:01:34 -07:00
Marco Nelissen
2165718153
Merge "Add a method to set a list of uids for a wake lock" into klp-dev
2013-10-25 21:55:55 +00:00
Dianne Hackborn
de0e83bc39
Fix issue #11374840 : adb shell am startservice not working any more
...
The startService() and stopServie() calls had a redundant check for
the incoming user ID being valid, but with its own custom implementation
that doesn't match the normal handleIncomingUser flow. In fact, for
both of these we are going to do handleIncomingUser anyway when we get
to retrieveServiceLocked(), so there was just no need for this.
Change-Id: I14409a03781a14a5f1a786aceb31dcc77efb062c
2013-10-25 14:34:18 -07:00
Craig Mautner
2788751652
am 1f57b605: am 6f2fb33f: am d4d170de: Merge "Do not take screenshots when launching activities..." into klp-dev
...
* commit '1f57b6055ea4c80980a03a229e720bb9420cc5f9':
Do not take screenshots when launching activities...
2013-10-25 13:18:31 -07:00
Craig Mautner
1f57b6055e
am 6f2fb33f: am d4d170de: Merge "Do not take screenshots when launching activities..." into klp-dev
...
* commit '6f2fb33f907b3af246f79a72e79ea7e4192c7478':
Do not take screenshots when launching activities...
2013-10-25 13:15:13 -07:00
Craig Mautner
d4d170de39
Merge "Do not take screenshots when launching activities..." into klp-dev
2013-10-25 20:09:20 +00:00
Marco Nelissen
738ffdc9da
Add a method to set a list of uids for a wake lock
...
Cherrypicked from master.
b/9464621
Change-Id: Ia6a9d36d55129ae87d3ec070fbf10dc02f4b6cb4
2013-10-25 12:49:55 -07:00
Craig Mautner
b53d97c457
Change order of operations so flag is not overwritten
...
The effects of the flag, Intent.FLAG_ACTIVITY_TASK_ON_HOME was being
overwritten by the call immediately after it was set. Changing the
order of operations leaves the effect intact.
Fixes bug 11376962.
Change-Id: I27371e0efeb0c08d1e14514a9e3a63157f6d34d8
2013-10-25 11:54:37 -07:00
Erin Dahlgren
e9e31f895e
am b9705893: am 204b1e28: am fe470c37: Merge "Have the package manager write mimetype of preferred activities to xml." into klp-dev
...
* commit 'b970589321c1d398da9ae4e78c44e122a22a8365':
Have the package manager write mimetype of preferred activities to xml.
2013-10-24 16:27:56 -07:00
Erin Dahlgren
b970589321
am 204b1e28: am fe470c37: Merge "Have the package manager write mimetype of preferred activities to xml." into klp-dev
...
* commit '204b1e2817f3abb7946d9254cca666d2da1e4f7c':
Have the package manager write mimetype of preferred activities to xml.
2013-10-24 16:25:59 -07:00
Erin Dahlgren
fe470c37de
Merge "Have the package manager write mimetype of preferred activities to xml." into klp-dev
2013-10-24 23:21:16 +00:00
Craig Mautner
6f6d56fd4d
Do not take screenshots when launching activities...
...
Unless they are in another task.
Fixes bug 11374158.
Change-Id: I961d4ce9520bc84a182806db2ccb072501c8357a
2013-10-24 16:02:07 -07:00
Erin Dahlgren
707a59dc9a
Have the package manager write mimetype of preferred activities to xml.
...
Issue: 11372979
Change-Id: I5ea4e94c978845426e2650946d0bba076d161c19
2013-10-24 15:13:39 -07:00
Craig Mautner
c031363cbd
am 6f90587e: am 052f7f0d: am 7c2a2ef2: Merge "Track window position with task position." into klp-dev
...
* commit '6f90587eecd8e3970c7a87cf72512ae21c0a039b':
Track window position with task position.
2013-10-24 14:36:53 -07:00
Craig Mautner
6f90587eec
am 052f7f0d: am 7c2a2ef2: Merge "Track window position with task position." into klp-dev
...
* commit '052f7f0d4e57aa4bbdffd82749ef528f62570517':
Track window position with task position.
2013-10-24 14:31:45 -07:00
Craig Mautner
7c2a2ef2ee
Merge "Track window position with task position." into klp-dev
2013-10-24 21:26:11 +00:00
Christopher Tate
c93af316e8
am a8eb5071: am 525322ec: am f9f740da: Merge "Support different watchdog timeouts for different entities" into klp-dev
...
* commit 'a8eb5071d20b8b9aac924753c997f28c7e9dcbb0':
Support different watchdog timeouts for different entities
2013-10-24 14:00:45 -07:00
Christopher Tate
a8eb5071d2
am 525322ec: am f9f740da: Merge "Support different watchdog timeouts for different entities" into klp-dev
...
* commit '525322ecbab1502586d378e7065edc402abc63bf':
Support different watchdog timeouts for different entities
2013-10-24 13:58:07 -07:00
Christopher Tate
f9f740dae1
Merge "Support different watchdog timeouts for different entities" into klp-dev
2013-10-24 20:52:23 +00:00
Craig Mautner
77df2ee9de
Track window position with task position.
...
Windows were previously ordered by TaskStack/ActivityStack order. This
change provides a data structure in DisplayContent that tracks task
movement. Previously Recents and Home activity windows were always
adjacent because they were on the same stack. With this change windows
from other activities can be placed between the two.
Fixes bug 11338594.
Change-Id: Ie34443ff22f330d015141d97db79370c54920d28
2013-10-24 12:47:07 -07:00
Craig Mautner
641089b69b
am 1a529dda: am bcd68186: am d0d23f6a: Merge "Disable time consuming debugging code." into klp-dev
...
* commit '1a529ddaa71a3dfa50586a145ebfa502bea85e1d':
Disable time consuming debugging code.
2013-10-24 12:32:48 -07:00
Craig Mautner
1a529ddaa7
am bcd68186: am d0d23f6a: Merge "Disable time consuming debugging code." into klp-dev
...
* commit 'bcd681862d819cf31d6de4abe36379e70d1077f5':
Disable time consuming debugging code.
2013-10-24 12:15:40 -07:00
Adam Lesinski
f8f2f8b03f
am 1a8b416b: am 9137b65c: am bb8aae5b: Merge "Improve Jank for translucent activities" into klp-dev
...
* commit '1a8b416b7b93f3602c3666bfc1f9cb67359f4c0e':
Improve Jank for translucent activities
2013-10-24 11:42:30 -07:00
Craig Mautner
d0d23f6ae1
Merge "Disable time consuming debugging code." into klp-dev
2013-10-24 17:57:24 +00:00
Adam Lesinski
1a8b416b7b
am 9137b65c: am bb8aae5b: Merge "Improve Jank for translucent activities" into klp-dev
...
* commit '9137b65cf7b0bdbaa4d9fc97ffc752c0a636100f':
Improve Jank for translucent activities
2013-10-24 10:50:10 -07:00
Christopher Tate
e6f81cf1f6
Support different watchdog timeouts for different entities
...
We need to be able to perform very lengthy operations on some threads
(e.g. the I/O thread responsible for installing multi-gigabyte APKs) but
still have long-run deadlock/hang detection applied to those threads.
Previously the watchdog mechanism applied the same policy to all
monitored threads: unresponsive after 60 seconds => restart the system.
Now, each monitored entity can have its own independent timeout after
which the watchdog declares deadlock and restarts the runtime. The
halfway-finished intermediate thread stacks are dumped based on the
specific entity's declared timeout, not the global 30 second checking
interval.
With that new mechanism in place, the Package Manager's lengthy-I/O
thread watchdog timeout is raised to 10 minutes.
Bug 11278188
Change-Id: I512599260009c31416b2385f778681e5b9597f05
2013-10-24 10:46:28 -07:00
Adam Lesinski
bb8aae5b19
Merge "Improve Jank for translucent activities" into klp-dev
2013-10-24 17:44:58 +00:00
Craig Mautner
4697bea3fd
Disable time consuming debugging code.
...
Scanning bitmaps for monochromicity takes time. Lots of time. Don't do
it.
Fixes bug 11366278.
Change-Id: I7a8ad42751311fc39efc27fb4c51522fc1ba0523
2013-10-24 09:13:14 -07:00
Adam Lesinski
76afd1f129
Improve Jank for translucent activities
...
The previous jank improvement only worked when closing
an app, not when bringing one forward (hitting home button).
This should cover the specific case that is being missed: Having the
Home task being brought to front over a translucent window, with
a wallpaper behind both tasks.
bug:11253262
Change-Id: I200ef6fe2dda8d9ab4e1f82059b4f888c59007f4
2013-10-23 17:54:25 -07:00
Craig Mautner
19a2ee5d70
am 3deb2baa: am b4683e3d: am 4d4dd1e1: Merge "Search further than one task for fullscreen." into klp-dev
...
* commit '3deb2baada0650dc9a8420f894261db87ac3261e':
Search further than one task for fullscreen.
2013-10-23 15:42:31 -07:00
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