23527 Commits

Author SHA1 Message Date
Dianne Hackborn
1b64e0d865 Work on death recipient leaks in Activity Manager and Content Service.
This should fix a leak of process death recipients in the activity manager.

Also add debugging of content observers to try to track down what looks
like a leak of them in the content service.

Change-Id: Id6823679493ef0cde5307bb66490ebe31b878556
2011-07-17 17:50:37 -07:00
Dianne Hackborn
066836fce9 Merge "Fix a couple static leaks." 2011-07-17 14:30:25 -07:00
Dianne Hackborn
1078609d44 Merge "Rework and fix "adb shell dumpsys meminfo"" 2011-07-17 14:29:54 -07:00
Dianne Hackborn
de4c26fa1a Fix a couple static leaks.
Change-Id: If2564dc822fbcb3bb3baf270ad2b3c29c78bf421
2011-07-17 13:49:27 -07:00
Dianne Hackborn
0e3328fbdd Rework and fix "adb shell dumpsys meminfo"
We now collect more detailed information splitting the maps into
additional useful categories.

Fixed some bugs in account, such as not correctly handling all of
the current dalvik allocations.

The activity manager now prints a final summary of all pss organized
by the apps and the categories.

Change-Id: Iafc5f27c998095812b1483c6803b8e0f0587aeae
2011-07-17 13:48:37 -07:00
Adam Powell
b80d332e74 Fix bug 5037642 - Refine back button behavior for action bar modes.
Action modes for the action bar used to aggressively hijack the back
button before the view hierarchy got a chance to respond to it. Loosen
this. New ordering is: view hierarchy => window feature-level modes
(action bar modes e.g. CAB/search) => Activity/window callback
behavior.

Change-Id: Iac1b22997713be968a94f77f9fa6cebaf6f923f0
2011-07-17 13:04:37 -07:00
Jeff Sharkey
6fa7e7e9bb Merge "Release strong Fragment references after exec." 2011-07-17 12:06:05 -07:00
Svetoslav Ganov
47b779b9f9 Scroll events should indicate whether or not they have pixel data.
1. Updated all integet properties of AccessibilityRecord to be set to -1
   so this is a clue to the client that this property is irrelevant for
   the current event type.

bug:5031598

Change-Id: Ifedc15bf2249847cbc6cbcb83f5732e17b8b2903
2011-07-17 11:12:49 -07:00
Svetoslav Ganov
0f55cc33f6 AccessibilityNodeInfo does not report checkable coreclty.
1. AccessibilitiyNodeInfo's checkable property was not set.

bug:5039205

Change-Id: I083d1c357c6d9875536e66e355c8a33bd580cee6
2011-07-17 10:51:54 -07:00
Gilles Debunne
176ee3d0f2 Bug 5037953: Fix NPE in bringPointIntoView
Change-Id: If711f65de1a70ac9132b0b853a9f336ec56355b8
2011-07-16 13:51:24 -07:00
Adam Powell
28fa07e15f Fix bug 5021359 - show app icon for collapsible action views.
Also fix a bug with initial enabled state of the app-home button.

Change-Id: I7eac4932deeced3ac209ad899922ac90f40c87e6
2011-07-15 20:17:25 -07:00
Adam Powell
8132ba5e2e Fix bug 5011067 - align popup lists to their content rather than
window frame by default

Change-Id: I05803b7487248d38981c2adc5422bf01761bc18c
2011-07-15 18:22:44 -07:00
Fabrice Di Meglio
9c83011005 Merge "Fix bug #4972141 Overlapping content in single-choice dialogs" 2011-07-15 17:51:46 -07:00
Daniel Lehmann
9eebaf10e9 Merge "Use higher resolution in in-call UI if available." 2011-07-15 17:41:36 -07:00
Fabrice Di Meglio
54d6962555 Fix bug #4972141 Overlapping content in single-choice dialogs
- need to take care about padding resolution

Change-Id: Ida9738ffada6c6455b7949f933fa61924c4f7961
2011-07-15 17:05:11 -07:00
Eric Fischer
8d96f19692 Merge "Import revised translations." 2011-07-15 17:04:36 -07:00
Fabrice Di Meglio
9703ac8e6f Merge "Some code refactoring" 2011-07-15 16:52:03 -07:00
Romain Guy
9189c2ea75 Merge "Don't break the build..." 2011-07-15 16:51:30 -07:00
Romain Guy
f85ad93755 Don't break the build...
Change-Id: I9c77f3d22eb412dc92703167100d72496aefac9c
2011-07-15 16:50:52 -07:00
Romain Guy
e57a981f14 Merge "Remove unused code" 2011-07-15 16:46:39 -07:00
Romain Guy
dafbf247ee Remove unused code
Change-Id: I7f7fc6bac03c92087037fc56b78fc43a1e93dae5
2011-07-15 16:44:39 -07:00
Eric Fischer
67fa9f0d84 Import revised translations.
Change-Id: I6c9ed6cf456cdefc7fd062eaad0e53d5c64b91f9
2011-07-15 16:42:18 -07:00
John Reck
849a147c99 Merge "Implement SeekBarPreference.onGetDefaultValue" 2011-07-15 15:58:43 -07:00
John Reck
595d2bdc16 Implement SeekBarPreference.onGetDefaultValue
Bug: 5036325

Change-Id: I1db0ed3809b862a547e5fda40027852f8b46aa38
2011-07-15 15:48:01 -07:00
Chet Haase
622e05c4d2 Fix leak in LayoutTransition
Static objects were referencing the first LayoutTransition object,
which referenced its target container, which eventually referenced the
Activity. That reference chain never went away.
The fix is to create animators that do not reference any target
object (they are just templates which are loaded with real target
objects when they are started).

Change-Id: Ie29f53bf3b886b8052b6ee3a56647a312d9adeaa
2011-07-15 15:24:18 -07:00
Irfan Sheriff
75683d59db Merge "WifiWatchdog rewrite to formal statemachine" 2011-07-15 14:38:04 -07:00
John Reck
9a3d51f596 Merge "Add a hidden generic property interface" 2011-07-15 13:18:50 -07:00
Isaac Levy
654f509075 WifiWatchdog rewrite to formal statemachine
Rewrote wifiwatchdog service to use net.statemachine

Change-Id: Id6fd42b13192ac2e99f842ff50e9edff1696675d
2011-07-15 12:31:58 -07:00
Romain Guy
f9284695e8 Add new ViewDebug APIs to profile the event queue.
Change-Id: I225bf288780b0244f459316e2765cfa29cd22c89
2011-07-15 11:25:11 -07:00
John Reck
637758940f Add a hidden generic property interface
Change-Id: Iff890d7802af00a80b0148c7cc3233c6fc4d5dad
2011-07-15 11:14:43 -07:00
Gilles Debunne
ae68f886b2 Merge "Removed vertical padding in PreferenceActivity header list on phones" 2011-07-15 11:03:42 -07:00
Robert Greenwalt
fc5e367d80 Merge "resolved conflicts for merge of 8550f3b8 to master" 2011-07-15 11:01:36 -07:00
Gilles Debunne
c7f2cdea3c Merge "Bug 4382356: No automatic focus change in ScrollViews" 2011-07-15 10:55:32 -07:00
Robert Greenwalt
d9212d3088 resolved conflicts for merge of 8550f3b8 to master
Change-Id: If2881b8b7faea5139af83a37cba04ccac5904f81
2011-07-15 10:52:54 -07:00
Gilles Debunne
8202cd3602 Bug 4382356: No automatic focus change in ScrollViews
The current behavior in ScrollView is inconsistent: a slow scroll will
not change focus while a fling will. With this change, the focus is not
moved from field to field (resulting in poup due to keyboard / suggestion bar
state changes).

Also made sure any new input in a TextFields scrolls back the view to make the
EditText visible. Has no effect if the EditText is already visible.

Change-Id: I7ff301fe85f73c27d76e4893aeab7442d0539b13
2011-07-15 10:00:50 -07:00
Robert Greenwalt
8550f3b86a resolved conflicts for merge of 0a46db5d to honeycomb-plus-aosp
Change-Id: I0f1bea54d999ab3ef10400ee67bd4d3b2a5d1783
2011-07-15 09:55:48 -07:00
Fabrice Di Meglio
50e95eba5c Merge "Implement textDirection heuristic selection." 2011-07-15 09:49:48 -07:00
Gilles Debunne
38143a6822 Merge "Bug 5014726: Paste works in ExtractedText" 2011-07-15 09:41:16 -07:00
Mike Lockwood
600449c6c8 Merge "MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files" 2011-07-15 09:18:34 -07:00
Mike Lockwood
92e1314ad9 MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files
Bug: 5025615

Change-Id: Ia910cd1c063292599a03b878755edb2e3cdbbb57
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-15 12:17:33 -04:00
Narayan Kamath
37ccb4b55d Merge "Remove the completeAudioAvailable API." 2011-07-15 02:56:31 -07:00
Jeff Brown
1af6d27b9e Merge "Ensure selector state is updated when touch mode changes." 2011-07-14 22:42:15 -07:00
Jeff Brown
997ea74ef7 Merge "Remove edge slop support." 2011-07-14 22:32:09 -07:00
Jeff Brown
945caeeaa8 Merge "Refresh the drawable state when selecting a position." 2011-07-14 22:31:40 -07:00
Jeff Brown
5bd512a131 Merge "ListView focus bugfix." 2011-07-14 22:31:34 -07:00
Jeff Brown
c14aea2621 Merge "Frameworks: fixes possible invalid pointer index call." 2011-07-14 22:31:17 -07:00
Jeff Brown
1e20946aa3 Ensure selector state is updated when touch mode changes.
This fixes a problem where the focus selection rectangle
often remains visible even after entering touch mode.
This problem is particularly noticeable when using the
mouse to scroll the list while an item is selected.

Change-Id: I9938d2586725d91fd3f6738408233f2ead167319
2011-07-14 22:19:19 -07:00
Daniel Lehmann
f5d4652e02 Use higher resolution in in-call UI if available.
In the process, I created a second overload to the function that returns
the photo to allow returning either the high-res or the thumbnail version

Bug:5033899

Change-Id: I7be257eb54b296445e20561d318a70c382d6ade9
2011-07-14 22:16:21 -07:00
Jeff Brown
119abb21cf Merge "Enter touch mode on ACTION_SCROLL." 2011-07-14 21:55:58 -07:00
Adam Powell
4540926dfa Merge "Fix bug 5032301 - size list menu icons appropriately." 2011-07-14 21:53:41 -07:00