54632 Commits

Author SHA1 Message Date
Adam Powell
58c5dc1bd6 Fix bug 5030341 - ActionBar.getHeight is inaccurate in 2-row mode
Measure the shared container instead.

Change-Id: Ib851f773a36add19c227b3ad64a8497f1b5ff9dd
2011-07-14 21:08:10 -07:00
Jeff Sharkey
4e814c348c Hide NetworkTemplate details, buffered stats I/O.
Move template matching to builder methods instead of exposing the
internal constants.  Also rule to match Ethernet usage.  Buffer
reading and writing of network stats, making operations 5x faster.

Change-Id: Iedb2d0ab3b26a976811c050f84a164e909eb74b6
2011-07-14 20:43:27 -07:00
Mark Lindner
a86127fe26 ListView focus bugfix.
resurrectSelection() didn't take into account disabled items
(which shouldn't ever get focus).

Bug: 4967915
Change-Id: I849d2d993ddf93f49108e7b867ff6d24643c07a8
2011-07-14 20:27:52 -07:00
Mathias Agopian
4a8df318b0 Merge "fix a typo in ISurfaceTexture IPC code" 2011-07-14 20:21:59 -07:00
Mathias Agopian
d2734a5daa fix a typo in ISurfaceTexture IPC code
Change-Id: Ied1d9ddb0d849b17219d0ea3d333ce12be849419
2011-07-14 20:20:58 -07:00
Le-Chun Wu
da13560de2 Add a call to pthread_attr_destroy to avoid potential memory leaks.
Change-Id: Ib57efc3530e9793298190cc9cab19c9af54e11a7
2011-07-14 20:14:07 -07:00
Justin Koh
2585e9bd6d Frameworks: fixes possible invalid pointer index call.
Fixes possible invalid pointer index call in AbsListView.

Bug: 4982383
Change-Id: I9b88ab6a055c7678ef81fbe3187473edf8d12f6a
2011-07-14 19:17:22 -07:00
Jeff Brown
7564d62a77 Enter touch mode on ACTION_SCROLL.
Also fix the lastTouch tracking so it ignores irrelevant non-touch
events (like ACTION_HOVER).

Change-Id: I9e04872cb1f762aa6dcded1f9f83bf20eda17415
2011-07-14 19:14:22 -07:00
Chia-chi Yeh
af3f175302 Merge "VPN: tear down VPN when the dependent interface is down." 2011-07-14 19:05:33 -07:00
Chia-chi Yeh
aa1727fe0c VPN: tear down VPN when the dependent interface is down.
Change-Id: I1eaf8e39ee7aed1f4ecbd4c36c2a81a68ad2f9d1
2011-07-14 19:01:40 -07:00
Adam Powell
8b09337750 Merge "Smooth the spinners" 2011-07-14 18:58:28 -07:00
Adam Powell
9ac32a4697 Smooth the spinners
Change-Id: I36de60dc05e5c15692d33d030973f27d54a9d465
2011-07-14 18:53:16 -07:00
Adam Powell
cda3385292 Merge "Fix regression with legacy expanded menus" 2011-07-14 18:52:26 -07:00
Adam Powell
0a3deee697 Fix regression with legacy expanded menus
Change-Id: I28a21dc72d11c6729370e0acd90b06ed98baf098
2011-07-14 18:50:02 -07:00
Robert Greenwalt
0a46db5d88 Apply the dns and route diff which we get a change
bug:5008973
Change-Id: Ib99e43d9d852452cc1f2aea6bef07bbd194f28cc
2011-07-14 18:12:14 -07:00
Mathias Agopian
4838151d18 Merge "sensorservice: be more robust when there are no sensor h/w" 2011-07-14 18:04:09 -07:00
Jamie Gennis
06b54d7184 Merge changes Id9aa1003,I8c154189
* changes:
  SurfaceTexture: make (dis)connect into an IPC
  SurfaceTexture: add support for new connect values
2011-07-14 17:54:27 -07:00
Jamie Gennis
9709687463 SurfaceTexture: make (dis)connect into an IPC
This change makes the ANativeWindow connect and disconnect calls result
in an IPC to the SurfaceTexture object.  This will allow us to prevent
multiple simultaneous connections from different processes.

Change-Id: Id9aa1003b1335b96ca6bd4a1f5a67aa433d42efb
2011-07-14 17:48:32 -07:00
Dianne Hackborn
b3a26f4d94 Merge "Move LoadAverageService to the SystemUI apk." 2011-07-14 17:23:28 -07:00
Jamie Gennis
ec7ea37a0e SurfaceTexture: fix SurfaceTextureGLToGLTest
This change fixes a couple different issues in the
SurfaceTextureGLToGLTest test fixture:
  - incorrect use of conditions
  - move logging after the locks are acquired
  - call the parent class's TearDown method
  - clean up the SurfaceTexture before eglTerminate gets called

Change-Id: I6960e5ab7f144225f01a2089d3f849c99fed0b38
2011-07-14 17:11:47 -07:00
Jeff Brown
7770b90129 Merge "Minor code cleanups in vector." 2011-07-14 17:08:16 -07:00
Jeff Brown
50a3e42094 Merge "Replace Vector _grow/_shrink checks with assert." 2011-07-14 16:52:10 -07:00
James Dong
8a65e1fb57 Merge "Revert "Add some logging to track down where ANR happens during MediaPlayer._release()."" 2011-07-14 16:42:34 -07:00
Mathias Agopian
29c176f043 sensorservice: be more robust when there are no sensor h/w
Bug: 5030108
Change-Id: I45b85b3c492b9268cb0ae44d2e5fc8c708b6e66e
2011-07-14 16:39:46 -07:00
James Dong
2c17f05a81 Revert "Add some logging to track down where ANR happens during MediaPlayer._release()."
This reverts commit a5293d1ca4459293f4993ea39c09ea703a022844.

Conflicts:

	media/libstagefright/AwesomePlayer.cpp

Change-Id: I2a5960208a6780b9a44ab5cce0ffc0e2fb28f426
2011-07-14 16:22:47 -07:00
Chia-chi Yeh
649a1418d9 Merge "VPN: close the socket in protectVpn() to avoid leaking descriptors." 2011-07-14 16:22:21 -07:00
Chia-chi Yeh
5779c9c2d9 VPN: close the socket in protectVpn() to avoid leaking descriptors.
Change-Id: Idda0c2ea1770abc490566e894711bcb08f60b354
2011-07-14 16:19:19 -07:00
Glenn Kasten
2c751a8416 Bug 5031179 possible fix for assert in join
Change-Id: Id3a24c152579b8fdcfb9d66a11aa11579406a7ec
2011-07-14 16:16:54 -07:00
Dianne Hackborn
45ce864ef4 Move LoadAverageService to the SystemUI apk.
Change-Id: I442e264802d1e35cd7d27bae121ae75f932595b6
2011-07-14 16:10:16 -07:00
Adam Cohen
d4ee810dce Merge "Catching RemoteViews#apply() layout inflation exceptions in RemoteViewsAdapter" 2011-07-14 15:55:55 -07:00
Adam Cohen
b7ffea6972 Catching RemoteViews#apply() layout inflation exceptions in RemoteViewsAdapter
Change-Id: I8a481e106b27d145fda92aa0d747e4a8615a5fd0
2011-07-14 15:45:59 -07:00
Jim Miller
fbaa1ea13c Merge "Fix 5027468: prevent screen from turning back on while lockscreen in password mode." 2011-07-14 15:43:17 -07:00
Fabrice Di Meglio
2c41fa18bb Merge "Fix bug #5025936 TableLayout layout direction resolution is broken" 2011-07-14 15:31:03 -07:00
Chia-chi Yeh
eb2591f8f7 Merge "VPN: Hook up the new control protocol and network state." 2011-07-14 15:22:59 -07:00
Chia-chi Yeh
97a61565ea VPN: Hook up the new control protocol and network state.
1. No more End-Of-Arguments.
2. Daemons close the control socket after they are initialized.
3. No more system properties.
4. ip-up-vpn now creates state to pass the configuration.
5. JNI methods are split again for legacy VPN.

Change-Id: I02fafdf01d425c965345ef712b2bd5fdee3a0cab
2011-07-14 15:07:42 -07:00
Jim Miller
dcb9376913 Fix 5027468: prevent screen from turning back on while lockscreen in password mode.
This fixes a bug where LockScreen would turn back on due to the sequence of events
that ultimately cause PasswordUnlockScreen.onResume() to be called when the device powers off.

This is required because the lockscreen rebuilds itself before the screen turns off
so that it's ready to show immediately when the device comes back on.

Change-Id: I86a61cc3b1d77cf7f2a9a198051ea2bbe90607b2
2011-07-14 15:04:42 -07:00
Jamie Gennis
a775f0d419 SurfaceTexture: add support for new connect values
This change adds support to SurfaceTextureClient for the new enum values
that can be passed to the ANativeWindow connect call.

Change-Id: I8c15418909e43a15673a9b22a5eb40df6923b273
2011-07-14 15:03:33 -07:00
Justin Ho
c843fdd7da Merge "Initial pass at some preload drawables Bug: 5020126" 2011-07-14 14:54:01 -07:00
Chia-chi Yeh
f483009573 Merge "ip-up-vpn: Create proper states for pppd and racoon." 2011-07-14 14:53:58 -07:00
Chia-chi Yeh
1591aa0045 ip-up-vpn: Create proper states for pppd and racoon.
VPN no longer uses system properties to pass parameters.

Change-Id: I13e4339ababb08552c4276c675c21176774da66c
2011-07-14 14:47:48 -07:00
Justin Ho
7fa1e191f6 Initial pass at some preload drawables
Bug: 5020126

Change-Id: I3c51e89774197caf50351ee55eb6922c9cdd32d5
2011-07-14 14:12:37 -07:00
John Wang
5f81f1bcd9 am 74c425d3: am 54b2a326: Merge "Show SIM blocked after 10 time puk wrong entries." into honeycomb-LTE
* commit '74c425d3e95ed0f47b1a5d447007886d01d7ff56':
  Show SIM blocked after 10 time puk wrong entries.
2011-07-14 14:03:11 -07:00
John Wang
74c425d3e9 am 54b2a326: Merge "Show SIM blocked after 10 time puk wrong entries." into honeycomb-LTE
* commit '54b2a3262738cdb3d0df747d8719e9a3cac33dfc':
  Show SIM blocked after 10 time puk wrong entries.
2011-07-14 14:00:58 -07:00
John Wang
54b2a32627 Merge "Show SIM blocked after 10 time puk wrong entries." into honeycomb-LTE 2011-07-14 13:59:10 -07:00
Eino-Ville Talvala
901e022c0c Merge "NEW_API: Add auto-exposure and auto-white balance locking to the Camera." 2011-07-14 13:38:55 -07:00
Elliott Hughes
49062e3b4c Merge "Fix aidl to cope with multiple collection types per method." 2011-07-14 13:28:00 -07:00
Andreas Huber
c1df573aed Merge "If audio startup fails while executing MediaPlayer::start() do NOT post an error" 2011-07-14 13:22:45 -07:00
Andreas Huber
232d5f2aa2 If audio startup fails while executing MediaPlayer::start() do NOT post an error
notification, the error returned by MediaPlayer::start() will suffice.

Change-Id: I49bd8d42078f039e5e6d8d4fed4f7f55dc5ff82a
related-to-bug: 5020200
2011-07-14 13:02:47 -07:00
Romain Guy
8cfe3d2d95 Merge "Force bitmaps to load in ARGB8888 by default. Bug #5024993" 2011-07-14 12:45:23 -07:00
Romain Guy
99b7b7a7f8 Force bitmaps to load in ARGB8888 by default.
Bug #5024993

Change-Id: Id0c63f675ae188e5a786b7fdd63916e114b9ed4a
2011-07-14 12:42:19 -07:00