Add menu + bigger icons for MacOS. Also added name to shell (macos also)

This commit is contained in:
Xavier Ducrohet
2009-06-08 18:27:03 -07:00
parent 34fb7ecf1b
commit 66c2833c5d
5 changed files with 18 additions and 8 deletions

View File

@@ -17,6 +17,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_JAVA_RESOURCE_DIRS := .
LOCAL_JAVA_LIBRARIES := \
androidprefs

View File

@@ -279,7 +279,7 @@ public final class SdkConstants {
* @return one of {@link #PLATFORM_WINDOWS}, {@link #PLATFORM_DARWIN},
* {@link #PLATFORM_LINUX} or {@link #PLATFORM_UNKNOWN}.
*/
private static int currentPlatform() {
public static int currentPlatform() {
String os = System.getProperty("os.name"); //$NON-NLS-1$
if (os.startsWith("Mac OS")) { //$NON-NLS-1$
return PLATFORM_DARWIN;