Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-Android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
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
Casanowow Life for love
VLC-Android
Commits
c50ea3b3
Commit
c50ea3b3
authored
Mar 01, 2014
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SearchFragment: fix a crash with old APIs
parent
46e3815a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
vlc-android/src/org/videolan/vlc/gui/SearchFragment.java
vlc-android/src/org/videolan/vlc/gui/SearchFragment.java
+4
-3
No files found.
vlc-android/src/org/videolan/vlc/gui/SearchFragment.java
View file @
c50ea3b3
...
...
@@ -30,9 +30,10 @@ import org.videolan.vlc.MediaLibrary;
import
org.videolan.vlc.R
;
import
org.videolan.vlc.gui.video.VideoPlayerActivity
;
import
com.actionbarsherlock.app.SherlockListFragment
;
import
android.content.Context
;
import
android.os.Bundle
;
import
android.support.v4.app.ListFragment
;
import
android.text.Editable
;
import
android.text.TextWatcher
;
import
android.view.KeyEvent
;
...
...
@@ -46,7 +47,7 @@ import android.widget.ListView;
import
android.widget.TextView
;
import
android.widget.TextView.OnEditorActionListener
;
public
class
SearchFragment
extends
ListFragment
{
public
class
SearchFragment
extends
Sherlock
ListFragment
{
public
final
static
String
TAG
=
"VLC/SearchActivit"
;
...
...
@@ -57,7 +58,7 @@ public class SearchFragment extends ListFragment {
@Override
public
View
onCreateView
(
LayoutInflater
inflater
,
ViewGroup
container
,
Bundle
savedInstanceState
)
{
get
Activity
().
getActionBar
().
setTitle
(
getResources
().
getString
(
R
.
string
.
search
)
);
get
SherlockActivity
().
getSupportActionBar
().
setTitle
(
R
.
string
.
search
);
View
v
=
inflater
.
inflate
(
R
.
layout
.
search
,
container
,
false
);
...
...
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