This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tylerjroach.example.retrofit2; | |
import com.tylerjroach.example.BuildConfig; | |
import com.tylerjroach.example.util.Constants; | |
import okhttp3.OkHttpClient; | |
import okhttp3.logging.HttpLoggingInterceptor; | |
import retrofit.RestAdapter; | |
import retrofit2.Retrofit; | |
import retrofit2.converter.gson.GsonConverterFactory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by tylerjroach on 8/31/16. | |
*/ | |
public class CameraPermissionsDialogFragment extends DialogFragment{ | |
private final int PERMISSION_REQUEST_CODE = 11; | |
private Context context; | |
private CameraPermissionsGrantedCallback listener; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2012 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The OnePlus One phone is currently broken for Stre.am using the default "Hexo" theme. This is due to crashes anytime progressDialog.show() or dialog.show() is called. I can assure you the dialogs are being properly created as it works on every other phone, as well as using a different theme than "Hexo" on the OnePlus One. I'm not sure where the root cause lies. I actually extracted out the "Hexo" theme from the OnePlus One and placed it on a CM11 Galaxy S3 and it didn't cause any crashes. | |
I tried to build a test app to replicate the issue, but I am unable to. The only thing I think could be the cause would be that we are using Multidex due to many large multimedia libraries in our app. I wouldn't think this would cause an issue, but this may be something to investigate. I found other people were having an issue here: | |
https://github.com/WhisperSystems/RedPhone/issues/332 | |
Here are some stacktraces that I've pulled. | |
//Caused from a progress dialog | |
android.view.InflateException: Binary XML file line #38: Erro |