Commit Graph

18440 Commits

Author SHA1 Message Date
Mike Lockwood
a72177a4e8 Merge "New Serial Manager API:" into ics-aah 2011-08-30 09:59:19 -07:00
Mike Lockwood
8b3b98d622 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: I6afa78ceacf08486aaebced4156ecd2e33051879
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 12:56:26 -04:00
Narayan Kamath
777a1254ea am 5cdc720d: Merge "Don\'t allow TTS engines to synthesize too for ahead."
* commit '5cdc720dcadaa517766abb8a2f176de1a78a26a8':
  Don't allow TTS engines to synthesize too for ahead.
2011-08-30 09:54:49 -07:00
Narayan Kamath
5cdc720dca Merge "Don't allow TTS engines to synthesize too for ahead." 2011-08-30 09:52:06 -07:00
Gilles Debunne
02242b9db6 am ce4afc14: Merge "Moving action popup window when moving text selection"
* commit 'ce4afc1425cf74b7168a2d3d35c54efe9b5c98af':
  Moving action popup window when moving text selection
2011-08-30 09:49:31 -07:00
Gilles Debunne
2ae8410d4b am 4cbcc2bc: Merge "Bug 5218421: new NPE is SpellChecker when using Japanese language"
* commit '4cbcc2bc06cb228c2c5374920d2d4038685de8a6':
  Bug 5218421: new NPE is SpellChecker when using Japanese language
2011-08-30 09:47:30 -07:00
Gilles Debunne
ce4afc1425 Merge "Moving action popup window when moving text selection" 2011-08-30 09:46:30 -07:00
Gilles Debunne
4cbcc2bc06 Merge "Bug 5218421: new NPE is SpellChecker when using Japanese language" 2011-08-30 09:45:46 -07:00
Jeff Sharkey
d712530185 am 4107beec: Merge "Introduce immediate CONNECTIVITY_ACTION variant."
* commit '4107beecaab18b393e56a0c34b333f0a6e15be2f':
  Introduce immediate CONNECTIVITY_ACTION variant.
2011-08-29 20:01:46 -07:00
Jeff Sharkey
4107beecaa Merge "Introduce immediate CONNECTIVITY_ACTION variant." 2011-08-29 20:00:12 -07:00
Dianne Hackborn
efc1b3b4d9 am 42930641: Merge "Fix issues 5158104 and 4981556 (fragment problems)"
* commit '42930641792ecd23fee6b2913ba1e7cf24634f3d':
  Fix issues 5158104 and 4981556 (fragment problems)
2011-08-29 18:42:29 -07:00
Dianne Hackborn
4293064179 Merge "Fix issues 5158104 and 4981556 (fragment problems)" 2011-08-29 18:40:21 -07:00
Christopher Tate
5e72362245 am 37656214: Merge "Un-hide the new BackupAgent.onFullBackup() API"
* commit '376562143436353bbd745d3cce413f649a09dda8':
  Un-hide the new BackupAgent.onFullBackup() API
2011-08-29 18:13:50 -07:00
Christopher Tate
3765621434 Merge "Un-hide the new BackupAgent.onFullBackup() API" 2011-08-29 18:11:38 -07:00
Dianne Hackborn
6c285977a0 Fix issues 5158104 and 4981556 (fragment problems)
5158104: com.android.contacts: java.lang.IllegalStateException:
Can not perform this action after onSaveInstanceState at
android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1201)

The ViewPager can just commit without worrying about a state loss,
since it can correctly reconstruct its state later.

4981556: Fragment.mImmediateActivity doesn't get restored on orientation change

I am giving up on this thing; I just don't see how it can actually
be correct.  So now instead of getting an exception about a dup
add/remove at point of the add/remove call, this will happen later when
processing the transaction.

Also add an API for controlling the visibility of menus, which ViewPager
can use to have the correct menus shows.  And add a method to get the
name of a back stack entry.

Change-Id: Idcba14cfa2a172545a7a2a2c466cb49ceb789619
2011-08-29 17:58:17 -07:00
John Reck
ce9b2d9218 am 30cca602: Merge "Fix contentInvalidateAll NPE"
* commit '30cca6020df6fede4043a9f6715be470d3132c57':
  Fix contentInvalidateAll NPE
2011-08-29 17:16:14 -07:00
John Reck
30cca6020d Merge "Fix contentInvalidateAll NPE" 2011-08-29 17:14:11 -07:00
Matthew Xie
cae4ce1f6d am d56b3c95: Merge "Move Bluetooth remove service record handler to the app main thread"
* commit 'd56b3c952469a63aa9d4fc860be24b80a4b0e3b6':
  Move Bluetooth remove service record handler to the app main thread
2011-08-29 16:34:05 -07:00
Daniel Lehmann
127ebfd8a0 am 82e0c6f3: Merge "Add the lookup_key column, which should have been in the previous CL"
* commit '82e0c6f3dec5c7359166b9ff720f9fcc8c6801d7':
  Add the lookup_key column, which should have been in the previous CL
2011-08-29 16:33:38 -07:00
Matthew Xie
d56b3c9524 Merge "Move Bluetooth remove service record handler to the app main thread" 2011-08-29 16:27:54 -07:00
Matthew Xie
484867a8ed Move Bluetooth remove service record handler to the app main thread
Move Bluetooth remove service record handler to the app main thread.
This removes the dependency of caller thread that constructs the
BluetoothAdapter singleton instance. The caller thread could stop while
BluetoothAdapter singleton exists but lose the handler context.
Make the BluetoothService.removeServiceRecord return quickly without
blocking on native call.
bug 4999443

Change-Id: I302534baa381f4aca8192e1e4a9ea21793b07ba6
2011-08-29 16:24:50 -07:00
Jeff Sharkey
961e304583 Introduce immediate CONNECTIVITY_ACTION variant.
New broadcast that is dispatched immediately after connectivity
changes have been handled by ConnectivityService, bypassing any
applicable CONNECTIVITY_CHANGE_DELAY.

Also protect CONNECTIVITY_CHANGE broadcasts, since they should only
be sent by system.

Bug: 5198167
Change-Id: I75f1fb44b21da1879f0ab960bcaa481126d70fde
2011-08-29 16:10:43 -07:00
Daniel Lehmann
82e0c6f3de Merge "Add the lookup_key column, which should have been in the previous CL" 2011-08-29 15:51:56 -07:00
Chet Haase
0f561d618f am 32901b4f: Merge "Fixed bug with invalidation in top-level Views."
* commit '32901b4fec5db9a137add68f0f38518636593668':
  Fixed bug with invalidation in top-level Views.
2011-08-29 15:39:11 -07:00
Jeff Brown
49a47f5446 am 8d3feb62: Merge "Add a "show touches" option for demos and presentations. Bug: 4569045"
* commit '8d3feb6292ba7e87adeb4982e8cf27114a8ee2e4':
  Add a "show touches" option for demos and presentations. Bug: 4569045
2011-08-29 15:18:46 -07:00
Jamie Gennis
931b706fbe am a258f0c8: Merge "Surface: move the SurfaceTexture ctor"
* commit 'a258f0c8ffeb447aa8d3216ec276bc26b4f3f5d8':
  Surface: move the SurfaceTexture ctor
2011-08-29 15:18:14 -07:00
Gilles Debunne
acb89cfc85 am 474cac1c: Merge "Suggestions popup window is dismissed on tap outside."
* commit '474cac1c212e1f02deaffe5512941af9cb2a760b':
  Suggestions popup window is dismissed on tap outside.
2011-08-29 15:17:49 -07:00
John Reck
83ff786f72 am 082a9fa3: Merge "Tap highlight fix + small perf increase"
* commit '082a9fa3438d343942851e538bb38b86ab1873b3':
  Tap highlight fix + small perf increase
2011-08-29 15:17:41 -07:00
Chet Haase
f6f53b1e69 am 890a631e: Merge "Made the Switch class public."
* commit '890a631ede4f0d209b53d1924a545ed8d3b6f003':
  Made the Switch class public.
2011-08-29 15:16:15 -07:00
Romain Guy
68acd2236d am f8c015d2: Merge "Italic should be italic and bold should be bold."
* commit 'f8c015d2628d8ef3056698a3b6a052889ae15d01':
  Italic should be italic and bold should be bold.
2011-08-29 15:16:03 -07:00
Adam Powell
e1634c98f3 am b5d80fca: Merge "Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode"
* commit 'b5d80fca2eb7f6053e6d404a0d4a7c213dad1317':
  Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode
2011-08-29 15:14:54 -07:00
Gilles Debunne
57324c7382 Moving action popup window when moving text selection
Long press to select, the action popup (Paste) is displayed.
A second long press moves the selection (selection mode is still on),
but the action popup's location was not updated.

Change-Id: I2ac133e608dbca35ec0236b47b42f029623fc303
2011-08-29 14:42:17 -07:00
Chet Haase
32901b4fec Merge "Fixed bug with invalidation in top-level Views." 2011-08-29 14:39:47 -07:00
Daniel Lehmann
ceb476a584 Add the lookup_key column, which should have been in the previous CL
Also added some more javadocs

Bug:5134325

Change-Id: I486b753f7cfb622e0211bb7f6bd04eb18b6e1e5b
2011-08-29 14:37:31 -07:00
Chet Haase
e4e6e20695 Fixed bug with invalidation in top-level Views.
There was a bug in an InputMethod app, where popups for the keys
would not pop-down again. The problem was that they were being
marked INVISIBLE, but the new invalidation logic noop'd the
invalidate() call that used to take place. Adding to that was logic
in setFlags() that only invalidated a parent for parents that are
instanceof ViewGroup. In this case, the parent is a ViewRootImpl.

Fix is to call invalidateChild() on the parent if it's not a ViewGroup.

Change-Id: I2c2352072d383cee1367ea7ee6c2207077721fd5
2011-08-29 14:34:30 -07:00
Gilles Debunne
9906847cef Bug 5218421: new NPE is SpellChecker when using Japanese language
The spell checker session is null because the Japanase language is not supported.

Change-Id: I41d2157e8f66799fdb6dff718e8903ce6f1bb9fe
2011-08-29 14:12:14 -07:00
Jeff Brown
8d3feb6292 Merge "Add a "show touches" option for demos and presentations. Bug: 4569045" 2011-08-29 14:04:31 -07:00
Christopher Tate
78be158ce4 Un-hide the new BackupAgent.onFullBackup() API
This is intended to be new public API for ICS, and unbundled app
development needs access to it.

Change-Id: I091b31ae9ec319850a93efc3d5860b87b68d355e
2011-08-29 14:02:27 -07:00
Jamie Gennis
a258f0c8ff Merge "Surface: move the SurfaceTexture ctor" 2011-08-29 13:41:45 -07:00
Gilles Debunne
474cac1c21 Merge "Suggestions popup window is dismissed on tap outside." 2011-08-29 12:58:36 -07:00
John Reck
082a9fa343 Merge "Tap highlight fix + small perf increase" 2011-08-29 12:55:50 -07:00
John Reck
c87b7705a0 Fix contentInvalidateAll NPE
Bug: 5220835
 It is possible to call setProperty before webcore has initialized.
 In that case, the content invalidate is unnecessary as there is no
 content to invalidate, so just ignore the request.

Change-Id: I52471a1739443ba8f1e514a5908678552246d80b
2011-08-29 11:48:56 -07:00
Chet Haase
890a631ede Merge "Made the Switch class public." 2011-08-29 11:21:49 -07:00
Romain Guy
f8c015d262 Merge "Italic should be italic and bold should be bold." 2011-08-29 11:13:23 -07:00
Romain Guy
94d5e9ad65 Italic should be italic and bold should be bold.
Change-Id: I68933a7d7c32951c4d52d945baaedcb2583caef4
2011-08-29 11:12:19 -07:00
Chet Haase
150176d830 Made the Switch class public.
Tweaked the API of Switch slightly and made the class public (it was
hidden before).

Change-Id: I4a099e8afd18a11a5850252025ae3bbbb866830d
2011-08-29 10:59:58 -07:00
Adam Powell
b5d80fca2e Merge "Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode" 2011-08-29 10:42:43 -07:00
John Reck
0ba72ad45b Tap highlight fix + small perf increase
Bug: 5229717

Change-Id: I9ebc92dc96d77ff9051517b717d203686b574f7a
2011-08-29 10:29:09 -07:00
Adam Powell
9a5cc2810b Fix bug 5124021 - Menu visibility incorrect when restoring ListView
selection mode

Fix visibility of menus when action modes are initiailized early.

Fix ListView problems persisting check states.

Change-Id: Idc21036dc39259e72f0e6831a0ccb4695f8858ef
2011-08-28 17:13:16 -07:00
Adam Powell
47d129bcb9 am 6b316513: Merge "Fix bug 5067075 - missing scrollbar when entering long signatures"
* commit '6b316513e8ce5c35cafacbeb3b9428fc5c06df67':
  Fix bug 5067075 - missing scrollbar when entering long signatures
2011-08-28 17:00:22 -07:00