Skip to content

Commit 6be68d5

Browse files
committed
Merge remote-tracking branch 'firebase/version-1.2.0-dev' into db-tests
# Conflicts: # database/src/main/java/com/firebase/ui/database/FirebaseArray.java
2 parents 492b276 + 6b0c1a6 commit 6be68d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+932
-737
lines changed

app/build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
apply plugin: 'com.android.application'
22
apply plugin: 'com.neenbedankt.android-apt'
3-
apply from: "../constants.gradle"
43
apply from: '../library/quality/quality.gradle'
54

65
android {
@@ -18,7 +17,7 @@ android {
1817
buildTypes {
1918
release {
2019
minifyEnabled true
21-
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
20+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
2221

2322
// For the purposes of the sample, allow testing of a proguarded release build
2423
// using the debug key
@@ -43,9 +42,9 @@ dependencies {
4342
// The following dependencies are not required to use the Firebase UI library.
4443
// They are used to make some aspects of the demo app implementation simpler for
4544
// demonstrative purposes, and you may find them useful in your own apps; YMMV.
46-
compile 'pub.devrel:easypermissions:0.2.1'
47-
compile 'com.jakewharton:butterknife:8.4.0'
48-
apt 'com.jakewharton:butterknife-compiler:8.4.0'
45+
compile 'pub.devrel:easypermissions:0.3.0'
46+
compile 'com.jakewharton:butterknife:8.5.1'
47+
apt 'com.jakewharton:butterknife-compiler:8.5.1'
4948
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5'
5049
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
5150
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'

app/proguard-rules.pro

Lines changed: 0 additions & 30 deletions
This file was deleted.

app/src/main/java/com/firebase/uidemo/auth/AuthUiActivity.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ public class AuthUiActivity extends AppCompatActivity {
102102
@BindView(R.id.smartlock_enabled)
103103
CheckBox mEnableSmartLock;
104104

105+
@BindView(R.id.allow_new_email_accounts)
106+
CheckBox mAllowNewEmailAccounts;
107+
105108
@BindView(R.id.facebook_scopes_label)
106109
TextView mFacebookScopesLabel;
107110

@@ -183,6 +186,7 @@ public void signIn(View view) {
183186
.setProviders(getSelectedProviders())
184187
.setTosUrl(getSelectedTosUrl())
185188
.setIsSmartLockEnabled(mEnableSmartLock.isChecked())
189+
.setAllowNewEmailAccounts(mAllowNewEmailAccounts.isChecked())
186190
.build(),
187191
RC_SIGN_IN);
188192
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
package com.firebase.uidemo.database;
2+
3+
public class Chat {
4+
private String mName;
5+
private String mMessage;
6+
private String mUid;
7+
8+
public Chat() {
9+
// Needed for Firebase
10+
}
11+
12+
public Chat(String name, String message, String uid) {
13+
mName = name;
14+
mMessage = message;
15+
mUid = uid;
16+
}
17+
18+
public String getName() {
19+
return mName;
20+
}
21+
22+
public void setName(String name) {
23+
mName = name;
24+
}
25+
26+
public String getMessage() {
27+
return mMessage;
28+
}
29+
30+
public void setMessage(String message) {
31+
mMessage = message;
32+
}
33+
34+
public String getUid() {
35+
return mUid;
36+
}
37+
38+
public void setUid(String uid) {
39+
mUid = uid;
40+
}
41+
}

0 commit comments

Comments
 (0)