Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
build
Commits
b84049ab
Commit
b84049ab
authored
14 years ago
by
Romain Guy
Browse files
Options
Download
Email Patches
Plain Diff
Add functions to press home, back and menu keys.
Change-Id: I54a28eb75463d5b5f8c9e2f216983aac67be0fa7
parent
25a04dad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
envsetup.sh
envsetup.sh
+15
-0
No files found.
envsetup.sh
View file @
b84049ab
...
...
@@ -1002,6 +1002,21 @@ function isviewserverstarted()
adb shell service call window 3
}
function
key_home
()
{
adb shell input keyevent 3
}
function
key_back
()
{
adb shell input keyevent 4
}
function
key_menu
()
{
adb shell input keyevent 82
}
function
smoketest
()
{
if
[
!
"
$ANDROID_PRODUCT_OUT
"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment