Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
1155c731
Commit
1155c731
authored
Sep 29, 2013
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #37
parent
58dc3e50
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
13 deletions
+1
-13
src/main/res/drawable-hdpi/menu_arrow.png
src/main/res/drawable-hdpi/menu_arrow.png
+0
-0
src/main/res/drawable-mdpi/menu_arrow.png
src/main/res/drawable-mdpi/menu_arrow.png
+0
-0
src/main/res/drawable-xhdpi/menu_arrow.png
src/main/res/drawable-xhdpi/menu_arrow.png
+0
-0
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
+1
-13
No files found.
src/main/res/drawable-hdpi/menu_arrow.png
0 → 100644
View file @
1155c731
1.54 KB
src/main/res/drawable-mdpi/menu_arrow.png
0 → 100644
View file @
1155c731
869 Bytes
src/main/res/drawable-xhdpi/menu_arrow.png
0 → 100644
View file @
1155c731
1.68 KB
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
View file @
1155c731
...
...
@@ -574,6 +574,7 @@ class Shadowsocks
Shadowsocks
.
currentProfile
=
profileManager
.
reload
(
id
)
updatePreferenceScreen
()
menuAdapter
.
setActiveId
(
id
)
menuAdapter
.
notifyDataSetChanged
()
}
},
600
)
...
...
@@ -637,19 +638,6 @@ class Shadowsocks
buf
.
toList
}
override
def
onKeyDown
(
keyCode
:
Int
,
event
:
KeyEvent
)
:
Boolean
=
{
if
(
keyCode
==
KeyEvent
.
KEYCODE_BACK
&&
event
.
getRepeatCount
==
0
)
{
try
{
finish
()
}
catch
{
case
ignore
:
Exception
=>
{
}
}
return
true
}
super
.
onKeyDown
(
keyCode
,
event
)
}
override
def
onOptionsItemSelected
(
item
:
MenuItem
)
:
Boolean
=
{
item
.
getItemId
match
{
case
android
.
R
.
id
.
home
=>
{
...
...
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