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
8779427a
Commit
8779427a
authored
Jul 01, 2016
by
Max Lv
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:shadowsocks/shadowsocks-android
parents
67707c0f
ba8efb96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/main/AndroidManifest.xml
src/main/AndroidManifest.xml
+2
-6
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
+2
-0
No files found.
src/main/AndroidManifest.xml
View file @
8779427a
...
...
@@ -56,7 +56,6 @@
<activity
android:name=
".ShadowsocksRunnerActivity"
android:process=
":bg"
android:theme=
"@android:style/Theme.NoDisplay"
android:excludeFromRecents=
"true"
android:launchMode=
"singleTask"
>
...
...
@@ -100,7 +99,6 @@
android:launchMode=
"singleTask"
/>
<activity
android:name=
".TaskerActivity"
android:process=
":bg"
android:icon=
"@drawable/ic_launcher"
>
<intent-filter>
<action
android:name=
"com.twofortyfouram.locale.intent.action.EDIT_SETTING"
/>
...
...
@@ -108,7 +106,6 @@
</activity>
<activity
android:name=
".ShadowsocksQuickSwitchActivity"
android:process=
":bg"
android:launchMode=
"singleInstance"
android:excludeFromRecents=
"true"
android:taskAffinity=
""
...
...
@@ -121,7 +118,6 @@
<service
android:name=
".ShadowsocksRunnerService"
android:process=
":bg"
android:exported=
"false"
>
</service>
...
...
@@ -151,13 +147,13 @@
</intent-filter>
</service>
<receiver
android:name=
".BootReceiver"
android:enabled=
"false"
android:process=
":bg"
>
<receiver
android:name=
".BootReceiver"
android:enabled=
"false"
>
<intent-filter>
<action
android:name=
"android.intent.action.BOOT_COMPLETED"
/>
</intent-filter>
</receiver>
<receiver
android:name=
".TaskerReceiver"
tools:ignore=
"ExportedReceiver"
android:process=
":bg"
>
<receiver
android:name=
".TaskerReceiver"
tools:ignore=
"ExportedReceiver"
>
<intent-filter>
<action
android:name=
"com.twofortyfouram.locale.intent.action.FIRE_SETTING"
/>
</intent-filter>
...
...
src/main/scala/com/github/shadowsocks/Shadowsocks.scala
View file @
8779427a
...
...
@@ -363,6 +363,8 @@ class Shadowsocks extends AppCompatActivity with ServiceBoundContext {
field
.
setAccessible
(
true
)
val
title
=
field
.
get
(
toolbar
).
asInstanceOf
[
TextView
]
title
.
setFocusable
(
true
)
title
.
setGravity
(
0x10
)
title
.
getLayoutParams
.
height
=
ViewGroup
.
LayoutParams
.
MATCH_PARENT
;
title
.
setOnClickListener
(
_
=>
startActivity
(
new
Intent
(
this
,
classOf
[
ProfileManagerActivity
])))
val
typedArray
=
obtainStyledAttributes
(
Array
(
R
.
attr
.
selectableItemBackgroundBorderless
))
title
.
setBackgroundResource
(
typedArray
.
getResourceId
(
0
,
0
))
...
...
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