546 Commits

Author SHA1 Message Date
Fred Quintana
f038004f4a changes from Sync Manager API Review: bug 2164262 2009-10-06 22:30:48 -07:00
gwang@google.com
3b49e9b525 Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation. 2009-10-06 14:48:09 -07:00
Fred Quintana
f83d9b3fcd fix build breakage 2009-10-06 13:21:23 -07:00
Fred Quintana
5bba632d87 - hide Entity and all its references
- remove updateEntity and insertEntity, since they are not
  used
- add the RawContacts.Entity class, which is used in lieu of the
  android.content.Entity
2009-10-06 11:51:19 -07:00
Nick Pelly
24bb9b8af4 Provide an API for apps to use a dynamic RFCOMM channel and SDP record.
Hide listenUsingRfcommOn(int channel)
Add listenUsingRfcomm(String name, ParcelUuid uuid)

The new API automatically finds a free RFCOMM channel and registers an SDP
record with the given uuid and name. The SDP record is automatically
removed when the socket is closed, or if the application dies.

Apps are prevented from registering SDP records with the uuid of system
Bluetooth profiles, such as A2DP, HFP and OPP.

Apps are prevented from removing SDP records that they did not create. This is
tracked by pid.

TODO: Provide an API for the connecting app to look up an SDP record.

Bug: 2158900
DrNo: eastham
Joke: "What did the dog say to the tree? bark."
Change-Id: Ia92f51c34615a7270a403255ad2b8faa98c4a3f5
2009-10-06 05:57:50 -07:00
Dianne Hackborn
68d881cf2d Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast
Tell the broadcast receiver whether it is getting an initial sticky value,
so it will be quiet about attempts to do ordered broadcast stuff.

Note that the original bug being reported was not actually a crash, just
an error log.  So all we are doing here is making the log quieter.

Change-Id: Iaf1b718d82093ec1197142410a64feff47eb3859
2009-10-05 15:52:32 -07:00
Fred Quintana
f7ae77cd67 account manager api review changes 2009-10-05 11:19:49 -07:00
John Wang
99510681e9 Unhide constant DATA_ACTIVITY_DORMANT. 2009-10-01 10:00:54 -07:00
Mike Reed
bbed0d68c8 hide setGammaForText, which is only used for calibrating new devices 2009-10-01 09:34:45 -04:00
Bjorn Bringert
b782a2f4f0 Remove globalSearch argument from triggerSearch()
API council says:

"In reviewing the new triggerSearch API, we are concerned that
applications could use the option to perform a global search to spam
the user with frequent searches.  We would like the global search
option to be removed for now (not just hidden, but removed from the
internal IPC API so that nobody can find this and abuse it).  The rest
of the API should be fine as long as it is restricted to local
searches."

Fixes http://b/editIssue?id=2158785

Change-Id: Ie69a9c0ab6373cc4427aab50606885bdede40585
2009-10-01 09:57:33 +01:00
Dianne Hackborn
29e4a3c566 Update from API review.
Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
2009-09-30 23:21:02 -07:00
Evan Millar
5042f7eae6 Unhide ContactsContract#QuickContact and fix sdk build
Change-Id: I60fdeb6d0625996d76a10f0a623c9f474337758d
2009-09-30 21:49:02 -07:00
Fred Quintana
c868acf442 show events in the UI 2009-09-30 21:29:33 -07:00
Evan Millar
e3ec9977bb FastTrack->QuickContact
Change-Id: I98f2db38e6402bdbe47b941d82c8f33863d1863e
2009-09-30 20:33:17 -07:00
Mike Lockwood
de46acddf5 Update SD card notification icons.
Stop using SIM card icons for USB notifications
Fixes b/1700510

Change-Id: Ic7e251a7ecad3ed46044181eae41481791df85bd
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-30 19:45:51 -04:00
Romain Guy
aa1c6311d6 Fix possible crash in AutoCompleteTextView.
This change makes sure that ACTV will not take action when an event is
received in a popup that just got dismissed.

This change also makes public two XML attributes of ACTV whose corresponding
Java APIs are public.

This change also fixes a couple of typos.

Change-Id: I78f113bc522d199ff3db44fc4cc3a1882afe822e
2009-09-30 11:55:58 -07:00
Evan Millar
f5ac46d302 Remove unused api in QuickContact.java and fix the build.
Change-Id: I46a6d39c8176806c2b5570c75b59ff9631ee53f1
2009-09-30 11:20:25 -07:00
Evan Millar
c1a2a8296e Change FasttrackBadgeWidget->QuickContactBadge and make public.
Change-Id: I9d12beeba16c2f64742b4a99d0da4ceb73525b5b
2009-09-30 08:33:31 -07:00
Ray Chen
3ba351267a update current.xml for cancelThumbnailRequest api. 2009-09-30 00:06:37 -07:00
Mike Cleron
290947bbf8 Git sucks 2009-09-29 21:53:56 -07:00
Mike LeBeau
2e4dbe70e7 Unhide APIs for enabling geolocation in web views. I've confirmed
with Grace that these are okay to unhide.
2009-09-29 19:40:28 -07:00
Xavier Ducrohet
dd49055a9d am ac18e4f2: Update 4.xml with the native status change of breakText/measureText
Merge commit 'ac18e4f238650aa4bf8b6c7540d928b0249cfd99' into eclair

* commit 'ac18e4f238650aa4bf8b6c7540d928b0249cfd99':
  Update 4.xml with the native status change of breakText/measureText
2009-09-29 18:15:46 -07:00
Xavier Ducrohet
ac18e4f238 Update 4.xml with the native status change of breakText/measureText 2009-09-29 17:56:39 -07:00
Dianne Hackborn
e67f0c9712 Hack to fix issue #2125365: Sports Trivia compatability with Eclair (do not merge)
Adds a mechanism to tell Paint the scaling factor its target
canvas will have, for it to compute font metrics based on the
correct font size.  Only TextView uses this, but that is enough
for the large majority of apps.

This is integrated from the Eclair branch.
2009-09-29 17:49:22 -07:00
Wu-cheng Li
77153ee04e Hide zoom api. 2009-09-29 16:16:33 -07:00
Dianne Hackborn
c20a9608f3 Whoops, these shouldn't be public.
Change-Id: I66057b1fb63b97ad79cea7056849274c6a7b3ed4
2009-09-29 11:38:01 -07:00
Dianne Hackborn
fff0b4a6c2 Fix build.
Change-Id: Ibbe15483013b82bd5bb9ec648bb4537682994b5a
2009-09-29 11:19:03 -07:00
Dianne Hackborn
b6eaaa2ab2 Clean up cacheColorHint to be better controlled by the theme.
Fixes generic lists in dialog themes, for example.

Change-Id: I0ea1cae1641d8ab3756179ce80245ed0df942115
2009-09-29 11:02:39 -07:00
Evan Millar
db1f499398 Add PhoneNumberUtils.compare() method that uses a resource to determine strictness.
Change-Id: I49fbfc683f7089f052671b567ad3e19203a568f0
2009-09-29 08:38:07 -07:00
Bjorn Bringert
86917dbb95 Unhide SearchManager.SUGGEST_PARAMETER_LIMIT
Both GlobalSearch and the search dialog now pass
SearchManager.SUGGEST_PARAMETER_LIMIT as a query parameter to all
suggestion sources. Exposing this allows suggestion sources
to return only the number of results that the client requires.

Fixes http://b/issue?id=2150992

Change-Id: I17f45d35e8f302b11812f4bb6fee40b31dc15707
2009-09-29 08:14:35 +01:00
Mike Cleron
52f0a64952 Finish off java API to allow fading scrollbars 2009-09-28 18:31:09 -07:00
Jeff Sharkey
ff18bbf835 Separate API for vCards through openAssetFileDescriptor().
Previously we overloaded Contacts.CONTENT_URI to return
vCard-formatted Contacts entries.  To fix http://b/2138790
this is a separate API that returns a well-known MIME-type.

Also helps fix http://b/2078399 by adding OFFICE_LOCATION.
2009-09-28 17:44:53 -07:00
Mike Cleron
fe81d386a8 Remove obsolete links; start at a method to turn on fading scrollbars 2009-09-28 14:34:14 -07:00
Nick Pelly
aef439e6f8 Move android.bluetooth.ParcelUuid to android.os.ParcelUuid
Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631
2009-09-28 13:06:22 -07:00
Mike Cleron
3ecd58c650 Fix build 2009-09-28 11:44:36 -07:00
Nick Pelly
1acdcc1a50 Add an API to request a system activity to turn on Bluetooth.
Change-Id: I2fca33ad27017ea4e2ecba37854b749682d07672
2009-09-28 11:04:00 -07:00
Dmitri Plotnikov
879664e3e2 Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.
Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
2009-09-27 19:47:48 -07:00
Wu-cheng Li
068ef42c3f Add documentation about flash and change video-light to torch. 2009-09-27 17:29:44 -07:00
Dianne Hackborn
039c68e756 The touch screen is probably a feature.
Also extend the feature APIs a bit.

Change-Id: I99e932d7f4e61edb0e20f75c55e9831e4b59a14d
2009-09-26 16:39:23 -07:00
Jesse Wilson
2d6c325e78 API XML changes to accompany dalvik.system deprecation.
See https://android-git.corp.google.com/g/26570
2009-09-26 09:09:10 -07:00
Fred Quintana
6ecaff1583 add a optional String to the key of notifications to allow users
to scope them
2009-09-25 16:01:22 -07:00
John Wang
fb2b04b7bc Unhide NETWORK_TYPE_XXX.
Make NETWORK_TYPE_HSDPA etc. unhide in TelephonyManager.
2009-09-25 14:50:26 -07:00
johnwang
9c118c80fd Update CID in NeighboringCellInfo
NeighboringCellInfo works in GSM and UMTS network.

In GSM network, the locaiton value is the combination of LAC and CID.

In UMTS network, the locaiton value is PSC code.

NeighboringCellInfo should access and store those two values seperately.

It involves the change of Public API.

1. Add new API getRadioType(), getLac(), and getPsc() to get location info in GSM and UMTS.

2. Deprecate setCid() and NeighboringCellInfo(int cid) because cid is set by interpreting network type.
2009-09-25 12:17:46 -07:00
Dianne Hackborn
3b3e145d3c A variety of work on animations.
- The lock screen now fades in and out.
- Fixed a bug where we would accidentally freeze the screen when switching
  to an activity with a different orientation than the current (but
  the screen itself is in the current orientation).  This would mess up
  the animations on the car dock.
- New API to force a particular animation for an activity transition
  (untested).
- New wallpaper animations.
- Resources now uses the next API version when in a development build,
  to help applications being developed against such builds.

Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b
2009-09-25 00:48:02 -07:00
Nick Pelly
18b1e79a12 Bluetooth API: Do not allow apps to programmatically make BT discoverable.
Instead add ACTION_REQUEST_DISCOVERABLE for the system to show a dialog to
adjust discoverable mode.

Also remove createBond(), removeBond() and cancelBondProcess(). The Settings
App already handles these automatically when connections require bonding.

Change-Id: I216154cd1b6de410de64ba91b07d7263ac03e8df
2009-09-24 19:34:54 -07:00
Fred Quintana
f580841526 rename misc to birthday 2009-09-24 16:39:17 -07:00
Jack Palevich
82cbaab450 Publish minor additions to GLSurfaceView API.
Clients can now modify the way that the EGL context and the EGL window
surface are created and destroyed.
2009-09-24 11:55:04 -07:00
Amith Yamasani
c15255a979 Add a PRIVACY_SETTINGS action to launch the new Privacy settings screen. 2009-09-24 10:24:04 -07:00
Jeff Hamilton
f852698cc3 Make the new ContactsContract APIs public.
Also, squelch warnings that were caused by the
deprecation of the old Contacts APIs.

Change-Id: I91d2804de4b653003cd5504ff0f770c01a6332ef
2009-09-24 11:36:03 -05:00
Jeff Hamilton
7d2795c80c Really fix the build.
Change-Id: I4e45d00b5caede0acf6b9c2e491aee337b05e7a1
2009-09-24 01:20:25 -05:00