aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager/libs/sdkuilib
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2011-07-29 12:49:38 -0700
committerRaphael Moll <ralf@android.com>2011-07-29 13:28:34 -0700
commit31daf2e30801666edf07fa7bea88f2912adc3c58 (patch)
treedcd4d94ba273ec61faa19fca1fec9c30f6dbfccc /sdkmanager/libs/sdkuilib
parent5c7d53f8dcb78d9e4ba353ec768866e82479698e (diff)
downloadsdk-31daf2e30801666edf07fa7bea88f2912adc3c58.zip
sdk-31daf2e30801666edf07fa7bea88f2912adc3c58.tar.gz
sdk-31daf2e30801666edf07fa7bea88f2912adc3c58.tar.bz2
Make SDK Manager2 window app-modal.
SDK Bug: 5097338 Change-Id: I3969ac6920e70513723a6fb917be520b59ebd7f1
Diffstat (limited to 'sdkmanager/libs/sdkuilib')
-rwxr-xr-xsdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AvdManagerWindowImpl1.java2
-rwxr-xr-xsdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl1.java2
-rwxr-xr-xsdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl2.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AvdManagerWindowImpl1.java b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AvdManagerWindowImpl1.java
index 3f0baed..096c2d6 100755
--- a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AvdManagerWindowImpl1.java
+++ b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AvdManagerWindowImpl1.java
@@ -142,7 +142,7 @@ public class AvdManagerWindowImpl1 {
}
private void createShell() {
- mShell = new Shell(mParentShell, SWT.SHELL_TRIM);
+ mShell = new Shell(mParentShell, SWT.SHELL_TRIM | SWT.APPLICATION_MODAL);
mShell.addDisposeListener(new DisposeListener() {
public void widgetDisposed(DisposeEvent e) {
onAndroidSdkUpdaterDispose(); //$hide$ (hide from SWT designer)
diff --git a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl1.java b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl1.java
index 58072ca..e4980e5 100755
--- a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl1.java
+++ b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl1.java
@@ -127,7 +127,7 @@ public class SdkUpdaterWindowImpl1 implements ISdkUpdaterWindow {
}
private void createShell() {
- mShell = new Shell(mParentShell, SWT.SHELL_TRIM);
+ mShell = new Shell(mParentShell, SWT.SHELL_TRIM | SWT.APPLICATION_MODAL);
mShell.addDisposeListener(new DisposeListener() {
public void widgetDisposed(DisposeEvent e) {
onAndroidSdkUpdaterDispose(); //$hide$ (hide from SWT designer)
diff --git a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl2.java b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl2.java
index e534061..8c469c2 100755
--- a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl2.java
+++ b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/SdkUpdaterWindowImpl2.java
@@ -154,7 +154,7 @@ public class SdkUpdaterWindowImpl2 implements ISdkUpdaterWindow {
}
private void createShell() {
- mShell = new Shell(mParentShell, SWT.SHELL_TRIM);
+ mShell = new Shell(mParentShell, SWT.SHELL_TRIM | SWT.APPLICATION_MODAL);
mShell.addDisposeListener(new DisposeListener() {
public void widgetDisposed(DisposeEvent e) {
onAndroidSdkUpdaterDispose(); //$hide$ (hide from SWT designer)