53320 Commits

Author SHA1 Message Date
Mike Lockwood
f4c043c2a8 Merge "MTP: Fix some problems with GetObjectHandles and GetNumObjects commands" 2011-06-17 20:54:53 -07:00
Mike Lockwood
17b90780e2 Merge "USB connected notification and temporary USB options dialog" 2011-06-17 20:54:38 -07:00
Mike Lockwood
32b807b8ec Merge "MountService: Use UsbManager to monitor USB state for mass storage" 2011-06-17 20:54:16 -07:00
Mike Lockwood
78452b4b4a Merge "USB: Support for new USB gadget drivers" 2011-06-17 20:54:00 -07:00
Adam Powell
b3721b9f7d Merge "Allow the action bar title to take on the role of "up" in the absence of a standard "home" icon." 2011-06-17 20:32:49 -07:00
Adam Powell
54c7d7e61c Allow the action bar title to take on the role of "up" in the absence
of a standard "home" icon.

Change-Id: Ie1a9adca674500a29da36956455667bbb55a616f
2011-06-17 20:31:10 -07:00
Jim Miller
6c7f7d8481 Merge "Fix 4584957: remove owner info from phone layouts" 2011-06-17 20:10:20 -07:00
Jim Miller
93f9e1ca1c Merge "Temporary workaround for conflict in GridLayout/LockScreen." 2011-06-17 19:55:55 -07:00
Jim Miller
5b1acf9c3e Temporary workaround for conflict in GridLayout/LockScreen.
Change-Id: I0178c7f44c0fc71e78995a2565844cdb775698dd
2011-06-17 19:53:45 -07:00
Jim Miller
94c9f39ece Merge "Handle dropped motion events in Pattern Unlock due to high system activity" 2011-06-17 19:39:49 -07:00
Romain Guy
98769300af Merge "Add error checking to LayerRenderer::copyLayer" 2011-06-17 17:47:59 -07:00
Romain Guy
d6b2a00dd4 Add error checking to LayerRenderer::copyLayer
This method is invoked by TextureView.getBitmap() and failures must be
caught to avoid leaving the GL context in a potentially bad state.

Change-Id: I620de395ba1bc20154de58c81963223dc55cac78
2011-06-17 17:45:59 -07:00
Jim Miller
d63fdae48a Fix 4584957: remove owner info from phone layouts
The owner info view was causing PIN unlock to be unuseable because it pushed
the keyboard contents down and partially off the screen.

Owner info will be moved to the status1 area in a future CL.

Change-Id: Id96a4cc1c216d06b9d1fcc18bee9b5519befe0f4
2011-06-17 17:17:02 -07:00
Brett Chabot
01f0fd84d0 Include testdata in layoutlib-tests.
Change-Id: I79fff895a13d171079b59db54d4b9d2bec555b3c
2011-06-17 17:03:20 -07:00
Jeff Sharkey
1a81a16a96 Merge "Notify policy listeners about metered ifaces." 2011-06-17 16:57:28 -07:00
Jim Miller
9c8e735817 Merge "Update pattern unlock and assets to match new UX design spec." 2011-06-17 16:50:34 -07:00
Mike Lockwood
4a15d8c800 Merge "Add string resource for CD installer image path" 2011-06-17 16:50:10 -07:00
Jeff Sharkey
fdfef57f49 Notify policy listeners about metered ifaces.
Currently, kernel definition of metered networks is applied at the
interface level.  This change maintain list of those metered ifaces
and notifies policy listeners, like ConnectivityService.  (This gives
us a consistent picture of when a network would be blocked.)

Bug: 4601393
Change-Id: I277d5ca96ab967a1c1c3f1da8f9587557cd6d74c
2011-06-17 16:49:21 -07:00
Mike Lockwood
6acc90fc21 MTP: Fix some problems with GetObjectHandles and GetNumObjects commands
These calls did not correctly handle some variants of the arguments,
which showed up when running in PTP mode.

Change-Id: Iedbaefebfa39111c8bcaee7c6cc3820a65d6c98f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-17 19:49:05 -04:00
Mike Lockwood
5787a2d5b4 USB connected notification and temporary USB options dialog
This change adds a notification when USB is connected.
Selecting the notification brings up a dialog to allow switching between
MTP and PTP modes, and also allows mounting a CD image for installing AFT.
The UI design is not final - this is a temporary implementation of the UI.

Change-Id: Idd678537aba595fd4cb183ea755bf437f372d826
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-17 19:49:05 -04:00
Mike Lockwood
ecedfdc779 MountService: Use UsbManager to monitor USB state for mass storage
Change-Id: I50c15c1dc8a1ee4f41cac7de8df9529ff5da1053
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-17 19:49:05 -04:00
Mike Lockwood
02e4569b5f USB: Support for new USB gadget drivers
Change-Id: Id08df50acb873a94f4765a991ee6a6f5b898ddf5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-17 19:49:05 -04:00
Mike Lockwood
5d27b7a29b Add string resource for CD installer image path
Change-Id: I50eb2d0213f0547e88e9a20ab926726e781b0c0b
2011-06-17 19:49:04 -04:00
Jim Miller
0d244193be Update pattern unlock and assets to match new UX design spec.
Fix bug with LockPatternView measurement.
Clean up forgotPassword/emergencyCall button code.
Lots of layout tweaks. Now uses new GridLayout for many of them.
New assets.

Updated after review.

Change-Id: I52d4ce65c6b6c644ac60eb55bb8eaff8bfeb1071
2011-06-17 16:48:57 -07:00
Chia-chi Yeh
941ed30638 Merge "VPN: avoid leaking file descriptors." 2011-06-17 16:43:44 -07:00
Jamie Gennis
84293fb962 SurfaceTexture: attach to Dalvik when needed.
This change fixes a bug in the SurfaceTexture JNI where a thread that
the Dalvik VM was not aware of calls the onFrameAvailable callback.
When this happens the callback needs to first attach the thread to the
VM before attempting to post the onFrameAvailable event for Java code to
handle.

Change-Id: I6a5470c32611ea6f38e9167779450f50635cabd3
2011-06-17 16:42:46 -07:00
Chia-chi Yeh
3f3337a662 VPN: avoid leaking file descriptors.
Change-Id: If70f5af3529d79bddb9d72675cf6eb038ff3ff70
2011-06-17 16:34:32 -07:00
Jim Miller
aced12fd22 Handle dropped motion events in Pattern Unlock due to high system activity
This enables the pattern unlock screen to look at historical motion
events to make unlocking easier during high system load.

Change-Id: I74a9c2d0833e8bb6745b89e8d397116baebb24a1
2011-06-17 16:09:46 -07:00
Adam Powell
ec08cacd78 Merge "Fix bug 4689431 - PopupMenus too narrow on phones" 2011-06-17 16:03:40 -07:00
Adam Powell
38639b1d75 Fix bug 4689431 - PopupMenus too narrow on phones
Change-Id: I624b46d17c1d964fd6cb04abf96333c7a8474d75
2011-06-17 16:02:32 -07:00
Chet Haase
1790a10eea Merge "Invisible views can't start animations" 2011-06-17 16:00:57 -07:00
James Dong
d11f591b45 Merge "Use system property to control whether we will enable B frame support in MPEG4Writer" 2011-06-17 15:50:19 -07:00
Romain Guy
ee452bcc06 Merge "Fix rendering issue with paths when the stroke width is 0" 2011-06-17 15:49:22 -07:00
Romain Guy
98029c825b Fix rendering issue with paths when the stroke width is 0
Change-Id: I5d8ac23dc69e9e17df4ef6b5195186b5207e2524
2011-06-17 15:47:07 -07:00
Philip Milne
405efeeeab Merge "Pass width/height specs in the standard way when measuring children." 2011-06-17 15:43:13 -07:00
Ben Dodson
3da3a4582c Parser for uri records
Change-Id: I4b71ba7938aa83a1c6344e3da72a9495bc1e9a16
2011-06-17 15:37:32 -07:00
Philip Milne
a789cafb06 Pass width/height specs in the standard way when measuring children.
Change-Id: I127b206cb677f8a09990b6852c98023d6c97112d
2011-06-17 15:35:46 -07:00
Chia-chi Yeh
ced4bb1df7 Merge "VpnDialogs: migrate to VpnConfig." 2011-06-17 15:31:54 -07:00
RoboErik
ea07d5f23c Merge "Fix typo in docs link" 2011-06-17 15:28:13 -07:00
James Dong
bf8116f28d Use system property to control whether we will enable B frame support in MPEG4Writer
o This is to work around a bug in crespo's video encoder output timestamp

related-to-bug: 4600191,4724339

Change-Id: I485c1e044bd2f604b318692efd6433345cfc6487
2011-06-17 15:28:07 -07:00
Chia-chi Yeh
42bd53a9ff VpnDialogs: migrate to VpnConfig.
Also hide the configure button when configureActivity is not set.

Change-Id: Ic8eeec89970bb67d42397754d1f54a2744183eed
2011-06-17 15:27:41 -07:00
RoboErik
f92ccfb8b0 Fix typo in docs link
Change-Id: I411d250629b828d07dd7adbdb20da71f0c4722f2
2011-06-17 15:24:02 -07:00
Elliott Hughes
11c41fbaf1 Merge "Make debuggable="true" imply CheckJNI." 2011-06-17 15:14:28 -07:00
Dianne Hackborn
ca1e210dd6 Merge "Implement remaining infrastructure for user disabling apps." 2011-06-17 14:53:10 -07:00
Dianne Hackborn
0ac3031c15 Implement remaining infrastructure for user disabling apps.
Change-Id: If8135eb0e27ec36f8f159eb7b6397add7acd0299
2011-06-17 14:49:45 -07:00
RoboErik
dc4280419b Merge "Add docs for Calendars table" 2011-06-17 14:41:38 -07:00
Elliott Hughes
fa36aee60d Make debuggable="true" imply CheckJNI.
This should help third-party developers debug their apps.

Tested by adding logging to dalvik and launching a debuggable app.

Change-Id: Icec66825709e399e238b4ff00f2bc596485a3a60
2011-06-17 14:39:41 -07:00
Chia-chi Yeh
72fba1caea Merge "VPN: move VpnDialogs related methods into VpnConfig." 2011-06-17 14:37:11 -07:00
Daisuke Miyakawa
cd0385bf8c Merge "Remove HanziToPinin.java" 2011-06-17 14:36:42 -07:00
Chet Haase
c8a9a70c5f Invisible views can't start animations
The invalidation logic was broken for invisible views, causing
a problem when an animation was set to start on an invisible view
(to fade it in), but the view would not propagate the invalidation
event that would trigger the start of the animation rendering.
Fix: reset the DRAWN flag when a view becomes invisible to allow
the invalidation logic to work as intended.

Change-Id: Ibf49c6e8b39506a92a6e5f45cb8a12626ae4f931
2011-06-17 14:35:09 -07:00