am c39a26b6: Fix bad automatic dependency computations

Merge commit 'c39a26b6f52d189a0bec85cbe168006454b14a9b'

* commit 'c39a26b6f52d189a0bec85cbe168006454b14a9b':
  Fix bad automatic dependency computations
  Remove duplicate initialization in AdtPlugin.
This commit is contained in:
David 'Digit' Turner
2009-05-14 15:39:58 -07:00
committed by The Android Open Source Project
3 changed files with 5 additions and 21 deletions

View File

@@ -1122,22 +1122,6 @@ public class AdtPlugin extends AbstractUIPlugin {
"/icons/android.png"); //$NON-NLS-1$
sAndroidLogo = sAndroidLogoDesc.createImage();
// get the stream to write in the android console.
MessageConsole androidConsole = AdtPlugin.getDefault().getAndroidConsole();
mAndroidConsoleStream = androidConsole.newMessageStream();
mAndroidConsoleErrorStream = androidConsole.newMessageStream();
mRed = new Color(getDisplay(), 0xFF, 0x00, 0x00);
// because this can be run, in some cases, by a non ui thread, and beccause
// changing the console properties update the ui, we need to make this change
// in the ui thread.
getDisplay().asyncExec(new Runnable() {
public void run() {
mAndroidConsoleErrorStream.setColor(mRed);
}
});
// Add a resource listener to handle compiled resources.
IWorkspace ws = ResourcesPlugin.getWorkspace();
mResourceMonitor = ResourceMonitor.startMonitoring(ws);