admin
2021-07-28 c0269fcfa876b9c5cf309b2006462b4d09c5ef95
MDownloadProvider/src/com/mozillaonline/providers/downloads/SystemFacade.java
@@ -10,59 +10,59 @@
    /**
     * @see System#currentTimeMillis()
     */
    public long currentTimeMillis();
    long currentTimeMillis();
    /**
     * @return Network type (as in ConnectivityManager.TYPE_*) of currently active network, or null
     * if there's no active connection.
     */
    public Integer getActiveNetworkType();
    Integer getActiveNetworkType();
    /**
     * @see android.telephony.TelephonyManager#isNetworkRoaming
     */
    public boolean isNetworkRoaming();
    boolean isNetworkRoaming();
    /**
     * @return maximum size, in bytes, of downloads that may go over a mobile connection; or null if
     * there's no limit
     */
    public Long getMaxBytesOverMobile();
    Long getMaxBytesOverMobile();
    /**
     * @return recommended maximum size, in bytes, of downloads that may go over a mobile
     * connection; or null if there's no recommended limit.  The user will have the option to bypass
     * this limit.
     */
    public Long getRecommendedMaxBytesOverMobile();
    Long getRecommendedMaxBytesOverMobile();
    /**
     * Send a broadcast intent.
     */
    public void sendBroadcast(Intent intent);
    void sendBroadcast(Intent intent);
    /**
     * Returns true if the specified UID owns the specified package name.
     */
    public boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException;
    boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException;
    /**
     * Post a system notification to the NotificationManager.
     */
    public void postNotification(long id, Notification notification);
    void postNotification(long id, Notification notification);
    /**
     * Cancel a system notification.
     */
    public void cancelNotification(long id);
    void cancelNotification(long id);
    /**
     * Cancel all system notifications.
     */
    public void cancelAllNotifications();
    void cancelAllNotifications();
    /**
     * Start a thread.
     */
    public void startThread(Thread thread);
    void startThread(Thread thread);
}