// Path: src/us/shandian/blacklight/support/Utility.java
// public static boolean hasSmartBar() {
//     try {
//         Method method = Class.forName("android.os.Build").getMethod("hasSmartBar");
//         return ((Boolean) method.invoke(null)).booleanValue();
//     } catch (Exception e) {
//     }
// 
//     if (Build.DEVICE.equals("mx2") || Build.DEVICE.equals("mx3")) {
//         return true;
//     } else if (Build.DEVICE.equals("mx") || Build.DEVICE.equals("m9")) {
//         return false;
//     }
// 
//     return false;
// }


import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import us.shandian.blacklight.R;
import static us.shandian.blacklight.support.Utility.hasSmartBar;
package us.shandian.blacklight.ui.statuses;




public class HomeTimeLineFragment extends TimeLineFragment{

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
        setHasOptionsMenu(true);
        return super.onCreateView(inflater, container, savedInstanceState);
    }


    @Override
    public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){
// Path: src/us/shandian/blacklight/support/Utility.java
// public static boolean hasSmartBar() {
//     try {
//         Method method = Class.forName("android.os.Build").getMethod("hasSmartBar");
//         return ((Boolean) method.invoke(null)).booleanValue();
//     } catch (Exception e) {
//     }
// 
//     if (Build.DEVICE.equals("mx2") || Build.DEVICE.equals("mx3")) {
//         return true;
//     } else if (Build.DEVICE.equals("mx") || Build.DEVICE.equals("m9")) {
//         return false;
//     }
// 
//     return false;
// }


// Path: src/us/shandian/blacklight/ui/statuses/HomeTimeLineFragment.java
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import us.shandian.blacklight.R;
import static us.shandian.blacklight.support.Utility.hasSmartBar;

package us.shandian.blacklight.ui.statuses;




public class HomeTimeLineFragment extends TimeLineFragment{

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
        setHasOptionsMenu(true);
        return super.onCreateView(inflater, container, savedInstanceState);
    }


    @Override
    public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){
        if (hasSmartBar()){