4312 Commits

Author SHA1 Message Date
Dianne Hackborn
5ba90a0c4c Automated import from //branches/cupcake/...@141723,141723 2009-03-24 18:15:17 -07:00
Eric Shienbrood
f93f02fb8a Automated import from //branches/master/...@140680,140680 2009-03-24 18:14:17 -07:00
Eric Shienbrood
d4c5f8919b Automated import from //branches/donutburger/...@140679,140679 2009-03-24 18:13:20 -07:00
Nick Pelly
610704c159 Automated import from //branches/cupcake/...@141693,141693 2009-03-24 18:10:51 -07:00
Bjorn Bringert
f64aff1a20 Automated import from //branches/master/...@140582,140582 2009-03-24 17:59:45 -07:00
Bjorn Bringert
9e728e082e Automated import from //branches/donutburger/...@140581,140581 2009-03-24 17:57:22 -07:00
Jason Parekh
8b1d1e345c Automated import from //branches/master/...@140561,140561 2009-03-24 17:56:00 -07:00
Jason Parekh
de7c071e73 Automated import from //branches/donutburger/...@140559,140559 2009-03-24 17:54:03 -07:00
Grace Kloba
e0e37bc2b4 Automated import from //branches/master/...@140426,140426 2009-03-24 17:39:42 -07:00
Mike Ritter
0859d0b631 Automated import from //branches/master/...@140419,140419 2009-03-24 17:39:14 -07:00
Grace Kloba
ac9de62d2b Automated import from //branches/donutburger/...@140424,140424 2009-03-24 17:37:48 -07:00
Mike Ritter
cb8bf488c1 Automated import from //branches/donutburger/...@140418,140418 2009-03-24 17:37:19 -07:00
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