diff options
author | Umashankar Godachi <umasha@codeaurora.org> | 2016-03-21 18:32:22 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2016-08-24 08:17:56 -0600 |
commit | d2d527b90eba2dd202c3acda3361dea8fda67000 (patch) | |
tree | fbf4563be4e85e843d220e45447c8573588a18f2 | |
parent | a62a93e456318d826a2cfb5bb6af9a346125bf60 (diff) | |
download | android_packages_apps_Stk-d2d527b90eba2dd202c3acda3361dea8fda67000.tar.gz android_packages_apps_Stk-d2d527b90eba2dd202c3acda3361dea8fda67000.tar.bz2 android_packages_apps_Stk-d2d527b90eba2dd202c3acda3361dea8fda67000.zip |
Fix to add Help menu option for StkInputActivity.
The current StkInputActivity code adds the end session
and help menu options which will work only for hardware
menu key.On the device where hardware menu key does not
exist, there wont be any option for user to access the
end session and help options.
Fix: In StkInputActivity add the action bar support
which will show end session and help options in the
overflow menu.
Change-Id: Iee18b62687b840014dd983c994d46c6dd26df168
CRs-Fixed: 985491
-rw-r--r-- | src/com/android/stk/StkInputActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java index e8d6a4d..7c2be9e 100644 --- a/src/com/android/stk/StkInputActivity.java +++ b/src/com/android/stk/StkInputActivity.java @@ -137,8 +137,7 @@ public class StkInputActivity extends Activity implements View.OnClickListener, CatLog.d(LOG_TAG, "onCreate - mIsResponseSent[" + mIsResponseSent + "]"); // Set the layout for this activity. - // Disable the title for Window. We will set the title later in the layout. - requestWindowFeature(Window.FEATURE_NO_TITLE); + requestWindowFeature(Window.FEATURE_ACTION_BAR); setContentView(R.layout.stk_input); // Initialize members |