26314 Commits

Author SHA1 Message Date
Mike Lockwood
dff25597a9 Simple master volume support
Still needs integration with Settings (for persistence) and VolumePanel UI.

Change-Id: I9eca92c4b1ef2df2564411006a35753ab9618dce
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-10-28 10:14:53 -04:00
Mike Lockwood
a56041ea3d config.xml: Add config_useMasterVolume
Change-Id: I5989d8cfc15248e748ebef484b3409a76e409c79
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-10-28 10:14:53 -04:00
Mike Lockwood
017219ab2a SettingsProvider: Add support for overriding lockscreen.disabled default value
Change-Id: I88c03a01727538dde3cec1ab93ebe8a66a6768a7
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-10-28 10:14:52 -04:00
Girts Folkmanis
a7983bff03 Disable output processing when opening serial port.
If post processing is not disabled, we end up translating LF to CRLF, which
makes binary protocols sad.

Change-Id: I43ddd0c690c0d00f5e9416a2397b43d5153491d3
2011-10-28 10:14:52 -04:00
Mike J. Chen
8f1667ac78 Fix disconnect from wired ethernet issues.
When a cable was unplugged, we were telling the driver to release the
ip address so if a cable on a different network was plugged in, it would
still try to use it's old ip address on the new network, which probably
didn't work.

Also, we didn't notify ConnectivityService about the state change in
the unplug case.  Some of this was done in the interface removed case,
but we never remove the interface in Tungsten, just unplug.  So refactor
the common disconnect code into a disconnect() function that's called
by both the link status change (unplug) and interface removal (only applies
to things like USB ethernet dongles) cases.

Change-Id: I19d7ceb540d6a0e24df1b55314a13af78f1e593d
Signed-off-by: Mike J. Chen <mjchen@google.com>
2011-10-28 10:14:51 -04:00
Mike Lockwood
05353f61b4 Add SerialPort.sendBreak()
Change-Id: Ibc0ac50a5358761cce699f189a142e91e79cf835
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-10-28 10:14:50 -04:00
Mike Lockwood
e0ded6710a New Serial Manager API:
SerialManager: provides access to serial ports
SerialPort: for reading and writing data to and from serial ports

IO with both array based and direct ByteBuffers is supported.

Accessing serial ports requires android.permission.SERIAL_PORT permission

Each platform must configure list of supported serial ports in the
config_serialPorts resource overlay
(this is needed to prevent apps from accidentally accessing the bluetooth
or other system UARTs).

In addition, the platform uevent.rc file must set the owner to the
/dev/tty* files to "system" so the framework can access the port.

Change-Id: I8d75ca7d6592223ea6c47f8a17fa180dfed1aad0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-10-28 10:14:49 -04:00
Mike Lockwood
7a7670a520 SystemServer: Add support for disabling AudioService and MountService
Using the same convention in system_init.cpp, you can disable these
services by setting system properties:

	system_init.startaudioservice=0
	system_init.startmountservice=0

Change-Id: If5acd19600d6f6165262c6ae0966d4028977d7a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-10-28 10:14:47 -04:00
Mike Lockwood
a0a8b249bc Add headless mode for running the framework without the surface flinger
Enabled by setting system property ro.config.headless to 1
This will allow the framework to run without starting activities,
system UI and the keyguard.
Framework can still run services, content providers and broadcast receivers.

Change-Id: I96606609a4ede57a2c4c7fb2b6ff060ebf31e3b4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-10-28 10:14:47 -04:00
Eric Fischer
80d67c66ce Merge "Import revised translations. DO NOT MERGE" into ics-mr1 2011-10-27 09:43:23 -07:00
Eric Fischer
440cfec872 Import revised translations. DO NOT MERGE
Change-Id: I2a75aaed297a6abd14a40d03c01c1ce0ea4abf1e
2011-10-26 17:38:16 -07:00
Jaikumar Ganesh
c307d1aea2 am 01d24784: Merge "Fix auto connection of headset profile." into ics-mr0
* commit '01d24784a5ddece8bb7c5d088bf93c99faa0dc7e':
  Fix auto connection of headset profile.
2011-10-26 23:20:48 +00:00
Jaikumar Ganesh
6ae5912175 Fix auto connection of headset profile.
Sometimes when headset service doesn't get bound, the auto
connection fails.

Based on a patch by: Chunho Park <chun.ho.park@samsung.com>

Change-Id: Ia24613b47487717f51895953c7e8bc52abffecb5
2011-10-26 16:00:28 -07:00
Jim Miller
2333a02e15 Merge "Convert the outer lockscreen ring to a shape drawable. DO NOT MERGE" into ics-mr1 2011-10-26 15:40:08 -07:00
Jeff Sharkey
fd61e702e3 Merge "Only populate stack when StrictMode will use it." into ics-mr1 2011-10-26 15:37:34 -07:00
Svetoslav Ganov
8c80707639 Merge "NumberPicker does not not fit on Crespo in landscape." into ics-mr1 2011-10-26 14:49:29 -07:00
Svetoslav Ganov
b0267e2870 Merge "AccessibilityNodeInfo makes incorrect check before calling into the system." into ics-mr1 2011-10-26 14:47:49 -07:00
Svetoslav Ganov
c0291bb2eb AccessibilityNodeInfo makes incorrect check before calling into the system.
AccessibilityNodeInfo#getParent is checking whether the source view
accessibility id is specified instead that of the parent.

bug:5505799

Change-Id: I436fd2327def2762b4d307819ba0c23baa9a4e03
2011-10-26 14:37:46 -07:00
Svetoslav Ganov
e0c8ab5aaa NumberPicker does not not fit on Crespo in landscape.
1. Now the NumberPicker has a max height and width for which is looks
   good but can still shrink if there is not enough available space.

bug:5512787

Change-Id: Ieea88cafa8408e1d4160bab4bfe2b771bd79f7f8
2011-10-26 14:06:26 -07:00
satok
6f444425fe Merge "Make FLAG_AUTO_CORRECTION public" into ics-mr1 2011-10-26 13:14:36 -07:00
Eric Fischer
08d0f6420a Merge "Import revised translations. DO NOT MERGE" into ics-mr1 2011-10-26 11:32:07 -07:00
Svetoslav Ganov
1a3ad7d18f Merge "Adding accessibility support to the tablet swipe unlock." into ics-mr1 2011-10-26 11:30:06 -07:00
Eric Fischer
0170850207 Import revised translations. DO NOT MERGE
Change-Id: I49ab9333e978be18d8c01284349cf5e61b73043d
2011-10-26 11:01:40 -07:00
Jeff Sharkey
7978a414bb Only populate stack when StrictMode will use it.
When the StrictMode VM flag is changed mid-lifecycle, pass along at
least a basic trace.

Bug: 5516561
Change-Id: I6c922ba20f34349c35624cfc04d1c71ee56ad6ef
2011-10-26 10:43:51 -07:00
Eric Fischer
e34395cc7a Import revised translations. DO NOT MERGE
Change-Id: Id71f059af3b7e40f387a92190f043ab5fbc62594
2011-10-26 10:17:50 -07:00
satok
0f0a3945ef Make FLAG_AUTO_CORRECTION public
Bug: 5440299

Change-Id: Ia82745e793be741c1558ce15b189b63872107ddb
2011-10-26 15:13:28 +09:00
Daniel Sandler
f5e14bec4e Convert the outer lockscreen ring to a shape drawable. DO NOT MERGE
Saves 270dp^2 of pixel memory: 290K on mdpi, 650K on hdpi,
1.2MB on xhdpi. Multilockwave is still 60fps on crespo.

Bug: 5497875

Cherry pick 2f4207086e2177f8970538a3d8e921eb13c14b00 to MR1

Change-Id: Ib77695cb4256a484f5c61af1159e5e3df8cce9ba
2011-10-25 20:08:44 -07:00
Svetoslav Ganov
6033c08174 Adding accessibility support to the tablet swipe unlock.
1. Added handling for hover events that are transformed into
   touch events and given to the touch event handling code
   if accessibility is enabled.

2. Now swiping across the handle unlocks the device for both
   cases - accessibility enabled or disabled.

bug:5513324

Change-Id: I7031690d69b1a2737e2ce4d1871d69d7dfbf3006
2011-10-25 14:45:49 -07:00
Ed Heyl
e49cf107e2 merge ics-mr0
Change-Id: I4f0b2bb1b1136c9467e9d55f57f5333153cae65d
2011-10-25 20:47:51 +00:00
Fred Quintana
763480fbca Merge "Fixed a bug that causes AccountManager calls to hang forever, eventually exhausting the binder threads in the gapps process, making it unusable." into ics-mr0 2011-10-24 20:36:30 -07:00
Fred Quintana
166466d483 Fixed a bug that causes AccountManager calls to hang forever, eventually
exhausting the binder threads in the gapps process, making it unusable.

Bug: 5486091

Change-Id: I82bd197e27c2be1bf82e4e5cc1468e1c6a3e4919
2011-10-24 17:17:28 -07:00
Eric Fischer
5657b7399e Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-24 16:59:41 -07:00
Eric Fischer
bd552b5e71 Import revised translations. DO NOT MERGE
Change-Id: Id569b9c96050e409e414f08bb72cf0c32f812744
2011-10-24 16:47:55 -07:00
Jim Miller
7a962fef2f Merge "Fix 3384942: Force ASCII-capable IME to show on lockscreen" into ics-mr0 2011-10-24 13:31:15 -07:00
Brian Colonna
f8b9a4751e Added callback to allow Face Unlock to hide black area
- Part of fix 5491362 (RelTeamHotIssue)

- Because the fix closes the camera early, this change is needed so
  the black area isn't still hanging around while the camera fades
  to the backup lock.

Change-Id: Iab7c264adab0fb05979fe2732048ccf2237e64c5
2011-10-24 15:37:53 -04:00
Eric Fischer
148d5bd855 Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-21 15:56:22 -07:00
John Reck
c0e9fb91c8 Fix rebuildWebTextView issues
Bug: 5488135
 Cherry pick from MR0

Change-Id: I2df047b6de42dbe716008f69d720fa5fad3fe19d
2011-10-21 15:31:33 -07:00
Adam Cohen
bd12e41ba5 am e3bb0ecb: Merge "Removing fades on last item in StackView for major FPS improvement on Prime" into ics-mr0
* commit 'e3bb0ecb2b36964cb3b02bc0d575e9366818ee00':
  Removing fades on last item in StackView for major FPS improvement on Prime
2011-10-21 14:38:41 -07:00
Eric Fischer
66358bbd3e Import revised translations. DO NOT MERGE
Change-Id: Ia333fa4ab1d72588e9c9ae4a9ef069eccdc9b485
2011-10-21 14:36:36 -07:00
John Reck
8bf89f305e Fix the build
Change-Id: I822f75b3ed29e7817c7bd9ac5e2314b43831d2c1
2011-10-21 14:24:31 -07:00
Dianne Hackborn
12b3e39ecb am 4bbd71a6: Merge "Fix issue #5228934: IME shows up on boot, or when digits screen is tapped" into ics-mr0
* commit '4bbd71a6b2f4957f4778da13861ec03d30afbee7':
  Fix issue #5228934: IME shows up on boot, or when digits screen is tapped
2011-10-21 13:59:07 -07:00
Adam Cohen
e3bb0ecb2b Merge "Removing fades on last item in StackView for major FPS improvement on Prime" into ics-mr0 2011-10-21 13:34:46 -07:00
Peter Ng
ab5040cf85 Merge "Sharpening text edit assets" 2011-10-21 13:29:52 -07:00
George Mount
930b5654a3 Merge "Fixed spell check failing to change word." 2011-10-21 13:02:05 -07:00
RoboErik
f9d89f388f Merge "s/should/can" 2011-10-21 13:01:56 -07:00
John Reck
2dd2e5b4eb Merge changes I2df047b6,I791eeb3c into ics-mr0
* changes:
  Fix rebuildWebTextView issues
  DO NOT MERGE Fixed spell check failing to change word.
2011-10-21 13:01:48 -07:00
Mangesh Ghiware
760bf7de06 Merge "Fix issue# 5492404: Reading level check thread error." 2011-10-21 12:45:30 -07:00
Adam Cohen
c798b6688a Removing fades on last item in StackView for major FPS improvement on Prime
Change-Id: I479eb129e80a6087ab55d1de7eed0222d6dacdf6
2011-10-21 12:44:13 -07:00
John Reck
e20bfd9b33 Fix rebuildWebTextView issues
Bug: 5488135

Change-Id: I2df047b6de42dbe716008f69d720fa5fad3fe19d
2011-10-21 12:39:43 -07:00
George Mount
da182deded DO NOT MERGE Fixed spell check failing to change word.
Bug 5387838
 On WebView.rebuildWebTextView, setTextAndKeepSelection was
 being called, erasing the selections. Changed it so that
 when text is replaced with the exact same value, no replace
 is done. Also, on the Google search, when a spelling change
 was made, the final character was placed improperly. When
 a single character is added, the javascript events for the
 character are sent. When multiple characters are changed,
 the entire value is replaced with no javascript key events
 sent.

Change-Id: I791eeb3c96354cfe3cbfda7e8d05c81fcdeb152f
2011-10-21 12:39:30 -07:00