This file contains hidden or 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
| /** | |
| * WHAT THIS IS | |
| * | |
| * Keeps your work calendar in sync with your personal calendar by creating "Busy" blocks | |
| * on the work calendar. A time-based trigger can run the sync every 15 minutes. | |
| * | |
| * HOW TO INSTALL | |
| * | |
| * - Share your personal calendar with your work account so it appears in Calendar (often | |
| * under "Other calendars"; "See all event details" helps guest status work correctly). |
This file contains hidden or 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
| import android.os.Build; | |
| /** | |
| * Utility methods related to physical devies and emulators. | |
| */ | |
| public class DeviceUtil { | |
| public static boolean isEmulator() { | |
| return Build.FINGERPRINT.startsWith("generic") | |
| || Build.FINGERPRINT.startsWith("unknown") |
This file contains hidden or 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
| protected TextViewer(LayoutManager layoutManager, Object constaints, JLabel label) { | |
| this.setLayout(layoutManager); | |
| this.label = label; | |
| this.add(label, constaints); | |
| } |