5850 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
Mike Lockwood
b9797b08f4 am 7c267b24: Merge "Extinguish notification LED when user passes through lock screen"
* commit '7c267b24c69685ee623efb61bd98707869e92f5d':
  Extinguish notification LED when user passes through lock screen
2011-08-30 08:47:21 -07:00
Mike Lockwood
63b5ad9e17 Extinguish notification LED when user passes through lock screen
Also do not blink for notifications received when the screen is on.

Bug: 5233071

Change-Id: I15675ca317007d4b900ef74e60d11a5bca3d7333
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 09:55:30 -04: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
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
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
Svetoslav Ganov
f301e4d205 am 6537b003: Merge "Clean up and bug fixes in the TouchExplorer."
* commit '6537b003b7b616d4babde4b69a3d5e68459c555a':
  Clean up and bug fixes in the TouchExplorer.
2011-08-29 15:15:29 -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
Svetoslav Ganov
6537b003b7 Merge "Clean up and bug fixes in the TouchExplorer." 2011-08-29 11:04:33 -07:00
Svetoslav Ganov
f804420d6e Clean up and bug fixes in the TouchExplorer.
1. The downTime of the first down event was zero but it should the event time.

2. Hover exit events were not injected while transitioning to delegating
   state and when tapping.

3. Differentiation between dragging and delagating state based on
   two moving pointer direction and distance is now based only on
   the direction. Hence, two pointers moving in the same direction
   are dragging, otherwise the event stream is delegated unmodified.
   The reason for that is the blind people cannot easily determine
   and control the distance between their fingers resulting in
   different behavior for gestures which the user thinks are the same
   which creates confusion. Also in some cases the delegation and
   draggig yield the same result, for example in list view, further
   adding to the confusion. This was also causing the status bar to
   be opened closed inreliably creating frustration.

4. Refactored the code such that now there is only one method that
   injects motion events and all request go through it. Some bugs
   were introduced by inconsistent implementation in the different
   injection methods.

5. Fixed a couple of event stream inconsistencies reported by the
   event consistency verifier.

bug:5224183
bug:5223787
bug:5214829

Change-Id: I16c9be3562ad093017af5b974a41ab525b73453f
2011-08-29 00:06:57 -07:00
Adam Powell
dfab05095f am 63543e29: Merge "Fix bug 5133509 - Align holo menu panel windows along the bottom of the screen"
* commit '63543e299764ac5a904dadd8b45e9ce301ea1023':
  Fix bug 5133509 - Align holo menu panel windows along the bottom of the screen
2011-08-28 17:00:19 -07:00
Adam Powell
67ed6c7224 Fix bug 5133509 - Align holo menu panel windows along the bottom of
the screen

Alter preferred options panel gravity policy.

Integrate new menu panel assets for holo apps.

Change-Id: I9fa98ed9359148ea6d1f1d1e727ddcd437b16e2f
2011-08-28 13:23:02 -07:00
Jeff Brown
daf4a127ba Add a "show touches" option for demos and presentations.
Bug: 4569045

Change-Id: I8726ea292dd7def790a5e40d7d7e58968974f896
2011-08-26 17:14:14 -07:00
Jeff Sharkey
f01f4522cb am e598cd01: Merge "Always splice historical data stats, debug info."
* commit 'e598cd0143c0c79b0f6c6f557269ed5f5100e78b':
  Always splice historical data stats, debug info.
2011-08-26 15:47:28 -07:00
Jeff Sharkey
e598cd0143 Merge "Always splice historical data stats, debug info." 2011-08-26 15:46:19 -07:00
Jeff Sharkey
47eb102b40 Always splice historical data stats, debug info.
When reading network counters, always splice in xt_qtaguid values
to avoid counting backwards. Test to verify.

Remove verbose logging around global alerts, and add dumpsys debug
info for NMS and MDST. Also fix subtle bug around stats persisting
and dumping.

Bug: 5212893, 5211028
Change-Id: I783e5286637a67ee2dd2b09878198711a926d0cb
2011-08-26 14:19:54 -07:00
satok
669ff8b084 am f39daef1: Reset subtype when the current spell checker was changed.
* commit 'f39daef102f2dff7517e257eb25c2e3677247e83':
  Reset subtype when the current spell checker was changed.
2011-08-26 05:01:31 -07:00
satok
f39daef102 Reset subtype when the current spell checker was changed.
Change-Id: I79099695337dbc5577871458b24c6710fc0ecca7
2011-08-26 19:54:27 +09:00
satok
185b1debd8 am ca6d29da: Merge "Support system locale as the locale of the spell checkers"
* commit 'ca6d29da777cffd40d9f3e38f95663ba1a2002c5':
  Support system locale as the locale of the spell checkers
2011-08-26 02:56:53 -07:00
satok
ca6d29da77 Merge "Support system locale as the locale of the spell checkers" 2011-08-26 02:55:06 -07:00
satok
b387954a92 Support system locale as the locale of the spell checkers
Bug: 5212035

Change-Id: I18d27e54b936cc7f4d6cc3c7100bce57f77f8f9f
2011-08-26 18:35:58 +09:00
satok
ecd2882515 am bc81b692: Do not show auxiliary subtypes on the lock screen
* commit 'bc81b692d51a9cd6f9d61584aacd8308ac3366ea':
  Do not show auxiliary subtypes on the lock screen
2011-08-26 00:55:38 -07:00
satok
bc81b692d5 Do not show auxiliary subtypes on the lock screen
Change-Id: Id7cf5d122968790ba6d75d3b047d45ea99e4d0f6
2011-08-26 16:22:22 +09:00
satok
f92aed9295 am fbedf1a3: Fix NPE in setCurrentSpellCheckerSubtype
* commit 'fbedf1a3978d5dfc4a886e4c7107d4bc1923f740':
  Fix NPE in setCurrentSpellCheckerSubtype
2011-08-26 00:15:34 -07:00
satok
fbedf1a397 Fix NPE in setCurrentSpellCheckerSubtype
Change-Id: I9fce999f91dcccd2f877a0326c4f2e3ac9024f85
2011-08-26 16:00:23 +09:00
satok
a08651734d am 4bc554b3: Merge "Fix setCurrentSpellCheckerSubtype"
* commit '4bc554b37165dbee8d805a6f73ac5e946f2769ae':
  Fix setCurrentSpellCheckerSubtype
2011-08-25 21:36:17 -07:00
satok
4bc554b371 Merge "Fix setCurrentSpellCheckerSubtype" 2011-08-25 21:34:44 -07:00
satok
3cb5b39a0e Fix setCurrentSpellCheckerSubtype
Change-Id: Ib42a3b4377b8700ceaf4b7e13150848464d073c1
2011-08-26 12:39:42 +09:00
Mathias Agopian
852530700b am 97c46181: Merge "put the watchdog values back to what they should be"
* commit '97c46181c7089cb937cfe3fab536049d2d99ad72':
  put the watchdog values back to what they should be
2011-08-25 17:15:23 -07:00
Mathias Agopian
97c46181c7 Merge "put the watchdog values back to what they should be" 2011-08-25 17:13:59 -07:00
Mathias Agopian
cf2317ef13 put the watchdog values back to what they should be
Change-Id: I4f394248c2f4c514f74b66fde3cb69bbed9ec796
2011-08-25 17:12:37 -07:00
Paul Westbrook
9bf3097c25 am 6683eb2d: Merge "Use ELAPSE_REALTIME alarm for tick event"
* commit '6683eb2d8d4323ac21ad42b3f7646c761968c75f':
  Use ELAPSE_REALTIME alarm for tick event
2011-08-25 17:09:39 -07:00
Mathias Agopian
1e0a1fd8c8 am 8228e68b: Merge changes I083c4133,If904634e
* commit '8228e68becda68bee31c85796f08396b58370f6f':
  make sure to re-initialize SurfaceTexture to its default state on disconnect
  Fix screenshots
2011-08-25 17:07:40 -07:00
Paul Westbrook
6683eb2d8d Merge "Use ELAPSE_REALTIME alarm for tick event" 2011-08-25 17:07:06 -07:00
Mathias Agopian
8228e68bec Merge changes I083c4133,If904634e
* changes:
  make sure to re-initialize SurfaceTexture to its default state on disconnect
  Fix screenshots
2011-08-25 17:05:33 -07:00
Mathias Agopian
2370d0a14f make sure to re-initialize SurfaceTexture to its default state on disconnect
this caused problems where the NavigationBar would disapear or be
drawn in the wrong orientation.

Change-Id: I083c41338db83a4afd14f427caec2f31c180d734
2011-08-25 17:03:30 -07:00
John Huang
c9493383ac am f60ac630: Merge "Notify overall state instead of current changed state"
* commit 'f60ac6307e07b409faea9f2506aa8c7162d11a4f':
  Notify overall state instead of current changed state
2011-08-25 15:58:13 -07:00
John Huang
f60ac6307e Merge "Notify overall state instead of current changed state" 2011-08-25 15:56:55 -07:00
yoonsung.nam
e6fa120275 Notify overall state instead of current changed state
TelephonyRegistry notifies wrong state thourgh onDataConnectionStateChanged().
As a result, browser works even though there is no data icon in status bar.
The issue is reproducible as following senario:
1. There are two connections.
2. Network type is changed and one of the connections is disconnected
at the same time.
3. TelephonyRegisitry notifies disconnect state to apps which are listening
PhoneStateLinstener.

Change-Id: Iac1e2b14e41715a63ea0d842cb44d232447e814a
Signed-off-by: yoonsung.nam <yoonsung.nam@samsung.com>
2011-08-25 14:12:33 -07:00
Dianne Hackborn
33a988101b am 7b2a582a: Merge "Whoops, remove this."
* commit '7b2a582a277494643e123c71683cff47156b303c':
  Whoops, remove this.
2011-08-25 13:35:25 -07:00
Dianne Hackborn
7b2a582a27 Merge "Whoops, remove this." 2011-08-25 13:33:50 -07:00
Paul Westbrook
51608a5304 Use ELAPSE_REALTIME alarm for tick event
Change to use a real item alarm for scheduling ACTION_TIME_TICK
intents for the case where time goes backwards after the tick intent
is schedule, and where the time change is not noticed from the call
to waitForAlarm().

Bug: 5166877
Change-Id: I46b9a1c80146d27becedc341c4af977fcdf47352
2011-08-25 13:32:49 -07:00
Dianne Hackborn
8795b60dfc Whoops, remove this.
Change-Id: I863d4739e918de1b4177ec8bb17063597f1ff3dc
2011-08-25 13:31:41 -07:00
Dianne Hackborn
66e295b9a7 am 123adee3: Merge "Fix issue #5214105 and work on issue #5109947."
* commit '123adee398361809beaeddf2f3c073c0283b1e62':
  Fix issue #5214105 and work on issue #5109947.
2011-08-25 13:28:00 -07:00
Dianne Hackborn
123adee398 Merge "Fix issue #5214105 and work on issue #5109947." 2011-08-25 13:26:19 -07:00
Jeff Sharkey
bc0c990689 am ed191e1f: Merge "Data usage buckets active time, parsing ISE."
* commit 'ed191e1fae0f860323f6ed76ea982287c42ec83e':
  Data usage buckets active time, parsing ISE.
2011-08-25 13:23:37 -07:00
Jeff Sharkey
8bb898f1e3 am 235c47ff: Merge "Register for kernel global data usage alerts."
* commit '235c47ff3edc9228609e82d2201275e70889921f':
  Register for kernel global data usage alerts.
2011-08-25 13:23:32 -07:00
Svetoslav Ganov
0a1dc8689d am 12bde60b: Merge "Intra-process view hierarchy interrogation does not work."
* commit '12bde60b39affbfdcb7ef6317e0a5f99c3f41b10':
  Intra-process view hierarchy interrogation does not work.
2011-08-25 13:22:27 -07:00