From 93e462b79d6896da10e15e74c5aec6beb098dddf Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Tue, 15 Sep 2009 22:50:40 -0700 Subject: [PATCH] Implement issue #1780928: Need support hiding nav keys. This implements support for devices whose hardware can hide their navigation keys. It works much like the existing keyboardHidden configuration, and for compatibility uses the same configuration change bit. Also add FLAG_TURN_ON_SCREEN for windows, which has the system cause the screen to be turned on when the window is displayed. Great fun when used with FLAG_SHOW_WHEN_LOCKED! Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a --- api/current.xml | 54 ++++++++++++++++++ .../java/android/content/pm/ActivityInfo.java | 4 +- .../android/content/res/Configuration.java | 32 ++++++++++- core/java/android/view/WindowManager.java | 6 ++ core/res/res/values/attrs_manifest.xml | 6 +- core/res/res/values/config.xml | 32 ++++++++--- .../guide/topics/resources/resources-i18n.jd | 10 +++- include/utils/ResourceTypes.h | 33 ++++++++++- .../android/server/WindowManagerService.java | 22 +++++++- tools/aapt/AaptAssets.cpp | 55 ++++++++++++++++++- tools/aapt/AaptAssets.h | 3 + 11 files changed, 241 insertions(+), 16 deletions(-) diff --git a/api/current.xml b/api/current.xml index 6174bff7fbeb2..3c6eb9b7ca49d 100644 --- a/api/current.xml +++ b/api/current.xml @@ -43786,6 +43786,39 @@ visibility="public" > + + + + + + + + + +