Commit Graph

4739 Commits

Author SHA1 Message Date
Joe Onorato
ee5bbb7f63 Need to skip the padding after reading.
m_dataEndPos points to the end of the data, not the beginning
of the next entity.
2009-07-15 09:58:07 -07:00
Android (Google) Code Review
85d1f15826 Merge change 7353
* changes:
  Implement virtual button support.
2009-07-15 09:05:23 -07:00
Android (Google) Code Review
1f872d4e86 Merge change 7067
* changes:
  add a ctor to Mutex to specify the type, which can be shared. This is used by sf and af an soon will allow some optimization in the kernel for non shared mutexes
2009-07-15 01:06:13 -07:00
Android (Google) Code Review
03cc558144 Merge change 7372
* changes:
  Register OPUSH - Bluetooth OPP service record.
2009-07-14 21:36:03 -07:00
Nick Pelly
03c707ab6f Register OPUSH - Bluetooth OPP service record. 2009-07-14 21:32:14 -07:00
Jaikumar Ganesh
1c42769339 Rename registerPhoneStateChange to registerPreciseCallStateChange
As registerPhoneStateChange was actually notifying CallStateChange,
rename appropriately.
2009-07-14 21:29:41 -07:00
Android (Google) Code Review
740cb12eba Merge change 7167
* changes:
  Fix minor obex bugs and re-format the comments
2009-07-14 21:22:14 -07:00
Tao Liejun
05ff98bbef Fix minor obex bugs and re-format the comments
re-format comments
move connectible to connectable
remove unnecessary throws
remove not-used function ClientOperation.readResponse()
fix client abort case for PUT
set mOpen for PrivateOutputStream
add to platform.xml
2009-07-14 21:20:39 -07:00
Android (Google) Code Review
4573df4db0 am 5628711a: Merge change 6855 into donut
Merge commit '5628711a6f5674070da674488513d2e1b03c4959'

* commit '5628711a6f5674070da674488513d2e1b03c4959':
  Add a Gservices setting to control if we send up multipart protocol buffers
2009-07-14 18:56:39 -07:00
Mike LeBeau
6d54c172c3 am 1fffbd97: Fix keyboard not showing for global search on Dream. Rather than trying to call the hidden showSoftInputUnchecked method to show the IME in SearchDialog#show(), override onWindowFocusChanged in our subclass of AutoCompleteTextView so that whenever it gets
Merge commit '1fffbd97fa756ef7d3e7e885a5c1c8bb64380c20'

* commit '1fffbd97fa756ef7d3e7e885a5c1c8bb64380c20':
  Fix keyboard not showing for global search on Dream. Rather than trying to
2009-07-14 18:56:32 -07:00
Dianne Hackborn
e3dd884815 Implement virtual button support.
The kernel can now publish a property describing the layout of virtual
hardware buttons on the touchscreen.  These outside of the display
area (outside of the absolute x and y controller range the driver
reports), and when the user presses on them a key event will be
generated rather than a touch event.

This also includes a number of tweaks to the absolute controller
processing to make things work better on the new screens.  For
example, we now reject down events outside of the display area.

Still left to be done is the ability to cancel a key down event,
so the user can slide up from the virtual keys to the touch screen
without causing a virtual key to execute.
2009-07-14 18:51:53 -07:00
Mike Lockwood
e2a5385c70 resolved conflicts for merge of f7703519 to master 2009-07-14 21:44:30 -04:00
Android (Google) Code Review
5628711a6f Merge change 6855 into donut
* changes:
  Add a Gservices setting to control if we send up multipart protocol buffers
2009-07-14 17:20:22 -07:00
Mike LeBeau
1fffbd97fa Fix keyboard not showing for global search on Dream. Rather than trying to
call the hidden showSoftInputUnchecked method to show the IME in SearchDialog#show(),
override onWindowFocusChanged in our subclass of AutoCompleteTextView so that whenever
it gets focus, we call the public showSoftInput method, passing in the ACTV, which is
the correct way to do this.

This fixes http://b/1930989.
2009-07-14 17:05:24 -07:00
Android (Google) Code Review
f770351931 Merge change 7145 into donut
* changes:
  wifi: Disable RSSI polling when the screen is off.
2009-07-14 16:43:00 -07:00
Android (Google) Code Review
c047d68372 am a2694c99: Merge change 7166 into donut
Merge commit 'a2694c998c85a438c7d3fefd79bbeb751d594134'

* commit 'a2694c998c85a438c7d3fefd79bbeb751d594134':
  Fix a few date format strings to put backslashes in front of apostrophes.
2009-07-14 16:27:25 -07:00
Android (Google) Code Review
a2694c998c Merge change 7166 into donut
* changes:
  Fix a few date format strings to put backslashes in front of apostrophes.
2009-07-14 16:26:33 -07:00
Android (Google) Code Review
6630e4a1dc am b5c735d3: Merge change 7106 into donut
Merge commit 'b5c735d35c8c1d2fb4e4654fbffcdb62d5acab4d'

* commit 'b5c735d35c8c1d2fb4e4654fbffcdb62d5acab4d':
  Return adjusted display for WindowManager.getDefaultDisplay()
2009-07-14 16:18:34 -07:00
Eric Fischer
9c947e9eca Fix a few date format strings to put backslashes in front of apostrophes.
I forgot that the apostrophes get lost on the way through aapt if you
don't quote them.
2009-07-14 16:16:06 -07:00
Android (Google) Code Review
b5c735d35c Merge change 7106 into donut
* changes:
  Return adjusted display for WindowManager.getDefaultDisplay()
2009-07-14 16:13:38 -07:00
Android (Google) Code Review
de1acad88d am b3948bbd: Merge change 7133 into donut
Merge commit 'b3948bbd8dfba7fac64d2c06d871386c987692c2'

* commit 'b3948bbd8dfba7fac64d2c06d871386c987692c2':
  Run the search dialog at THREAD_PRIORITY_DEFAULT instead of THREAD_PRIORITY_FOREGROUND.
2009-07-14 16:06:08 -07:00
Karl Rosaen
ce63850ff0 am 53d24af7: Respect onSearchRequested in Dialog and actually launch search. Also dismiss self.
Merge commit '53d24af774ad943ff26ef529c949f9c433806421'

* commit '53d24af774ad943ff26ef529c949f9c433806421':
  Respect onSearchRequested in Dialog and actually launch search.  Also dismiss self.
2009-07-14 16:03:39 -07:00
Android (Google) Code Review
b3948bbd8d Merge change 7133 into donut
* changes:
  Run the search dialog at THREAD_PRIORITY_DEFAULT instead of THREAD_PRIORITY_FOREGROUND.
2009-07-14 16:03:30 -07:00
Android (Google) Code Review
4764605109 am fa8904a6: Merge change 7012 into donut
Merge commit 'fa8904a683903524ed9749f296e80381e5820178'

* commit 'fa8904a683903524ed9749f296e80381e5820178':
  Fix couple of issues in DatePicker
2009-07-14 16:03:30 -07:00
Android (Google) Code Review
24b03ace12 am 00d3e361: Merge change 7153 into donut
Merge commit '00d3e361148133cea354d358757628b0acc01b75'

* commit '00d3e361148133cea354d358757628b0acc01b75':
  Restore PopupWindow's original behavior and add an API to control the soft input
2009-07-14 16:03:23 -07:00
Karl Rosaen
957eb1d975 Run the search dialog at THREAD_PRIORITY_DEFAULT instead of THREAD_PRIORITY_FOREGROUND.
When running at forground priority, the search dialog seems to starve the soft keyboard, leading
to unresponsiveness.
2009-07-14 16:02:38 -07:00
Karl Rosaen
53d24af774 Respect onSearchRequested in Dialog and actually launch search. Also dismiss self. 2009-07-14 15:52:58 -07:00
Android (Google) Code Review
7d48ed897c Merge change 7157
* changes:
  Grant adb the BACKUP permission
2009-07-14 15:39:58 -07:00
Android (Google) Code Review
fa8904a683 Merge change 7012 into donut
* changes:
  Fix couple of issues in DatePicker The NumberPicker's listener needs to be invoked only if the current value changes when validating input. This removes the some unwanted duplicate calls to onChanged. Adjust day for month and leap years. note that updateDaySpinner directly sets the value on day picker and doesn't invoke the listener twice
2009-07-14 15:39:20 -07:00
Android (Google) Code Review
00d3e36114 Merge change 7153 into donut
* changes:
  Restore PopupWindow's original behavior and add an API to control the soft input mode.
2009-07-14 15:39:02 -07:00
Romain Guy
374aaaed32 Restore PopupWindow's original behavior and add an API to control the soft input
mode.
2009-07-14 15:38:23 -07:00
Android (Google) Code Review
5b2e50cbe1 am 30d86e51: Merge change 7124 into donut
Merge commit '30d86e5143d01815763f8c28b0fc72b0493ea9f8'

* commit '30d86e5143d01815763f8c28b0fc72b0493ea9f8':
  Fixes #1977685. Prevent crash when the soft keyboard is brought up.
2009-07-14 15:38:19 -07:00
Christopher Tate
de83ab9fce Grant adb the BACKUP permission
This also means we should no longer do explicit calling-identity fiddling in
dump(), relying instead on the usual permission enforcement mechanism to handle
things.
2009-07-14 15:38:07 -07:00
Suchi Amalapurapu
2bf761c202 Fix couple of issues in DatePicker
The NumberPicker's listener needs to be invoked only if
the current value changes when validating input.
This removes the some unwanted duplicate calls to onChanged.
Adjust day for month and leap years. note that updateDaySpinner
directly sets the value on day picker and doesn't invoke the
listener twice
2009-07-14 15:37:20 -07:00
Android (Google) Code Review
30d86e5143 Merge change 7124 into donut
* changes:
  Fixes #1977685. Prevent crash when the soft keyboard is brought up.
2009-07-14 15:35:55 -07:00
Mike Lockwood
f32be166d5 wifi: Disable RSSI polling when the screen is off.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-14 18:28:35 -04:00
Android (Google) Code Review
6d713b7616 am 4caac2bb: Merge change 7140 into donut
Merge commit '4caac2bb4c8616edf8224408931ffc0e532537de'

* commit '4caac2bb4c8616edf8224408931ffc0e532537de':
  Add more logging to track down a monkey bug
2009-07-14 15:02:24 -07:00
Android (Google) Code Review
4caac2bb4c Merge change 7140 into donut
* changes:
  Add more logging to track down a monkey bug
2009-07-14 15:01:07 -07:00
Android (Google) Code Review
c66c0abbb8 am 83a066c6: Merge change 7135 into donut
Merge commit '83a066c6d8ed953c3f5a1a44316509c9a9b0c6c2'

* commit '83a066c6d8ed953c3f5a1a44316509c9a9b0c6c2':
  Fixes lock on Home. Adds a new API on Dialog to get a callback when the dialog
2009-07-14 14:53:00 -07:00
Android (Google) Code Review
78e276492d Merge change 7147
* changes:
  this header file is not needed anymore
2009-07-14 14:51:42 -07:00
Android (Google) Code Review
83a066c6d8 Merge change 7135 into donut
* changes:
  Fixes lock on Home. Adds a new API on Dialog to get a callback when the dialog shows.
2009-07-14 14:51:06 -07:00
Mathias Agopian
7cd8ced298 this header file is not needed anymore 2009-07-14 14:50:44 -07:00
Romain Guy
045163ac16 Fixes lock on Home. Adds a new API on Dialog to get a callback when the dialog
shows.
2009-07-14 14:50:31 -07:00
Android (Google) Code Review
6a535849fb Merge change 7146
* changes:
  Fix CNAP-related NullPointerException
2009-07-14 14:48:04 -07:00
Tom Taylor
f748f22f4e Add more logging to track down a monkey bug
The monkey has found a situation where getting or creating a thread id is
failing. Add more logging code to help track down the bug.
2009-07-14 14:20:43 -07:00
Romain Guy
e8b165253d Fixes #1977685. Prevent crash when the soft keyboard is brought up.
ViewRoot keeps a reference to the previously focused View and use this reference
when trying to scroll the window to the focused rect. There situations however
in which the previously focused view might have been removed from the view
hierarchy. This happens on Home for instance when you trash an icon, or with
ListView's items. This change ensures the previously focused view is still part
of the view hierarchy.
2009-07-14 13:06:42 -07:00
Android (Google) Code Review
334a67740c am b82759a0: Merge change 6906 into donut
Merge commit 'b82759a051f55852dabe201ad3354ea9b7b2979d'

* commit 'b82759a051f55852dabe201ad3354ea9b7b2979d':
  location: Add sub-locality, sub-thoroughfare and premises fields to Address class
2009-07-14 12:54:41 -07:00
Dianne Hackborn
dace230043 resolved conflicts for merge of b06ea706 to master 2009-07-14 12:51:00 -07:00
Pauyl l Berman
e1dc2baee7 Fix CNAP-related NullPointerException
This will fix a CNAP-related bug where missing a call from a party with an
"Unknown" number presentation and then trying to log that call will cause
a NullPointerException to be thrown
2009-07-14 12:05:26 -07:00
Android (Google) Code Review
b82759a051 Merge change 6906 into donut
* changes:
  location: Add sub-locality, sub-thoroughfare and premises fields to Address class
2009-07-14 12:00:55 -07:00