15450 Commits

Author SHA1 Message Date
Craig Mautner
938b772db6 Merge "Add logging for b10858941." 2013-11-05 22:40:54 +00:00
Craig Mautner
02d3c985f3 Add logging for b10858941.
Change-Id: I0af823f32aaa48db6f39ccc04311073cde7aae9c
2013-11-05 14:37:14 -08:00
Christopher Tate
bac44cece2 am 681e0150: am 0505ebbc: am 8869d6f3: Merge "Extend preferred-app preload support for complex resolutions" into klp-dev
* commit '681e015061f0c153c9e886ca2181deea0a0ecee8':
  Extend preferred-app preload support for complex resolutions
2013-11-05 14:23:48 -08:00
Dianne Hackborn
e33d97401d am 0a3a387a: am 6d61faad: am d64744cc: Merge "Help out with issue #11497149: Clock app crashes when opened during..." into klp-dev
* commit '0a3a387a46720cdbd4fcccbe55ac24d1f385fece':
  Help out with issue #11497149: Clock app crashes when opened during...
2013-11-05 14:23:44 -08:00
Craig Mautner
dfb705a5f2 am 883327d8: am efc9acf5: am 2722d79f: Merge "Remove harmful visibility test." into klp-dev
* commit '883327d862e9383dee8b790c01c9c64fb96f65e7':
  Remove harmful visibility test.
2013-11-05 14:22:52 -08:00
John Spurlock
b26ce9cd9c am 194ff90c: am 802e04c1: am a89727c8: Merge "Ensure wallpaper hint is at least the display\'s max size." into klp-dev
* commit '194ff90c2b8c1271cf21d9183c5da78757b4416c':
  Ensure wallpaper hint is at least the display's max size.
2013-11-05 14:22:48 -08:00
Christopher Tate
681e015061 am 0505ebbc: am 8869d6f3: Merge "Extend preferred-app preload support for complex resolutions" into klp-dev
* commit '0505ebbcbe539820d434b924a76e8b9932f8862e':
  Extend preferred-app preload support for complex resolutions
2013-11-05 13:56:38 -08:00
Dianne Hackborn
0a3a387a46 am 6d61faad: am d64744cc: Merge "Help out with issue #11497149: Clock app crashes when opened during..." into klp-dev
* commit '6d61faad436f3bae41c6008ffe3e03a19eb4c277':
  Help out with issue #11497149: Clock app crashes when opened during...
2013-11-05 13:56:23 -08:00
Craig Mautner
883327d862 am efc9acf5: am 2722d79f: Merge "Remove harmful visibility test." into klp-dev
* commit 'efc9acf5a64558889740d0c717d40f830254245e':
  Remove harmful visibility test.
2013-11-05 13:26:56 -08:00
John Spurlock
194ff90c2b am 802e04c1: am a89727c8: Merge "Ensure wallpaper hint is at least the display\'s max size." into klp-dev
* commit '802e04c13f844b5ad1a257cc9f3808a0b78ceaba':
  Ensure wallpaper hint is at least the display's max size.
2013-11-05 13:26:53 -08:00
Christopher Tate
8869d6f353 Merge "Extend preferred-app preload support for complex resolutions" into klp-dev 2013-11-05 18:42:58 +00:00
Dianne Hackborn
d64744cc76 Merge "Help out with issue #11497149: Clock app crashes when opened during..." into klp-dev 2013-11-05 18:17:01 +00:00
Craig Mautner
2722d79f01 Merge "Remove harmful visibility test." into klp-dev 2013-11-05 15:45:10 +00:00
John Spurlock
a89727c85e Merge "Ensure wallpaper hint is at least the display's max size." into klp-dev 2013-11-05 14:05:06 +00:00
Craig Mautner
57c3aa090c am 949f18eb: am 76203db2: am 351de3cc: Merge "Layout hidden windows on Configuration change." into klp-dev
* commit '949f18eb79f33c53a5832cd1b28b23799a4ea452':
  Layout hidden windows on Configuration change.
2013-11-04 22:00:03 -08:00
Dianne Hackborn
22c746efbc am c5db266a: am f355f978: am efcc2ca6: Merge "Fix issue #11223338: Not retaining service started state while restarting" into klp-dev
* commit 'c5db266a247f625b946df5d78e3b89a0fdb1516f':
  Fix issue #11223338: Not retaining service started state while restarting
2013-11-04 21:59:27 -08:00
Brian Carlstrom
6a429f5604 am 94edb339: am 10193b78: am a51052d1: Merge "Move set of persist.sys.dalvik.vm.lib to SystemServer only" into klp-dev
* commit '94edb3390970c302be926b42e0f8a8da0d5d5960':
  Move set of persist.sys.dalvik.vm.lib to SystemServer only
2013-11-04 21:59:23 -08:00
Craig Mautner
949f18eb79 am 76203db2: am 351de3cc: Merge "Layout hidden windows on Configuration change." into klp-dev
* commit '76203db292bb2966b8c58f2cd140831bd170085c':
  Layout hidden windows on Configuration change.
2013-11-04 21:54:44 -08:00
Dianne Hackborn
c5db266a24 am f355f978: am efcc2ca6: Merge "Fix issue #11223338: Not retaining service started state while restarting" into klp-dev
* commit 'f355f978782fa1a0437fa62f29d90cd27ddabf70':
  Fix issue #11223338: Not retaining service started state while restarting
2013-11-04 21:53:32 -08:00
Brian Carlstrom
94edb33909 am 10193b78: am a51052d1: Merge "Move set of persist.sys.dalvik.vm.lib to SystemServer only" into klp-dev
* commit '10193b78b87a18e5fee7faa4890a01946934000c':
  Move set of persist.sys.dalvik.vm.lib to SystemServer only
2013-11-04 21:53:29 -08:00
Dianne Hackborn
23037419e3 Help out with issue #11497149: Clock app crashes when opened during...
...the repeated hour in DST transition

Record the last crash info that caused an app to be marked as a bad app.

Also for the battery work, add a system property tuning parameter to be
able to control the background service start delay, so we can easily
run experiments with it turned off if we want.

Change-Id: Ic33dc464d8011c918a39b912da09ea4f0fb28874
2013-11-04 18:11:29 -08:00
Christopher Tate
2298ef2f7f Extend preferred-app preload support for complex resolutions
Support factory defaults that involve specific type+scheme matching.

Bug 11372979

Change-Id: I0d68937797d6b4bc996a8707a7cd21491a3aae3b
2013-11-04 17:02:10 -08:00
Craig Mautner
76be9d2595 Remove harmful visibility test.
Previously inserted requirment that an activity be visible in order to
block visibility of the home screen is removed.

Fixes bug 11515761.

Change-Id: Ia47cfb4a0b6d90bbbca2b42e12a6048b1644d7cb
2013-11-04 16:01:22 -08:00
Michael Wright
7c5f802628 Merge "Use the fuzz, Luke" 2013-11-04 22:03:02 +00:00
Scott Anderson
af1707d5c4 Merge "Support dynamic rotation of HDMI displays" 2013-11-04 21:44:59 +00:00
John Spurlock
7ea91ec181 Ensure wallpaper hint is at least the display's max size.
Bug:11332853
Change-Id: Ied13ffab77395f64642f7fb536f36d9cd8367e74
2013-11-04 16:15:34 -05:00
Craig Mautner
351de3ccfd Merge "Layout hidden windows on Configuration change." into klp-dev 2013-11-04 19:32:08 +00:00
Scott Anderson
8786ed9b2b Support dynamic rotation of HDMI displays
To support "giant" phones which are really just normal phones
strapped to external HDMI displays, add the property
persist.demo.hdmirotates.  It defaults to false, but when it is
set to true, the FLAG_ROTATES_WITH_CONTENT to set on the
display.  This allows the external display to show the same
display as the built-in display as the "giant" phone display is
rotated.

Note that previously, FLAG_ROTATES_WITH_CONTENT was only set on
the built-in display.  The code that checked the flag also
explicitly ignored it on any display that was not the built-in
display.  This added check was removed to allow the flag to be
functional on other displays.

Change-Id: I55b249140b1f61fb98cac586f7e4d48e2f5b3e30
Signed-off-by: Scott Anderson <saa@android.com>
2013-11-04 10:33:11 -08:00
Lorenzo Colitti
59be800e7f Minor cleanups to NetdCallbackReceiver.onEvent.
- Clean up identical error messages.
- Fix the array length check for InterfaceAddressChange.

Bug: 9180552
Change-Id: Id871f481445b530c3ad749725f1548df0e3a1228
2013-11-04 18:30:20 +09:00
Lorenzo Colitti
f4e90eac87 Use BaseNetworkObserver in Tethering.
Tethering currently inherits from the AIDL interface
INetworkManagementEventObserver, so it has to provide no-op
implementations of all the interface's methods. Inherit from
BaseNetworkObserver and get rid of the no-ops.

Bug: 9180552
Change-Id: I74859b0d77951005651aaaa418185857e40eeedb
2013-11-02 12:28:08 +09:00
Michael Wright
a16a121028 Use the fuzz, Luke
Use input device fuzz values for axis movement filtering when available

Change-Id: I740f7982323e57fec2ed8ef0e87ae7345eba6e3a
2013-11-01 18:11:33 -07:00
Dianne Hackborn
efcc2ca63d Merge "Fix issue #11223338: Not retaining service started state while restarting" into klp-dev 2013-11-01 23:20:09 +00:00
Craig Mautner
c78a06db28 Layout hidden windows on Configuration change.
Apply the test for configuration change to all windows. A year ago
this was the test but CL ag/247731 which fixed b/7428221 limited the
test to just Keyguard windows. A week later CL ag/248223 which fixed
b/7444971 applied the test to Wallpaper as well. Then two days after
that CL ag/249762 which fixed b/7453222 reverted the wallpaper. This
fix reverts the Keyguard qualification and restores the test to all
windows.

This fix has been tested against the repro steps for all three bugs
above. In addition this fixes bug 11033407. The fix for the bug is
described in the bug.

Change-Id: Ie0f4c7cd4697c1689c4f331d572359cf7ce934cf
2013-11-01 16:12:14 -07:00
Brian Carlstrom
a51052d17c Merge "Move set of persist.sys.dalvik.vm.lib to SystemServer only" into klp-dev 2013-11-01 22:51:07 +00:00
Brian Carlstrom
5637ffced9 Move set of persist.sys.dalvik.vm.lib to SystemServer only
Bug: 11463182
Bug: 11479647
Change-Id: I38efdecdd65fe3efc9c33b4dc204a64543ae6377
2013-11-01 14:51:58 -07:00
Svetoslav
4eda339359 am d914bede: am 93e363fe: am 91230fb3: Merge "Fixing issues in the TouchExplorer." into klp-dev
* commit 'd914bede93fdffb0d4e36701e47f30100634be6a':
  Fixing issues in the TouchExplorer.
2013-11-01 11:53:08 -07:00
Svetoslav
d914bede93 am 93e363fe: am 91230fb3: Merge "Fixing issues in the TouchExplorer." into klp-dev
* commit '93e363fe01e9303ae166386ee12566d05e716600':
  Fixing issues in the TouchExplorer.
2013-11-01 11:51:03 -07:00
Svetoslav
91230fb31c Merge "Fixing issues in the TouchExplorer." into klp-dev 2013-11-01 18:46:10 +00:00
Svetoslav
a3315270e0 Fixing issues in the TouchExplorer.
1. The up event for a long press was not properly adjusted as the
   long pressing finger may not be on top of the accessibility
   focused item.

2. There was a scenario where two finger swipe leads to a crash.
   One finger moves, second finger goes down but no finger moves,
   the first finger goes up, and now the second finger moves. All
   this has to happen before we decided that user is touch exploring.
   Very hard to happen, this is why we could not easily repro the
   crash.

3. We use the two finger vector angle to determine whether the
   user is dragging or not. However, in some cases we were
   unnecessarily waiting too long before performing the check
   and as a result the notification shade on Manta was not
   expandable.

bug:11341530
bug:11189225

Change-Id: Ieea39783444a1c20581f8addfd518d1c11485099
2013-11-01 11:14:41 -07:00
Dianne Hackborn
7b492723e4 Fix issue #11223338: Not retaining service started state while restarting
Actually, the state representation seems fine, but there was a problem
we are now hitting where the restart interval could get reset back to
0 when it shouldn't be.  Also tune the restart parameters a bit.

Change-Id: I364f38e52f5387b2ec3f81009ccc78976ff48891
2013-11-01 10:32:46 -07:00
Dianne Hackborn
490cee6902 am 52b46b4b: am de2d961f: am fbefe9bf: Merge "Fix issue #11168649: LRU logic for Chrome renderers seems..." into klp-dev
* commit '52b46b4bd0377e5d66e8591fbff4b5fc95f7d51a':
  Fix issue #11168649: LRU logic for Chrome renderers seems...
2013-10-31 17:23:57 -07:00
Dianne Hackborn
52b46b4bd0 am de2d961f: am fbefe9bf: Merge "Fix issue #11168649: LRU logic for Chrome renderers seems..." into klp-dev
* commit 'de2d961ff83fbca65bebb9696551cbbc14cad6a5':
  Fix issue #11168649: LRU logic for Chrome renderers seems...
2013-10-31 17:21:59 -07:00
Dianne Hackborn
fbefe9bf74 Merge "Fix issue #11168649: LRU logic for Chrome renderers seems..." into klp-dev 2013-11-01 00:18:12 +00:00
Dianne Hackborn
db92608de9 Fix issue #11168649: LRU logic for Chrome renderers seems...
...not to work on KitKat (was: Janky exit animation)

Reworking the LRU list (splitting it into an activity vs. empty
section) accidentally broken the old behavior of "client activity"
processes being prioritized with activity processes.  In fact, we
were no longer marking "client activity" processes at all.

In this change, we rework how we manage "client activity" processes
by putting them on the main activity LRU section.  This is generally
simple -- ActiveServices now keeps track of whether a process is
a "client activity" process based on its bindings, and updateLruProcess
treats these as regular activity processes.  However, we don't want
to allow processes doing this to spam our LRU list so that we lose
everything else, so there is some additional complexity in managing
that list where we spread client activity processes across is so
that the intermingle with other activity processes.

The rest of the change is fairly simple -- the old client activity
process management is gone, but that doesn't matter because it wasn't
actually running any more.  There is a new argument to updateLruProcess
to indicate a client process it comes from (since we now need to update
this based on bindings) which is just used to limit how high in the
LRU list we can move things.  The ProcessRecord.hasActivities field is
simply removied, because ProcessRecord.activities.size() > 0 means the
same thing, and that is actually what all of the key mechanisms are using
at this point.

Finally, note there is some commented out code of a new way to manage
the LRU movement.  This isn't in use, but something I would like to
move to in the next release so it is staying there for now for further
development.

Change-Id: Id8a21b4e32bb5aa9c8e7d443de4b658487cfbe18
2013-10-31 16:32:44 -07:00
Wink Saville
9be24ae7b6 am 2321290f: am 6952b6fa: am b4f673e2: Merge "Use HttpsURLConnection to by pass proxies." into klp-dev
* commit '2321290fb717163b36a49fd04d29abc692a4e7f8':
  Use HttpsURLConnection to by pass proxies.
2013-10-31 14:29:10 -07:00
Wink Saville
2321290fb7 am 6952b6fa: am b4f673e2: Merge "Use HttpsURLConnection to by pass proxies." into klp-dev
* commit '6952b6fac5930d3278f0103280f1ac9348d27a79':
  Use HttpsURLConnection to by pass proxies.
2013-10-31 14:23:41 -07:00
Wink Saville
b4f673e25f Merge "Use HttpsURLConnection to by pass proxies." into klp-dev 2013-10-31 21:18:03 +00:00
Svetoslav Ganov
49f9a3efcd am b2d397e1: am b1de951a: am da59cd60: Merge "Wrong index while dumping the print sub-system\'s state." into klp-dev
* commit 'b2d397e1de63b188ac29ccb8a3471b37e8d52d28':
  Wrong index while dumping the print sub-system's state.
2013-10-31 09:33:50 -07:00
Svetoslav Ganov
b2d397e1de am b1de951a: am da59cd60: Merge "Wrong index while dumping the print sub-system\'s state." into klp-dev
* commit 'b1de951a6aa36eb03e9d00b5b69e55b6f6f88549':
  Wrong index while dumping the print sub-system's state.
2013-10-31 09:30:45 -07:00
Svetoslav Ganov
da59cd60b1 Merge "Wrong index while dumping the print sub-system's state." into klp-dev 2013-10-31 16:25:21 +00:00