1182 Commits

Author SHA1 Message Date
Mike Lockwood
fd6e5f0dda location: Replace ILocationCollector interface with new ILocationProvider method
This change replaces ILocationCollector with a more general mechanism that
passes locations received from a provider to all other providers.
The network location provider now uses this to implement the location collector.
In the future, this could be used to inject network locations to the GPS
as aiding data.

This change also removes the now obsolete permission INSTALL_LOCATION_COLLECTOR.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-21 11:28:20 -04:00
Android (Google) Code Review
bb7b7b316a Merge change 2152 into donut
* changes:
  make sure to fail to software when the h/w renderer cannot be initialized
2009-05-20 18:00:01 -07:00
Mathias Agopian
16da7959a0 make sure to fail to software when the h/w renderer cannot be initialized 2009-05-20 17:58:36 -07:00
Android (Google) Code Review
db2b8015a9 Merge change 2138 into donut
* changes:
  Add padding to public.xml to avoid breaking from auto-merges.
2009-05-20 17:06:48 -07:00
Romain Guy
7269d9ac10 Tweak the Gestures Overlay demo. This shortens the fade duration to make it more usable and also adds a longer pause before the fade. This change also introduce a new compile-time setting to decide whether or not the overlay should steal the events from the underlying ListView. It is now off by default, per discussion with hackbod. It feel a little bit better but it may vary from user to user so studies will be necessary. 2009-05-20 16:58:44 -07:00
Dianne Hackborn
f479aa0900 Add padding to public.xml to avoid breaking from auto-merges. 2009-05-20 16:30:59 -07:00
Android (Google) Code Review
b204d4f127 Merge change 2136 into donut
* changes:
  First pass at cleaning up the gestures code.
2009-05-20 15:37:45 -07:00
Android (Google) Code Review
aa9833885d Merge change 1932 into donut
* changes:
  Qualify a type and add some explanatory comments.
2009-05-20 15:28:36 -07:00
Android (Google) Code Review
009b32dc8b Merge change 2109 into donut
* changes:
  Add option for gtalk stream compression
2009-05-20 15:22:02 -07:00
Romain Guy
c534727972 First pass at cleaning up the gestures code. 2009-05-20 15:10:45 -07:00
Romain Guy
a6cd4e03e6 Fix NPE at boot. 2009-05-20 15:09:21 -07:00
Android (Google) Code Review
fe0daa7da8 Merge change 2115 into donut
* changes:
  bring the native_handle stuff back from master_gl
2009-05-20 15:00:24 -07:00
Mathias Agopian
9890815e42 bring the native_handle stuff back from master_gl 2009-05-20 14:33:23 -07:00
Joe Onorato
5595a93722 this might fix the build 2009-05-20 14:18:11 -07:00
Android (Google) Code Review
2d10ba3319 Merge change 2111 into donut
* changes:
  GPS: Add support for forcing NTP time and XTRA data injection.
2009-05-20 14:00:24 -07:00
Mike Lockwood
93bc44d721 GPS: Add support for forcing NTP time and XTRA data injection.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-20 16:58:22 -04:00
Dianne Hackborn
d62ad4f120 Fix issue #1859814: Add android.os.Build.MANUFACTURER 2009-05-20 13:21:59 -07:00
Android (Google) Code Review
4174e2682f Merge change 2094 into donut
* changes:
  Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable.
2009-05-20 13:13:42 -07:00
Costin Manolache
b84905662f Add option for gtalk stream compression 2009-05-20 13:12:36 -07:00
Android (Google) Code Review
f209b46c52 Merge change 2092 into donut
* changes:
  Make sure smsHeader != null before using it.
2009-05-20 13:00:22 -07:00
jsh
31fd22923a Make sure smsHeader != null before using it.
Fixes bug 1866578 - NPE while trying to dispatch a non-concatenated SMS with
no user data header (ie, your typical SMS).
2009-05-20 12:55:25 -07:00
Android (Google) Code Review
e29146158b Merge change 2099 into donut
* changes:
  Hook up the backup data writer, and add a utility to read the backup data files.
2009-05-20 11:53:08 -07:00
Jean-Baptiste Queru
d3f14a625e reconcile donut snapshot
Merge branch 'donut-snapshot' into HEAD
2009-05-20 11:28:11 -07:00
Jean-Baptiste Queru
843ef36f7b donut snapshot 2009-05-20 11:28:04 -07:00
Romain Guy
3c77d39ee8 Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable. 2009-05-20 11:26:50 -07:00
Joe Onorato
d2110dbce0 Hook up the backup data writer, and add a utility to read the backup data files. 2009-05-20 11:24:20 -07:00
Android (Google) Code Review
40f5a4ea3b Merge change 2089 into donut
* changes:
  Update searchables list in getSearchablesInGlobalSearch().
2009-05-20 11:15:05 -07:00
Bjorn Bringert
a48a5af931 Update searchables list in getSearchablesInGlobalSearch().
Should fix http://b/issue?id=1866432
2009-05-20 17:58:39 +01:00
Android (Google) Code Review
a5ca3425f9 Merge change 2017 into donut
* changes:
  Increment BatteryStatsImpl's VERSION. That'll make it stop trying to interpret older records with the new format. Also applied other comments involving name changes to remove un-needed 'Wifi' labels in WifiManager API, etc.
2009-05-20 09:06:22 -07:00
Android (Google) Code Review
eb2c314b4d Merge change 2042 into donut
* changes:
  Remove deprecated openInputStream factory method
2009-05-20 07:15:50 -07:00
Android (Google) Code Review
a59aba8cd8 Merge changes 2023,2036 into donut
* changes:
  Update more references to openInputStream in support classes. Continuation of bug 1846343
  Modify AudioFlinger to use updated openInputStream factory method. Continuation of bug 1846343
2009-05-20 07:15:39 -07:00
Android (Google) Code Review
f638201182 Merge change 1998 into donut
* changes:
  Add inputSource to openInputStream Continuation of bug 1846343
2009-05-20 07:14:32 -07:00
Android (Google) Code Review
90bd7338df Merge change 2075 into donut
* changes:
  Fix bad filtering of error code when set_position_mode() is being called.
2009-05-20 05:50:32 -07:00
David 'Digit' Turner
9a940e8b3d Fix bad filtering of error code when set_position_mode() is being called. 2009-05-20 14:23:46 +02:00
Android (Google) Code Review
97dd7ac8ed Merge change 1860 into donut
* changes:
  ActivityManagerService sends bug reports on crashes and ANRs
2009-05-20 02:55:28 -07:00
Android (Google) Code Review
9fb724ba90 Merge change 1804 into donut
* changes:
  Additional logging in buildSearchableList().
2009-05-20 02:42:01 -07:00
Jacek Surazski
f5b9c72022 ActivityManagerService sends bug reports on crashes and ANRs
If an installerPackageName was specified when the app was installed,
looks for a receiver of ACTION_APP_ERROR in that package. If found,
this is the bug report receiver and the crash/ANR dialog will get a
"Report" button. If pressed, a bug report will be delivered.
2009-05-20 10:52:04 +02:00
Android (Google) Code Review
5bc21aa067 Merge change 1127 into donut
* changes:
  SmsHeader rewrite, in preparation for migration to public API.
2009-05-19 19:52:07 -07:00
Dianne Hackborn
b2d4156934 Fix build. 2009-05-19 19:25:04 -07:00
Dave Sparks
fe9f0722b0 Remove deprecated openInputStream factory method 2009-05-19 18:56:13 -07:00
Dianne Hackborn
95fc68f24a Fix issue where apps could prevent the user from going home.
Now we have a 5-second time after home is pressed, during which
only the home app (and the status bar) can switch to another app.
After that time, any start activity requests that occurred will
be executed, to allow things like alarms to be displayed.  Also
if during that time the user launches another app, the pending
starts will be executed without resuming their activities and
the one they started placed at the top and executed.
2009-05-19 18:46:53 -07:00
Dave Sparks
a5e2ef0af0 Update more references to openInputStream in support classes.
Continuation of bug 1846343
2009-05-19 18:28:20 -07:00
Tammo Spalink
64c499113a SmsHeader rewrite, in preparation for migration to public API.
See http://b/issue?id=1751571

Changes the semantics of SmsHeader from containing only opaque data
to exposing occurs-once frequently-used fields together with a list
of opaque fields.  Also changes the coding to and from byte array to
be symmetrical, whereas previous encoding had an extra length field.

Cdma SmsMessage -- cleanup of code paths along with adjustments to
match the new header semantics, which should address at least some
of the issues with concatenated messages.  See http://b/issue?id=1809759
2009-05-20 09:27:10 +08:00
Jaikumar Ganesh
ee748d37b0 Fix network preference getting incorrectly set.
When the phone process crashes, we set the network preference
incorrectly. Also read the default value from a system property.
2009-05-19 17:29:42 -07:00
Android (Google) Code Review
83a6ec6002 Merge change 1791 into donut
* changes:
  Add a method to get the PhoneType in CellLocation.
2009-05-19 17:19:21 -07:00
Jaikumar Ganesh
9bfbfbd40d Add a method to get the PhoneType in CellLocation.
CellLocation uses TelephonyManager to get the PhoneType.
TelephonyManager uses the system property to get the phoneType,
if the ITelephony interface is not up.
2009-05-19 17:15:22 -07:00
Android (Google) Code Review
eba1ffb146 Merge change 2022 into donut
* changes:
  TextView was not setting the callback on its compound drawables, thus preventing them from refreshing the view when updating their internal state. This would for instance prevent animated drawables from actually animating. Quite infuriating.
2009-05-19 16:52:41 -07:00
Android (Google) Code Review
379d3bd974 Merge change 2016 into donut
* changes:
  Replaced the old test media files with the new open source test media files. Fix the bug in testGetThumbnail test.
2009-05-19 16:51:29 -07:00
Android (Google) Code Review
f9df6bd6e9 Merge change 1878 into donut
* changes:
  Fixes external #2686. Make @android:anim/linear_interpolator public since the default intperpolator for all animations is accelerate_decelerate.
2009-05-19 16:51:28 -07:00
Romain Guy
48540eb853 TextView was not setting the callback on its compound drawables, thus preventing them from refreshing the view when updating their internal state. This would for instance prevent animated drawables from actually animating. Quite infuriating. 2009-05-19 16:44:57 -07:00