-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade firebase aars to match android bom 32.7.0 and add new android…
… api usage to emulation layer
- Loading branch information
Showing
11 changed files
with
82 additions
and
11 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=0.2.0 | ||
version=0.3.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package android.content; | ||
|
||
public abstract class ContentProvider { | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package android.os; | ||
|
||
public class StrictMode { | ||
|
||
public static void setThreadPolicy(ThreadPolicy policy) { | ||
|
||
} | ||
|
||
public static final class ThreadPolicy { | ||
public static final class Builder { | ||
public Builder detectAll() { | ||
return this; | ||
} | ||
public Builder detectNetwork() { | ||
return this; | ||
} | ||
public Builder detectResourceMismatches() { | ||
return this; | ||
} | ||
public Builder detectUnbufferedIo() { | ||
return this; | ||
} | ||
public Builder penaltyLog() { | ||
return this; | ||
} | ||
public ThreadPolicy build() { | ||
return new ThreadPolicy(); | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package android.os; | ||
|
||
import java.lang.management.ManagementFactory; | ||
|
||
public final class SystemClock { | ||
public static long elapsedRealtime() { | ||
return ManagementFactory.getRuntimeMXBean().getUptime(); | ||
} | ||
public static long uptimeMillis() { | ||
return ManagementFactory.getRuntimeMXBean().getUptime(); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package android.os; | ||
|
||
public final class Trace { | ||
public static void beginSection(String sectionName) {} | ||
public static void endSection() {} | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/com/google/firebase/annotations/concurrent/Background.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.google.firebase.annotations.concurrent; | ||
|
||
public @interface Background { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/com/google/firebase/annotations/concurrent/Blocking.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.google.firebase.annotations.concurrent; | ||
|
||
public @interface Blocking { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/com/google/firebase/annotations/concurrent/Lightweight.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.google.firebase.annotations.concurrent; | ||
|
||
public @interface Lightweight { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/com/google/firebase/annotations/concurrent/UiThread.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.google.firebase.annotations.concurrent; | ||
|
||
public @interface UiThread { | ||
} |