Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
1.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
indywidualny committed Jun 19, 2015
1 parent 5097aa3 commit f2f84c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
Binary file modified app/app-release.apk
Binary file not shown.
8 changes: 3 additions & 5 deletions app/src/main/java/org/indywidualni/fblite/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.Toast;

import net.grandcentrix.tray.TrayAppPreferences;

import java.io.File;
import java.io.IOException;
import java.lang.ref.WeakReference;
Expand Down Expand Up @@ -322,9 +320,9 @@ public void openFileChooser(ValueCallback<Uri> uploadMsg) {
}

// openFileChooser for other Android versions
/* may not work on KitKat due to lack of implementation of openFileChooser() or onShowFileChooser()
https://code.google.com/p/android/issues/detail?id=62220
however newer versions of KitKat fixed it on some devices */
/** may not work on KitKat due to lack of implementation of openFileChooser() or onShowFileChooser()
* https://code.google.com/p/android/issues/detail?id=62220
* however newer versions of KitKat fixed it on some devices */
public void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType, String capture) {
openFileChooser(uploadMsg, acceptType);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.TaskStackBuilder;
import android.util.Log;
//import android.widget.Toast;
import net.grandcentrix.tray.TrayAppPreferences;
import java.net.URL;
import java.util.ArrayList;
Expand All @@ -26,7 +25,6 @@

public class NotificationsService extends Service {

//private Random rand = new Random();
private Handler handler = null;
private static Runnable runnable = null;

Expand All @@ -42,7 +40,6 @@ public IBinder onBind(Intent intent) {

@Override
public void onCreate() {
//Toast.makeText(this, getString(R.string.facebook) + ": " + getString(R.string.notifications_service_created), Toast.LENGTH_LONG).show();
Log.i("NotificationsService", "********** Service created! **********");

// get shared preferences (for a multi process app) and TrayPreferences
Expand Down Expand Up @@ -196,7 +193,6 @@ private void notifier(String title, String summary, String url) {

// display a notification
NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
//mNotificationManager.notify(rand.nextInt(999), note);
mNotificationManager.notify(0, note);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

// fix for loading fragment into ActionBarActivity
//noinspection ConstantConditions
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
setTheme(R.style.Theme_AppCompat_Preferences);

Expand Down

0 comments on commit f2f84c8

Please sign in to comment.