4400 Commits

Author SHA1 Message Date
The Android Open Source Project
c2ad241504 auto import from //branches/cupcake_rel/...@141571 2009-03-19 23:08:54 -07:00
The Android Open Source Project
7b0b1ed979 auto import //branches/master/...@140412 2009-03-18 22:20:26 -07:00
The Android Open Source Project
105925376f auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:46 -07:00
Jean-Baptiste Queru
2a73de7b21 Merge commit 'remotes/korg/cupcake' into merge
Conflicts:
	core/java/android/view/animation/TranslateAnimation.java
	core/jni/Android.mk
	core/res/res/values-en-rGB/strings.xml
	libs/audioflinger/AudioFlinger.cpp
	libs/surfaceflinger/LayerScreenshot.cpp
	packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
2009-03-18 11:33:14 -07:00
The Android Open Source Project
ba87e3e6c9 auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:22 -07:00
The Android Open Source Project
c39a6e0c51 auto import from //branches/cupcake/...@137873 2009-03-11 12:11:56 -07:00
Jean-Baptiste Queru
69577ae794 Fix build.
Change 9099 was a little bit too aggressive and removed a line it shouldn't have.
2009-03-09 17:56:44 -07:00
Cyril Mottier
17ddd72f5c AbsSeekBar slightly optimized by removing a redundant snippet of code 2009-03-09 21:03:52 +01:00
The Android Open Source Project
b2a3dd88a5 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:12 -07:00
Cyril Mottier
9181dd4e08 A simple fix on a Javadoc comment. The main purpose of this commit is
for me to get to know git and repo and how to contribute to the Android
project.
2009-03-08 20:37:54 +01:00
The Android Open Source Project
f5b4b98fad auto import from //depot/cupcake/@136745 2009-03-05 20:00:43 -08:00
The Android Open Source Project
53b4045212 auto import from //depot/cupcake/@136654 2009-03-05 17:04:48 -08:00
The Android Open Source Project
b22d55b9f8 auto import from //depot/cupcake/@136620 2009-03-05 15:45:10 -08:00
The Android Open Source Project
4df2423a94 auto import from //depot/cupcake/@136594 2009-03-05 14:34:35 -08:00
Yusuke Ohmichi(maimuzo)
accbadeb52 fix issue #1587 2009-03-04 14:14:21 -08:00
Evan JIANG
bfcb2193b3 Fix a FileObserver jni bug.
The path string in FileObserver jni will not be automatically released
in the while loop. Then it will cause too many local refs in the ref
table. When received too many file changed notifications/events, the
process will be killed for "Failed adding to JNI local ref table".
Test code:
=============================================================
import android.app.Activity;
import android.os.Bundle;
import android.os.FileObserver;
import android.util.Log;

import java.io.File;
import java.io.IOException;

public class TestApp extends Activity {

    public static final String TAG="TestApp";
    FileObserver observer;

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setContentView(R.layout.main);

        observer=new FileObserver("/tmp"){
            @Override
            public void onEvent(int event, String path) {
                if(event == FileObserver.CREATE){
                    Log.e(TAG, "File created [" + path + "]");
                }else if(event == FileObserver.DELETE){
                    Log.e(TAG, "File deleted [" + path + "]");
                }
            }
        };
        observer.startWatching();

        File f=new File("/tmp/a.txt");
        for (int i=0;i<300;i++) {
            try {
                f.createNewFile();
            } catch (IOException e) {
            }
            f.delete();
        }
    }

}
================================================
The last 2 lines of the log:
E/dalvikvm(  705): Failed adding to JNI local ref table (has 512
entries)
E/dalvikvm(  705): VM aborting
2009-03-04 12:04:07 -08:00
The Android Open Source Project
41df385128 auto import from //depot/cupcake/@135859 2009-03-03 22:58:27 -08:00
The Android Open Source Project
bdbdc4f929 auto import from //depot/cupcake/@135856 2009-03-03 21:00:54 -08:00
The Android Open Source Project
9066cfe988 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce auto import from //depot/cupcake/@135843 2009-03-03 18:28:45 -08:00
The Android Open Source Project
076357b856 auto import from //depot/cupcake/@132589 2009-03-03 14:04:24 -08:00
The Android Open Source Project
3dec7d563a auto import from //depot/cupcake/@137055 2009-03-02 22:54:33 -08:00
The Android Open Source Project
15ab3eae2e auto import from //branches/cupcake/...@132569 2009-02-20 07:38:31 -08:00
The Android Open Source Project
3001a03543 auto import from //branches/cupcake/...@132276 2009-02-19 10:57:31 -08:00
The Android Open Source Project
da996f390e auto import from //branches/cupcake/...@131421 2009-02-13 12:57:50 -08:00
Adrian Taylor
625648e059 Fixing verb in permdesc_readFrameBuffer English.
There were too many verbs in this sentence. Ideally this patch should
also be applied to some of the other languages. German seems OK but
French not - and that's as far as my linguistic abilities go. I
haven't fixed the French since I'm only 99% sure I wouldn't mess it up!

I chose "read" not "use" because this permission does not allow
writing to the frame buffer; it currently only controls the
screenshotting functionality inside SurfaceFlinger.
2009-02-12 10:04:44 +00:00
The Android Open Source Project
d24b8183b9 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:00 -08:00
Jean-Baptiste Queru
eef3c54deb Fix 1855: Restore constants to pre-cupcake values.
Since some of those constants are used in the persistent database,
modifying them for cupcake meant that the new code was getting
confused by the old persistified data after an upgrade to cupcake,
teh most visible symptom being that downloads that had been initiated
from the browser would re-appear in the notifications.
2009-02-06 13:05:07 -08:00
Jean-Baptiste Queru
d816d082e1 Remove old (unused) download manager APIs 2009-02-02 15:59:47 -08:00
Mike Hearn
adcd2ed8d2 Add some documentation to WebView, WebSettings and CookieSyncManager.
Double-tree rendering is deprecated.
2009-01-29 08:40:33 -08:00
The Android Open Source Project
94cbba0933 Merge branch 'cupcake' 2009-01-22 00:16:08 -08:00
The Android Open Source Project
f1e484acb5 auto import from //branches/cupcake/...@127436 2009-01-22 00:13:42 -08:00
Jean-Baptiste Queru
06323a692e Introduce new names for the download manager API fields.
The new names will allow for better consistency and better API
documentation if/when they're made public in the SDK.

This will be followed by a later change that removes the old names
2009-01-21 08:02:32 -08:00
The Android Open Source Project
7547115694 Merge branch 'cupcake' 2009-01-20 14:05:35 -08:00
The Android Open Source Project
22f7dfd234 auto import from //branches/cupcake/...@127101 2009-01-20 14:03:58 -08:00
android-build SharedAccount
0fda766e53 Merge branch 'cupcake' 2009-01-15 16:16:01 -08:00
The Android Open Source Project
9266c558bf auto import from //branches/cupcake/...@126645 2009-01-15 16:12:10 -08:00
The Android Open Source Project
e570a0fa86 auto import from //branches/cupcake/...@125939 2009-01-09 18:24:37 -08:00
The Android Open Source Project
b798689749 auto import from //branches/cupcake/...@125939 2009-01-09 17:51:23 -08:00
Jon Larimer
9bdf576615 proposed fix for issue #1703: http://code.google.com/p/android/issues/detail?id=1703 2009-01-02 18:55:15 -05:00
Jean-Baptiste Queru
e1dc1d6dc8 Merge commit 'remotes/korg/cupcake'
Conflicts:
	core/java/com/android/internal/app/AlertController.java
	core/res/res/values/strings.xml
	media/java/android/media/AudioSystem.java
	services/java/com/android/server/LocationManagerService.java
2008-12-19 08:31:54 -08:00
The Android Open Source Project
f013e1afd1 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:43 -08:00
Nick Pelly
78233dd912 Add bluetooth include path.
Fixes build when BOARD_HAVE_BLUETOOTH := true

Signed-off-by: Nick Pelly <npelly@google.com>
2008-11-24 16:18:38 -08:00
Jeyprakash
5aa6bb1edd Avoid using the 'sample' syntax to refer to Phone Application, in the core.
This adds a build dependency on the PhoneApp, and the core build fails on
configurations that do not have Phone Application.

Build Error:
frameworks/base/core/java/android/widget/TwoLineListItem.java:31: error 2: Error reading file for include "" packages/apps/Phone/res/layout/dialer_list_item.xml
2008-11-22 15:00:24 -08:00
Tom Gibara
24847f3517 Fix for bug 1185.
The constructor IntentFilter(String action, String dataType) ignores the action parameter.
This change ensures that it is correctly added to the set of actions.
2008-11-04 02:25:42 +00:00
Evan JIANG
ae499953ce Fix issue 1164: Incorrect organization type label in contacts
http://code.google.com/p/android/issues/detail?id=1164
The organization definition in string-array resource is different from
android.provider.Contacts.OrganizationColumns
2008-11-02 09:47:52 +08:00
Muthu Ramadoss
a895b79ccf BUG FIX - http://code.google.com/p/android/issues/detail?id=955
Fixed AlertDialog.Builder setMultiChoiceItems losing checked state for invisible items in UI
when backed by a Cursor. Please refer to the issue tracker for more details.
2008-10-31 14:39:49 +05:30
Jean-Baptiste Queru
1ef4564d4a Change values of ACTION_POWER constants to better match established practice.
Trim code to 100 lines to match style guide.
2008-10-24 11:49:25 -07:00
Cliff Spradlin
fda6fae156 Added broadcasts for external power events. 2008-10-23 10:24:41 -07:00
The Android Open Source Project
54b6cfa9a9 Initial Contribution 2008-10-21 07:00:00 -07:00