diff options
author | Xin Li <delphij@google.com> | 2018-08-13 13:00:59 -0700 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2018-08-13 13:00:59 -0700 |
commit | 5587329cae57d1cda2383c08b6ca68b077c17ce3 (patch) | |
tree | cc37a57dc498d699387576425e578e351127761b | |
parent | 26c672c988c1ac9fdc259b7087e084d019a4004f (diff) | |
parent | 27087092be7e1d6037f3e9fd9335c731357bda20 (diff) | |
download | android-pie-temp.tar.gz |
Merge stage-dr1-aosp-master into stage-aosp-masterpie-temp
Bug: 112535855
Change-Id: Ia449b546a99baca42895da5a531fde11b3057a59
-rw-r--r-- | deprecated/wearable/wear/AgendaData/.gitignore (renamed from wearable/wear/AgendaData/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/.gitignore (renamed from wearable/wear/AgendaData/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/AgendaData/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java (renamed from wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java (renamed from wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java (renamed from wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/AgendaData/Application/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 7609 -> 7609 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/AgendaData/Application/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 4167 -> 4167 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-nodpi/nobody.png (renamed from wearable/wear/AgendaData/Application/src/main/res/drawable-nodpi/nobody.png) | bin | 4059 -> 4059 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/AgendaData/Application/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 11578 -> 11578 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/AgendaData/Application/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 20247 -> 20247 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/res/layout/main.xml (renamed from wearable/wear/AgendaData/Application/src/main/res/layout/main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Application/src/main/res/values/strings.xml (renamed from wearable/wear/AgendaData/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/CONTRIB.md (renamed from wearable/wear/AgendaData/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/.gitignore (renamed from wearable/wear/AgendaData/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/AgendaData/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/Constants.java (renamed from wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/DeleteService.java (renamed from wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/DeleteService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/HomeListenerService.java (renamed from wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/HomeListenerService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 7609 -> 7609 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_menu_delete.png (renamed from wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_menu_delete.png) | bin | 1413 -> 1413 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 4167 -> 4167 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_menu_delete.png (renamed from wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_menu_delete.png) | bin | 967 -> 967 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 11578 -> 11578 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_menu_delete.png (renamed from wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_menu_delete.png) | bin | 1880 -> 1880 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 20247 -> 20247 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_menu_delete.png (renamed from wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_menu_delete.png) | bin | 2989 -> 2989 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/AgendaData/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/build.gradle (renamed from wearable/wear/AgendaData/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/buildSrc/build.gradle (renamed from wearable/wear/AgendaData/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/AgendaData/gradlew (renamed from wearable/wear/AgendaData/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/gradlew.bat (renamed from wearable/wear/AgendaData/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/screenshots/companion_agenda_data.png (renamed from wearable/wear/AgendaData/screenshots/companion_agenda_data.png) | bin | 189298 -> 189298 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/screenshots/dummy_calendar_event.png (renamed from wearable/wear/AgendaData/screenshots/dummy_calendar_event.png) | bin | 52952 -> 52952 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/settings.gradle (renamed from wearable/wear/AgendaData/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/AgendaData/template-params.xml (renamed from wearable/wear/AgendaData/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Application/.gitignore (renamed from wearable/wear/DelayedConfirmation/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Application/proguard-project.txt (renamed from wearable/wear/AgendaData/Application/proguard-project.txt) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/DelayedConfirmation/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java (renamed from wearable/wear/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4584 -> 4584 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2757 -> 2757 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6603 -> 6603 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11788 -> 11788 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml (renamed from wearable/wear/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/values/strings.xml (renamed from wearable/wear/DelayedConfirmation/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/values/wear.xml (renamed from wearable/wear/DelayedConfirmation/Application/src/main/res/values/wear.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/CONTRIB.md (renamed from wearable/wear/DelayedConfirmation/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Wearable/.gitignore (renamed from wearable/wear/DelayedConfirmation/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4584 -> 4584 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2757 -> 2757 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6603 -> 6603 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11788 -> 11788 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/dimens.xml (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/build.gradle (renamed from wearable/wear/DelayedConfirmation/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/buildSrc/build.gradle (renamed from wearable/wear/DelayedConfirmation/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/DelayedConfirmation/gradlew (renamed from wearable/wear/DelayedConfirmation/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/gradlew.bat (renamed from wearable/wear/DelayedConfirmation/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/screenshots/companion_delayed_confirmation.png (renamed from wearable/wear/DelayedConfirmation/screenshots/companion_delayed_confirmation.png) | bin | 111638 -> 111638 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_all.png (renamed from wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_all.png) | bin | 21123 -> 21123 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_top.png (renamed from wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_top.png) | bin | 21178 -> 21178 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_notification.png (renamed from wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_notification.png) | bin | 123940 -> 123940 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/settings.gradle (renamed from wearable/wear/DelayedConfirmation/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/DelayedConfirmation/template-params.xml (renamed from wearable/wear/DelayedConfirmation/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/.gitignore (renamed from wearable/wear/ElizaChat/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/proguard-project.txt (renamed from wearable/wear/DelayedConfirmation/Application/proguard-project.txt) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/ElizaChat/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java (renamed from wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java (renamed from wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java (renamed from wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-hdpi/ic_full_reply.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/drawable-hdpi/ic_full_reply.png) | bin | 2022 -> 2022 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-mdpi/ic_full_reply.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/drawable-mdpi/ic_full_reply.png) | bin | 1261 -> 1261 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-nodpi/bg_eliza.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/drawable-nodpi/bg_eliza.png) | bin | 375313 -> 375313 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-xhdpi/ic_full_reply.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/drawable-xhdpi/ic_full_reply.png) | bin | 1178 -> 1178 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/layout/main.xml (renamed from wearable/wear/ElizaChat/Application/src/main/res/layout/main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/menu/main.xml (renamed from wearable/wear/ElizaChat/Application/src/main/res/menu/main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-hdpi/ic_app_eliza.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/mipmap-hdpi/ic_app_eliza.png) | bin | 7785 -> 7785 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-mdpi/ic_app_eliza.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/mipmap-mdpi/ic_app_eliza.png) | bin | 5019 -> 5019 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xhdpi/ic_app_eliza.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/mipmap-xhdpi/ic_app_eliza.png) | bin | 10888 -> 10888 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxhdpi/ic_app_eliza.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxhdpi/ic_app_eliza.png) | bin | 16592 -> 16592 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxxhdpi/ic_app_eliza.png (renamed from wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxxhdpi/ic_app_eliza.png) | bin | 14515 -> 14515 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/values/dimens.xml (renamed from wearable/wear/ElizaChat/Application/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/Application/src/main/res/values/strings.xml (renamed from wearable/wear/ElizaChat/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/CONTRIB.md (renamed from wearable/wear/ElizaChat/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/build.gradle (renamed from wearable/wear/ElizaChat/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/buildSrc/build.gradle (renamed from wearable/wear/ElizaChat/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/ElizaChat/gradlew (renamed from wearable/wear/ElizaChat/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/gradlew.bat (renamed from wearable/wear/ElizaChat/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/screenshots/companion_eliza_chat.png (renamed from wearable/wear/ElizaChat/screenshots/companion_eliza_chat.png) | bin | 68875 -> 68875 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/screenshots/companion_eliza_chat_response.png (renamed from wearable/wear/ElizaChat/screenshots/companion_eliza_chat_response.png) | bin | 96693 -> 96693 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/screenshots/wearable_eliza_notification.png (renamed from wearable/wear/ElizaChat/screenshots/wearable_eliza_notification.png) | bin | 43519 -> 43519 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/screenshots/wearable_voice_reply.png (renamed from wearable/wear/ElizaChat/screenshots/wearable_voice_reply.png) | bin | 8902 -> 8902 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/settings.gradle (renamed from wearable/wear/ElizaChat/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/ElizaChat/template-params.xml (renamed from wearable/wear/ElizaChat/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Application/.gitignore (renamed from wearable/wear/EmbeddedApp/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Application/proguard-project.txt (renamed from wearable/wear/ElizaChat/Application/proguard-project.txt) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/EmbeddedApp/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Application/src/main/java/com/example/android/wearable/embeddedapp/PhoneActivity.java (renamed from wearable/wear/EmbeddedApp/Application/src/main/java/com/example/android/wearable/embeddedapp/PhoneActivity.java) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/EmbeddedApp/Application/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4584 -> 4584 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/EmbeddedApp/Application/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2757 -> 2757 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6603 -> 6603 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11788 -> 11788 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml (renamed from wearable/wear/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/values/dimens.xml (renamed from wearable/wear/EmbeddedApp/Application/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/values/strings.xml (renamed from wearable/wear/EmbeddedApp/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/CONTRIB.md (renamed from wearable/wear/EmbeddedApp/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Wearable/.gitignore (renamed from wearable/wear/EmbeddedApp/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/EmbeddedApp/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/java/com/example/android/wearable/embeddedapp/WearableActivity.java (renamed from wearable/wear/EmbeddedApp/Wearable/src/main/java/com/example/android/wearable/embeddedapp/WearableActivity.java) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4584 -> 4584 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2757 -> 2757 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6603 -> 6603 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11788 -> 11788 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml (renamed from wearable/wear/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/EmbeddedApp/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/build.gradle (renamed from wearable/wear/EmbeddedApp/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/buildSrc/build.gradle (renamed from wearable/wear/EmbeddedApp/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/EmbeddedApp/gradlew (renamed from wearable/wear/EmbeddedApp/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/gradlew.bat (renamed from wearable/wear/EmbeddedApp/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/screenshots/embedded_wearable_app.png (renamed from wearable/wear/EmbeddedApp/screenshots/embedded_wearable_app.png) | bin | 21543 -> 21543 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/screenshots/phone_app.png (renamed from wearable/wear/EmbeddedApp/screenshots/phone_app.png) | bin | 164943 -> 164943 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/settings.gradle (renamed from wearable/wear/EmbeddedApp/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/EmbeddedApp/template-params.xml (renamed from wearable/wear/EmbeddedApp/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/.gitignore (renamed from wearable/wear/FindMyPhone/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/proguard-project.txt (renamed from wearable/wear/EmbeddedApp/Application/proguard-project.txt) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/FindMyPhone/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java (renamed from wearable/wear/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/FindMyPhone/Application/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 1000 -> 1000 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/FindMyPhone/Application/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 696 -> 696 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/FindMyPhone/Application/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 1578 -> 1578 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/FindMyPhone/Application/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 2975 -> 2975 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/src/main/res/values/strings.xml (renamed from wearable/wear/FindMyPhone/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Application/src/main/res/values/wear.xml (renamed from wearable/wear/FindMyPhone/Application/src/main/res/values/wear.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/CONTRIB.md (renamed from wearable/wear/FindMyPhone/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/.gitignore (renamed from wearable/wear/FindMyPhone/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/FindMyPhone/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java (renamed from wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java (renamed from wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java (renamed from wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/alarm_action_icon.png (renamed from wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/alarm_action_icon.png) | bin | 653 -> 653 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 1000 -> 1000 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 696 -> 696 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 1578 -> 1578 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 2975 -> 2975 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/FindMyPhone/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/build.gradle (renamed from wearable/wear/FindMyPhone/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/buildSrc/build.gradle (renamed from wearable/wear/FindMyPhone/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/FindMyPhone/gradlew (renamed from wearable/wear/FindMyPhone/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/gradlew.bat (renamed from wearable/wear/FindMyPhone/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/screenshots/find_my_phone_activity.png (renamed from wearable/wear/FindMyPhone/screenshots/find_my_phone_activity.png) | bin | 143295 -> 143295 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/screenshots/find_my_phone_notification.png (renamed from wearable/wear/FindMyPhone/screenshots/find_my_phone_notification.png) | bin | 14452 -> 14452 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/settings.gradle (renamed from wearable/wear/FindMyPhone/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/FindMyPhone/template-params.xml (renamed from wearable/wear/FindMyPhone/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/CONTRIB.md (renamed from wearable/wear/Flashlight/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/.gitignore (renamed from wearable/wear/Flashlight/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/Flashlight/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java (renamed from wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java (renamed from wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/Flashlight/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4692 -> 4692 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/Flashlight/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2851 -> 2851 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/Flashlight/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6584 -> 6584 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/Flashlight/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11958 -> 11958 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/main.xml (renamed from wearable/wear/Flashlight/Wearable/src/main/res/layout/main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/party_light.xml (renamed from wearable/wear/Flashlight/Wearable/src/main/res/layout/party_light.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/white_light.xml (renamed from wearable/wear/Flashlight/Wearable/src/main/res/layout/white_light.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/Flashlight/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/build.gradle (renamed from wearable/wear/Flashlight/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/buildSrc/build.gradle (renamed from wearable/wear/Flashlight/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/Flashlight/gradlew (renamed from wearable/wear/Flashlight/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/gradlew.bat (renamed from wearable/wear/Flashlight/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/screenshots/flashlight.png (renamed from wearable/wear/Flashlight/screenshots/flashlight.png) | bin | 5402 -> 5402 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/screenshots/icon-web.png (renamed from wearable/wear/Flashlight/screenshots/icon-web.png) | bin | 77055 -> 77055 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/screenshots/party_mode.gif (renamed from wearable/wear/Flashlight/screenshots/party_mode.gif) | bin | 7329 -> 7329 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/settings.gradle (renamed from wearable/wear/Flashlight/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Flashlight/template-params.xml (renamed from wearable/wear/Flashlight/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/.gitignore (renamed from wearable/wear/Geofencing/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/proguard-project.txt (renamed from wearable/wear/FindMyPhone/Application/proguard-project.txt) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/Geofencing/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java (renamed from wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java (renamed from wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java (renamed from wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java (renamed from wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java (renamed from wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/Geofencing/Application/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 507 -> 507 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/Geofencing/Application/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 580 -> 580 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/Geofencing/Application/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 874 -> 874 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/Geofencing/Application/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 1703 -> 1703 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Application/src/main/res/values/strings.xml (renamed from wearable/wear/Geofencing/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/CONTRIB.md (renamed from wearable/wear/Geofencing/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/.gitignore (renamed from wearable/wear/Geofencing/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/Geofencing/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java (renamed from wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java (renamed from wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java (renamed from wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_action_check_in.png (renamed from wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_action_check_in.png) | bin | 903 -> 903 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 507 -> 507 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/Geofencing/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 580 -> 580 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/android_building.png (renamed from wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/android_building.png) | bin | 535862 -> 535862 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/yerba_buena.png (renamed from wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/yerba_buena.png) | bin | 242342 -> 242342 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/Geofencing/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 874 -> 874 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/Geofencing/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 1703 -> 1703 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/Geofencing/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/build.gradle (renamed from wearable/wear/Geofencing/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/buildSrc/build.gradle (renamed from wearable/wear/Geofencing/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/Geofencing/gradlew (renamed from wearable/wear/Geofencing/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/gradlew.bat (renamed from wearable/wear/Geofencing/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/screenshots/android_building_check_in.png (renamed from wearable/wear/Geofencing/screenshots/android_building_check_in.png) | bin | 107191 -> 107191 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/screenshots/icon-web.png (renamed from wearable/wear/Geofencing/screenshots/icon-web.png) | bin | 1703 -> 1703 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/settings.gradle (renamed from wearable/wear/Geofencing/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Geofencing/template-params.xml (renamed from wearable/wear/Geofencing/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/.gitignore (renamed from wearable/wear/GridViewPager/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/CONTRIB.md (renamed from wearable/wear/GridViewPager/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/.gitignore (renamed from wearable/wear/GridViewPager/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/GridViewPager/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/CustomFragment.java (renamed from wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/CustomFragment.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java (renamed from wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java (renamed from wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/bugdroid.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/bugdroid.png) | bin | 3739 -> 3739 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4584 -> 4584 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_left.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_left.png) | bin | 1253 -> 1253 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_right.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_right.png) | bin | 1244 -> 1244 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_up.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_up.png) | bin | 1583 -> 1583 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/bugdroid.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/bugdroid.png) | bin | 3357 -> 3357 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2757 -> 2757 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_left.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_left.png) | bin | 844 -> 844 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_right.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_right.png) | bin | 831 -> 831 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_up.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_up.png) | bin | 1127 -> 1127 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-nodpi/bugdroid_large.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-nodpi/bugdroid_large.png) | bin | 10089 -> 10089 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6603 -> 6603 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_left.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_left.png) | bin | 556 -> 556 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_right.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_right.png) | bin | 520 -> 520 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_up.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_up.png) | bin | 710 -> 710 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11788 -> 11788 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_1.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_1.png) | bin | 284197 -> 284197 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_2.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_2.png) | bin | 120042 -> 120042 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_3.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_3.png) | bin | 244132 -> 244132 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_4.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_4.png) | bin | 146796 -> 146796 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_5.png (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_5.png) | bin | 117080 -> 117080 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/gradient.xml (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable/gradient.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/shape.xml (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/drawable/shape.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/layout/activity_main.xml (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/layout/activity_main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/layout/custom_fragment.xml (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/layout/custom_fragment.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/values/dimens.xml (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/GridViewPager/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/build.gradle (renamed from wearable/wear/GridViewPager/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/buildSrc/build.gradle (renamed from wearable/wear/GridViewPager/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/GridViewPager/gradlew (renamed from wearable/wear/GridViewPager/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/gradlew.bat (renamed from wearable/wear/GridViewPager/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/screenshots/grid_view_pager.gif (renamed from wearable/wear/GridViewPager/screenshots/grid_view_pager.gif) | bin | 518920 -> 518920 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/settings.gradle (renamed from wearable/wear/GridViewPager/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/GridViewPager/template-params.xml (renamed from wearable/wear/GridViewPager/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/.gitignore (renamed from wearable/wear/Notifications/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/.gitignore (renamed from wearable/wear/Notifications/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/Notifications/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java (renamed from wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/example_large_icon.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/example_large_icon.png) | bin | 4205 -> 4205 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_action.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_action.png) | bin | 2736 -> 2736 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_reply.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_reply.png) | bin | 2022 -> 2022 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_result_open.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_result_open.png) | bin | 1246 -> 1246 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_action.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_action.png) | bin | 1763 -> 1763 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_reply.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_reply.png) | bin | 1261 -> 1261 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_result_open.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_result_open.png) | bin | 915 -> 915 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_1.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_1.png) | bin | 813614 -> 813614 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_2.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_2.png) | bin | 623153 -> 623153 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_3.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_3.png) | bin | 1152914 -> 1152914 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_4.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_4.png) | bin | 817089 -> 817089 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_5.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_5.png) | bin | 650677 -> 650677 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_large.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_large.png) | bin | 655 -> 655 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_small.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_small.png) | bin | 399 -> 399 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/example_big_picture.jpg (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/example_big_picture.jpg) | bin | 414841 -> 414841 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/qr_code.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/qr_code.png) | bin | 12394 -> 12394 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_action.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_action.png) | bin | 1677 -> 1677 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_reply.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_reply.png) | bin | 1178 -> 1178 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_result_open.png (renamed from wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_result_open.png) | bin | 632 -> 632 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable/selected_background.xml (renamed from wearable/wear/Notifications/Application/src/main/res/drawable/selected_background.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/drawable/unselected_background.xml (renamed from wearable/wear/Notifications/Application/src/main/res/drawable/unselected_background.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/layout/activity_main.xml (renamed from wearable/wear/Notifications/Application/src/main/res/layout/activity_main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/layout/background_picker.xml (renamed from wearable/wear/Notifications/Application/src/main/res/layout/background_picker.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/layout/layout_divider.xml (renamed from wearable/wear/Notifications/Application/src/main/res/layout/layout_divider.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/layout/simple_spinner_item.xml (renamed from wearable/wear/Notifications/Application/src/main/res/layout/simple_spinner_item.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-hdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Application/src/main/res/mipmap-hdpi/ic_launcher.png) | bin | 3744 -> 3744 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-mdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Application/src/main/res/mipmap-mdpi/ic_launcher.png) | bin | 2607 -> 2607 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xhdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Application/src/main/res/mipmap-xhdpi/ic_launcher.png) | bin | 5012 -> 5012 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xxhdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Application/src/main/res/mipmap-xxhdpi/ic_launcher.png) | bin | 7142 -> 7142 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png) | bin | 6722 -> 6722 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/values/colors.xml (renamed from wearable/wear/Notifications/Application/src/main/res/values/colors.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/values/dimens.xml (renamed from wearable/wear/Notifications/Application/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/values/strings.xml (renamed from wearable/wear/Notifications/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Application/src/main/res/values/styles.xml (renamed from wearable/wear/Notifications/Application/src/main/res/values/styles.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/CONTRIB.md (renamed from wearable/wear/Notifications/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/.gitignore (renamed from wearable/wear/Notifications/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/Notifications/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java (renamed from wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java (renamed from wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java (renamed from wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java (renamed from wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java (renamed from wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java (renamed from wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_large.png (renamed from wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_large.png) | bin | 655 -> 655 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_small.png (renamed from wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_small.png) | bin | 399 -> 399 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/example_big_picture.jpg (renamed from wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/example_big_picture.jpg) | bin | 414841 -> 414841 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable/wl_circle.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/drawable/wl_circle.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_main.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/layout/activity_main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_notification_display.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/layout/activity_notification_display.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/notif_preset_list_item.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/layout/notif_preset_list_item.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png) | bin | 3744 -> 3744 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png) | bin | 2607 -> 2607 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png) | bin | 5012 -> 5012 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png) | bin | 7142 -> 7142 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png (renamed from wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png) | bin | 6722 -> 6722 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/colors.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/values/colors.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/dimens.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/integers.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/values/integers.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/Notifications/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/build.gradle (renamed from wearable/wear/Notifications/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/buildSrc/build.gradle (renamed from wearable/wear/Notifications/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/Notifications/gradlew (renamed from wearable/wear/Notifications/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/gradlew.bat (renamed from wearable/wear/Notifications/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/basic-menu.png (renamed from wearable/wear/Notifications/screenshots/basic-menu.png) | bin | 8209 -> 8209 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/basic.png (renamed from wearable/wear/Notifications/screenshots/basic.png) | bin | 11548 -> 11548 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/bottom-aligned.png (renamed from wearable/wear/Notifications/screenshots/bottom-aligned.png) | bin | 21453 -> 21453 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/bundle.png (renamed from wearable/wear/Notifications/screenshots/bundle.png) | bin | 14524 -> 14524 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/companion-bottom-aligned.png (renamed from wearable/wear/Notifications/screenshots/companion-bottom-aligned.png) | bin | 251749 -> 251749 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/companion-bundle.png (renamed from wearable/wear/Notifications/screenshots/companion-bundle.png) | bin | 242834 -> 242834 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/companion-content-action.png (renamed from wearable/wear/Notifications/screenshots/companion-content-action.png) | bin | 246241 -> 246241 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/companion-multiple-page.png (renamed from wearable/wear/Notifications/screenshots/companion-multiple-page.png) | bin | 457655 -> 457655 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/content-action.png (renamed from wearable/wear/Notifications/screenshots/content-action.png) | bin | 8621 -> 8621 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/content-action2.png (renamed from wearable/wear/Notifications/screenshots/content-action2.png) | bin | 9653 -> 9653 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/content-icon-menu.png (renamed from wearable/wear/Notifications/screenshots/content-icon-menu.png) | bin | 9182 -> 9182 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/content-icon1.png (renamed from wearable/wear/Notifications/screenshots/content-icon1.png) | bin | 10393 -> 10393 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/content-icon2.png (renamed from wearable/wear/Notifications/screenshots/content-icon2.png) | bin | 10383 -> 10383 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/content-icon3.png (renamed from wearable/wear/Notifications/screenshots/content-icon3.png) | bin | 10841 -> 10841 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/content-icon4.png (renamed from wearable/wear/Notifications/screenshots/content-icon4.png) | bin | 10788 -> 10788 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/display-intent-menu.png (renamed from wearable/wear/Notifications/screenshots/display-intent-menu.png) | bin | 13160 -> 13160 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/display-intent.png (renamed from wearable/wear/Notifications/screenshots/display-intent.png) | bin | 10924 -> 10924 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/ic_launcher.png (renamed from wearable/wear/Notifications/screenshots/ic_launcher.png) | bin | 6722 -> 6722 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/multiple-page1.png (renamed from wearable/wear/Notifications/screenshots/multiple-page1.png) | bin | 119352 -> 119352 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/multiple-page2.png (renamed from wearable/wear/Notifications/screenshots/multiple-page2.png) | bin | 75010 -> 75010 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/stylized-menu.png (renamed from wearable/wear/Notifications/screenshots/stylized-menu.png) | bin | 11678 -> 11678 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/screenshots/stylized.png (renamed from wearable/wear/Notifications/screenshots/stylized.png) | bin | 24649 -> 24649 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Notifications/settings.gradle (renamed from wearable/wear/Notifications/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Notifications/template-params.xml (renamed from wearable/wear/Notifications/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/.gitignore (renamed from wearable/wear/Quiz/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/proguard-project.txt (renamed from wearable/wear/Geofencing/Application/proguard-project.txt) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/Quiz/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/assets/Quiz.json (renamed from wearable/wear/Quiz/Application/src/main/assets/Quiz.json) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java (renamed from wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java (renamed from wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java (renamed from wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_a.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_a.png) | bin | 1040 -> 1040 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_b.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_b.png) | bin | 1081 -> 1081 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_c.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_c.png) | bin | 965 -> 965 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_d.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_d.png) | bin | 1058 -> 1058 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4234 -> 4234 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_unknown_choice.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_unknown_choice.png) | bin | 835 -> 835 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_a.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_a.png) | bin | 686 -> 686 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_b.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_b.png) | bin | 711 -> 711 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_c.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_c.png) | bin | 638 -> 638 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_d.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_d.png) | bin | 700 -> 700 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2612 -> 2612 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_unknown_choice.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_unknown_choice.png) | bin | 583 -> 583 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_a.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_a.png) | bin | 1432 -> 1432 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_b.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_b.png) | bin | 1444 -> 1444 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_c.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_c.png) | bin | 1305 -> 1305 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_d.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_d.png) | bin | 1467 -> 1467 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6028 -> 6028 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/Quiz/Application/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 10859 -> 10859 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable/selected_background.xml (renamed from wearable/wear/Quiz/Application/src/main/res/drawable/selected_background.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/drawable/unselected_background.xml (renamed from wearable/wear/Quiz/Application/src/main/res/drawable/unselected_background.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/layout/main.xml (renamed from wearable/wear/Quiz/Application/src/main/res/layout/main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/layout/question_status_element.xml (renamed from wearable/wear/Quiz/Application/src/main/res/layout/question_status_element.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/values/dimens.xml (renamed from wearable/wear/Quiz/Application/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/values/strings.xml (renamed from wearable/wear/Quiz/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/values/styles.xml (renamed from wearable/wear/Quiz/Application/src/main/res/values/styles.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Application/src/main/res/values/wear.xml (renamed from wearable/wear/Quiz/Application/src/main/res/values/wear.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/CONTRIB.md (renamed from wearable/wear/Quiz/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/.gitignore (renamed from wearable/wear/Quiz/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/Quiz/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java (renamed from wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java (renamed from wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java (renamed from wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java (renamed from wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java (renamed from wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_a.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_a.png) | bin | 1040 -> 1040 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_b.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_b.png) | bin | 1081 -> 1081 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_c.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_c.png) | bin | 965 -> 965 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_d.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_d.png) | bin | 1058 -> 1058 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4234 -> 4234 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_unknown_choice.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_unknown_choice.png) | bin | 835 -> 835 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_a.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_a.png) | bin | 686 -> 686 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_b.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_b.png) | bin | 711 -> 711 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_c.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_c.png) | bin | 638 -> 638 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_d.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_d.png) | bin | 700 -> 700 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2612 -> 2612 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_unknown_choice.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_unknown_choice.png) | bin | 583 -> 583 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_a.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_a.png) | bin | 1432 -> 1432 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_b.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_b.png) | bin | 1444 -> 1444 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_c.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_c.png) | bin | 1305 -> 1305 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_d.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_d.png) | bin | 1467 -> 1467 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6028 -> 6028 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_unknown_choice.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_unknown_choice.png) | bin | 1174 -> 1174 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/Quiz/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 10859 -> 10859 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/values/colors.xml (renamed from wearable/wear/Quiz/Wearable/src/main/res/values/colors.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/Quiz/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/build.gradle (renamed from wearable/wear/Quiz/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/buildSrc/build.gradle (renamed from wearable/wear/Quiz/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/Quiz/gradlew (renamed from wearable/wear/Quiz/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/gradlew.bat (renamed from wearable/wear/Quiz/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/screenshots/companion_quiz.png (renamed from wearable/wear/Quiz/screenshots/companion_quiz.png) | bin | 184257 -> 184257 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/screenshots/companion_quiz_correct_status.png (renamed from wearable/wear/Quiz/screenshots/companion_quiz_correct_status.png) | bin | 191361 -> 191361 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/screenshots/wearable_quiz.png (renamed from wearable/wear/Quiz/screenshots/wearable_quiz.png) | bin | 16060 -> 16060 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/screenshots/wearable_quiz_answer.png (renamed from wearable/wear/Quiz/screenshots/wearable_quiz_answer.png) | bin | 12854 -> 12854 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/screenshots/wearable_quiz_report.png (renamed from wearable/wear/Quiz/screenshots/wearable_quiz_report.png) | bin | 17850 -> 17850 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Quiz/settings.gradle (renamed from wearable/wear/Quiz/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Quiz/template-params.xml (renamed from wearable/wear/Quiz/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/.gitignore (renamed from wearable/wear/RecipeAssistant/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/proguard-project.txt (renamed from wearable/wear/Notifications/Application/proguard-project.txt) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/RecipeAssistant/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/beef-brisket-chili.json (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/beef-brisket-chili.json) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/chili.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/chili.jpg) | bin | 79408 -> 79408 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.jpg) | bin | 284874 -> 284874 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.json (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.json) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/irish-stew.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/irish-stew.jpg) | bin | 145280 -> 145280 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/northern-irish-vegetable-soup.json (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/northern-irish-vegetable-soup.json) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/recipelist.json (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/recipelist.json) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-1-grind-spices.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/step-1-grind-spices.jpg) | bin | 94304 -> 94304 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-2-score-beef.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/step-2-score-beef.jpg) | bin | 200769 -> 200769 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-brown-beef.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-brown-beef.jpg) | bin | 322673 -> 322673 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-lime.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-lime.jpg) | bin | 186310 -> 186310 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-4-fry-onion.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/step-4-fry-onion.jpg) | bin | 209749 -> 209749 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-6-combine.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/step-6-combine.jpg) | bin | 206820 -> 206820 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-8-pull.jpg (renamed from wearable/wear/RecipeAssistant/Application/src/main/assets/step-8-pull.jpg) | bin | 247369 -> 247369 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java (renamed from wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java (renamed from wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java (renamed from wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java (renamed from wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java (renamed from wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java (renamed from wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java (renamed from wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-hdpi/ic_noimage.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/drawable-hdpi/ic_noimage.png) | bin | 526 -> 526 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-mdpi/ic_noimage.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/drawable-mdpi/ic_noimage.png) | bin | 388 -> 388 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-xhdpi/ic_noimage.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/drawable-xhdpi/ic_noimage.png) | bin | 684 -> 684 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/list_item.xml (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/layout/list_item.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/recipe.xml (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/layout/recipe.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/step_item.xml (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/layout/step_item.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/menu/main.xml (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/menu/main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_app_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_app_recipe.png) | bin | 6585 -> 6585 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_notification_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_notification_recipe.png) | bin | 1074 -> 1074 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_app_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_app_recipe.png) | bin | 4246 -> 4246 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_notification_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_notification_recipe.png) | bin | 758 -> 758 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_app_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_app_recipe.png) | bin | 9595 -> 9595 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_notification_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_notification_recipe.png) | bin | 1396 -> 1396 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_app_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_app_recipe.png) | bin | 15387 -> 15387 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_notification_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_notification_recipe.png) | bin | 2169 -> 2169 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_app_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_app_recipe.png) | bin | 14753 -> 14753 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_notification_recipe.png (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_notification_recipe.png) | bin | 2355 -> 2355 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/colors.xml (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/values/colors.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/strings.xml (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/styles.xml (renamed from wearable/wear/RecipeAssistant/Application/src/main/res/values/styles.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/CONTRIB.md (renamed from wearable/wear/RecipeAssistant/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/build.gradle (renamed from wearable/wear/RecipeAssistant/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/buildSrc/build.gradle (renamed from wearable/wear/RecipeAssistant/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/RecipeAssistant/gradlew (renamed from wearable/wear/RecipeAssistant/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/gradlew.bat (renamed from wearable/wear/RecipeAssistant/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/screenshots/guac_notification.png (renamed from wearable/wear/RecipeAssistant/screenshots/guac_notification.png) | bin | 50992 -> 50992 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/screenshots/guac_notification_step1.png (renamed from wearable/wear/RecipeAssistant/screenshots/guac_notification_step1.png) | bin | 57419 -> 57419 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/screenshots/recipe_assistant_guac.png (renamed from wearable/wear/RecipeAssistant/screenshots/recipe_assistant_guac.png) | bin | 1166581 -> 1166581 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/settings.gradle (renamed from wearable/wear/RecipeAssistant/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/RecipeAssistant/template-params.xml (renamed from wearable/wear/RecipeAssistant/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/CONTRIB.md (renamed from wearable/wear/SkeletonWearableApp/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/Wearable/.gitignore (renamed from wearable/wear/SkeletonWearableApp/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/GridExampleActivity.java (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/GridExampleActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4584 -> 4584 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2757 -> 2757 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6603 -> 6603 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11788 -> 11788 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/main_activity.xml (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/main_activity.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/dimens.xml (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/build.gradle (renamed from wearable/wear/SkeletonWearableApp/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/buildSrc/build.gradle (renamed from wearable/wear/SkeletonWearableApp/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/SkeletonWearableApp/gradlew (renamed from wearable/wear/SkeletonWearableApp/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/gradlew.bat (renamed from wearable/wear/SkeletonWearableApp/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/screenshots/delayed_confirmation.png (renamed from wearable/wear/SkeletonWearableApp/screenshots/delayed_confirmation.png) | bin | 17065 -> 17065 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/screenshots/dismiss_overlay.png (renamed from wearable/wear/SkeletonWearableApp/screenshots/dismiss_overlay.png) | bin | 16019 -> 16019 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/screenshots/grid_view_pager.png (renamed from wearable/wear/SkeletonWearableApp/screenshots/grid_view_pager.png) | bin | 6093 -> 6093 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/screenshots/skeleton_wearable_app.png (renamed from wearable/wear/SkeletonWearableApp/screenshots/skeleton_wearable_app.png) | bin | 17882 -> 17882 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/settings.gradle (renamed from wearable/wear/SkeletonWearableApp/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SkeletonWearableApp/template-params.xml (renamed from wearable/wear/SkeletonWearableApp/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/.gitignore (renamed from wearable/wear/SynchronizedNotifications/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/.gitignore (renamed from wearable/wear/SynchronizedNotifications/Application/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/README-simpleview.txt (renamed from wearable/wear/SynchronizedNotifications/Application/README-simpleview.txt) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/DismissListener.java (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/DismissListener.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/SynchronizedNotificationsFragment.java (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/SynchronizedNotificationsFragment.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4199 -> 4199 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2535 -> 2535 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6022 -> 6022 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11040 -> 11040 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/menu/main.xml (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/res/menu/main.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/dimens.xml (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/sample-strings.xml (renamed from wearable/wear/SynchronizedNotifications/Application/src/main/res/values/sample-strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/CONTRIB.md (renamed from wearable/wear/SynchronizedNotifications/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Shared/.gitignore (renamed from wearable/wear/SynchronizedNotifications/Shared/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/AndroidManifest.xml (renamed from wearable/wear/SynchronizedNotifications/Shared/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/java/com/example/android/wearable/synchronizednotifications/common/Constants.java (renamed from wearable/wear/SynchronizedNotifications/Shared/src/main/java/com/example/android/wearable/synchronizednotifications/common/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/res/values/strings.xml (renamed from wearable/wear/SynchronizedNotifications/Shared/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/.gitignore (renamed from wearable/wear/SynchronizedNotifications/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/NotificationUpdateService.java (renamed from wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/NotificationUpdateService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/WearableActivity.java (renamed from wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/WearableActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 297 -> 297 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 254 -> 254 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 342 -> 342 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml (renamed from wearable/wear/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/SynchronizedNotifications/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/build.gradle (renamed from wearable/wear/SynchronizedNotifications/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/buildSrc/build.gradle (renamed from wearable/wear/SynchronizedNotifications/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/SynchronizedNotifications/gradlew (renamed from wearable/wear/SynchronizedNotifications/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/gradlew.bat (renamed from wearable/wear/SynchronizedNotifications/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_phone.png (renamed from wearable/wear/SynchronizedNotifications/screenshots/different_notifications_phone.png) | bin | 135301 -> 135301 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_wearable.png (renamed from wearable/wear/SynchronizedNotifications/screenshots/different_notifications_wearable.png) | bin | 15816 -> 15816 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/screenshots/notification_options.png (renamed from wearable/wear/SynchronizedNotifications/screenshots/notification_options.png) | bin | 102231 -> 102231 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/screenshots/watch_only_notification.png (renamed from wearable/wear/SynchronizedNotifications/screenshots/watch_only_notification.png) | bin | 18346 -> 18346 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/SynchronizedNotifications/screenshots/web-icon.png (renamed from wearable/wear/SynchronizedNotifications/screenshots/web-icon.png) | bin | 74754 -> 74754 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/settings.gradle (renamed from wearable/wear/SynchronizedNotifications/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/SynchronizedNotifications/template-params.xml (renamed from wearable/wear/SynchronizedNotifications/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/CONTRIB.md (renamed from wearable/wear/Timer/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/.gitignore (renamed from wearable/wear/Timer/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/Timer/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/SetTimerActivity.java (renamed from wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/SetTimerActivity.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/TimerNotificationService.java (renamed from wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/TimerNotificationService.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/WearableListItemLayout.java (renamed from wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/WearableListItemLayout.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/Constants.java (renamed from wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/Constants.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerFormat.java (renamed from wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerFormat.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerObj.java (renamed from wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerObj.java) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/drawable/ic_cc_alarm.png (renamed from wearable/wear/Timer/Wearable/src/main/res/drawable/ic_cc_alarm.png) | bin | 2303 -> 2303 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/drawable/wl_circle.xml (renamed from wearable/wear/Timer/Wearable/src/main/res/drawable/wl_circle.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/layout/timer_list_item.xml (renamed from wearable/wear/Timer/Wearable/src/main/res/layout/timer_list_item.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/layout/timer_set_timer.xml (renamed from wearable/wear/Timer/Wearable/src/main/res/layout/timer_set_timer.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png (renamed from wearable/wear/Timer/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png) | bin | 11523 -> 11523 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png (renamed from wearable/wear/Timer/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png) | bin | 6368 -> 6368 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png (renamed from wearable/wear/Timer/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png) | bin | 16892 -> 16892 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png (renamed from wearable/wear/Timer/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png) | bin | 27697 -> 27697 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png (renamed from wearable/wear/Timer/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png) | bin | 46860 -> 46860 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/values/colors.xml (renamed from wearable/wear/Timer/Wearable/src/main/res/values/colors.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/values/integers.xml (renamed from wearable/wear/Timer/Wearable/src/main/res/values/integers.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/Timer/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/build.gradle (renamed from wearable/wear/Timer/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/buildSrc/build.gradle (renamed from wearable/wear/Timer/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/Timer/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/Timer/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/Timer/gradlew (renamed from wearable/wear/Timer/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/gradlew.bat (renamed from wearable/wear/Timer/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/screenshots/timer.png (renamed from wearable/wear/Timer/screenshots/timer.png) | bin | 7849 -> 7849 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/screenshots/timer_countdown.png (renamed from wearable/wear/Timer/screenshots/timer_countdown.png) | bin | 116502 -> 116502 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/Timer/settings.gradle (renamed from wearable/wear/Timer/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/Timer/template-params.xml (renamed from wearable/wear/Timer/template-params.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/CONTRIB.md (renamed from wearable/wear/WatchViewStub/CONTRIB.md) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/.gitignore (renamed from wearable/wear/WatchViewStub/Wearable/.gitignore) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/AndroidManifest.xml (renamed from wearable/wear/WatchViewStub/Wearable/src/main/AndroidManifest.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java (renamed from wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-hdpi/ic_launcher.png (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-hdpi/ic_launcher.png) | bin | 4584 -> 4584 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-mdpi/ic_launcher.png (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-mdpi/ic_launcher.png) | bin | 2757 -> 2757 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png) | bin | 6603 -> 6603 bytes | |||
-rwxr-xr-x | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png) | bin | 11788 -> 11788 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/rect_layout.xml (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/layout/rect_layout.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/values/dimens.xml (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/values/dimens.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/values/strings.xml (renamed from wearable/wear/WatchViewStub/Wearable/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/build.gradle (renamed from wearable/wear/WatchViewStub/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/buildSrc/build.gradle (renamed from wearable/wear/WatchViewStub/buildSrc/build.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.jar (renamed from wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.jar) | bin | 49896 -> 49896 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.properties (renamed from wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.properties) | 0 | ||||
-rwxr-xr-x | deprecated/wearable/wear/WatchViewStub/gradlew (renamed from wearable/wear/WatchViewStub/gradlew) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/gradlew.bat (renamed from wearable/wear/WatchViewStub/gradlew.bat) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/screenshots/watch_view_stub_rectangular.png (renamed from wearable/wear/WatchViewStub/screenshots/watch_view_stub_rectangular.png) | bin | 29819 -> 29819 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/screenshots/watch_view_stub_round.png (renamed from wearable/wear/WatchViewStub/screenshots/watch_view_stub_round.png) | bin | 28097 -> 28097 bytes | |||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/settings.gradle (renamed from wearable/wear/WatchViewStub/settings.gradle) | 0 | ||||
-rw-r--r-- | deprecated/wearable/wear/WatchViewStub/template-params.xml (renamed from wearable/wear/WatchViewStub/template-params.xml) | 0 | ||||
-rw-r--r-- | projects.txt | 15 | ||||
-rw-r--r-- | wearable/wear/AgendaData/LICENSE | 203 | ||||
-rw-r--r-- | wearable/wear/AgendaData/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/AlwaysOn/Wearable/build.gradle | 12 | ||||
-rw-r--r-- | wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/MainActivity.java | 24 | ||||
-rw-r--r-- | wearable/wear/AlwaysOn/template-params.xml | 2 | ||||
-rw-r--r-- | wearable/wear/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/MainActivity.java | 10 | ||||
-rw-r--r-- | wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java | 55 | ||||
-rw-r--r-- | wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java | 18 | ||||
-rw-r--r-- | wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/AssetFragment.java | 2 | ||||
-rw-r--r-- | wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/DataFragment.java | 8 | ||||
-rw-r--r-- | wearable/wear/DataLayer/template-params.xml | 6 | ||||
-rw-r--r-- | wearable/wear/DelayedConfirmation/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/DelayedConfirmation/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/ElizaChat/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/EmbeddedApp/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/EmbeddedApp/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/FindMyPhone/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/FindMyPhone/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/Flashlight/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/Flashlight/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/Geofencing/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/Geofencing/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/GridViewPager/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/GridViewPager/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/MainActivity.java | 8 | ||||
-rw-r--r-- | wearable/wear/Notifications/LICENSE | 203 | ||||
-rw-r--r-- | wearable/wear/Notifications/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/Quiz/Application/proguard-project.txt | 20 | ||||
-rw-r--r-- | wearable/wear/Quiz/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/Quiz/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/RecipeAssistant/Application/proguard-project.txt | 20 | ||||
-rw-r--r-- | wearable/wear/RecipeAssistant/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/RecipeAssistant/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestPhoneService.java | 43 | ||||
-rw-r--r-- | wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/MainPhoneActivity.java | 170 | ||||
-rw-r--r-- | wearable/wear/RuntimePermissionsWear/Shared/build.gradle | 2 | ||||
-rw-r--r-- | wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestWearService.java | 105 | ||||
-rw-r--r-- | wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/MainWearActivity.java | 166 | ||||
-rw-r--r-- | wearable/wear/RuntimePermissionsWear/template-params.xml | 6 | ||||
-rw-r--r-- | wearable/wear/SkeletonWearableApp/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/SkeletonWearableApp/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/WearableMainActivity.java | 28 | ||||
-rw-r--r-- | wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/SpeedPickerLayout.java | 4 | ||||
-rw-r--r-- | wearable/wear/SpeedTracker/template-params.xml | 4 | ||||
-rw-r--r-- | wearable/wear/SynchronizedNotifications/Application/proguard-project.txt | 20 | ||||
-rw-r--r-- | wearable/wear/SynchronizedNotifications/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/SynchronizedNotifications/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/Timer/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/Timer/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/WatchViewStub/LICENSE | 647 | ||||
-rw-r--r-- | wearable/wear/WatchViewStub/README-wear.txt | 30 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/build.gradle | 16 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ControlsActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/DialogsActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/FullScreenActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ImagesActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/InLineActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListOfGraphicsActivity.java | 14 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListsActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/LongListActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/MainActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/NotificationsActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/OpenOnPhoneAnimationActivity.java | 14 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/PhotoCarouselActivity.java | 14 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ProgressActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/RadioListActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ZoomImageActivity.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearAccessibilityApp/template-params.xml | 4 | ||||
-rw-r--r-- | wearable/wear/WearComplicationProvidersTestSuite/Wearable/build.gradle | 12 | ||||
-rw-r--r-- | wearable/wear/WearComplicationProvidersTestSuite/template-params.xml | 2 | ||||
-rw-r--r-- | wearable/wear/WearDrawers/Wearable/build.gradle | 12 | ||||
-rw-r--r-- | wearable/wear/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/MainActivity.java | 18 | ||||
-rw-r--r-- | wearable/wear/WearDrawers/template-params.xml | 2 | ||||
-rw-r--r-- | wearable/wear/WearHighBandwidthNetworking/Wearable/build.gradle | 12 | ||||
-rw-r--r-- | wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/MainActivity.java | 61 | ||||
-rw-r--r-- | wearable/wear/WearHighBandwidthNetworking/template-params.xml | 4 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java | 8 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/MainActivity.java | 87 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java | 9 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java | 191 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java | 5 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Shared/build.gradle | 10 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/mock/MockDatabase.java | 188 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/famous_fryer.png | bin | 0 -> 34251 bytes | |||
-rw-r--r-- | wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/me_macdonald.png | bin | 0 -> 57180 bytes | |||
-rw-r--r-- | wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/wendy_wonda.png | bin | 0 -> 45387 bytes | |||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/CustomRecyclerAdapter.java | 5 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java | 8 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/ScalingScrollLayoutCallback.java | 9 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/StandaloneMainActivity.java | 67 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java | 13 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java | 11 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java | 124 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java | 6 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/Wearable/src/main/res/layout/activity_main.xml | 4 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/gradle.properties | 22 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/gradle/wrapper/gradle-wrapper.properties | 4 | ||||
-rw-r--r-- | wearable/wear/WearNotifications/template-params.xml | 26 | ||||
-rw-r--r-- | wearable/wear/WearSpeakerSample/build.gradle | 2 | ||||
-rw-r--r-- | wearable/wear/WearSpeakerSample/wear/build.gradle | 17 | ||||
-rw-r--r-- | wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/MainActivity.java | 20 | ||||
-rw-r--r-- | wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/SoundRecorder.java | 297 | ||||
-rw-r--r-- | wearable/wear/WearVerifyRemoteApp/Application/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainMobileActivity.java | 106 | ||||
-rw-r--r-- | wearable/wear/WearVerifyRemoteApp/Wearable/build.gradle | 12 | ||||
-rw-r--r-- | wearable/wear/WearVerifyRemoteApp/Wearable/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainWearActivity.java | 96 | ||||
-rw-r--r-- | wearable/wear/WearVerifyRemoteApp/template-params.xml | 2 |
736 files changed, 1229 insertions, 10459 deletions
diff --git a/wearable/wear/AgendaData/.gitignore b/deprecated/wearable/wear/AgendaData/.gitignore index b90e7562..b90e7562 100644 --- a/wearable/wear/AgendaData/.gitignore +++ b/deprecated/wearable/wear/AgendaData/.gitignore diff --git a/wearable/wear/AgendaData/Application/.gitignore b/deprecated/wearable/wear/AgendaData/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/AgendaData/Application/.gitignore +++ b/deprecated/wearable/wear/AgendaData/Application/.gitignore diff --git a/wearable/wear/AgendaData/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/AgendaData/Application/src/main/AndroidManifest.xml index 083b223d..083b223d 100644 --- a/wearable/wear/AgendaData/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java b/deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java index 9d65b7e0..9d65b7e0 100644 --- a/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java diff --git a/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java b/deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java index 6dc6952c..6dc6952c 100644 --- a/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java diff --git a/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java b/deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java index 1492c813..1492c813 100644 --- a/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java diff --git a/wearable/wear/AgendaData/Application/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 0564717b..0564717b 100644 --- a/wearable/wear/AgendaData/Application/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/AgendaData/Application/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 0f403474..0f403474 100644 --- a/wearable/wear/AgendaData/Application/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/AgendaData/Application/src/main/res/drawable-nodpi/nobody.png b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-nodpi/nobody.png Binary files differindex 5a33d60e..5a33d60e 100644 --- a/wearable/wear/AgendaData/Application/src/main/res/drawable-nodpi/nobody.png +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-nodpi/nobody.png diff --git a/wearable/wear/AgendaData/Application/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex d7705cfb..d7705cfb 100644 --- a/wearable/wear/AgendaData/Application/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/AgendaData/Application/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex f07299fd..f07299fd 100644 --- a/wearable/wear/AgendaData/Application/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/AgendaData/Application/src/main/res/layout/main.xml b/deprecated/wearable/wear/AgendaData/Application/src/main/res/layout/main.xml index 57fc99a6..57fc99a6 100644 --- a/wearable/wear/AgendaData/Application/src/main/res/layout/main.xml +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/res/layout/main.xml diff --git a/wearable/wear/AgendaData/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/AgendaData/Application/src/main/res/values/strings.xml index 84cb60db..84cb60db 100644 --- a/wearable/wear/AgendaData/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/AgendaData/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/AgendaData/CONTRIB.md b/deprecated/wearable/wear/AgendaData/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/AgendaData/CONTRIB.md +++ b/deprecated/wearable/wear/AgendaData/CONTRIB.md diff --git a/wearable/wear/AgendaData/Wearable/.gitignore b/deprecated/wearable/wear/AgendaData/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/AgendaData/Wearable/.gitignore +++ b/deprecated/wearable/wear/AgendaData/Wearable/.gitignore diff --git a/wearable/wear/AgendaData/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/AgendaData/Wearable/src/main/AndroidManifest.xml index 6381e1ad..6381e1ad 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/Constants.java b/deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/Constants.java index aa15b6a8..aa15b6a8 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/Constants.java +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/Constants.java diff --git a/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/DeleteService.java b/deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/DeleteService.java index bc4180e9..bc4180e9 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/DeleteService.java +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/DeleteService.java diff --git a/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/HomeListenerService.java b/deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/HomeListenerService.java index 909c27d9..909c27d9 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/HomeListenerService.java +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/java/com/example/android/wearable/agendadata/HomeListenerService.java diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 0564717b..0564717b 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_menu_delete.png b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_menu_delete.png Binary files differindex 24d8f6a4..24d8f6a4 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_menu_delete.png +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-hdpi/ic_menu_delete.png diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 0f403474..0f403474 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_menu_delete.png b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_menu_delete.png Binary files differindex e2c8700c..e2c8700c 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_menu_delete.png +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-mdpi/ic_menu_delete.png diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex d7705cfb..d7705cfb 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_menu_delete.png b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_menu_delete.png Binary files differindex 65b9caed..65b9caed 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_menu_delete.png +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xhdpi/ic_menu_delete.png diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex f07299fd..f07299fd 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_menu_delete.png b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_menu_delete.png Binary files differindex 8e9e78d4..8e9e78d4 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_menu_delete.png +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/drawable-xxhdpi/ic_menu_delete.png diff --git a/wearable/wear/AgendaData/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/values/strings.xml index ab4afd2a..ab4afd2a 100644 --- a/wearable/wear/AgendaData/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/AgendaData/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/AgendaData/build.gradle b/deprecated/wearable/wear/AgendaData/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/AgendaData/build.gradle +++ b/deprecated/wearable/wear/AgendaData/build.gradle diff --git a/wearable/wear/AgendaData/buildSrc/build.gradle b/deprecated/wearable/wear/AgendaData/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/AgendaData/buildSrc/build.gradle +++ b/deprecated/wearable/wear/AgendaData/buildSrc/build.gradle diff --git a/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.properties index f5d30b76..f5d30b76 100644 --- a/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/AgendaData/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/AgendaData/gradlew b/deprecated/wearable/wear/AgendaData/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/AgendaData/gradlew +++ b/deprecated/wearable/wear/AgendaData/gradlew diff --git a/wearable/wear/AgendaData/gradlew.bat b/deprecated/wearable/wear/AgendaData/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/AgendaData/gradlew.bat +++ b/deprecated/wearable/wear/AgendaData/gradlew.bat diff --git a/wearable/wear/AgendaData/screenshots/companion_agenda_data.png b/deprecated/wearable/wear/AgendaData/screenshots/companion_agenda_data.png Binary files differindex c39503bf..c39503bf 100644 --- a/wearable/wear/AgendaData/screenshots/companion_agenda_data.png +++ b/deprecated/wearable/wear/AgendaData/screenshots/companion_agenda_data.png diff --git a/wearable/wear/AgendaData/screenshots/dummy_calendar_event.png b/deprecated/wearable/wear/AgendaData/screenshots/dummy_calendar_event.png Binary files differindex 074c56b4..074c56b4 100644 --- a/wearable/wear/AgendaData/screenshots/dummy_calendar_event.png +++ b/deprecated/wearable/wear/AgendaData/screenshots/dummy_calendar_event.png diff --git a/wearable/wear/AgendaData/settings.gradle b/deprecated/wearable/wear/AgendaData/settings.gradle index f35b8ccc..f35b8ccc 100644 --- a/wearable/wear/AgendaData/settings.gradle +++ b/deprecated/wearable/wear/AgendaData/settings.gradle diff --git a/wearable/wear/AgendaData/template-params.xml b/deprecated/wearable/wear/AgendaData/template-params.xml index 63a6bda6..63a6bda6 100644 --- a/wearable/wear/AgendaData/template-params.xml +++ b/deprecated/wearable/wear/AgendaData/template-params.xml diff --git a/wearable/wear/DelayedConfirmation/Application/.gitignore b/deprecated/wearable/wear/DelayedConfirmation/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/DelayedConfirmation/Application/.gitignore +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/.gitignore diff --git a/wearable/wear/AgendaData/Application/proguard-project.txt b/deprecated/wearable/wear/DelayedConfirmation/Application/proguard-project.txt index 0d8f171d..0d8f171d 100644 --- a/wearable/wear/AgendaData/Application/proguard-project.txt +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/proguard-project.txt diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/AndroidManifest.xml index e3e6de17..e3e6de17 100644 --- a/wearable/wear/DelayedConfirmation/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java index aaa72c37..aaa72c37 100644 --- a/wearable/wear/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 589f229d..589f229d 100755 --- a/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 77dd5713..77dd5713 100755 --- a/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex fe34ebe1..fe34ebe1 100755 --- a/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex ab80bcd1..ab80bcd1 100755 --- a/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml index cbc1874f..cbc1874f 100644 --- a/wearable/wear/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/values/strings.xml index 17087053..17087053 100644 --- a/wearable/wear/DelayedConfirmation/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/DelayedConfirmation/Application/src/main/res/values/wear.xml b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/values/wear.xml index 4f6fbb6c..4f6fbb6c 100644 --- a/wearable/wear/DelayedConfirmation/Application/src/main/res/values/wear.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/Application/src/main/res/values/wear.xml diff --git a/wearable/wear/DelayedConfirmation/CONTRIB.md b/deprecated/wearable/wear/DelayedConfirmation/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/DelayedConfirmation/CONTRIB.md +++ b/deprecated/wearable/wear/DelayedConfirmation/CONTRIB.md diff --git a/wearable/wear/DelayedConfirmation/Wearable/.gitignore b/deprecated/wearable/wear/DelayedConfirmation/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/DelayedConfirmation/Wearable/.gitignore +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/.gitignore diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml index 99226f68..99226f68 100644 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java index 64acd83d..64acd83d 100644 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java index de854a51..de854a51 100644 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 589f229d..589f229d 100755 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 77dd5713..77dd5713 100755 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex fe34ebe1..fe34ebe1 100755 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex ab80bcd1..ab80bcd1 100755 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml index 1b9bcb3e..1b9bcb3e 100644 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/dimens.xml b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/dimens.xml index 677a0f16..677a0f16 100644 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/dimens.xml diff --git a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/strings.xml index d336a5cb..d336a5cb 100644 --- a/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/DelayedConfirmation/build.gradle b/deprecated/wearable/wear/DelayedConfirmation/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/DelayedConfirmation/build.gradle +++ b/deprecated/wearable/wear/DelayedConfirmation/build.gradle diff --git a/wearable/wear/DelayedConfirmation/buildSrc/build.gradle b/deprecated/wearable/wear/DelayedConfirmation/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/DelayedConfirmation/buildSrc/build.gradle +++ b/deprecated/wearable/wear/DelayedConfirmation/buildSrc/build.gradle diff --git a/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/DelayedConfirmation/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/DelayedConfirmation/gradlew b/deprecated/wearable/wear/DelayedConfirmation/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/DelayedConfirmation/gradlew +++ b/deprecated/wearable/wear/DelayedConfirmation/gradlew diff --git a/wearable/wear/DelayedConfirmation/gradlew.bat b/deprecated/wearable/wear/DelayedConfirmation/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/DelayedConfirmation/gradlew.bat +++ b/deprecated/wearable/wear/DelayedConfirmation/gradlew.bat diff --git a/wearable/wear/DelayedConfirmation/screenshots/companion_delayed_confirmation.png b/deprecated/wearable/wear/DelayedConfirmation/screenshots/companion_delayed_confirmation.png Binary files differindex b1b61a4a..b1b61a4a 100644 --- a/wearable/wear/DelayedConfirmation/screenshots/companion_delayed_confirmation.png +++ b/deprecated/wearable/wear/DelayedConfirmation/screenshots/companion_delayed_confirmation.png diff --git a/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_all.png b/deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_all.png Binary files differindex 9119dd38..9119dd38 100644 --- a/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_all.png +++ b/deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_all.png diff --git a/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_top.png b/deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_top.png Binary files differindex 6d2da705..6d2da705 100644 --- a/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_top.png +++ b/deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_box_inset_top.png diff --git a/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_notification.png b/deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_notification.png Binary files differindex 936bcaf0..936bcaf0 100644 --- a/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_notification.png +++ b/deprecated/wearable/wear/DelayedConfirmation/screenshots/delayed_confirmation_notification.png diff --git a/wearable/wear/DelayedConfirmation/settings.gradle b/deprecated/wearable/wear/DelayedConfirmation/settings.gradle index f35b8ccc..f35b8ccc 100644 --- a/wearable/wear/DelayedConfirmation/settings.gradle +++ b/deprecated/wearable/wear/DelayedConfirmation/settings.gradle diff --git a/wearable/wear/DelayedConfirmation/template-params.xml b/deprecated/wearable/wear/DelayedConfirmation/template-params.xml index cfc39573..cfc39573 100644 --- a/wearable/wear/DelayedConfirmation/template-params.xml +++ b/deprecated/wearable/wear/DelayedConfirmation/template-params.xml diff --git a/wearable/wear/ElizaChat/Application/.gitignore b/deprecated/wearable/wear/ElizaChat/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/ElizaChat/Application/.gitignore +++ b/deprecated/wearable/wear/ElizaChat/Application/.gitignore diff --git a/wearable/wear/DelayedConfirmation/Application/proguard-project.txt b/deprecated/wearable/wear/ElizaChat/Application/proguard-project.txt index 0d8f171d..0d8f171d 100644 --- a/wearable/wear/DelayedConfirmation/Application/proguard-project.txt +++ b/deprecated/wearable/wear/ElizaChat/Application/proguard-project.txt diff --git a/wearable/wear/ElizaChat/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/ElizaChat/Application/src/main/AndroidManifest.xml index b544ed05..b544ed05 100644 --- a/wearable/wear/ElizaChat/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java b/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java index e6c05425..e6c05425 100644 --- a/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java diff --git a/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java b/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java index 2e132a8f..2e132a8f 100644 --- a/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java diff --git a/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java b/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java index 2406668c..2406668c 100644 --- a/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java diff --git a/wearable/wear/ElizaChat/Application/src/main/res/drawable-hdpi/ic_full_reply.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-hdpi/ic_full_reply.png Binary files differindex 66388d5f..66388d5f 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/drawable-hdpi/ic_full_reply.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-hdpi/ic_full_reply.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/drawable-mdpi/ic_full_reply.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-mdpi/ic_full_reply.png Binary files differindex 60ce9f9c..60ce9f9c 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/drawable-mdpi/ic_full_reply.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-mdpi/ic_full_reply.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/drawable-nodpi/bg_eliza.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-nodpi/bg_eliza.png Binary files differindex 3bbdf48a..3bbdf48a 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/drawable-nodpi/bg_eliza.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-nodpi/bg_eliza.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/drawable-xhdpi/ic_full_reply.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-xhdpi/ic_full_reply.png Binary files differindex dba6fa7b..dba6fa7b 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/drawable-xhdpi/ic_full_reply.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/drawable-xhdpi/ic_full_reply.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/layout/main.xml b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/layout/main.xml index 6ffed8ea..6ffed8ea 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/layout/main.xml +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/layout/main.xml diff --git a/wearable/wear/ElizaChat/Application/src/main/res/menu/main.xml b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/menu/main.xml index b8e1ef2a..b8e1ef2a 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/menu/main.xml +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/menu/main.xml diff --git a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-hdpi/ic_app_eliza.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-hdpi/ic_app_eliza.png Binary files differindex 1bdb1475..1bdb1475 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-hdpi/ic_app_eliza.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-hdpi/ic_app_eliza.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-mdpi/ic_app_eliza.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-mdpi/ic_app_eliza.png Binary files differindex 2e0e1980..2e0e1980 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-mdpi/ic_app_eliza.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-mdpi/ic_app_eliza.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xhdpi/ic_app_eliza.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xhdpi/ic_app_eliza.png Binary files differindex 8d0f4364..8d0f4364 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xhdpi/ic_app_eliza.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xhdpi/ic_app_eliza.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxhdpi/ic_app_eliza.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxhdpi/ic_app_eliza.png Binary files differindex e72b9675..e72b9675 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxhdpi/ic_app_eliza.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxhdpi/ic_app_eliza.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxxhdpi/ic_app_eliza.png b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxxhdpi/ic_app_eliza.png Binary files differindex 06ea0793..06ea0793 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxxhdpi/ic_app_eliza.png +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/mipmap-xxxhdpi/ic_app_eliza.png diff --git a/wearable/wear/ElizaChat/Application/src/main/res/values/dimens.xml b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/values/dimens.xml index a1e9cfe8..a1e9cfe8 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/values/dimens.xml diff --git a/wearable/wear/ElizaChat/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/values/strings.xml index 9a5c9d77..9a5c9d77 100644 --- a/wearable/wear/ElizaChat/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/ElizaChat/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/ElizaChat/CONTRIB.md b/deprecated/wearable/wear/ElizaChat/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/ElizaChat/CONTRIB.md +++ b/deprecated/wearable/wear/ElizaChat/CONTRIB.md diff --git a/wearable/wear/ElizaChat/build.gradle b/deprecated/wearable/wear/ElizaChat/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/ElizaChat/build.gradle +++ b/deprecated/wearable/wear/ElizaChat/build.gradle diff --git a/wearable/wear/ElizaChat/buildSrc/build.gradle b/deprecated/wearable/wear/ElizaChat/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/ElizaChat/buildSrc/build.gradle +++ b/deprecated/wearable/wear/ElizaChat/buildSrc/build.gradle diff --git a/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/ElizaChat/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/ElizaChat/gradlew b/deprecated/wearable/wear/ElizaChat/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/ElizaChat/gradlew +++ b/deprecated/wearable/wear/ElizaChat/gradlew diff --git a/wearable/wear/ElizaChat/gradlew.bat b/deprecated/wearable/wear/ElizaChat/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/ElizaChat/gradlew.bat +++ b/deprecated/wearable/wear/ElizaChat/gradlew.bat diff --git a/wearable/wear/ElizaChat/screenshots/companion_eliza_chat.png b/deprecated/wearable/wear/ElizaChat/screenshots/companion_eliza_chat.png Binary files differindex b7fd2666..b7fd2666 100644 --- a/wearable/wear/ElizaChat/screenshots/companion_eliza_chat.png +++ b/deprecated/wearable/wear/ElizaChat/screenshots/companion_eliza_chat.png diff --git a/wearable/wear/ElizaChat/screenshots/companion_eliza_chat_response.png b/deprecated/wearable/wear/ElizaChat/screenshots/companion_eliza_chat_response.png Binary files differindex cea063c3..cea063c3 100644 --- a/wearable/wear/ElizaChat/screenshots/companion_eliza_chat_response.png +++ b/deprecated/wearable/wear/ElizaChat/screenshots/companion_eliza_chat_response.png diff --git a/wearable/wear/ElizaChat/screenshots/wearable_eliza_notification.png b/deprecated/wearable/wear/ElizaChat/screenshots/wearable_eliza_notification.png Binary files differindex c5ced496..c5ced496 100644 --- a/wearable/wear/ElizaChat/screenshots/wearable_eliza_notification.png +++ b/deprecated/wearable/wear/ElizaChat/screenshots/wearable_eliza_notification.png diff --git a/wearable/wear/ElizaChat/screenshots/wearable_voice_reply.png b/deprecated/wearable/wear/ElizaChat/screenshots/wearable_voice_reply.png Binary files differindex 032e0375..032e0375 100644 --- a/wearable/wear/ElizaChat/screenshots/wearable_voice_reply.png +++ b/deprecated/wearable/wear/ElizaChat/screenshots/wearable_voice_reply.png diff --git a/wearable/wear/ElizaChat/settings.gradle b/deprecated/wearable/wear/ElizaChat/settings.gradle index 0f81951d..0f81951d 100644 --- a/wearable/wear/ElizaChat/settings.gradle +++ b/deprecated/wearable/wear/ElizaChat/settings.gradle diff --git a/wearable/wear/ElizaChat/template-params.xml b/deprecated/wearable/wear/ElizaChat/template-params.xml index 19c81290..19c81290 100644 --- a/wearable/wear/ElizaChat/template-params.xml +++ b/deprecated/wearable/wear/ElizaChat/template-params.xml diff --git a/wearable/wear/EmbeddedApp/Application/.gitignore b/deprecated/wearable/wear/EmbeddedApp/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/EmbeddedApp/Application/.gitignore +++ b/deprecated/wearable/wear/EmbeddedApp/Application/.gitignore diff --git a/wearable/wear/ElizaChat/Application/proguard-project.txt b/deprecated/wearable/wear/EmbeddedApp/Application/proguard-project.txt index 0d8f171d..0d8f171d 100644 --- a/wearable/wear/ElizaChat/Application/proguard-project.txt +++ b/deprecated/wearable/wear/EmbeddedApp/Application/proguard-project.txt diff --git a/wearable/wear/EmbeddedApp/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/AndroidManifest.xml index ee47ffed..ee47ffed 100644 --- a/wearable/wear/EmbeddedApp/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/EmbeddedApp/Application/src/main/java/com/example/android/wearable/embeddedapp/PhoneActivity.java b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/java/com/example/android/wearable/embeddedapp/PhoneActivity.java index 5a2f5ca3..5a2f5ca3 100644 --- a/wearable/wear/EmbeddedApp/Application/src/main/java/com/example/android/wearable/embeddedapp/PhoneActivity.java +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/java/com/example/android/wearable/embeddedapp/PhoneActivity.java diff --git a/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 589f229d..589f229d 100755 --- a/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 77dd5713..77dd5713 100755 --- a/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex fe34ebe1..fe34ebe1 100755 --- a/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex ab80bcd1..ab80bcd1 100755 --- a/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml index 54ca57e5..54ca57e5 100644 --- a/wearable/wear/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml diff --git a/wearable/wear/EmbeddedApp/Application/src/main/res/values/dimens.xml b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/values/dimens.xml index a1e9cfe8..a1e9cfe8 100644 --- a/wearable/wear/EmbeddedApp/Application/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/values/dimens.xml diff --git a/wearable/wear/EmbeddedApp/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/values/strings.xml index 05b6f121..05b6f121 100644 --- a/wearable/wear/EmbeddedApp/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/EmbeddedApp/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/EmbeddedApp/CONTRIB.md b/deprecated/wearable/wear/EmbeddedApp/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/EmbeddedApp/CONTRIB.md +++ b/deprecated/wearable/wear/EmbeddedApp/CONTRIB.md diff --git a/wearable/wear/EmbeddedApp/Wearable/.gitignore b/deprecated/wearable/wear/EmbeddedApp/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/EmbeddedApp/Wearable/.gitignore +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/.gitignore diff --git a/wearable/wear/EmbeddedApp/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/AndroidManifest.xml index aab1348a..aab1348a 100644 --- a/wearable/wear/EmbeddedApp/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/EmbeddedApp/Wearable/src/main/java/com/example/android/wearable/embeddedapp/WearableActivity.java b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/java/com/example/android/wearable/embeddedapp/WearableActivity.java index 3703f342..3703f342 100644 --- a/wearable/wear/EmbeddedApp/Wearable/src/main/java/com/example/android/wearable/embeddedapp/WearableActivity.java +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/java/com/example/android/wearable/embeddedapp/WearableActivity.java diff --git a/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 589f229d..589f229d 100755 --- a/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 77dd5713..77dd5713 100755 --- a/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex fe34ebe1..fe34ebe1 100755 --- a/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex ab80bcd1..ab80bcd1 100755 --- a/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml index 1f6a78a9..1f6a78a9 100644 --- a/wearable/wear/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml diff --git a/wearable/wear/EmbeddedApp/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/values/strings.xml index 1823c573..1823c573 100644 --- a/wearable/wear/EmbeddedApp/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/EmbeddedApp/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/EmbeddedApp/build.gradle b/deprecated/wearable/wear/EmbeddedApp/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/EmbeddedApp/build.gradle +++ b/deprecated/wearable/wear/EmbeddedApp/build.gradle diff --git a/wearable/wear/EmbeddedApp/buildSrc/build.gradle b/deprecated/wearable/wear/EmbeddedApp/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/EmbeddedApp/buildSrc/build.gradle +++ b/deprecated/wearable/wear/EmbeddedApp/buildSrc/build.gradle diff --git a/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/EmbeddedApp/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/EmbeddedApp/gradlew b/deprecated/wearable/wear/EmbeddedApp/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/EmbeddedApp/gradlew +++ b/deprecated/wearable/wear/EmbeddedApp/gradlew diff --git a/wearable/wear/EmbeddedApp/gradlew.bat b/deprecated/wearable/wear/EmbeddedApp/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/EmbeddedApp/gradlew.bat +++ b/deprecated/wearable/wear/EmbeddedApp/gradlew.bat diff --git a/wearable/wear/EmbeddedApp/screenshots/embedded_wearable_app.png b/deprecated/wearable/wear/EmbeddedApp/screenshots/embedded_wearable_app.png Binary files differindex 414afe51..414afe51 100644 --- a/wearable/wear/EmbeddedApp/screenshots/embedded_wearable_app.png +++ b/deprecated/wearable/wear/EmbeddedApp/screenshots/embedded_wearable_app.png diff --git a/wearable/wear/EmbeddedApp/screenshots/phone_app.png b/deprecated/wearable/wear/EmbeddedApp/screenshots/phone_app.png Binary files differindex 46c3d89c..46c3d89c 100644 --- a/wearable/wear/EmbeddedApp/screenshots/phone_app.png +++ b/deprecated/wearable/wear/EmbeddedApp/screenshots/phone_app.png diff --git a/wearable/wear/EmbeddedApp/settings.gradle b/deprecated/wearable/wear/EmbeddedApp/settings.gradle index 19d00acb..19d00acb 100644 --- a/wearable/wear/EmbeddedApp/settings.gradle +++ b/deprecated/wearable/wear/EmbeddedApp/settings.gradle diff --git a/wearable/wear/EmbeddedApp/template-params.xml b/deprecated/wearable/wear/EmbeddedApp/template-params.xml index 8f7f7c77..8f7f7c77 100644 --- a/wearable/wear/EmbeddedApp/template-params.xml +++ b/deprecated/wearable/wear/EmbeddedApp/template-params.xml diff --git a/wearable/wear/FindMyPhone/Application/.gitignore b/deprecated/wearable/wear/FindMyPhone/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/FindMyPhone/Application/.gitignore +++ b/deprecated/wearable/wear/FindMyPhone/Application/.gitignore diff --git a/wearable/wear/EmbeddedApp/Application/proguard-project.txt b/deprecated/wearable/wear/FindMyPhone/Application/proguard-project.txt index 0d8f171d..0d8f171d 100644 --- a/wearable/wear/EmbeddedApp/Application/proguard-project.txt +++ b/deprecated/wearable/wear/FindMyPhone/Application/proguard-project.txt diff --git a/wearable/wear/FindMyPhone/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/FindMyPhone/Application/src/main/AndroidManifest.xml index a59cd7d9..a59cd7d9 100644 --- a/wearable/wear/FindMyPhone/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/FindMyPhone/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java b/deprecated/wearable/wear/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java index 3de75015..3de75015 100644 --- a/wearable/wear/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java +++ b/deprecated/wearable/wear/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java diff --git a/wearable/wear/FindMyPhone/Application/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 43254bd6..43254bd6 100644 --- a/wearable/wear/FindMyPhone/Application/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/FindMyPhone/Application/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex de255d6b..de255d6b 100644 --- a/wearable/wear/FindMyPhone/Application/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex 5a849da2..5a849da2 100644 --- a/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex 96a7cb8e..96a7cb8e 100644 --- a/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/FindMyPhone/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/values/strings.xml index 64163c27..64163c27 100644 --- a/wearable/wear/FindMyPhone/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/FindMyPhone/Application/src/main/res/values/wear.xml b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/values/wear.xml index b8017851..b8017851 100644 --- a/wearable/wear/FindMyPhone/Application/src/main/res/values/wear.xml +++ b/deprecated/wearable/wear/FindMyPhone/Application/src/main/res/values/wear.xml diff --git a/wearable/wear/FindMyPhone/CONTRIB.md b/deprecated/wearable/wear/FindMyPhone/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/FindMyPhone/CONTRIB.md +++ b/deprecated/wearable/wear/FindMyPhone/CONTRIB.md diff --git a/wearable/wear/FindMyPhone/Wearable/.gitignore b/deprecated/wearable/wear/FindMyPhone/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/FindMyPhone/Wearable/.gitignore +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/.gitignore diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/AndroidManifest.xml index f72a1a0a..f72a1a0a 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java index 48cd9082..48cd9082 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java index e42fb0af..e42fb0af 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java index a51a9b20..a51a9b20 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/alarm_action_icon.png b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/alarm_action_icon.png Binary files differindex 4331a512..4331a512 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/alarm_action_icon.png +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/alarm_action_icon.png diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 43254bd6..43254bd6 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex de255d6b..de255d6b 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex 5a849da2..5a849da2 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex 96a7cb8e..96a7cb8e 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/FindMyPhone/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/values/strings.xml index 5c6debe4..5c6debe4 100644 --- a/wearable/wear/FindMyPhone/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/FindMyPhone/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/FindMyPhone/build.gradle b/deprecated/wearable/wear/FindMyPhone/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/FindMyPhone/build.gradle +++ b/deprecated/wearable/wear/FindMyPhone/build.gradle diff --git a/wearable/wear/FindMyPhone/buildSrc/build.gradle b/deprecated/wearable/wear/FindMyPhone/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/FindMyPhone/buildSrc/build.gradle +++ b/deprecated/wearable/wear/FindMyPhone/buildSrc/build.gradle diff --git a/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/FindMyPhone/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/FindMyPhone/gradlew b/deprecated/wearable/wear/FindMyPhone/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/FindMyPhone/gradlew +++ b/deprecated/wearable/wear/FindMyPhone/gradlew diff --git a/wearable/wear/FindMyPhone/gradlew.bat b/deprecated/wearable/wear/FindMyPhone/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/FindMyPhone/gradlew.bat +++ b/deprecated/wearable/wear/FindMyPhone/gradlew.bat diff --git a/wearable/wear/FindMyPhone/screenshots/find_my_phone_activity.png b/deprecated/wearable/wear/FindMyPhone/screenshots/find_my_phone_activity.png Binary files differindex 8cff992c..8cff992c 100644 --- a/wearable/wear/FindMyPhone/screenshots/find_my_phone_activity.png +++ b/deprecated/wearable/wear/FindMyPhone/screenshots/find_my_phone_activity.png diff --git a/wearable/wear/FindMyPhone/screenshots/find_my_phone_notification.png b/deprecated/wearable/wear/FindMyPhone/screenshots/find_my_phone_notification.png Binary files differindex a8ed8679..a8ed8679 100644 --- a/wearable/wear/FindMyPhone/screenshots/find_my_phone_notification.png +++ b/deprecated/wearable/wear/FindMyPhone/screenshots/find_my_phone_notification.png diff --git a/wearable/wear/FindMyPhone/settings.gradle b/deprecated/wearable/wear/FindMyPhone/settings.gradle index f35b8ccc..f35b8ccc 100644 --- a/wearable/wear/FindMyPhone/settings.gradle +++ b/deprecated/wearable/wear/FindMyPhone/settings.gradle diff --git a/wearable/wear/FindMyPhone/template-params.xml b/deprecated/wearable/wear/FindMyPhone/template-params.xml index 8443b77f..8443b77f 100644 --- a/wearable/wear/FindMyPhone/template-params.xml +++ b/deprecated/wearable/wear/FindMyPhone/template-params.xml diff --git a/wearable/wear/Flashlight/CONTRIB.md b/deprecated/wearable/wear/Flashlight/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/Flashlight/CONTRIB.md +++ b/deprecated/wearable/wear/Flashlight/CONTRIB.md diff --git a/wearable/wear/Flashlight/Wearable/.gitignore b/deprecated/wearable/wear/Flashlight/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/Flashlight/Wearable/.gitignore +++ b/deprecated/wearable/wear/Flashlight/Wearable/.gitignore diff --git a/wearable/wear/Flashlight/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/Flashlight/Wearable/src/main/AndroidManifest.xml index 1eb15d07..1eb15d07 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java b/deprecated/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java index f87cae87..f87cae87 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java diff --git a/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java b/deprecated/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java index 33f061e1..33f061e1 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java diff --git a/wearable/wear/Flashlight/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 4f298cf0..4f298cf0 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/Flashlight/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 17cff3cb..17cff3cb 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex 1663ae40..1663ae40 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex d3ea0c08..d3ea0c08 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/Flashlight/Wearable/src/main/res/layout/main.xml b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/main.xml index 1e10f5a4..1e10f5a4 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/res/layout/main.xml +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/main.xml diff --git a/wearable/wear/Flashlight/Wearable/src/main/res/layout/party_light.xml b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/party_light.xml index b29ef949..b29ef949 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/res/layout/party_light.xml +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/party_light.xml diff --git a/wearable/wear/Flashlight/Wearable/src/main/res/layout/white_light.xml b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/white_light.xml index 94353a2b..94353a2b 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/res/layout/white_light.xml +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/layout/white_light.xml diff --git a/wearable/wear/Flashlight/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/values/strings.xml index 6790e2d6..6790e2d6 100644 --- a/wearable/wear/Flashlight/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/Flashlight/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/Flashlight/build.gradle b/deprecated/wearable/wear/Flashlight/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/Flashlight/build.gradle +++ b/deprecated/wearable/wear/Flashlight/build.gradle diff --git a/wearable/wear/Flashlight/buildSrc/build.gradle b/deprecated/wearable/wear/Flashlight/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/Flashlight/buildSrc/build.gradle +++ b/deprecated/wearable/wear/Flashlight/buildSrc/build.gradle diff --git a/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/Flashlight/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/Flashlight/gradlew b/deprecated/wearable/wear/Flashlight/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/Flashlight/gradlew +++ b/deprecated/wearable/wear/Flashlight/gradlew diff --git a/wearable/wear/Flashlight/gradlew.bat b/deprecated/wearable/wear/Flashlight/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/Flashlight/gradlew.bat +++ b/deprecated/wearable/wear/Flashlight/gradlew.bat diff --git a/wearable/wear/Flashlight/screenshots/flashlight.png b/deprecated/wearable/wear/Flashlight/screenshots/flashlight.png Binary files differindex 02fca20d..02fca20d 100644 --- a/wearable/wear/Flashlight/screenshots/flashlight.png +++ b/deprecated/wearable/wear/Flashlight/screenshots/flashlight.png diff --git a/wearable/wear/Flashlight/screenshots/icon-web.png b/deprecated/wearable/wear/Flashlight/screenshots/icon-web.png Binary files differindex b8a7c147..b8a7c147 100644 --- a/wearable/wear/Flashlight/screenshots/icon-web.png +++ b/deprecated/wearable/wear/Flashlight/screenshots/icon-web.png diff --git a/wearable/wear/Flashlight/screenshots/party_mode.gif b/deprecated/wearable/wear/Flashlight/screenshots/party_mode.gif Binary files differindex 8258b7dd..8258b7dd 100644 --- a/wearable/wear/Flashlight/screenshots/party_mode.gif +++ b/deprecated/wearable/wear/Flashlight/screenshots/party_mode.gif diff --git a/wearable/wear/Flashlight/settings.gradle b/deprecated/wearable/wear/Flashlight/settings.gradle index 9c2651c7..9c2651c7 100644 --- a/wearable/wear/Flashlight/settings.gradle +++ b/deprecated/wearable/wear/Flashlight/settings.gradle diff --git a/wearable/wear/Flashlight/template-params.xml b/deprecated/wearable/wear/Flashlight/template-params.xml index 9af6eb46..9af6eb46 100644 --- a/wearable/wear/Flashlight/template-params.xml +++ b/deprecated/wearable/wear/Flashlight/template-params.xml diff --git a/wearable/wear/Geofencing/Application/.gitignore b/deprecated/wearable/wear/Geofencing/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/Geofencing/Application/.gitignore +++ b/deprecated/wearable/wear/Geofencing/Application/.gitignore diff --git a/wearable/wear/FindMyPhone/Application/proguard-project.txt b/deprecated/wearable/wear/Geofencing/Application/proguard-project.txt index 0d8f171d..0d8f171d 100644 --- a/wearable/wear/FindMyPhone/Application/proguard-project.txt +++ b/deprecated/wearable/wear/Geofencing/Application/proguard-project.txt diff --git a/wearable/wear/Geofencing/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/Geofencing/Application/src/main/AndroidManifest.xml index d1eabc3d..d1eabc3d 100644 --- a/wearable/wear/Geofencing/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java index 6da9151d..6da9151d 100644 --- a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java diff --git a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java index e3f61392..e3f61392 100644 --- a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java diff --git a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java index 7564e6ca..7564e6ca 100644 --- a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java diff --git a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java index 50f02c37..50f02c37 100644 --- a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java diff --git a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java index 47584f5a..47584f5a 100644 --- a/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java diff --git a/wearable/wear/Geofencing/Application/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 4e3e000b..4e3e000b 100644 --- a/wearable/wear/Geofencing/Application/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/Geofencing/Application/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex b405cb2e..b405cb2e 100644 --- a/wearable/wear/Geofencing/Application/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/Geofencing/Application/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex 61f9d889..61f9d889 100644 --- a/wearable/wear/Geofencing/Application/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/Geofencing/Application/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex 81c10085..81c10085 100644 --- a/wearable/wear/Geofencing/Application/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/Geofencing/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/Geofencing/Application/src/main/res/values/strings.xml index 610661e9..610661e9 100644 --- a/wearable/wear/Geofencing/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/Geofencing/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/Geofencing/CONTRIB.md b/deprecated/wearable/wear/Geofencing/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/Geofencing/CONTRIB.md +++ b/deprecated/wearable/wear/Geofencing/CONTRIB.md diff --git a/wearable/wear/Geofencing/Wearable/.gitignore b/deprecated/wearable/wear/Geofencing/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/Geofencing/Wearable/.gitignore +++ b/deprecated/wearable/wear/Geofencing/Wearable/.gitignore diff --git a/wearable/wear/Geofencing/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/Geofencing/Wearable/src/main/AndroidManifest.xml index f25cc447..f25cc447 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java b/deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java index 7b8ba115..7b8ba115 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java diff --git a/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java b/deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java index ef6e8c6e..ef6e8c6e 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java diff --git a/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java b/deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java index 251360c9..251360c9 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java diff --git a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_action_check_in.png b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_action_check_in.png Binary files differindex f94a1c4c..f94a1c4c 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_action_check_in.png +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_action_check_in.png diff --git a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 4e3e000b..4e3e000b 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex b405cb2e..b405cb2e 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/android_building.png b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/android_building.png Binary files differindex 2a28bd42..2a28bd42 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/android_building.png +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/android_building.png diff --git a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/yerba_buena.png b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/yerba_buena.png Binary files differindex 04f39f87..04f39f87 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/yerba_buena.png +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-nodpi/yerba_buena.png diff --git a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex 61f9d889..61f9d889 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex 81c10085..81c10085 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/Geofencing/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/values/strings.xml index 49fb2b32..49fb2b32 100644 --- a/wearable/wear/Geofencing/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/Geofencing/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/Geofencing/build.gradle b/deprecated/wearable/wear/Geofencing/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/Geofencing/build.gradle +++ b/deprecated/wearable/wear/Geofencing/build.gradle diff --git a/wearable/wear/Geofencing/buildSrc/build.gradle b/deprecated/wearable/wear/Geofencing/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/Geofencing/buildSrc/build.gradle +++ b/deprecated/wearable/wear/Geofencing/buildSrc/build.gradle diff --git a/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/Geofencing/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/Geofencing/gradlew b/deprecated/wearable/wear/Geofencing/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/Geofencing/gradlew +++ b/deprecated/wearable/wear/Geofencing/gradlew diff --git a/wearable/wear/Geofencing/gradlew.bat b/deprecated/wearable/wear/Geofencing/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/Geofencing/gradlew.bat +++ b/deprecated/wearable/wear/Geofencing/gradlew.bat diff --git a/wearable/wear/Geofencing/screenshots/android_building_check_in.png b/deprecated/wearable/wear/Geofencing/screenshots/android_building_check_in.png Binary files differindex 5101e772..5101e772 100644 --- a/wearable/wear/Geofencing/screenshots/android_building_check_in.png +++ b/deprecated/wearable/wear/Geofencing/screenshots/android_building_check_in.png diff --git a/wearable/wear/Geofencing/screenshots/icon-web.png b/deprecated/wearable/wear/Geofencing/screenshots/icon-web.png Binary files differindex 81c10085..81c10085 100644 --- a/wearable/wear/Geofencing/screenshots/icon-web.png +++ b/deprecated/wearable/wear/Geofencing/screenshots/icon-web.png diff --git a/wearable/wear/Geofencing/settings.gradle b/deprecated/wearable/wear/Geofencing/settings.gradle index f35b8ccc..f35b8ccc 100644 --- a/wearable/wear/Geofencing/settings.gradle +++ b/deprecated/wearable/wear/Geofencing/settings.gradle diff --git a/wearable/wear/Geofencing/template-params.xml b/deprecated/wearable/wear/Geofencing/template-params.xml index 26f0b641..26f0b641 100644 --- a/wearable/wear/Geofencing/template-params.xml +++ b/deprecated/wearable/wear/Geofencing/template-params.xml diff --git a/wearable/wear/GridViewPager/.gitignore b/deprecated/wearable/wear/GridViewPager/.gitignore index b90e7562..b90e7562 100644 --- a/wearable/wear/GridViewPager/.gitignore +++ b/deprecated/wearable/wear/GridViewPager/.gitignore diff --git a/wearable/wear/GridViewPager/CONTRIB.md b/deprecated/wearable/wear/GridViewPager/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/GridViewPager/CONTRIB.md +++ b/deprecated/wearable/wear/GridViewPager/CONTRIB.md diff --git a/wearable/wear/GridViewPager/Wearable/.gitignore b/deprecated/wearable/wear/GridViewPager/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/GridViewPager/Wearable/.gitignore +++ b/deprecated/wearable/wear/GridViewPager/Wearable/.gitignore diff --git a/wearable/wear/GridViewPager/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/AndroidManifest.xml index bd6df945..bd6df945 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/CustomFragment.java b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/CustomFragment.java index aff3665c..aff3665c 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/CustomFragment.java +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/CustomFragment.java diff --git a/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java index 6abb58bf..6abb58bf 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java diff --git a/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java index b56cc6a8..b56cc6a8 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/bugdroid.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/bugdroid.png Binary files differindex 7cbe6615..7cbe6615 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/bugdroid.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/bugdroid.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 589f229d..589f229d 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_left.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_left.png Binary files differindex 88a497f8..88a497f8 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_left.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_left.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_right.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_right.png Binary files differindex 5bf0e477..5bf0e477 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_right.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_right.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_up.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_up.png Binary files differindex 9a3256a6..9a3256a6 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_up.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-hdpi/ic_swipe_arrow_up.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/bugdroid.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/bugdroid.png Binary files differindex 8bf75960..8bf75960 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/bugdroid.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/bugdroid.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 77dd5713..77dd5713 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_left.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_left.png Binary files differindex ba36d9de..ba36d9de 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_left.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_left.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_right.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_right.png Binary files differindex e5930ac8..e5930ac8 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_right.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_right.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_up.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_up.png Binary files differindex 5ded1c36..5ded1c36 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_up.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-mdpi/ic_swipe_arrow_up.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-nodpi/bugdroid_large.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-nodpi/bugdroid_large.png Binary files differindex 7b393b21..7b393b21 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-nodpi/bugdroid_large.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-nodpi/bugdroid_large.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex fe34ebe1..fe34ebe1 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_left.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_left.png Binary files differindex f02901b6..f02901b6 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_left.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_left.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_right.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_right.png Binary files differindex 154a87e0..154a87e0 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_right.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_right.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_up.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_up.png Binary files differindex e99d9827..e99d9827 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_up.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xhdpi/ic_swipe_arrow_up.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex ab80bcd1..ab80bcd1 100755 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_1.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_1.png Binary files differindex 7e6437bb..7e6437bb 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_1.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_1.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_2.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_2.png Binary files differindex 4fdc5c9a..4fdc5c9a 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_2.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_2.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_3.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_3.png Binary files differindex 20faf46a..20faf46a 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_3.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_3.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_4.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_4.png Binary files differindex 1fd25c68..1fd25c68 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_4.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_4.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_5.png b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_5.png Binary files differindex eecdb2cd..eecdb2cd 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_5.png +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/debug_background_5.png diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/gradient.xml b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/gradient.xml index 70770436..70770436 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/gradient.xml +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/gradient.xml diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/shape.xml b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/shape.xml index a6306c72..a6306c72 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/shape.xml +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/drawable/shape.xml diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/layout/activity_main.xml b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/layout/activity_main.xml index 8c077aba..8c077aba 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/layout/activity_main.xml +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/layout/activity_main.xml diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/layout/custom_fragment.xml b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/layout/custom_fragment.xml index 13b02f20..13b02f20 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/layout/custom_fragment.xml +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/layout/custom_fragment.xml diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/values/dimens.xml b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/values/dimens.xml index dd6ad2d0..dd6ad2d0 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/values/dimens.xml diff --git a/wearable/wear/GridViewPager/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/values/strings.xml index ab4e663b..ab4e663b 100644 --- a/wearable/wear/GridViewPager/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/GridViewPager/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/GridViewPager/build.gradle b/deprecated/wearable/wear/GridViewPager/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/GridViewPager/build.gradle +++ b/deprecated/wearable/wear/GridViewPager/build.gradle diff --git a/wearable/wear/GridViewPager/buildSrc/build.gradle b/deprecated/wearable/wear/GridViewPager/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/GridViewPager/buildSrc/build.gradle +++ b/deprecated/wearable/wear/GridViewPager/buildSrc/build.gradle diff --git a/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/GridViewPager/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/GridViewPager/gradlew b/deprecated/wearable/wear/GridViewPager/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/GridViewPager/gradlew +++ b/deprecated/wearable/wear/GridViewPager/gradlew diff --git a/wearable/wear/GridViewPager/gradlew.bat b/deprecated/wearable/wear/GridViewPager/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/GridViewPager/gradlew.bat +++ b/deprecated/wearable/wear/GridViewPager/gradlew.bat diff --git a/wearable/wear/GridViewPager/screenshots/grid_view_pager.gif b/deprecated/wearable/wear/GridViewPager/screenshots/grid_view_pager.gif Binary files differindex f70dafce..f70dafce 100644 --- a/wearable/wear/GridViewPager/screenshots/grid_view_pager.gif +++ b/deprecated/wearable/wear/GridViewPager/screenshots/grid_view_pager.gif diff --git a/wearable/wear/GridViewPager/settings.gradle b/deprecated/wearable/wear/GridViewPager/settings.gradle index 9c2651c7..9c2651c7 100644 --- a/wearable/wear/GridViewPager/settings.gradle +++ b/deprecated/wearable/wear/GridViewPager/settings.gradle diff --git a/wearable/wear/GridViewPager/template-params.xml b/deprecated/wearable/wear/GridViewPager/template-params.xml index 9f5ac5c1..9f5ac5c1 100644 --- a/wearable/wear/GridViewPager/template-params.xml +++ b/deprecated/wearable/wear/GridViewPager/template-params.xml diff --git a/wearable/wear/Notifications/.gitignore b/deprecated/wearable/wear/Notifications/.gitignore index b90e7562..b90e7562 100644 --- a/wearable/wear/Notifications/.gitignore +++ b/deprecated/wearable/wear/Notifications/.gitignore diff --git a/wearable/wear/Notifications/Application/.gitignore b/deprecated/wearable/wear/Notifications/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/Notifications/Application/.gitignore +++ b/deprecated/wearable/wear/Notifications/Application/.gitignore diff --git a/wearable/wear/Notifications/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/Notifications/Application/src/main/AndroidManifest.xml index 4b0a9b3a..4b0a9b3a 100644 --- a/wearable/wear/Notifications/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java index a550912d..a550912d 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java index ff639dcb..ff639dcb 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java index aedd548d..aedd548d 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java index 9ee81527..9ee81527 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java index afc5f169..afc5f169 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java index 39a1c785..39a1c785 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java index a0dff187..a0dff187 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java index 641b861f..641b861f 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java index 389b90a5..389b90a5 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java index b4298fd3..b4298fd3 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java diff --git a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java index c33b59d7..c33b59d7 100644 --- a/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java +++ b/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/example_large_icon.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/example_large_icon.png Binary files differindex 545f8cec..545f8cec 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/example_large_icon.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/example_large_icon.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_action.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_action.png Binary files differindex 1f274990..1f274990 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_action.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_action.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_reply.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_reply.png Binary files differindex 66388d5f..66388d5f 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_reply.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_full_reply.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_result_open.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_result_open.png Binary files differindex db8af57f..db8af57f 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_result_open.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-hdpi/ic_result_open.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_action.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_action.png Binary files differindex b70b74ff..b70b74ff 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_action.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_action.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_reply.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_reply.png Binary files differindex 60ce9f9c..60ce9f9c 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_reply.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_full_reply.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_result_open.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_result_open.png Binary files differindex 860d7de6..860d7de6 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_result_open.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-mdpi/ic_result_open.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_1.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_1.png Binary files differindex 9c807946..9c807946 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_1.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_1.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_2.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_2.png Binary files differindex 23d7062b..23d7062b 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_2.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_2.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_3.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_3.png Binary files differindex 588318dd..588318dd 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_3.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_3.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_4.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_4.png Binary files differindex bd1dfee0..bd1dfee0 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_4.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_4.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_5.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_5.png Binary files differindex aa1ad23a..aa1ad23a 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_5.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/bg_5.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_large.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_large.png Binary files differindex 0eab3b10..0eab3b10 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_large.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_large.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_small.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_small.png Binary files differindex 9a9f4b4b..9a9f4b4b 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_small.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/content_icon_small.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/example_big_picture.jpg b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/example_big_picture.jpg Binary files differindex 68473ba6..68473ba6 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/example_big_picture.jpg +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/example_big_picture.jpg diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/qr_code.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/qr_code.png Binary files differindex 0dcd7b7f..0dcd7b7f 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/qr_code.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-nodpi/qr_code.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_action.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_action.png Binary files differindex 6a769521..6a769521 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_action.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_action.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_reply.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_reply.png Binary files differindex dba6fa7b..dba6fa7b 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_reply.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_full_reply.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_result_open.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_result_open.png Binary files differindex 7d3c785c..7d3c785c 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_result_open.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable-xhdpi/ic_result_open.png diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable/selected_background.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable/selected_background.xml index f470fc8a..f470fc8a 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable/selected_background.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable/selected_background.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/drawable/unselected_background.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable/unselected_background.xml index a5468972..a5468972 100644 --- a/wearable/wear/Notifications/Application/src/main/res/drawable/unselected_background.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/drawable/unselected_background.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/layout/activity_main.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/layout/activity_main.xml index 2a54ebfa..2a54ebfa 100644 --- a/wearable/wear/Notifications/Application/src/main/res/layout/activity_main.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/layout/activity_main.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/layout/background_picker.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/layout/background_picker.xml index 03f77f1c..03f77f1c 100644 --- a/wearable/wear/Notifications/Application/src/main/res/layout/background_picker.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/layout/background_picker.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/layout/layout_divider.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/layout/layout_divider.xml index 82142b7f..82142b7f 100644 --- a/wearable/wear/Notifications/Application/src/main/res/layout/layout_divider.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/layout/layout_divider.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/layout/simple_spinner_item.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/layout/simple_spinner_item.xml index 342a1302..342a1302 100644 --- a/wearable/wear/Notifications/Application/src/main/res/layout/simple_spinner_item.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/layout/simple_spinner_item.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/mipmap-hdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differindex 41479deb..41479deb 100644 --- a/wearable/wear/Notifications/Application/src/main/res/mipmap-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Application/src/main/res/mipmap-mdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differindex 380b02f4..380b02f4 100644 --- a/wearable/wear/Notifications/Application/src/main/res/mipmap-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Application/src/main/res/mipmap-xhdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differindex b3e251e0..b3e251e0 100644 --- a/wearable/wear/Notifications/Application/src/main/res/mipmap-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Application/src/main/res/mipmap-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differindex 1962289e..1962289e 100644 --- a/wearable/wear/Notifications/Application/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differindex 163f1f00..163f1f00 100644 --- a/wearable/wear/Notifications/Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Application/src/main/res/values/colors.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/values/colors.xml index 118f3d47..118f3d47 100644 --- a/wearable/wear/Notifications/Application/src/main/res/values/colors.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/values/colors.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/values/dimens.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/values/dimens.xml index 77da63e4..77da63e4 100644 --- a/wearable/wear/Notifications/Application/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/values/dimens.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/values/strings.xml index ffcb9f3a..ffcb9f3a 100644 --- a/wearable/wear/Notifications/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/Notifications/Application/src/main/res/values/styles.xml b/deprecated/wearable/wear/Notifications/Application/src/main/res/values/styles.xml index 69f8dfaa..69f8dfaa 100644 --- a/wearable/wear/Notifications/Application/src/main/res/values/styles.xml +++ b/deprecated/wearable/wear/Notifications/Application/src/main/res/values/styles.xml diff --git a/wearable/wear/Notifications/CONTRIB.md b/deprecated/wearable/wear/Notifications/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/Notifications/CONTRIB.md +++ b/deprecated/wearable/wear/Notifications/CONTRIB.md diff --git a/wearable/wear/Notifications/Wearable/.gitignore b/deprecated/wearable/wear/Notifications/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/Notifications/Wearable/.gitignore +++ b/deprecated/wearable/wear/Notifications/Wearable/.gitignore diff --git a/wearable/wear/Notifications/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/AndroidManifest.xml index 0bce3ea9..0bce3ea9 100644 --- a/wearable/wear/Notifications/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java index 2e0b2eed..2e0b2eed 100644 --- a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java diff --git a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java index d029f436..d029f436 100644 --- a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java diff --git a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java index d564e13a..d564e13a 100644 --- a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java diff --git a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java index d6570d5b..d6570d5b 100644 --- a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java diff --git a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java index 5578659e..5578659e 100644 --- a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java diff --git a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java index 4ec554ce..4ec554ce 100644 --- a/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java diff --git a/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_large.png b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_large.png Binary files differindex 0eab3b10..0eab3b10 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_large.png +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_large.png diff --git a/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_small.png b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_small.png Binary files differindex 9a9f4b4b..9a9f4b4b 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_small.png +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/content_icon_small.png diff --git a/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/example_big_picture.jpg b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/example_big_picture.jpg Binary files differindex 68473ba6..68473ba6 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/example_big_picture.jpg +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable-nodpi/example_big_picture.jpg diff --git a/wearable/wear/Notifications/Wearable/src/main/res/drawable/wl_circle.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable/wl_circle.xml index 7c9708ed..7c9708ed 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/drawable/wl_circle.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/drawable/wl_circle.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml index be70b2b0..be70b2b0 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_main.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_main.xml index 9ae6026b..9ae6026b 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_main.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_main.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_notification_display.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_notification_display.xml index d91f6aa5..d91f6aa5 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_notification_display.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/activity_notification_display.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/res/layout/notif_preset_list_item.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/notif_preset_list_item.xml index 9e3cd459..9e3cd459 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/layout/notif_preset_list_item.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/layout/notif_preset_list_item.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differindex 41479deb..41479deb 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differindex 380b02f4..380b02f4 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differindex b3e251e0..b3e251e0 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differindex 1962289e..1962289e 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differindex 163f1f00..163f1f00 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/wearable/wear/Notifications/Wearable/src/main/res/values/colors.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/colors.xml index a81e1bc2..a81e1bc2 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/values/colors.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/colors.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/res/values/dimens.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/dimens.xml index 8698c3c6..8698c3c6 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/dimens.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/res/values/integers.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/integers.xml index 1dfb0116..1dfb0116 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/values/integers.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/integers.xml diff --git a/wearable/wear/Notifications/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/strings.xml index ff7023b5..ff7023b5 100644 --- a/wearable/wear/Notifications/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/Notifications/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/Notifications/build.gradle b/deprecated/wearable/wear/Notifications/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/Notifications/build.gradle +++ b/deprecated/wearable/wear/Notifications/build.gradle diff --git a/wearable/wear/Notifications/buildSrc/build.gradle b/deprecated/wearable/wear/Notifications/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/Notifications/buildSrc/build.gradle +++ b/deprecated/wearable/wear/Notifications/buildSrc/build.gradle diff --git a/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/Notifications/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/Notifications/gradlew b/deprecated/wearable/wear/Notifications/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/Notifications/gradlew +++ b/deprecated/wearable/wear/Notifications/gradlew diff --git a/wearable/wear/Notifications/gradlew.bat b/deprecated/wearable/wear/Notifications/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/Notifications/gradlew.bat +++ b/deprecated/wearable/wear/Notifications/gradlew.bat diff --git a/wearable/wear/Notifications/screenshots/basic-menu.png b/deprecated/wearable/wear/Notifications/screenshots/basic-menu.png Binary files differindex 75c29cc1..75c29cc1 100644 --- a/wearable/wear/Notifications/screenshots/basic-menu.png +++ b/deprecated/wearable/wear/Notifications/screenshots/basic-menu.png diff --git a/wearable/wear/Notifications/screenshots/basic.png b/deprecated/wearable/wear/Notifications/screenshots/basic.png Binary files differindex 9e13b092..9e13b092 100644 --- a/wearable/wear/Notifications/screenshots/basic.png +++ b/deprecated/wearable/wear/Notifications/screenshots/basic.png diff --git a/wearable/wear/Notifications/screenshots/bottom-aligned.png b/deprecated/wearable/wear/Notifications/screenshots/bottom-aligned.png Binary files differindex 88c7ffad..88c7ffad 100644 --- a/wearable/wear/Notifications/screenshots/bottom-aligned.png +++ b/deprecated/wearable/wear/Notifications/screenshots/bottom-aligned.png diff --git a/wearable/wear/Notifications/screenshots/bundle.png b/deprecated/wearable/wear/Notifications/screenshots/bundle.png Binary files differindex a6e1ad5e..a6e1ad5e 100644 --- a/wearable/wear/Notifications/screenshots/bundle.png +++ b/deprecated/wearable/wear/Notifications/screenshots/bundle.png diff --git a/wearable/wear/Notifications/screenshots/companion-bottom-aligned.png b/deprecated/wearable/wear/Notifications/screenshots/companion-bottom-aligned.png Binary files differindex 2bda56c8..2bda56c8 100644 --- a/wearable/wear/Notifications/screenshots/companion-bottom-aligned.png +++ b/deprecated/wearable/wear/Notifications/screenshots/companion-bottom-aligned.png diff --git a/wearable/wear/Notifications/screenshots/companion-bundle.png b/deprecated/wearable/wear/Notifications/screenshots/companion-bundle.png Binary files differindex 90e0e086..90e0e086 100644 --- a/wearable/wear/Notifications/screenshots/companion-bundle.png +++ b/deprecated/wearable/wear/Notifications/screenshots/companion-bundle.png diff --git a/wearable/wear/Notifications/screenshots/companion-content-action.png b/deprecated/wearable/wear/Notifications/screenshots/companion-content-action.png Binary files differindex 07e68060..07e68060 100644 --- a/wearable/wear/Notifications/screenshots/companion-content-action.png +++ b/deprecated/wearable/wear/Notifications/screenshots/companion-content-action.png diff --git a/wearable/wear/Notifications/screenshots/companion-multiple-page.png b/deprecated/wearable/wear/Notifications/screenshots/companion-multiple-page.png Binary files differindex 7f115219..7f115219 100644 --- a/wearable/wear/Notifications/screenshots/companion-multiple-page.png +++ b/deprecated/wearable/wear/Notifications/screenshots/companion-multiple-page.png diff --git a/wearable/wear/Notifications/screenshots/content-action.png b/deprecated/wearable/wear/Notifications/screenshots/content-action.png Binary files differindex 415dd9f6..415dd9f6 100644 --- a/wearable/wear/Notifications/screenshots/content-action.png +++ b/deprecated/wearable/wear/Notifications/screenshots/content-action.png diff --git a/wearable/wear/Notifications/screenshots/content-action2.png b/deprecated/wearable/wear/Notifications/screenshots/content-action2.png Binary files differindex 7f01994a..7f01994a 100644 --- a/wearable/wear/Notifications/screenshots/content-action2.png +++ b/deprecated/wearable/wear/Notifications/screenshots/content-action2.png diff --git a/wearable/wear/Notifications/screenshots/content-icon-menu.png b/deprecated/wearable/wear/Notifications/screenshots/content-icon-menu.png Binary files differindex 6c810cea..6c810cea 100644 --- a/wearable/wear/Notifications/screenshots/content-icon-menu.png +++ b/deprecated/wearable/wear/Notifications/screenshots/content-icon-menu.png diff --git a/wearable/wear/Notifications/screenshots/content-icon1.png b/deprecated/wearable/wear/Notifications/screenshots/content-icon1.png Binary files differindex f9d12da4..f9d12da4 100644 --- a/wearable/wear/Notifications/screenshots/content-icon1.png +++ b/deprecated/wearable/wear/Notifications/screenshots/content-icon1.png diff --git a/wearable/wear/Notifications/screenshots/content-icon2.png b/deprecated/wearable/wear/Notifications/screenshots/content-icon2.png Binary files differindex a36b734c..a36b734c 100644 --- a/wearable/wear/Notifications/screenshots/content-icon2.png +++ b/deprecated/wearable/wear/Notifications/screenshots/content-icon2.png diff --git a/wearable/wear/Notifications/screenshots/content-icon3.png b/deprecated/wearable/wear/Notifications/screenshots/content-icon3.png Binary files differindex e2c757e5..e2c757e5 100644 --- a/wearable/wear/Notifications/screenshots/content-icon3.png +++ b/deprecated/wearable/wear/Notifications/screenshots/content-icon3.png diff --git a/wearable/wear/Notifications/screenshots/content-icon4.png b/deprecated/wearable/wear/Notifications/screenshots/content-icon4.png Binary files differindex f5d05231..f5d05231 100644 --- a/wearable/wear/Notifications/screenshots/content-icon4.png +++ b/deprecated/wearable/wear/Notifications/screenshots/content-icon4.png diff --git a/wearable/wear/Notifications/screenshots/display-intent-menu.png b/deprecated/wearable/wear/Notifications/screenshots/display-intent-menu.png Binary files differindex 567673f7..567673f7 100644 --- a/wearable/wear/Notifications/screenshots/display-intent-menu.png +++ b/deprecated/wearable/wear/Notifications/screenshots/display-intent-menu.png diff --git a/wearable/wear/Notifications/screenshots/display-intent.png b/deprecated/wearable/wear/Notifications/screenshots/display-intent.png Binary files differindex f3b333d5..f3b333d5 100644 --- a/wearable/wear/Notifications/screenshots/display-intent.png +++ b/deprecated/wearable/wear/Notifications/screenshots/display-intent.png diff --git a/wearable/wear/Notifications/screenshots/ic_launcher.png b/deprecated/wearable/wear/Notifications/screenshots/ic_launcher.png Binary files differindex 163f1f00..163f1f00 100644 --- a/wearable/wear/Notifications/screenshots/ic_launcher.png +++ b/deprecated/wearable/wear/Notifications/screenshots/ic_launcher.png diff --git a/wearable/wear/Notifications/screenshots/multiple-page1.png b/deprecated/wearable/wear/Notifications/screenshots/multiple-page1.png Binary files differindex d6591d97..d6591d97 100644 --- a/wearable/wear/Notifications/screenshots/multiple-page1.png +++ b/deprecated/wearable/wear/Notifications/screenshots/multiple-page1.png diff --git a/wearable/wear/Notifications/screenshots/multiple-page2.png b/deprecated/wearable/wear/Notifications/screenshots/multiple-page2.png Binary files differindex 730cb304..730cb304 100644 --- a/wearable/wear/Notifications/screenshots/multiple-page2.png +++ b/deprecated/wearable/wear/Notifications/screenshots/multiple-page2.png diff --git a/wearable/wear/Notifications/screenshots/stylized-menu.png b/deprecated/wearable/wear/Notifications/screenshots/stylized-menu.png Binary files differindex 2e94c93b..2e94c93b 100644 --- a/wearable/wear/Notifications/screenshots/stylized-menu.png +++ b/deprecated/wearable/wear/Notifications/screenshots/stylized-menu.png diff --git a/wearable/wear/Notifications/screenshots/stylized.png b/deprecated/wearable/wear/Notifications/screenshots/stylized.png Binary files differindex 338c9cc5..338c9cc5 100644 --- a/wearable/wear/Notifications/screenshots/stylized.png +++ b/deprecated/wearable/wear/Notifications/screenshots/stylized.png diff --git a/wearable/wear/Notifications/settings.gradle b/deprecated/wearable/wear/Notifications/settings.gradle index f35b8ccc..f35b8ccc 100644 --- a/wearable/wear/Notifications/settings.gradle +++ b/deprecated/wearable/wear/Notifications/settings.gradle diff --git a/wearable/wear/Notifications/template-params.xml b/deprecated/wearable/wear/Notifications/template-params.xml index 35088a91..35088a91 100644 --- a/wearable/wear/Notifications/template-params.xml +++ b/deprecated/wearable/wear/Notifications/template-params.xml diff --git a/wearable/wear/Quiz/Application/.gitignore b/deprecated/wearable/wear/Quiz/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/Quiz/Application/.gitignore +++ b/deprecated/wearable/wear/Quiz/Application/.gitignore diff --git a/wearable/wear/Geofencing/Application/proguard-project.txt b/deprecated/wearable/wear/Quiz/Application/proguard-project.txt index 0d8f171d..0d8f171d 100644 --- a/wearable/wear/Geofencing/Application/proguard-project.txt +++ b/deprecated/wearable/wear/Quiz/Application/proguard-project.txt diff --git a/wearable/wear/Quiz/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/Quiz/Application/src/main/AndroidManifest.xml index 8fabd42d..8fabd42d 100644 --- a/wearable/wear/Quiz/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/Quiz/Application/src/main/assets/Quiz.json b/deprecated/wearable/wear/Quiz/Application/src/main/assets/Quiz.json index db2448d9..db2448d9 100644 --- a/wearable/wear/Quiz/Application/src/main/assets/Quiz.json +++ b/deprecated/wearable/wear/Quiz/Application/src/main/assets/Quiz.json diff --git a/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java b/deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java index 2bcfe5f1..2bcfe5f1 100644 --- a/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java +++ b/deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java diff --git a/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java b/deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java index df8c8998..df8c8998 100644 --- a/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java +++ b/deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java diff --git a/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java b/deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java index d1e2d739..d1e2d739 100644 --- a/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java +++ b/deprecated/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_a.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_a.png Binary files differindex de18ce11..de18ce11 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_a.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_a.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_b.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_b.png Binary files differindex 3cdfe975..3cdfe975 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_b.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_b.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_c.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_c.png Binary files differindex f0ed2ef9..f0ed2ef9 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_c.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_c.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_d.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_d.png Binary files differindex c158d295..c158d295 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_d.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_choice_d.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 91a8cff9..91a8cff9 100755 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_unknown_choice.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_unknown_choice.png Binary files differindex 9aed5172..9aed5172 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_unknown_choice.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-hdpi/ic_unknown_choice.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_a.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_a.png Binary files differindex 57459365..57459365 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_a.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_a.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_b.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_b.png Binary files differindex 958b92e3..958b92e3 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_b.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_b.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_c.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_c.png Binary files differindex 9fcfab75..9fcfab75 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_c.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_c.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_d.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_d.png Binary files differindex 821cadb7..821cadb7 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_d.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_choice_d.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 728ee6d7..728ee6d7 100755 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_unknown_choice.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_unknown_choice.png Binary files differindex b8030ef0..b8030ef0 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_unknown_choice.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-mdpi/ic_unknown_choice.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_a.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_a.png Binary files differindex 3dba96f3..3dba96f3 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_a.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_a.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_b.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_b.png Binary files differindex 9ca3c85f..9ca3c85f 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_b.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_b.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_c.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_c.png Binary files differindex b84b3b76..b84b3b76 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_c.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_c.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_d.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_d.png Binary files differindex 185e91ec..185e91ec 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_d.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_choice_d.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex 64a58545..64a58545 100755 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex 86a395bb..86a395bb 100755 --- a/wearable/wear/Quiz/Application/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable/selected_background.xml b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable/selected_background.xml index 5852dd89..5852dd89 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable/selected_background.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable/selected_background.xml diff --git a/wearable/wear/Quiz/Application/src/main/res/drawable/unselected_background.xml b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable/unselected_background.xml index 16131675..16131675 100644 --- a/wearable/wear/Quiz/Application/src/main/res/drawable/unselected_background.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/drawable/unselected_background.xml diff --git a/wearable/wear/Quiz/Application/src/main/res/layout/main.xml b/deprecated/wearable/wear/Quiz/Application/src/main/res/layout/main.xml index 3eb19f9b..3eb19f9b 100644 --- a/wearable/wear/Quiz/Application/src/main/res/layout/main.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/layout/main.xml diff --git a/wearable/wear/Quiz/Application/src/main/res/layout/question_status_element.xml b/deprecated/wearable/wear/Quiz/Application/src/main/res/layout/question_status_element.xml index 280f44ad..280f44ad 100644 --- a/wearable/wear/Quiz/Application/src/main/res/layout/question_status_element.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/layout/question_status_element.xml diff --git a/wearable/wear/Quiz/Application/src/main/res/values/dimens.xml b/deprecated/wearable/wear/Quiz/Application/src/main/res/values/dimens.xml index fd97910a..fd97910a 100644 --- a/wearable/wear/Quiz/Application/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/values/dimens.xml diff --git a/wearable/wear/Quiz/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/Quiz/Application/src/main/res/values/strings.xml index e2fa3b13..e2fa3b13 100644 --- a/wearable/wear/Quiz/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/Quiz/Application/src/main/res/values/styles.xml b/deprecated/wearable/wear/Quiz/Application/src/main/res/values/styles.xml index 69f8dfaa..69f8dfaa 100644 --- a/wearable/wear/Quiz/Application/src/main/res/values/styles.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/values/styles.xml diff --git a/wearable/wear/Quiz/Application/src/main/res/values/wear.xml b/deprecated/wearable/wear/Quiz/Application/src/main/res/values/wear.xml index 1b69b6cc..1b69b6cc 100644 --- a/wearable/wear/Quiz/Application/src/main/res/values/wear.xml +++ b/deprecated/wearable/wear/Quiz/Application/src/main/res/values/wear.xml diff --git a/wearable/wear/Quiz/CONTRIB.md b/deprecated/wearable/wear/Quiz/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/Quiz/CONTRIB.md +++ b/deprecated/wearable/wear/Quiz/CONTRIB.md diff --git a/wearable/wear/Quiz/Wearable/.gitignore b/deprecated/wearable/wear/Quiz/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/Quiz/Wearable/.gitignore +++ b/deprecated/wearable/wear/Quiz/Wearable/.gitignore diff --git a/wearable/wear/Quiz/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/Quiz/Wearable/src/main/AndroidManifest.xml index 289a07f5..289a07f5 100644 --- a/wearable/wear/Quiz/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java index 6791422f..6791422f 100644 --- a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java diff --git a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java index d7154110..d7154110 100644 --- a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java diff --git a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java index 5a4b9061..5a4b9061 100644 --- a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java diff --git a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java index 3a31e372..3a31e372 100644 --- a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java diff --git a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java index 50425b03..50425b03 100644 --- a/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_a.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_a.png Binary files differindex de18ce11..de18ce11 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_a.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_a.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_b.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_b.png Binary files differindex 3cdfe975..3cdfe975 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_b.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_b.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_c.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_c.png Binary files differindex f0ed2ef9..f0ed2ef9 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_c.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_c.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_d.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_d.png Binary files differindex c158d295..c158d295 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_d.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_choice_d.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 91a8cff9..91a8cff9 100755 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_unknown_choice.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_unknown_choice.png Binary files differindex 9aed5172..9aed5172 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_unknown_choice.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-hdpi/ic_unknown_choice.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_a.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_a.png Binary files differindex 57459365..57459365 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_a.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_a.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_b.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_b.png Binary files differindex 958b92e3..958b92e3 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_b.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_b.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_c.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_c.png Binary files differindex 9fcfab75..9fcfab75 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_c.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_c.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_d.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_d.png Binary files differindex 821cadb7..821cadb7 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_d.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_choice_d.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 728ee6d7..728ee6d7 100755 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_unknown_choice.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_unknown_choice.png Binary files differindex b8030ef0..b8030ef0 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_unknown_choice.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-mdpi/ic_unknown_choice.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_a.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_a.png Binary files differindex 3dba96f3..3dba96f3 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_a.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_a.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_b.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_b.png Binary files differindex 9ca3c85f..9ca3c85f 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_b.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_b.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_c.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_c.png Binary files differindex b84b3b76..b84b3b76 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_c.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_c.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_d.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_d.png Binary files differindex 185e91ec..185e91ec 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_d.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_choice_d.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex 64a58545..64a58545 100755 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_unknown_choice.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_unknown_choice.png Binary files differindex 57838d15..57838d15 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_unknown_choice.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xhdpi/ic_unknown_choice.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex 86a395bb..86a395bb 100755 --- a/wearable/wear/Quiz/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/Quiz/Wearable/src/main/res/values/colors.xml b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/values/colors.xml index b10adafa..b10adafa 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/values/colors.xml +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/values/colors.xml diff --git a/wearable/wear/Quiz/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/values/strings.xml index 313ee4c2..313ee4c2 100644 --- a/wearable/wear/Quiz/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/Quiz/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/Quiz/build.gradle b/deprecated/wearable/wear/Quiz/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/Quiz/build.gradle +++ b/deprecated/wearable/wear/Quiz/build.gradle diff --git a/wearable/wear/Quiz/buildSrc/build.gradle b/deprecated/wearable/wear/Quiz/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/Quiz/buildSrc/build.gradle +++ b/deprecated/wearable/wear/Quiz/buildSrc/build.gradle diff --git a/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/Quiz/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/Quiz/gradlew b/deprecated/wearable/wear/Quiz/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/Quiz/gradlew +++ b/deprecated/wearable/wear/Quiz/gradlew diff --git a/wearable/wear/Quiz/gradlew.bat b/deprecated/wearable/wear/Quiz/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/Quiz/gradlew.bat +++ b/deprecated/wearable/wear/Quiz/gradlew.bat diff --git a/wearable/wear/Quiz/screenshots/companion_quiz.png b/deprecated/wearable/wear/Quiz/screenshots/companion_quiz.png Binary files differindex 15f7e803..15f7e803 100644 --- a/wearable/wear/Quiz/screenshots/companion_quiz.png +++ b/deprecated/wearable/wear/Quiz/screenshots/companion_quiz.png diff --git a/wearable/wear/Quiz/screenshots/companion_quiz_correct_status.png b/deprecated/wearable/wear/Quiz/screenshots/companion_quiz_correct_status.png Binary files differindex c0e25ca5..c0e25ca5 100644 --- a/wearable/wear/Quiz/screenshots/companion_quiz_correct_status.png +++ b/deprecated/wearable/wear/Quiz/screenshots/companion_quiz_correct_status.png diff --git a/wearable/wear/Quiz/screenshots/wearable_quiz.png b/deprecated/wearable/wear/Quiz/screenshots/wearable_quiz.png Binary files differindex 0c631390..0c631390 100644 --- a/wearable/wear/Quiz/screenshots/wearable_quiz.png +++ b/deprecated/wearable/wear/Quiz/screenshots/wearable_quiz.png diff --git a/wearable/wear/Quiz/screenshots/wearable_quiz_answer.png b/deprecated/wearable/wear/Quiz/screenshots/wearable_quiz_answer.png Binary files differindex eb475161..eb475161 100644 --- a/wearable/wear/Quiz/screenshots/wearable_quiz_answer.png +++ b/deprecated/wearable/wear/Quiz/screenshots/wearable_quiz_answer.png diff --git a/wearable/wear/Quiz/screenshots/wearable_quiz_report.png b/deprecated/wearable/wear/Quiz/screenshots/wearable_quiz_report.png Binary files differindex 196d0459..196d0459 100644 --- a/wearable/wear/Quiz/screenshots/wearable_quiz_report.png +++ b/deprecated/wearable/wear/Quiz/screenshots/wearable_quiz_report.png diff --git a/wearable/wear/Quiz/settings.gradle b/deprecated/wearable/wear/Quiz/settings.gradle index f35b8ccc..f35b8ccc 100644 --- a/wearable/wear/Quiz/settings.gradle +++ b/deprecated/wearable/wear/Quiz/settings.gradle diff --git a/wearable/wear/Quiz/template-params.xml b/deprecated/wearable/wear/Quiz/template-params.xml index 7be9593a..7be9593a 100644 --- a/wearable/wear/Quiz/template-params.xml +++ b/deprecated/wearable/wear/Quiz/template-params.xml diff --git a/wearable/wear/RecipeAssistant/Application/.gitignore b/deprecated/wearable/wear/RecipeAssistant/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/RecipeAssistant/Application/.gitignore +++ b/deprecated/wearable/wear/RecipeAssistant/Application/.gitignore diff --git a/wearable/wear/Notifications/Application/proguard-project.txt b/deprecated/wearable/wear/RecipeAssistant/Application/proguard-project.txt index 0d8f171d..0d8f171d 100644 --- a/wearable/wear/Notifications/Application/proguard-project.txt +++ b/deprecated/wearable/wear/RecipeAssistant/Application/proguard-project.txt diff --git a/wearable/wear/RecipeAssistant/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/AndroidManifest.xml index 141da9a0..141da9a0 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/beef-brisket-chili.json b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/beef-brisket-chili.json index 19598f9e..19598f9e 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/beef-brisket-chili.json +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/beef-brisket-chili.json diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/chili.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/chili.jpg Binary files differindex ca5f7510..ca5f7510 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/chili.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/chili.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.jpg Binary files differindex 77175eb8..77175eb8 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.json b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.json index 5fae53fe..5fae53fe 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.json +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/guacamole.json diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/irish-stew.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/irish-stew.jpg Binary files differindex 0c20766f..0c20766f 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/irish-stew.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/irish-stew.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/northern-irish-vegetable-soup.json b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/northern-irish-vegetable-soup.json index 55d25919..55d25919 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/northern-irish-vegetable-soup.json +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/northern-irish-vegetable-soup.json diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/recipelist.json b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/recipelist.json index efd787d3..efd787d3 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/recipelist.json +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/recipelist.json diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-1-grind-spices.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-1-grind-spices.jpg Binary files differindex 9b5f2b97..9b5f2b97 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-1-grind-spices.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-1-grind-spices.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-2-score-beef.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-2-score-beef.jpg Binary files differindex 66c549df..66c549df 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-2-score-beef.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-2-score-beef.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-brown-beef.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-brown-beef.jpg Binary files differindex 1bb801e6..1bb801e6 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-brown-beef.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-brown-beef.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-lime.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-lime.jpg Binary files differindex b615d558..b615d558 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-lime.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-3-lime.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-4-fry-onion.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-4-fry-onion.jpg Binary files differindex b5d2a187..b5d2a187 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-4-fry-onion.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-4-fry-onion.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-6-combine.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-6-combine.jpg Binary files differindex fe294057..fe294057 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-6-combine.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-6-combine.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-8-pull.jpg b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-8-pull.jpg Binary files differindex f8288a84..f8288a84 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/assets/step-8-pull.jpg +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/assets/step-8-pull.jpg diff --git a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java index 8753582a..8753582a 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java diff --git a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java index fae49ee7..fae49ee7 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java diff --git a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java index 4cc860f4..4cc860f4 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java diff --git a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java index e470c0f4..e470c0f4 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java diff --git a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java index cc7f034a..cc7f034a 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java diff --git a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java index 746603a3..746603a3 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java diff --git a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java index 4abdf97f..4abdf97f 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-hdpi/ic_noimage.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-hdpi/ic_noimage.png Binary files differindex 7bba7ab7..7bba7ab7 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-hdpi/ic_noimage.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-hdpi/ic_noimage.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-mdpi/ic_noimage.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-mdpi/ic_noimage.png Binary files differindex a5ad26f6..a5ad26f6 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-mdpi/ic_noimage.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-mdpi/ic_noimage.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-xhdpi/ic_noimage.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-xhdpi/ic_noimage.png Binary files differindex 8b631d12..8b631d12 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-xhdpi/ic_noimage.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/drawable-xhdpi/ic_noimage.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/layout/list_item.xml b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/list_item.xml index 756880c8..756880c8 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/layout/list_item.xml +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/list_item.xml diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/layout/recipe.xml b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/recipe.xml index 3bb20b86..3bb20b86 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/layout/recipe.xml +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/recipe.xml diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/layout/step_item.xml b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/step_item.xml index faa5ac5c..faa5ac5c 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/layout/step_item.xml +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/layout/step_item.xml diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/menu/main.xml b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/menu/main.xml index b392472f..b392472f 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/menu/main.xml +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/menu/main.xml diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_app_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_app_recipe.png Binary files differindex 8ceb8696..8ceb8696 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_app_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_app_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_notification_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_notification_recipe.png Binary files differindex 844d8ede..844d8ede 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_notification_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-hdpi/ic_notification_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_app_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_app_recipe.png Binary files differindex b884789c..b884789c 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_app_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_app_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_notification_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_notification_recipe.png Binary files differindex 3f3f58cd..3f3f58cd 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_notification_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-mdpi/ic_notification_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_app_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_app_recipe.png Binary files differindex 2a27c328..2a27c328 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_app_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_app_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_notification_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_notification_recipe.png Binary files differindex 5a99b7c7..5a99b7c7 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_notification_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xhdpi/ic_notification_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_app_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_app_recipe.png Binary files differindex b10c7706..b10c7706 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_app_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_app_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_notification_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_notification_recipe.png Binary files differindex 799726d0..799726d0 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_notification_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxhdpi/ic_notification_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_app_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_app_recipe.png Binary files differindex 606f07f7..606f07f7 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_app_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_app_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_notification_recipe.png b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_notification_recipe.png Binary files differindex 30e28a88..30e28a88 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_notification_recipe.png +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/mipmap-xxxhdpi/ic_notification_recipe.png diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/values/colors.xml b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/colors.xml index 0f1430c3..0f1430c3 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/values/colors.xml +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/colors.xml diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/values/strings.xml b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/strings.xml index f8ae1092..f8ae1092 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/strings.xml diff --git a/wearable/wear/RecipeAssistant/Application/src/main/res/values/styles.xml b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/styles.xml index 8876dd5f..8876dd5f 100644 --- a/wearable/wear/RecipeAssistant/Application/src/main/res/values/styles.xml +++ b/deprecated/wearable/wear/RecipeAssistant/Application/src/main/res/values/styles.xml diff --git a/wearable/wear/RecipeAssistant/CONTRIB.md b/deprecated/wearable/wear/RecipeAssistant/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/RecipeAssistant/CONTRIB.md +++ b/deprecated/wearable/wear/RecipeAssistant/CONTRIB.md diff --git a/wearable/wear/RecipeAssistant/build.gradle b/deprecated/wearable/wear/RecipeAssistant/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/RecipeAssistant/build.gradle +++ b/deprecated/wearable/wear/RecipeAssistant/build.gradle diff --git a/wearable/wear/RecipeAssistant/buildSrc/build.gradle b/deprecated/wearable/wear/RecipeAssistant/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/RecipeAssistant/buildSrc/build.gradle +++ b/deprecated/wearable/wear/RecipeAssistant/buildSrc/build.gradle diff --git a/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/RecipeAssistant/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/RecipeAssistant/gradlew b/deprecated/wearable/wear/RecipeAssistant/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/RecipeAssistant/gradlew +++ b/deprecated/wearable/wear/RecipeAssistant/gradlew diff --git a/wearable/wear/RecipeAssistant/gradlew.bat b/deprecated/wearable/wear/RecipeAssistant/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/RecipeAssistant/gradlew.bat +++ b/deprecated/wearable/wear/RecipeAssistant/gradlew.bat diff --git a/wearable/wear/RecipeAssistant/screenshots/guac_notification.png b/deprecated/wearable/wear/RecipeAssistant/screenshots/guac_notification.png Binary files differindex e041b11e..e041b11e 100644 --- a/wearable/wear/RecipeAssistant/screenshots/guac_notification.png +++ b/deprecated/wearable/wear/RecipeAssistant/screenshots/guac_notification.png diff --git a/wearable/wear/RecipeAssistant/screenshots/guac_notification_step1.png b/deprecated/wearable/wear/RecipeAssistant/screenshots/guac_notification_step1.png Binary files differindex e0157ea7..e0157ea7 100644 --- a/wearable/wear/RecipeAssistant/screenshots/guac_notification_step1.png +++ b/deprecated/wearable/wear/RecipeAssistant/screenshots/guac_notification_step1.png diff --git a/wearable/wear/RecipeAssistant/screenshots/recipe_assistant_guac.png b/deprecated/wearable/wear/RecipeAssistant/screenshots/recipe_assistant_guac.png Binary files differindex a34da6e6..a34da6e6 100644 --- a/wearable/wear/RecipeAssistant/screenshots/recipe_assistant_guac.png +++ b/deprecated/wearable/wear/RecipeAssistant/screenshots/recipe_assistant_guac.png diff --git a/wearable/wear/RecipeAssistant/settings.gradle b/deprecated/wearable/wear/RecipeAssistant/settings.gradle index 360755ce..360755ce 100644 --- a/wearable/wear/RecipeAssistant/settings.gradle +++ b/deprecated/wearable/wear/RecipeAssistant/settings.gradle diff --git a/wearable/wear/RecipeAssistant/template-params.xml b/deprecated/wearable/wear/RecipeAssistant/template-params.xml index c261aa13..c261aa13 100644 --- a/wearable/wear/RecipeAssistant/template-params.xml +++ b/deprecated/wearable/wear/RecipeAssistant/template-params.xml diff --git a/wearable/wear/SkeletonWearableApp/CONTRIB.md b/deprecated/wearable/wear/SkeletonWearableApp/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/SkeletonWearableApp/CONTRIB.md +++ b/deprecated/wearable/wear/SkeletonWearableApp/CONTRIB.md diff --git a/wearable/wear/SkeletonWearableApp/Wearable/.gitignore b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/SkeletonWearableApp/Wearable/.gitignore +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/.gitignore diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml index f9e89782..f9e89782 100644 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/GridExampleActivity.java b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/GridExampleActivity.java index 80af2a69..80af2a69 100644 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/GridExampleActivity.java +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/GridExampleActivity.java diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java index 817e195a..817e195a 100644 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 589f229d..589f229d 100755 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 77dd5713..77dd5713 100755 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex fe34ebe1..fe34ebe1 100755 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex ab80bcd1..ab80bcd1 100755 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml index c8670513..c8670513 100644 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/main_activity.xml b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/main_activity.xml index c949e5fa..c949e5fa 100644 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/main_activity.xml +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/layout/main_activity.xml diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/dimens.xml b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/dimens.xml index 67c96779..67c96779 100644 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/dimens.xml diff --git a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml index 3917d07d..3917d07d 100644 --- a/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/SkeletonWearableApp/build.gradle b/deprecated/wearable/wear/SkeletonWearableApp/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/SkeletonWearableApp/build.gradle +++ b/deprecated/wearable/wear/SkeletonWearableApp/build.gradle diff --git a/wearable/wear/SkeletonWearableApp/buildSrc/build.gradle b/deprecated/wearable/wear/SkeletonWearableApp/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/SkeletonWearableApp/buildSrc/build.gradle +++ b/deprecated/wearable/wear/SkeletonWearableApp/buildSrc/build.gradle diff --git a/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/SkeletonWearableApp/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/SkeletonWearableApp/gradlew b/deprecated/wearable/wear/SkeletonWearableApp/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/SkeletonWearableApp/gradlew +++ b/deprecated/wearable/wear/SkeletonWearableApp/gradlew diff --git a/wearable/wear/SkeletonWearableApp/gradlew.bat b/deprecated/wearable/wear/SkeletonWearableApp/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/SkeletonWearableApp/gradlew.bat +++ b/deprecated/wearable/wear/SkeletonWearableApp/gradlew.bat diff --git a/wearable/wear/SkeletonWearableApp/screenshots/delayed_confirmation.png b/deprecated/wearable/wear/SkeletonWearableApp/screenshots/delayed_confirmation.png Binary files differindex 29943617..29943617 100644 --- a/wearable/wear/SkeletonWearableApp/screenshots/delayed_confirmation.png +++ b/deprecated/wearable/wear/SkeletonWearableApp/screenshots/delayed_confirmation.png diff --git a/wearable/wear/SkeletonWearableApp/screenshots/dismiss_overlay.png b/deprecated/wearable/wear/SkeletonWearableApp/screenshots/dismiss_overlay.png Binary files differindex 142d7e47..142d7e47 100644 --- a/wearable/wear/SkeletonWearableApp/screenshots/dismiss_overlay.png +++ b/deprecated/wearable/wear/SkeletonWearableApp/screenshots/dismiss_overlay.png diff --git a/wearable/wear/SkeletonWearableApp/screenshots/grid_view_pager.png b/deprecated/wearable/wear/SkeletonWearableApp/screenshots/grid_view_pager.png Binary files differindex f59c13d0..f59c13d0 100644 --- a/wearable/wear/SkeletonWearableApp/screenshots/grid_view_pager.png +++ b/deprecated/wearable/wear/SkeletonWearableApp/screenshots/grid_view_pager.png diff --git a/wearable/wear/SkeletonWearableApp/screenshots/skeleton_wearable_app.png b/deprecated/wearable/wear/SkeletonWearableApp/screenshots/skeleton_wearable_app.png Binary files differindex 4f172745..4f172745 100644 --- a/wearable/wear/SkeletonWearableApp/screenshots/skeleton_wearable_app.png +++ b/deprecated/wearable/wear/SkeletonWearableApp/screenshots/skeleton_wearable_app.png diff --git a/wearable/wear/SkeletonWearableApp/settings.gradle b/deprecated/wearable/wear/SkeletonWearableApp/settings.gradle index 9c2651c7..9c2651c7 100644 --- a/wearable/wear/SkeletonWearableApp/settings.gradle +++ b/deprecated/wearable/wear/SkeletonWearableApp/settings.gradle diff --git a/wearable/wear/SkeletonWearableApp/template-params.xml b/deprecated/wearable/wear/SkeletonWearableApp/template-params.xml index 1441c1fa..1441c1fa 100644 --- a/wearable/wear/SkeletonWearableApp/template-params.xml +++ b/deprecated/wearable/wear/SkeletonWearableApp/template-params.xml diff --git a/wearable/wear/SynchronizedNotifications/.gitignore b/deprecated/wearable/wear/SynchronizedNotifications/.gitignore index b90e7562..b90e7562 100644 --- a/wearable/wear/SynchronizedNotifications/.gitignore +++ b/deprecated/wearable/wear/SynchronizedNotifications/.gitignore diff --git a/wearable/wear/SynchronizedNotifications/Application/.gitignore b/deprecated/wearable/wear/SynchronizedNotifications/Application/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/SynchronizedNotifications/Application/.gitignore +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/.gitignore diff --git a/wearable/wear/SynchronizedNotifications/Application/README-simpleview.txt b/deprecated/wearable/wear/SynchronizedNotifications/Application/README-simpleview.txt index 4ac7cdb8..4ac7cdb8 100644 --- a/wearable/wear/SynchronizedNotifications/Application/README-simpleview.txt +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/README-simpleview.txt diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml index b2cba0c9..b2cba0c9 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/DismissListener.java b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/DismissListener.java index 46218794..46218794 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/DismissListener.java +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/DismissListener.java diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/SynchronizedNotificationsFragment.java b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/SynchronizedNotificationsFragment.java index 837c7ad2..837c7ad2 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/SynchronizedNotificationsFragment.java +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/SynchronizedNotificationsFragment.java diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex b1efaf4b..b1efaf4b 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex f5f9244f..f5f9244f 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex 5d07b3f0..5d07b3f0 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex 6ef21e1f..6ef21e1f 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/res/menu/main.xml b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/menu/main.xml index 165c0a8d..165c0a8d 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/res/menu/main.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/menu/main.xml diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/dimens.xml b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/dimens.xml index a1e9cfe8..a1e9cfe8 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/dimens.xml diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/sample-strings.xml b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/sample-strings.xml index 8ac6bf27..8ac6bf27 100644 --- a/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/sample-strings.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Application/src/main/res/values/sample-strings.xml diff --git a/wearable/wear/SynchronizedNotifications/CONTRIB.md b/deprecated/wearable/wear/SynchronizedNotifications/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/SynchronizedNotifications/CONTRIB.md +++ b/deprecated/wearable/wear/SynchronizedNotifications/CONTRIB.md diff --git a/wearable/wear/SynchronizedNotifications/Shared/.gitignore b/deprecated/wearable/wear/SynchronizedNotifications/Shared/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/SynchronizedNotifications/Shared/.gitignore +++ b/deprecated/wearable/wear/SynchronizedNotifications/Shared/.gitignore diff --git a/wearable/wear/SynchronizedNotifications/Shared/src/main/AndroidManifest.xml b/deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/AndroidManifest.xml index 5362fc73..5362fc73 100644 --- a/wearable/wear/SynchronizedNotifications/Shared/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/AndroidManifest.xml diff --git a/wearable/wear/SynchronizedNotifications/Shared/src/main/java/com/example/android/wearable/synchronizednotifications/common/Constants.java b/deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/java/com/example/android/wearable/synchronizednotifications/common/Constants.java index 2e1d46c8..2e1d46c8 100644 --- a/wearable/wear/SynchronizedNotifications/Shared/src/main/java/com/example/android/wearable/synchronizednotifications/common/Constants.java +++ b/deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/java/com/example/android/wearable/synchronizednotifications/common/Constants.java diff --git a/wearable/wear/SynchronizedNotifications/Shared/src/main/res/values/strings.xml b/deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/res/values/strings.xml index 0f2bb907..0f2bb907 100644 --- a/wearable/wear/SynchronizedNotifications/Shared/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Shared/src/main/res/values/strings.xml diff --git a/wearable/wear/SynchronizedNotifications/Wearable/.gitignore b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/.gitignore +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/.gitignore diff --git a/wearable/wear/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml index 86e8f7a9..86e8f7a9 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/NotificationUpdateService.java b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/NotificationUpdateService.java index b5040d4d..b5040d4d 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/NotificationUpdateService.java +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/NotificationUpdateService.java diff --git a/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/WearableActivity.java b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/WearableActivity.java index 9d1eff45..9d1eff45 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/WearableActivity.java +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/WearableActivity.java diff --git a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex f7dd9a0b..f7dd9a0b 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex fef2da78..fef2da78 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex f2fb03cd..f2fb03cd 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml index 71451ff5..71451ff5 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml diff --git a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/values/strings.xml index aa51a71f..aa51a71f 100644 --- a/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/SynchronizedNotifications/build.gradle b/deprecated/wearable/wear/SynchronizedNotifications/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/SynchronizedNotifications/build.gradle +++ b/deprecated/wearable/wear/SynchronizedNotifications/build.gradle diff --git a/wearable/wear/SynchronizedNotifications/buildSrc/build.gradle b/deprecated/wearable/wear/SynchronizedNotifications/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/SynchronizedNotifications/buildSrc/build.gradle +++ b/deprecated/wearable/wear/SynchronizedNotifications/buildSrc/build.gradle diff --git a/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.properties index 3a22c63e..3a22c63e 100644 --- a/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/SynchronizedNotifications/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/SynchronizedNotifications/gradlew b/deprecated/wearable/wear/SynchronizedNotifications/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/SynchronizedNotifications/gradlew +++ b/deprecated/wearable/wear/SynchronizedNotifications/gradlew diff --git a/wearable/wear/SynchronizedNotifications/gradlew.bat b/deprecated/wearable/wear/SynchronizedNotifications/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/SynchronizedNotifications/gradlew.bat +++ b/deprecated/wearable/wear/SynchronizedNotifications/gradlew.bat diff --git a/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_phone.png b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_phone.png Binary files differindex cab31e09..cab31e09 100644 --- a/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_phone.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_phone.png diff --git a/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_wearable.png b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_wearable.png Binary files differindex 97da7152..97da7152 100644 --- a/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_wearable.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/different_notifications_wearable.png diff --git a/wearable/wear/SynchronizedNotifications/screenshots/notification_options.png b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/notification_options.png Binary files differindex 8cd00950..8cd00950 100644 --- a/wearable/wear/SynchronizedNotifications/screenshots/notification_options.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/notification_options.png diff --git a/wearable/wear/SynchronizedNotifications/screenshots/watch_only_notification.png b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/watch_only_notification.png Binary files differindex 34e950fe..34e950fe 100644 --- a/wearable/wear/SynchronizedNotifications/screenshots/watch_only_notification.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/watch_only_notification.png diff --git a/wearable/wear/SynchronizedNotifications/screenshots/web-icon.png b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/web-icon.png Binary files differindex 2f5f7093..2f5f7093 100755 --- a/wearable/wear/SynchronizedNotifications/screenshots/web-icon.png +++ b/deprecated/wearable/wear/SynchronizedNotifications/screenshots/web-icon.png diff --git a/wearable/wear/SynchronizedNotifications/settings.gradle b/deprecated/wearable/wear/SynchronizedNotifications/settings.gradle index 8c3a205a..8c3a205a 100644 --- a/wearable/wear/SynchronizedNotifications/settings.gradle +++ b/deprecated/wearable/wear/SynchronizedNotifications/settings.gradle diff --git a/wearable/wear/SynchronizedNotifications/template-params.xml b/deprecated/wearable/wear/SynchronizedNotifications/template-params.xml index 1b3fb75e..1b3fb75e 100644 --- a/wearable/wear/SynchronizedNotifications/template-params.xml +++ b/deprecated/wearable/wear/SynchronizedNotifications/template-params.xml diff --git a/wearable/wear/Timer/CONTRIB.md b/deprecated/wearable/wear/Timer/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/Timer/CONTRIB.md +++ b/deprecated/wearable/wear/Timer/CONTRIB.md diff --git a/wearable/wear/Timer/Wearable/.gitignore b/deprecated/wearable/wear/Timer/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/Timer/Wearable/.gitignore +++ b/deprecated/wearable/wear/Timer/Wearable/.gitignore diff --git a/wearable/wear/Timer/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/Timer/Wearable/src/main/AndroidManifest.xml index 59634fc4..59634fc4 100644 --- a/wearable/wear/Timer/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/SetTimerActivity.java b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/SetTimerActivity.java index f660f9ff..f660f9ff 100644 --- a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/SetTimerActivity.java +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/SetTimerActivity.java diff --git a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/TimerNotificationService.java b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/TimerNotificationService.java index 5822fe41..5822fe41 100644 --- a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/TimerNotificationService.java +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/TimerNotificationService.java diff --git a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/WearableListItemLayout.java b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/WearableListItemLayout.java index 09591bf4..09591bf4 100644 --- a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/WearableListItemLayout.java +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/WearableListItemLayout.java diff --git a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/Constants.java b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/Constants.java index 85885e41..85885e41 100644 --- a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/Constants.java +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/Constants.java diff --git a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerFormat.java b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerFormat.java index b40351ba..b40351ba 100644 --- a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerFormat.java +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerFormat.java diff --git a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerObj.java b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerObj.java index 52f7244c..52f7244c 100644 --- a/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerObj.java +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/TimerObj.java diff --git a/wearable/wear/Timer/Wearable/src/main/res/drawable/ic_cc_alarm.png b/deprecated/wearable/wear/Timer/Wearable/src/main/res/drawable/ic_cc_alarm.png Binary files differindex ad51ddf4..ad51ddf4 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/drawable/ic_cc_alarm.png +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/drawable/ic_cc_alarm.png diff --git a/wearable/wear/Timer/Wearable/src/main/res/drawable/wl_circle.xml b/deprecated/wearable/wear/Timer/Wearable/src/main/res/drawable/wl_circle.xml index a06c53a8..a06c53a8 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/drawable/wl_circle.xml +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/drawable/wl_circle.xml diff --git a/wearable/wear/Timer/Wearable/src/main/res/layout/timer_list_item.xml b/deprecated/wearable/wear/Timer/Wearable/src/main/res/layout/timer_list_item.xml index 6cef07a2..6cef07a2 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/layout/timer_list_item.xml +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/layout/timer_list_item.xml diff --git a/wearable/wear/Timer/Wearable/src/main/res/layout/timer_set_timer.xml b/deprecated/wearable/wear/Timer/Wearable/src/main/res/layout/timer_set_timer.xml index cdf9e77e..cdf9e77e 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/layout/timer_set_timer.xml +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/layout/timer_set_timer.xml diff --git a/wearable/wear/Timer/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differindex 56f7fc16..56f7fc16 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/wearable/wear/Timer/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differindex dec99cdf..dec99cdf 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/wearable/wear/Timer/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differindex 48fa0abf..48fa0abf 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differindex 81739219..81739219 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differindex 0dce8093..0dce8093 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/wearable/wear/Timer/Wearable/src/main/res/values/colors.xml b/deprecated/wearable/wear/Timer/Wearable/src/main/res/values/colors.xml index a8bb87b7..a8bb87b7 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/values/colors.xml +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/values/colors.xml diff --git a/wearable/wear/Timer/Wearable/src/main/res/values/integers.xml b/deprecated/wearable/wear/Timer/Wearable/src/main/res/values/integers.xml index c3bc2521..c3bc2521 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/values/integers.xml +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/values/integers.xml diff --git a/wearable/wear/Timer/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/Timer/Wearable/src/main/res/values/strings.xml index f7e05bb4..f7e05bb4 100644 --- a/wearable/wear/Timer/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/Timer/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/Timer/build.gradle b/deprecated/wearable/wear/Timer/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/Timer/build.gradle +++ b/deprecated/wearable/wear/Timer/build.gradle diff --git a/wearable/wear/Timer/buildSrc/build.gradle b/deprecated/wearable/wear/Timer/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/Timer/buildSrc/build.gradle +++ b/deprecated/wearable/wear/Timer/buildSrc/build.gradle diff --git a/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/Timer/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/Timer/gradlew b/deprecated/wearable/wear/Timer/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/Timer/gradlew +++ b/deprecated/wearable/wear/Timer/gradlew diff --git a/wearable/wear/Timer/gradlew.bat b/deprecated/wearable/wear/Timer/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/Timer/gradlew.bat +++ b/deprecated/wearable/wear/Timer/gradlew.bat diff --git a/wearable/wear/Timer/screenshots/timer.png b/deprecated/wearable/wear/Timer/screenshots/timer.png Binary files differindex 6ef8f869..6ef8f869 100644 --- a/wearable/wear/Timer/screenshots/timer.png +++ b/deprecated/wearable/wear/Timer/screenshots/timer.png diff --git a/wearable/wear/Timer/screenshots/timer_countdown.png b/deprecated/wearable/wear/Timer/screenshots/timer_countdown.png Binary files differindex 505733df..505733df 100644 --- a/wearable/wear/Timer/screenshots/timer_countdown.png +++ b/deprecated/wearable/wear/Timer/screenshots/timer_countdown.png diff --git a/wearable/wear/Timer/settings.gradle b/deprecated/wearable/wear/Timer/settings.gradle index 9c2651c7..9c2651c7 100644 --- a/wearable/wear/Timer/settings.gradle +++ b/deprecated/wearable/wear/Timer/settings.gradle diff --git a/wearable/wear/Timer/template-params.xml b/deprecated/wearable/wear/Timer/template-params.xml index 5f9d7670..5f9d7670 100644 --- a/wearable/wear/Timer/template-params.xml +++ b/deprecated/wearable/wear/Timer/template-params.xml diff --git a/wearable/wear/WatchViewStub/CONTRIB.md b/deprecated/wearable/wear/WatchViewStub/CONTRIB.md index 14a4fcff..14a4fcff 100644 --- a/wearable/wear/WatchViewStub/CONTRIB.md +++ b/deprecated/wearable/wear/WatchViewStub/CONTRIB.md diff --git a/wearable/wear/WatchViewStub/Wearable/.gitignore b/deprecated/wearable/wear/WatchViewStub/Wearable/.gitignore index 6eb878d4..6eb878d4 100644 --- a/wearable/wear/WatchViewStub/Wearable/.gitignore +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/.gitignore diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/AndroidManifest.xml b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/AndroidManifest.xml index ce1dfc3c..ce1dfc3c 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/AndroidManifest.xml +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/AndroidManifest.xml diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java index e4271d24..e4271d24 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-hdpi/ic_launcher.png b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-hdpi/ic_launcher.png Binary files differindex 589f229d..589f229d 100755 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-hdpi/ic_launcher.png +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-mdpi/ic_launcher.png b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-mdpi/ic_launcher.png Binary files differindex 77dd5713..77dd5713 100755 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-mdpi/ic_launcher.png +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-mdpi/ic_launcher.png diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differindex fe34ebe1..fe34ebe1 100755 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differindex ab80bcd1..ab80bcd1 100755 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml index eeda78fa..eeda78fa 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml index 432b0d24..432b0d24 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml index e9745bc6..e9745bc6 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/rect_layout.xml b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/rect_layout.xml index 7b0006cb..7b0006cb 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/rect_layout.xml +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/rect_layout.xml diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml index d7a55f6d..d7a55f6d 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/values/dimens.xml b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/values/dimens.xml index 37148a2d..37148a2d 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/values/dimens.xml +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/values/dimens.xml diff --git a/wearable/wear/WatchViewStub/Wearable/src/main/res/values/strings.xml b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/values/strings.xml index 00cc6c64..00cc6c64 100644 --- a/wearable/wear/WatchViewStub/Wearable/src/main/res/values/strings.xml +++ b/deprecated/wearable/wear/WatchViewStub/Wearable/src/main/res/values/strings.xml diff --git a/wearable/wear/WatchViewStub/build.gradle b/deprecated/wearable/wear/WatchViewStub/build.gradle index be1fa823..be1fa823 100644 --- a/wearable/wear/WatchViewStub/build.gradle +++ b/deprecated/wearable/wear/WatchViewStub/build.gradle diff --git a/wearable/wear/WatchViewStub/buildSrc/build.gradle b/deprecated/wearable/wear/WatchViewStub/buildSrc/build.gradle index e344a8cb..e344a8cb 100644 --- a/wearable/wear/WatchViewStub/buildSrc/build.gradle +++ b/deprecated/wearable/wear/WatchViewStub/buildSrc/build.gradle diff --git a/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.jar b/deprecated/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.jar Binary files differindex 8c0fb64a..8c0fb64a 100644 --- a/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.jar +++ b/deprecated/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.jar diff --git a/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.properties b/deprecated/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.properties index 86fc139a..86fc139a 100644 --- a/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.properties +++ b/deprecated/wearable/wear/WatchViewStub/gradle/wrapper/gradle-wrapper.properties diff --git a/wearable/wear/WatchViewStub/gradlew b/deprecated/wearable/wear/WatchViewStub/gradlew index 91a7e269..91a7e269 100755 --- a/wearable/wear/WatchViewStub/gradlew +++ b/deprecated/wearable/wear/WatchViewStub/gradlew diff --git a/wearable/wear/WatchViewStub/gradlew.bat b/deprecated/wearable/wear/WatchViewStub/gradlew.bat index 8a0b282a..8a0b282a 100644 --- a/wearable/wear/WatchViewStub/gradlew.bat +++ b/deprecated/wearable/wear/WatchViewStub/gradlew.bat diff --git a/wearable/wear/WatchViewStub/screenshots/watch_view_stub_rectangular.png b/deprecated/wearable/wear/WatchViewStub/screenshots/watch_view_stub_rectangular.png Binary files differindex 939cb18d..939cb18d 100644 --- a/wearable/wear/WatchViewStub/screenshots/watch_view_stub_rectangular.png +++ b/deprecated/wearable/wear/WatchViewStub/screenshots/watch_view_stub_rectangular.png diff --git a/wearable/wear/WatchViewStub/screenshots/watch_view_stub_round.png b/deprecated/wearable/wear/WatchViewStub/screenshots/watch_view_stub_round.png Binary files differindex 3055f6d0..3055f6d0 100644 --- a/wearable/wear/WatchViewStub/screenshots/watch_view_stub_round.png +++ b/deprecated/wearable/wear/WatchViewStub/screenshots/watch_view_stub_round.png diff --git a/wearable/wear/WatchViewStub/settings.gradle b/deprecated/wearable/wear/WatchViewStub/settings.gradle index 9c2651c7..9c2651c7 100644 --- a/wearable/wear/WatchViewStub/settings.gradle +++ b/deprecated/wearable/wear/WatchViewStub/settings.gradle diff --git a/wearable/wear/WatchViewStub/template-params.xml b/deprecated/wearable/wear/WatchViewStub/template-params.xml index c11ae786..c11ae786 100644 --- a/wearable/wear/WatchViewStub/template-params.xml +++ b/deprecated/wearable/wear/WatchViewStub/template-params.xml diff --git a/projects.txt b/projects.txt index 6800fdf8..84d6fc3d 100644 --- a/projects.txt +++ b/projects.txt @@ -70,23 +70,9 @@ ui/activitytasks/DocumentCentricRelinquishIdentity admin/AppRestrictionEnforcer admin/AppRestrictionSchema connectivity/bluetooth/BluetoothChat -wearable/wear/AgendaData wearable/wear/DataLayer -wearable/wear/DelayedConfirmation -wearable/wear/ElizaChat -wearable/wear/FindMyPhone -wearable/wear/Flashlight -wearable/wear/Geofencing -wearable/wear/GridViewPager wearable/wear/JumpingJack -wearable/wear/Notifications -wearable/wear/Quiz -wearable/wear/RecipeAssistant -wearable/wear/SkeletonWearableApp wearable/wear/SpeedTracker -wearable/wear/SynchronizedNotifications -wearable/wear/Timer -wearable/wear/WatchViewStub wearable/wear/WatchFace content/webview/PermissionRequest content/documentsUi/DirectorySelection @@ -129,4 +115,3 @@ input/autofill/AutofillFramework views/EmojiCompat ui/fonts/DownloadableFonts wearable/wear/WearComplicationProvidersTestSuite -wearable/wear/WearMessagingApp
\ No newline at end of file diff --git a/wearable/wear/AgendaData/LICENSE b/wearable/wear/AgendaData/LICENSE deleted file mode 100644 index d5cf8f3a..00000000 --- a/wearable/wear/AgendaData/LICENSE +++ /dev/null @@ -1,203 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/wearable/wear/AgendaData/README-wear.txt b/wearable/wear/AgendaData/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/AgendaData/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/AlwaysOn/Wearable/build.gradle b/wearable/wear/AlwaysOn/Wearable/build.gradle index 6a22d1c9..11f813bc 100644 --- a/wearable/wear/AlwaysOn/Wearable/build.gradle +++ b/wearable/wear/AlwaysOn/Wearable/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' } } @@ -21,15 +21,15 @@ repositories { dependencies { - compile 'com.android.support:wear:27.1.0' + implementation 'com.android.support:wear:27.1.0' - compile 'com.google.android.gms:play-services-wearable:11.8.0' - compile 'com.android.support:support-v13:27.1.0' + implementation 'com.google.android.gms:play-services-wearable:15.0.1' + implementation 'com.android.support:support-v13:27.1.1' - provided 'com.google.android.wearable:wearable:2.3.0' + compileOnly 'com.google.android.wearable:wearable:2.3.0' - compile 'com.google.android.support:wearable:2.3.0' + implementation 'com.google.android.support:wearable:2.3.0' } diff --git a/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/MainActivity.java b/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/MainActivity.java index 76e14f0c..ab61c411 100644 --- a/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/MainActivity.java +++ b/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/MainActivity.java @@ -15,7 +15,6 @@ */ package com.example.android.wearable.wear.alwayson; -import android.app.Activity; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; @@ -26,7 +25,8 @@ import android.graphics.Color; import android.os.Bundle; import android.os.Handler; import android.os.Message; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.util.Log; import android.view.View; import android.widget.TextView; @@ -72,7 +72,8 @@ import java.util.concurrent.TimeUnit; * Faces API documentation: keeping most pixels black, avoiding large blocks of white pixels, using * only black and white, disabling anti-aliasing, etc. */ -public class MainActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class MainActivity extends FragmentActivity + implements AmbientModeSupport.AmbientCallbackProvider { private static final String TAG = "MainActivity"; @@ -92,10 +93,10 @@ public class MainActivity extends Activity implements AmbientMode.AmbientCallbac private static final int BURN_IN_OFFSET_PX = 10; /** - * Ambient mode controller attached to this display. Used by Activity to see if it is in - * ambient mode. + * Ambient mode controller attached to this display. Used by Activity to see if it is in ambient + * mode. */ - private AmbientMode.AmbientController mAmbientController; + private AmbientModeSupport.AmbientController mAmbientController; /** If the display is low-bit in ambient mode. i.e. it requires anti-aliased fonts. */ boolean mIsLowBitAmbient; @@ -142,7 +143,7 @@ public class MainActivity extends Activity implements AmbientMode.AmbientCallbac setContentView(R.layout.activity_main); - mAmbientController = AmbientMode.attachAmbientSupport(this); + mAmbientController = AmbientModeSupport.attach(this); mAmbientUpdateAlarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); @@ -274,19 +275,20 @@ public class MainActivity extends Activity implements AmbientMode.AmbientCallbac } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback { + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback { /** Prepares the UI for ambient mode. */ @Override public void onEnterAmbient(Bundle ambientDetails) { super.onEnterAmbient(ambientDetails); - mIsLowBitAmbient = ambientDetails.getBoolean(AmbientMode.EXTRA_LOWBIT_AMBIENT, false); + mIsLowBitAmbient = + ambientDetails.getBoolean(AmbientModeSupport.EXTRA_LOWBIT_AMBIENT, false); mDoBurnInProtection = - ambientDetails.getBoolean(AmbientMode.EXTRA_BURN_IN_PROTECTION, false); + ambientDetails.getBoolean(AmbientModeSupport.EXTRA_BURN_IN_PROTECTION, false); /* Clears Handler queue (only needed for updates in active mode). */ mActiveModeUpdateHandler.removeMessages(MSG_UPDATE_SCREEN); diff --git a/wearable/wear/AlwaysOn/template-params.xml b/wearable/wear/AlwaysOn/template-params.xml index eb743d8c..5136ef5b 100644 --- a/wearable/wear/AlwaysOn/template-params.xml +++ b/wearable/wear/AlwaysOn/template-params.xml @@ -24,7 +24,7 @@ <targetSdkVersionWear>26</targetSdkVersionWear> <multiDexEnabled>true</multiDexEnabled> - <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> + <dependency_wearable>com.android.support:wear:27.1.1</dependency_wearable> <strings> <intro> diff --git a/wearable/wear/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/MainActivity.java b/wearable/wear/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/MainActivity.java index b7f9f8b7..2f232cc8 100644 --- a/wearable/wear/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/MainActivity.java +++ b/wearable/wear/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/MainActivity.java @@ -168,7 +168,7 @@ public class MainActivity extends Activity implements } @Override - public void onMessageReceived(final MessageEvent messageEvent) { + public void onMessageReceived(MessageEvent messageEvent) { LOGD(TAG, "onMessageReceived() A message from watch was received:" + messageEvent.getRequestId() + " " + messageEvent.getPath()); @@ -186,9 +186,9 @@ public class MainActivity extends Activity implements * Sets up UI components and their callback handlers. */ private void setupViews() { - mSendPhotoBtn = (Button) findViewById(R.id.sendPhoto); - mThumbView = (ImageView) findViewById(R.id.imageView); - mDataItemList = (ListView) findViewById(R.id.data_item_list); + mSendPhotoBtn = findViewById(R.id.sendPhoto); + mThumbView = findViewById(R.id.imageView); + mDataItemList = findViewById(R.id.data_item_list); mStartActivityBtn = findViewById(R.id.start_wearable_activity); } @@ -419,4 +419,4 @@ public class MainActivity extends Activity implements } } } -}
\ No newline at end of file +} diff --git a/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java b/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java index 020cd158..b9539a33 100644 --- a/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java +++ b/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java @@ -20,16 +20,14 @@ import android.content.Intent; import android.net.Uri; import android.util.Log; -import com.google.android.gms.common.ConnectionResult; -import com.google.android.gms.common.api.GoogleApiClient; +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; import com.google.android.gms.wearable.DataEvent; import com.google.android.gms.wearable.DataEventBuffer; import com.google.android.gms.wearable.MessageEvent; import com.google.android.gms.wearable.Wearable; import com.google.android.gms.wearable.WearableListenerService; -import java.util.concurrent.TimeUnit; - /** * Listens to DataItems and Messages from the local node. */ @@ -42,34 +40,16 @@ public class DataLayerListenerService extends WearableListenerService { public static final String COUNT_PATH = "/count"; public static final String IMAGE_PATH = "/image"; public static final String IMAGE_KEY = "photo"; - GoogleApiClient mGoogleApiClient; - - @Override - public void onCreate() { - super.onCreate(); - mGoogleApiClient = new GoogleApiClient.Builder(this) - .addApi(Wearable.API) - .build(); - mGoogleApiClient.connect(); - } @Override public void onDataChanged(DataEventBuffer dataEvents) { - LOGD(TAG, "onDataChanged: " + dataEvents); - if (!mGoogleApiClient.isConnected() || !mGoogleApiClient.isConnecting()) { - ConnectionResult connectionResult = mGoogleApiClient - .blockingConnect(30, TimeUnit.SECONDS); - if (!connectionResult.isSuccess()) { - Log.e(TAG, "DataLayerListenerService failed to connect to GoogleApiClient, " - + "error code: " + connectionResult.getErrorCode()); - return; - } - } + Log.d(TAG, "onDataChanged: " + dataEvents); // Loop through the events and send a message back to the node that created the data item. for (DataEvent event : dataEvents) { Uri uri = event.getDataItem().getUri(); String path = uri.getPath(); + if (COUNT_PATH.equals(path)) { // Get the node id of the node that created the data item from the host portion of // the uri. @@ -78,15 +58,28 @@ public class DataLayerListenerService extends WearableListenerService { byte[] payload = uri.toString().getBytes(); // Send the rpc - Wearable.MessageApi.sendMessage(mGoogleApiClient, nodeId, DATA_ITEM_RECEIVED_PATH, - payload); + // Instantiates clients without member variables, as clients are inexpensive to + // create. (They are cached and shared between GoogleApi instances.) + Task<Integer> sendMessageTask = Wearable.getMessageClient(this) + .sendMessage(nodeId, DATA_ITEM_RECEIVED_PATH, payload); + + sendMessageTask.addOnCompleteListener(new OnCompleteListener<Integer>() { + @Override + public void onComplete(Task<Integer> task) { + if (task.isSuccessful()) { + Log.d(TAG, "Message sent successfully"); + } else { + Log.d(TAG, "Message failed."); + } + } + }); } } } @Override public void onMessageReceived(MessageEvent messageEvent) { - LOGD(TAG, "onMessageReceived: " + messageEvent); + Log.d(TAG, "onMessageReceived: " + messageEvent); // Check to see if the message is to start an activity if (messageEvent.getPath().equals(START_ACTIVITY_PATH)) { @@ -95,10 +88,4 @@ public class DataLayerListenerService extends WearableListenerService { startActivity(startIntent); } } - - public static void LOGD(final String tag, String message) { - if (Log.isLoggable(tag, Log.DEBUG)) { - Log.d(tag, message); - } - } -}
\ No newline at end of file +} diff --git a/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java b/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java index feec09c5..0044ca0c 100644 --- a/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java +++ b/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java @@ -16,8 +16,6 @@ package com.example.android.wearable.datalayer; -import static com.example.android.wearable.datalayer.DataLayerListenerService.LOGD; - import android.app.Activity; import android.app.Fragment; import android.app.FragmentManager; @@ -120,7 +118,7 @@ public class MainActivity extends Activity implements @Override public void onDataChanged(DataEventBuffer dataEvents) { - LOGD(TAG, "onDataChanged(): " + dataEvents); + Log.d(TAG, "onDataChanged(): " + dataEvents); for (DataEvent event : dataEvents) { if (event.getType() == DataEvent.TYPE_CHANGED) { @@ -133,10 +131,10 @@ public class MainActivity extends Activity implements new LoadBitmapAsyncTask().execute(photoAsset); } else if (DataLayerListenerService.COUNT_PATH.equals(path)) { - LOGD(TAG, "Data Changed for COUNT_PATH"); + Log.d(TAG, "Data Changed for COUNT_PATH"); mDataFragment.appendItem("DataItem Changed", event.getDataItem().toString()); } else { - LOGD(TAG, "Unrecognized path: " + path); + Log.d(TAG, "Unrecognized path: " + path); } } else if (event.getType() == DataEvent.TYPE_DELETED) { @@ -162,13 +160,13 @@ public class MainActivity extends Activity implements @Override public void onMessageReceived(MessageEvent event) { - LOGD(TAG, "onMessageReceived: " + event); + Log.d(TAG, "onMessageReceived: " + event); mDataFragment.appendItem("Message", event.toString()); } @Override public void onCapabilityChanged(CapabilityInfo capabilityInfo) { - LOGD(TAG, "onCapabilityChanged: " + capabilityInfo); + Log.d(TAG, "onCapabilityChanged: " + capabilityInfo); mDataFragment.appendItem("onCapabilityChanged", capabilityInfo.toString()); } @@ -206,7 +204,7 @@ public class MainActivity extends Activity implements for (Node node : nodes) { nodesList.add(node.getDisplayName()); } - LOGD(TAG, "Connected Nodes: " + (nodesList.isEmpty() + Log.d(TAG, "Connected Nodes: " + (nodesList.isEmpty() ? "No connected device was found for the given capabilities" : TextUtils.join(",", nodesList))); String msg; @@ -322,10 +320,10 @@ public class MainActivity extends Activity implements protected void onPostExecute(Bitmap bitmap) { if (bitmap != null) { - LOGD(TAG, "Setting background image on second page.."); + Log.d(TAG, "Setting background image on second page.."); moveToPage(1); mAssetFragment.setBackgroundImage(bitmap); } } } -}
\ No newline at end of file +} diff --git a/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/AssetFragment.java b/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/AssetFragment.java index 879c2a7b..312b0861 100644 --- a/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/AssetFragment.java +++ b/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/AssetFragment.java @@ -39,7 +39,7 @@ public class AssetFragment extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.asset_fragment, container, false); - mPhoto = (ImageView) view.findViewById(R.id.photo); + mPhoto = view.findViewById(R.id.photo); return view; } diff --git a/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/DataFragment.java b/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/DataFragment.java index f111e7d4..c8457fc2 100644 --- a/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/DataFragment.java +++ b/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/DataFragment.java @@ -43,8 +43,8 @@ public class DataFragment extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.data_fragment, container, false); - ListView dataItemList = (ListView) view.findViewById(R.id.dataItem_list); - mIntroText = (TextView) view.findViewById(R.id.intro); + ListView dataItemList = view.findViewById(R.id.dataItem_list); + mIntroText = view.findViewById(R.id.intro); mDataItemListAdapter = new DataItemAdapter(getActivity(), android.R.layout.simple_list_item_1); dataItemList.setAdapter(mDataItemListAdapter); @@ -78,8 +78,8 @@ public class DataFragment extends Fragment { Context.LAYOUT_INFLATER_SERVICE); convertView = inflater.inflate(android.R.layout.two_line_list_item, null); convertView.setTag(holder); - holder.text1 = (TextView) convertView.findViewById(android.R.id.text1); - holder.text2 = (TextView) convertView.findViewById(android.R.id.text2); + holder.text1 = convertView.findViewById(android.R.id.text1); + holder.text2 = convertView.findViewById(android.R.id.text2); } else { holder = (ViewHolder) convertView.getTag(); } diff --git a/wearable/wear/DataLayer/template-params.xml b/wearable/wear/DataLayer/template-params.xml index 1f839067..ba07ff6e 100644 --- a/wearable/wear/DataLayer/template-params.xml +++ b/wearable/wear/DataLayer/template-params.xml @@ -26,6 +26,12 @@ <multiDexEnabled>true</multiDexEnabled> + <dependency>com.android.support:recyclerview-v7:27.1.1</dependency> + <dependency>com.android.support:percent:27.1.1</dependency> + + <dependency_wearable>com.android.support:recyclerview-v7:27.1.1</dependency_wearable> + <dependency_wearable>com.android.support:percent:27.1.1</dependency_wearable> + <wearable> <has_handheld_app>true</has_handheld_app> </wearable> diff --git a/wearable/wear/DelayedConfirmation/LICENSE b/wearable/wear/DelayedConfirmation/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/DelayedConfirmation/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/DelayedConfirmation/README-wear.txt b/wearable/wear/DelayedConfirmation/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/DelayedConfirmation/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/ElizaChat/LICENSE b/wearable/wear/ElizaChat/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/ElizaChat/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/EmbeddedApp/LICENSE b/wearable/wear/EmbeddedApp/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/EmbeddedApp/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/EmbeddedApp/README-wear.txt b/wearable/wear/EmbeddedApp/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/EmbeddedApp/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/FindMyPhone/LICENSE b/wearable/wear/FindMyPhone/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/FindMyPhone/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/FindMyPhone/README-wear.txt b/wearable/wear/FindMyPhone/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/FindMyPhone/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/Flashlight/LICENSE b/wearable/wear/Flashlight/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/Flashlight/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/Flashlight/README-wear.txt b/wearable/wear/Flashlight/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/Flashlight/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/Geofencing/LICENSE b/wearable/wear/Geofencing/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/Geofencing/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/Geofencing/README-wear.txt b/wearable/wear/Geofencing/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/Geofencing/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/GridViewPager/LICENSE b/wearable/wear/GridViewPager/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/GridViewPager/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/GridViewPager/README-wear.txt b/wearable/wear/GridViewPager/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/GridViewPager/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/MainActivity.java b/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/MainActivity.java index f1589c73..8618a9d6 100644 --- a/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/MainActivity.java +++ b/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/MainActivity.java @@ -50,7 +50,7 @@ import java.util.TimerTask; public class MainActivity extends Activity implements SensorEventListener { - private static final String TAG = "JJMainActivity"; + private static final String TAG = "MainActivity"; /** How long to keep the screen on when no activity is happening **/ private static final long SCREEN_ON_TIMEOUT_MS = 20000; // in milliseconds @@ -94,9 +94,9 @@ public class MainActivity extends Activity } private void setupViews() { - mPager = (ViewPager) findViewById(R.id.pager); - mFirstIndicator = (ImageView) findViewById(R.id.indicator_0); - mSecondIndicator = (ImageView) findViewById(R.id.indicator_1); + mPager = findViewById(R.id.pager); + mFirstIndicator = findViewById(R.id.indicator_0); + mSecondIndicator = findViewById(R.id.indicator_1); final PagerAdapter adapter = new PagerAdapter(getFragmentManager()); mCounterPage = new CounterFragment(); mSettingPage = new SettingsFragment(); diff --git a/wearable/wear/Notifications/LICENSE b/wearable/wear/Notifications/LICENSE deleted file mode 100644 index d5cf8f3a..00000000 --- a/wearable/wear/Notifications/LICENSE +++ /dev/null @@ -1,203 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/wearable/wear/Notifications/README-wear.txt b/wearable/wear/Notifications/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/Notifications/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/Quiz/Application/proguard-project.txt b/wearable/wear/Quiz/Application/proguard-project.txt deleted file mode 100644 index 0d8f171d..00000000 --- a/wearable/wear/Quiz/Application/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ - To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/wearable/wear/Quiz/LICENSE b/wearable/wear/Quiz/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/Quiz/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/Quiz/README-wear.txt b/wearable/wear/Quiz/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/Quiz/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/RecipeAssistant/Application/proguard-project.txt b/wearable/wear/RecipeAssistant/Application/proguard-project.txt deleted file mode 100644 index 0d8f171d..00000000 --- a/wearable/wear/RecipeAssistant/Application/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ - To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/wearable/wear/RecipeAssistant/LICENSE b/wearable/wear/RecipeAssistant/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/RecipeAssistant/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/RecipeAssistant/README-wear.txt b/wearable/wear/RecipeAssistant/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/RecipeAssistant/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestPhoneService.java b/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestPhoneService.java index 4cad2fa1..2c036cdc 100644 --- a/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestPhoneService.java +++ b/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestPhoneService.java @@ -25,16 +25,14 @@ import android.util.Log; import com.example.android.wearable.runtimepermissions.common.Constants; -import com.google.android.gms.common.api.GoogleApiClient; -import com.google.android.gms.common.api.PendingResult; +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; import com.google.android.gms.wearable.DataMap; -import com.google.android.gms.wearable.MessageApi; import com.google.android.gms.wearable.MessageEvent; import com.google.android.gms.wearable.Wearable; import com.google.android.gms.wearable.WearableListenerService; import java.io.File; -import java.util.concurrent.TimeUnit; /** * Handles all incoming requests for phone data (and permissions) from wear devices. @@ -140,31 +138,26 @@ public class IncomingRequestPhoneService extends WearableListenerService { private void sendMessage(String nodeId, DataMap dataMap) { Log.d(TAG, "sendMessage() Node: " + nodeId); - GoogleApiClient client = new GoogleApiClient.Builder(this) - .addApi(Wearable.API) - .build(); - client.blockingConnect(Constants.CONNECTION_TIME_OUT_MS, TimeUnit.MILLISECONDS); - - PendingResult<MessageApi.SendMessageResult> pendingMessageResult = - Wearable.MessageApi.sendMessage( - client, + // Clients are inexpensive to create, so in this case we aren't creating member variables. + // (They are cached and shared between GoogleApi instances.) + Task<Integer> sendMessageTask = + Wearable.getMessageClient( + getApplicationContext()).sendMessage( nodeId, Constants.MESSAGE_PATH_WEAR, dataMap.toByteArray()); - MessageApi.SendMessageResult sendMessageResult = - pendingMessageResult.await( - Constants.CONNECTION_TIME_OUT_MS, - TimeUnit.MILLISECONDS); - - if (!sendMessageResult.getStatus().isSuccess()) { - Log.d(TAG, "Sending message failed, status: " - + sendMessageResult.getStatus()); - } else { - Log.d(TAG, "Message sent successfully"); - } - client.disconnect(); + sendMessageTask.addOnCompleteListener(new OnCompleteListener<Integer>() { + @Override + public void onComplete(Task<Integer> task) { + if (task.isSuccessful()) { + Log.d(TAG, "Message sent successfully"); + } else { + Log.d(TAG, "Message failed."); + } + } + }); } private boolean isExternalStorageReadable() { @@ -173,4 +166,4 @@ public class IncomingRequestPhoneService extends WearableListenerService { return Environment.MEDIA_MOUNTED.equals(state) || Environment.MEDIA_MOUNTED_READ_ONLY.equals(state); } -}
\ No newline at end of file +} diff --git a/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/MainPhoneActivity.java b/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/MainPhoneActivity.java index 196b03bd..d2c3ea1d 100644 --- a/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/MainPhoneActivity.java +++ b/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/MainPhoneActivity.java @@ -32,21 +32,18 @@ import android.widget.TextView; import com.example.android.wearable.runtimepermissions.common.Constants; -import com.google.android.gms.common.ConnectionResult; -import com.google.android.gms.common.api.GoogleApiClient; -import com.google.android.gms.common.api.PendingResult; -import com.google.android.gms.common.api.ResultCallback; -import com.google.android.gms.wearable.CapabilityApi; +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; +import com.google.android.gms.wearable.CapabilityClient; import com.google.android.gms.wearable.CapabilityInfo; import com.google.android.gms.wearable.DataMap; -import com.google.android.gms.wearable.MessageApi; +import com.google.android.gms.wearable.MessageClient; import com.google.android.gms.wearable.MessageEvent; import com.google.android.gms.wearable.Node; import com.google.android.gms.wearable.Wearable; import java.io.File; import java.util.Set; -import java.util.concurrent.TimeUnit; /** * Displays data that requires runtime permissions both locally (READ_EXTERNAL_STORAGE) and @@ -60,11 +57,9 @@ import java.util.concurrent.TimeUnit; * in app experience. */ public class MainPhoneActivity extends AppCompatActivity implements - GoogleApiClient.ConnectionCallbacks, - GoogleApiClient.OnConnectionFailedListener, - CapabilityApi.CapabilityListener, - MessageApi.MessageListener, - ResultCallback<MessageApi.SendMessageResult> { + CapabilityClient.OnCapabilityChangedListener, + MessageClient.OnMessageReceivedListener, + OnCompleteListener<Integer> { private static final String TAG = "MainPhoneActivity"; @@ -88,8 +83,6 @@ public class MainPhoneActivity extends AppCompatActivity implements private Set<Node> mWearNodeIds; - private GoogleApiClient mGoogleApiClient; - @Override protected void onCreate(Bundle savedInstanceState) { Log.d(TAG, "onCreate()"); @@ -107,19 +100,11 @@ public class MainPhoneActivity extends AppCompatActivity implements mWearRequestingPhoneStoragePermission = getIntent().getBooleanExtra(EXTRA_PROMPT_PERMISSION_FROM_WEAR, false); - mPhoneStoragePermissionButton = - (Button) findViewById(R.id.phoneStoragePermissionButton); - - mWearBodySensorsPermissionButton = - (Button) findViewById(R.id.wearBodySensorsPermissionButton); + mPhoneStoragePermissionButton = findViewById(R.id.phoneStoragePermissionButton); - mOutputTextView = (TextView) findViewById(R.id.output); + mWearBodySensorsPermissionButton = findViewById(R.id.wearBodySensorsPermissionButton); - mGoogleApiClient = new GoogleApiClient.Builder(this) - .addApi(Wearable.API) - .addConnectionCallbacks(this) - .addOnConnectionFailedListener(this) - .build(); + mOutputTextView = findViewById(R.id.output); } public void onClickWearBodySensors(View view) { @@ -147,14 +132,9 @@ public class MainPhoneActivity extends AppCompatActivity implements protected void onPause() { Log.d(TAG, "onPause()"); super.onPause(); - if ((mGoogleApiClient != null) && (mGoogleApiClient.isConnected())) { - Wearable.CapabilityApi.removeCapabilityListener( - mGoogleApiClient, - this, - Constants.CAPABILITY_WEAR_APP); - Wearable.MessageApi.removeListener(mGoogleApiClient, this); - mGoogleApiClient.disconnect(); - } + + Wearable.getMessageClient(this).removeListener(this); + Wearable.getCapabilityClient(this).removeListener(this); } @Override @@ -174,9 +154,51 @@ public class MainPhoneActivity extends AppCompatActivity implements R.drawable.ic_permission_approved, 0, 0, 0); } - if (mGoogleApiClient != null) { - mGoogleApiClient.connect(); - } + // Clients are inexpensive to create, so in this case we aren't creating member variables. + // (They are cached and shared between GoogleApi instances.) + Wearable.getMessageClient(this).addListener(this); + Wearable.getCapabilityClient(this).addListener( + this, Constants.CAPABILITY_WEAR_APP); + + // Initial check of capabilities to find the phone. + Task<CapabilityInfo> capabilityInfoTask = Wearable.getCapabilityClient(this) + .getCapability(Constants.CAPABILITY_WEAR_APP, CapabilityClient.FILTER_REACHABLE); + + capabilityInfoTask.addOnCompleteListener(new OnCompleteListener<CapabilityInfo>() { + @Override + public void onComplete(Task<CapabilityInfo> task) { + + if (task.isSuccessful()) { + Log.d(TAG, "Capability request succeeded."); + CapabilityInfo capabilityInfo = task.getResult(); + String capabilityName = capabilityInfo.getName(); + + boolean wearSupportsSampleApp = + capabilityName.equals(Constants.CAPABILITY_WEAR_APP); + + if (wearSupportsSampleApp) { + mWearNodeIds = capabilityInfo.getNodes(); + + /* + * Upon getting all wear nodes, we now need to check if the original + * request to launch this activity (and PhonePermissionRequestActivity) was + * initiated by a wear device. If it was, we need to send back the + * permission results (data or rejection of permission) to the wear device. + * + * Also, note we set variable to false, this enables the user to continue + * changing permissions without sending updates to the wear every time. + */ + if (mWearRequestingPhoneStoragePermission) { + mWearRequestingPhoneStoragePermission = false; + sendWearPermissionResults(); + } + } + + } else { + Log.d(TAG, "Capability request failed to return any results."); + } + } + }); } @Override @@ -195,66 +217,6 @@ public class MainPhoneActivity extends AppCompatActivity implements } } - @Override - public void onConnected(Bundle bundle) { - Log.d(TAG, "onConnected()"); - - // Set up listeners for capability and message changes. - Wearable.CapabilityApi.addCapabilityListener( - mGoogleApiClient, - this, - Constants.CAPABILITY_WEAR_APP); - Wearable.MessageApi.addListener(mGoogleApiClient, this); - - // Initial check of capabilities to find the wear nodes. - PendingResult<CapabilityApi.GetCapabilityResult> pendingResult = - Wearable.CapabilityApi.getCapability( - mGoogleApiClient, - Constants.CAPABILITY_WEAR_APP, - CapabilityApi.FILTER_REACHABLE); - - pendingResult.setResultCallback(new ResultCallback<CapabilityApi.GetCapabilityResult>() { - @Override - public void onResult(CapabilityApi.GetCapabilityResult getCapabilityResult) { - - CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); - String capabilityName = capabilityInfo.getName(); - - boolean wearSupportsSampleApp = - capabilityName.equals(Constants.CAPABILITY_WEAR_APP); - - if (wearSupportsSampleApp) { - mWearNodeIds = capabilityInfo.getNodes(); - - /* - * Upon getting all wear nodes, we now need to check if the original request to - * launch this activity (and PhonePermissionRequestActivity) was initiated by - * a wear device. If it was, we need to send back the permission results (data - * or rejection of permission) to the wear device. - * - * Also, note we set variable to false, this enables the user to continue - * changing permissions without sending updates to the wear every time. - */ - if (mWearRequestingPhoneStoragePermission) { - mWearRequestingPhoneStoragePermission = false; - sendWearPermissionResults(); - } - } - } - }); - } - - @Override - public void onConnectionSuspended(int i) { - Log.d(TAG, "onConnectionSuspended(): connection to location client suspended"); - } - - @Override - public void onConnectionFailed(ConnectionResult connectionResult) { - Log.e(TAG, "onConnectionFailed(): connection to location client failed"); - } - - public void onCapabilityChanged(CapabilityInfo capabilityInfo) { Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); @@ -310,9 +272,9 @@ public class MainPhoneActivity extends AppCompatActivity implements } @Override - public void onResult(MessageApi.SendMessageResult sendMessageResult) { - if (!sendMessageResult.getStatus().isSuccess()) { - Log.d(TAG, "Sending message failed, onResult: " + sendMessageResult); + public void onComplete(Task<Integer> task) { + if (!task.isSuccessful()) { + Log.d(TAG, "Sending message failed, onComplete."); updateWearButtonOnUiThread(); logToUi("Sending message failed."); @@ -325,19 +287,17 @@ public class MainPhoneActivity extends AppCompatActivity implements Log.d(TAG, "sendMessage(): " + mWearNodeIds); if ((mWearNodeIds != null) && (!mWearNodeIds.isEmpty())) { - - PendingResult<MessageApi.SendMessageResult> pendingResult; + + Task<Integer> sendMessageTask; for (Node node : mWearNodeIds) { - pendingResult = Wearable.MessageApi.sendMessage( - mGoogleApiClient, + sendMessageTask = Wearable.getMessageClient(this).sendMessage( node.getId(), Constants.MESSAGE_PATH_WEAR, dataMap.toByteArray()); - pendingResult.setResultCallback(this, Constants.CONNECTION_TIME_OUT_MS, - TimeUnit.SECONDS); + sendMessageTask.addOnCompleteListener(this); } } else { // Unable to retrieve node with proper capability diff --git a/wearable/wear/RuntimePermissionsWear/Shared/build.gradle b/wearable/wear/RuntimePermissionsWear/Shared/build.gradle index 95588db2..bf02c2cb 100644 --- a/wearable/wear/RuntimePermissionsWear/Shared/build.gradle +++ b/wearable/wear/RuntimePermissionsWear/Shared/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' } } diff --git a/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestWearService.java b/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestWearService.java index 5dc24677..408b4702 100644 --- a/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestWearService.java +++ b/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/IncomingRequestWearService.java @@ -26,13 +26,11 @@ import android.util.Log; import com.example.android.wearable.runtimepermissions.common.Constants; -import com.google.android.gms.common.ConnectionResult; -import com.google.android.gms.common.api.GoogleApiClient; -import com.google.android.gms.common.api.PendingResult; -import com.google.android.gms.wearable.CapabilityApi; +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; +import com.google.android.gms.wearable.CapabilityClient; import com.google.android.gms.wearable.CapabilityInfo; import com.google.android.gms.wearable.DataMap; -import com.google.android.gms.wearable.MessageApi; import com.google.android.gms.wearable.MessageEvent; import com.google.android.gms.wearable.Node; import com.google.android.gms.wearable.Wearable; @@ -40,7 +38,6 @@ import com.google.android.gms.wearable.WearableListenerService; import java.util.List; import java.util.Set; -import java.util.concurrent.TimeUnit; /** * Handles all incoming requests for wear data (and permissions) from phone devices. @@ -129,60 +126,52 @@ public class IncomingRequestWearService extends WearableListenerService { } } - private void sendMessage(DataMap dataMap) { + private void sendMessage(final DataMap dataMap) { Log.d(TAG, "sendMessage(): " + dataMap); - GoogleApiClient googleApiClient = new GoogleApiClient.Builder(this) - .addApi(Wearable.API) - .build(); - ConnectionResult connectionResult = - googleApiClient.blockingConnect( - Constants.CONNECTION_TIME_OUT_MS, - TimeUnit.MILLISECONDS); - - if (!connectionResult.isSuccess()) { - Log.d(TAG, "Google API Client failed to connect."); - return; - } - - PendingResult<CapabilityApi.GetCapabilityResult> pendingCapabilityResult = - Wearable.CapabilityApi.getCapability( - googleApiClient, - Constants.CAPABILITY_PHONE_APP, - CapabilityApi.FILTER_REACHABLE); - - CapabilityApi.GetCapabilityResult getCapabilityResult = - pendingCapabilityResult.await( - Constants.CONNECTION_TIME_OUT_MS, - TimeUnit.MILLISECONDS); - - if (!getCapabilityResult.getStatus().isSuccess()) { - Log.d(TAG, "CapabilityApi failed to return any results."); - googleApiClient.disconnect(); - return; - } - - CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); - String phoneNodeId = pickBestNodeId(capabilityInfo.getNodes()); - - PendingResult<MessageApi.SendMessageResult> pendingMessageResult = - Wearable.MessageApi.sendMessage( - googleApiClient, - phoneNodeId, - Constants.MESSAGE_PATH_PHONE, - dataMap.toByteArray()); - - MessageApi.SendMessageResult sendMessageResult = - pendingMessageResult.await(Constants.CONNECTION_TIME_OUT_MS, TimeUnit.MILLISECONDS); - - if (!sendMessageResult.getStatus().isSuccess()) { - Log.d(TAG, "Sending message failed, onResult: " + sendMessageResult.getStatus()); - } else { - Log.d(TAG, "Message sent successfully"); - } - - googleApiClient.disconnect(); + // Initial check of capabilities to find the phone. + Task<CapabilityInfo> capabilityInfoTask = Wearable.getCapabilityClient(this) + .getCapability(Constants.CAPABILITY_PHONE_APP, CapabilityClient.FILTER_REACHABLE); + + capabilityInfoTask.addOnCompleteListener(new OnCompleteListener<CapabilityInfo>() { + @Override + public void onComplete(Task<CapabilityInfo> task) { + + if (task.isSuccessful()) { + Log.d(TAG, "Capability request succeeded."); + + CapabilityInfo capabilityInfo = task.getResult(); + String phoneNodeId = pickBestNodeId(capabilityInfo.getNodes()); + + if (phoneNodeId != null) { + // Instantiates clients without member variables, as clients are inexpensive to + // create. (They are cached and shared between GoogleApi instances.) + Task<Integer> sendMessageTask = + Wearable.getMessageClient( + getApplicationContext()).sendMessage( + phoneNodeId, + Constants.MESSAGE_PATH_PHONE, + dataMap.toByteArray()); + + sendMessageTask.addOnCompleteListener(new OnCompleteListener<Integer>() { + @Override + public void onComplete(Task<Integer> task) { + if (task.isSuccessful()) { + Log.d(TAG, "Message sent successfully"); + } else { + Log.d(TAG, "Message failed."); + } + } + }); + } else { + Log.d(TAG, "No phone node available."); + } + } else { + Log.d(TAG, "Capability request failed to return any results."); + } + } + }); } /* @@ -206,4 +195,4 @@ public class IncomingRequestWearService extends WearableListenerService { } return bestNodeId; } -}
\ No newline at end of file +} diff --git a/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/MainWearActivity.java b/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/MainWearActivity.java index 95a152b2..685f200d 100644 --- a/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/MainWearActivity.java +++ b/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/MainWearActivity.java @@ -17,16 +17,15 @@ package com.example.android.wearable.runtimepermissions; import android.Manifest; -import android.app.Activity; import android.content.Intent; import android.content.pm.PackageManager; import android.hardware.Sensor; import android.hardware.SensorManager; import android.os.Bundle; import android.os.Looper; -import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.util.Log; import android.view.View; import android.widget.Button; @@ -34,21 +33,18 @@ import android.widget.TextView; import com.example.android.wearable.runtimepermissions.common.Constants; -import com.google.android.gms.common.ConnectionResult; -import com.google.android.gms.common.api.GoogleApiClient; -import com.google.android.gms.common.api.PendingResult; -import com.google.android.gms.common.api.ResultCallback; -import com.google.android.gms.wearable.CapabilityApi; +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; +import com.google.android.gms.wearable.CapabilityClient; import com.google.android.gms.wearable.CapabilityInfo; import com.google.android.gms.wearable.DataMap; -import com.google.android.gms.wearable.MessageApi; +import com.google.android.gms.wearable.MessageClient; import com.google.android.gms.wearable.MessageEvent; import com.google.android.gms.wearable.Node; import com.google.android.gms.wearable.Wearable; import java.util.List; import java.util.Set; -import java.util.concurrent.TimeUnit; /** * Displays data that requires runtime permissions both locally (BODY_SENSORS) and remotely on @@ -59,12 +55,10 @@ import java.util.concurrent.TimeUnit; * this Activity also sends back the results of the permission request to the phone device (and * the sensor data if approved). */ -public class MainWearActivity extends Activity implements - AmbientMode.AmbientCallbackProvider, - GoogleApiClient.ConnectionCallbacks, - GoogleApiClient.OnConnectionFailedListener, - CapabilityApi.CapabilityListener, - MessageApi.MessageListener, +public class MainWearActivity extends FragmentActivity + implements AmbientModeSupport.AmbientCallbackProvider, + CapabilityClient.OnCapabilityChangedListener, + MessageClient.OnMessageReceivedListener, ActivityCompat.OnRequestPermissionsResultCallback { private static final String TAG = "MainWearActivity"; @@ -82,7 +76,7 @@ public class MainWearActivity extends Activity implements * Ambient mode controller attached to this display. Used by the Activity to see if it is in * ambient mode. */ - private AmbientMode.AmbientController mAmbientController; + private AmbientModeSupport.AmbientController mAmbientController; private boolean mWearBodySensorsPermissionApproved; private boolean mPhoneStoragePermissionApproved; @@ -95,8 +89,6 @@ public class MainWearActivity extends Activity implements private String mPhoneNodeId; - private GoogleApiClient mGoogleApiClient; - @Override protected void onCreate(Bundle savedInstanceState) { Log.d(TAG, "onCreate()"); @@ -111,34 +103,26 @@ public class MainWearActivity extends Activity implements setContentView(R.layout.activity_main); // Enables Ambient mode. - mAmbientController = AmbientMode.attachAmbientSupport(this); + mAmbientController = AmbientModeSupport.attach(this); // Checks if phone app requested wear permission (permission request opens later if true). mPhoneRequestingWearSensorPermission = getIntent().getBooleanExtra(EXTRA_PROMPT_PERMISSION_FROM_PHONE, false); - mWearBodySensorsPermissionButton = - (Button) findViewById(R.id.wear_body_sensors_permission_button); + mWearBodySensorsPermissionButton = findViewById(R.id.wear_body_sensors_permission_button); if (mWearBodySensorsPermissionApproved) { mWearBodySensorsPermissionButton.setCompoundDrawablesWithIntrinsicBounds( R.drawable.ic_permission_approved, 0, 0, 0); } - mPhoneStoragePermissionButton = (Button) findViewById(R.id.phone_storage_permission_button); + mPhoneStoragePermissionButton = findViewById(R.id.phone_storage_permission_button); - mOutputTextView = (TextView) findViewById(R.id.output); + mOutputTextView = findViewById(R.id.output); if (mPhoneRequestingWearSensorPermission) { launchPermissionDialogForPhone(); } - - - mGoogleApiClient = new GoogleApiClient.Builder(this) - .addApi(Wearable.API) - .addConnectionCallbacks(this) - .addOnConnectionFailedListener(this) - .build(); } public void onClickWearBodySensors(View view) { @@ -175,23 +159,42 @@ public class MainWearActivity extends Activity implements protected void onPause() { Log.d(TAG, "onPause()"); super.onPause(); - if ((mGoogleApiClient != null) && mGoogleApiClient.isConnected()) { - Wearable.CapabilityApi.removeCapabilityListener( - mGoogleApiClient, - this, - Constants.CAPABILITY_PHONE_APP); - Wearable.MessageApi.removeListener(mGoogleApiClient, this); - mGoogleApiClient.disconnect(); - } + + Wearable.getMessageClient(this).removeListener(this); + Wearable.getCapabilityClient(this).removeListener(this); } + @Override protected void onResume() { Log.d(TAG, "onResume()"); super.onResume(); - if (mGoogleApiClient != null) { - mGoogleApiClient.connect(); - } + + // Instantiates clients without member variables, as clients are inexpensive to create and + // won't lose their listeners. (They are cached and shared between GoogleApi instances.) + Wearable.getMessageClient(this).addListener(this); + Wearable.getCapabilityClient(this).addListener( + this, Constants.CAPABILITY_PHONE_APP); + + // Initial check of capabilities to find the phone. + Task<CapabilityInfo> capabilityInfoTask = Wearable.getCapabilityClient(this) + .getCapability(Constants.CAPABILITY_PHONE_APP, CapabilityClient.FILTER_REACHABLE); + + capabilityInfoTask.addOnCompleteListener(new OnCompleteListener<CapabilityInfo>() { + @Override + public void onComplete(Task<CapabilityInfo> task) { + + if (task.isSuccessful()) { + Log.d(TAG, "Capability request succeeded."); + + CapabilityInfo capabilityInfo = task.getResult(); + mPhoneNodeId = pickBestNodeId(capabilityInfo.getNodes()); + + } else { + Log.d(TAG, "Capability request failed to return any results."); + } + } + }); // Enables app to handle 23+ (M+) style permissions. mWearBodySensorsPermissionApproved = @@ -218,51 +221,6 @@ public class MainWearActivity extends Activity implements } } - - @Override - public void onConnected(Bundle bundle) { - Log.d(TAG, "onConnected()"); - - // Set up listeners for capability and message changes. - Wearable.CapabilityApi.addCapabilityListener( - mGoogleApiClient, - this, - Constants.CAPABILITY_PHONE_APP); - Wearable.MessageApi.addListener(mGoogleApiClient, this); - - // Initial check of capabilities to find the phone. - PendingResult<CapabilityApi.GetCapabilityResult> pendingResult = - Wearable.CapabilityApi.getCapability( - mGoogleApiClient, - Constants.CAPABILITY_PHONE_APP, - CapabilityApi.FILTER_REACHABLE); - - pendingResult.setResultCallback(new ResultCallback<CapabilityApi.GetCapabilityResult>() { - @Override - public void onResult(CapabilityApi.GetCapabilityResult getCapabilityResult) { - - if (getCapabilityResult.getStatus().isSuccess()) { - CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); - mPhoneNodeId = pickBestNodeId(capabilityInfo.getNodes()); - - } else { - Log.d(TAG, "Failed CapabilityApi result: " - + getCapabilityResult.getStatus()); - } - } - }); - } - - @Override - public void onConnectionSuspended(int i) { - Log.d(TAG, "onConnectionSuspended(): connection to location client suspended"); - } - - @Override - public void onConnectionFailed(ConnectionResult connectionResult) { - Log.e(TAG, "onConnectionFailed(): connection to location client failed"); - } - public void onCapabilityChanged(CapabilityInfo capabilityInfo) { Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); @@ -274,7 +232,7 @@ public class MainWearActivity extends Activity implements */ @Override public void onRequestPermissionsResult( - int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { + int requestCode, String[] permissions, int[] grantResults) { String permissionResult = "Request code: " + requestCode + ", Permissions: " + permissions + ", Results: " + grantResults; @@ -377,27 +335,21 @@ public class MainWearActivity extends Activity implements Log.d(TAG, "sendMessage(): " + mPhoneNodeId); if (mPhoneNodeId != null) { + // Clients are inexpensive to create, so in this case we aren't creating member variables. + // (They are cached and shared between GoogleApi instances.) + Task<Integer> sendMessageTask = Wearable.getMessageClient(this) + .sendMessage(mPhoneNodeId, Constants.MESSAGE_PATH_PHONE, dataMap.toByteArray()); - PendingResult<MessageApi.SendMessageResult> pendingResult = - Wearable.MessageApi.sendMessage( - mGoogleApiClient, - mPhoneNodeId, - Constants.MESSAGE_PATH_PHONE, - dataMap.toByteArray()); - - pendingResult.setResultCallback(new ResultCallback<MessageApi.SendMessageResult>() { + sendMessageTask.addOnCompleteListener(new OnCompleteListener<Integer>() { @Override - public void onResult(MessageApi.SendMessageResult sendMessageResult) { - - if (!sendMessageResult.getStatus().isSuccess()) { - updatePhoneButtonOnUiThread(); - logToUi("Sending message failed."); - + public void onComplete(Task<Integer> task) { + if (task.isSuccessful()) { + Log.d(TAG, "Message sent successfully"); } else { - Log.d(TAG, "Message sent successfully."); + Log.d(TAG, "Message failed."); } } - }, Constants.CONNECTION_TIME_OUT_MS, TimeUnit.SECONDS); + }); } else { // Unable to retrieve node with proper capability @@ -485,11 +437,11 @@ public class MainWearActivity extends Activity implements } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback { + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback { /** Prepares the UI for ambient mode. */ @Override public void onEnterAmbient(Bundle ambientDetails) { @@ -568,4 +520,4 @@ public class MainWearActivity extends Activity implements }); } } -}
\ No newline at end of file +} diff --git a/wearable/wear/RuntimePermissionsWear/template-params.xml b/wearable/wear/RuntimePermissionsWear/template-params.xml index 0a1863c7..df3850e4 100644 --- a/wearable/wear/RuntimePermissionsWear/template-params.xml +++ b/wearable/wear/RuntimePermissionsWear/template-params.xml @@ -32,10 +32,10 @@ <has_handheld_app>true</has_handheld_app> </wearable> - <dependency>com.android.support:appcompat-v7:27.1,0</dependency> - <dependency>com.android.support:design:27.1.0</dependency> + <dependency>com.android.support:appcompat-v7:27.1.1</dependency> + <dependency>com.android.support:design:27.1.1</dependency> - <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> + <dependency_wearable>com.android.support:wear:27.1.1</dependency_wearable> <strings> <intro> diff --git a/wearable/wear/SkeletonWearableApp/LICENSE b/wearable/wear/SkeletonWearableApp/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/SkeletonWearableApp/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/SkeletonWearableApp/README-wear.txt b/wearable/wear/SkeletonWearableApp/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/SkeletonWearableApp/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/WearableMainActivity.java b/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/WearableMainActivity.java index d6e2f3f8..c2e180c1 100644 --- a/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/WearableMainActivity.java +++ b/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/WearableMainActivity.java @@ -30,7 +30,6 @@ import com.google.android.gms.wearable.Wearable; import android.Manifest; import android.annotation.SuppressLint; -import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; @@ -42,8 +41,9 @@ import android.os.Handler; import android.preference.PreferenceManager; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; +import android.support.v4.app.FragmentActivity; import android.support.v4.content.ContextCompat; -import android.support.wear.ambient.AmbientMode; +import android.support.wear.ambient.AmbientModeSupport; import android.util.Log; import android.view.View; import android.widget.ImageView; @@ -62,8 +62,8 @@ import java.util.concurrent.TimeUnit; * and if the user exceeds the speed limit, it will turn red. In order to show the user that GPS * location data is coming in, a small green dot keeps on blinking while GPS data is available. */ -public class WearableMainActivity extends Activity implements - AmbientMode.AmbientCallbackProvider, +public class WearableMainActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider, GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener, ActivityCompat.OnRequestPermissionsResultCallback, @@ -112,7 +112,7 @@ public class WearableMainActivity extends Activity implements * Ambient mode controller attached to this display. Used by the Activity to see if it is in * ambient mode. */ - private AmbientMode.AmbientController mAmbientController; + private AmbientModeSupport.AmbientController mAmbientController; private GoogleApiClient mGoogleApiClient; @@ -150,7 +150,7 @@ public class WearableMainActivity extends Activity implements * https://developer.android.com/training/wearables/apps/always-on.html */ // Enables Ambient mode. - mAmbientController = AmbientMode.attachAmbientSupport(this); + mAmbientController = AmbientModeSupport.attach(this); mCalendar = Calendar.getInstance(); @@ -229,12 +229,12 @@ public class WearableMainActivity extends Activity implements } private void setupViews() { - mSpeedLimitTextView = (TextView) findViewById(R.id.max_speed_text); - mSpeedTextView = (TextView) findViewById(R.id.current_speed_text); - mCurrentSpeedMphTextView = (TextView) findViewById(R.id.current_speed_mph); + mSpeedLimitTextView = findViewById(R.id.max_speed_text); + mSpeedTextView = findViewById(R.id.current_speed_text); + mCurrentSpeedMphTextView = findViewById(R.id.current_speed_mph); - mGpsPermissionImageView = (ImageView) findViewById(R.id.gps_permission); - mGpsIssueTextView = (TextView) findViewById(R.id.gps_issue_text); + mGpsPermissionImageView = findViewById(R.id.gps_permission); + mGpsIssueTextView = findViewById(R.id.gps_issue_text); mBlinkingGpsStatusDotView = findViewById(R.id.dot); updateActivityViewsBasedOnLocationPermissions(); @@ -506,11 +506,11 @@ public class WearableMainActivity extends Activity implements } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback { + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback { /** Prepares the UI for ambient mode. */ @Override public void onEnterAmbient(Bundle ambientDetails) { @@ -535,4 +535,4 @@ public class WearableMainActivity extends Activity implements ContextCompat.getColor(getApplicationContext(), R.color.green)); } } -}
\ No newline at end of file +} diff --git a/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/SpeedPickerLayout.java b/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/SpeedPickerLayout.java index 5796c136..7b767bed 100644 --- a/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/SpeedPickerLayout.java +++ b/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/SpeedPickerLayout.java @@ -60,8 +60,8 @@ public class SpeedPickerLayout extends LinearLayout @Override protected void onFinishInflate() { super.onFinishInflate(); - mCircle = (ImageView) findViewById(R.id.circle); - mName = (TextView) findViewById(R.id.name); + mCircle = findViewById(R.id.circle); + mName = findViewById(R.id.name); } @Override diff --git a/wearable/wear/SpeedTracker/template-params.xml b/wearable/wear/SpeedTracker/template-params.xml index 253f13db..6524ca4c 100644 --- a/wearable/wear/SpeedTracker/template-params.xml +++ b/wearable/wear/SpeedTracker/template-params.xml @@ -32,8 +32,8 @@ <has_handheld_app>true</has_handheld_app> </wearable> - <dependency>com.android.support:design:27.1.0</dependency> - <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> + <dependency>com.android.support:design:27.1.1</dependency> + <dependency_wearable>com.android.support:wear:27.1.1</dependency_wearable> <dependency>com.google.android.gms:play-services-maps</dependency> <dependency>com.google.android.gms:play-services-location</dependency> diff --git a/wearable/wear/SynchronizedNotifications/Application/proguard-project.txt b/wearable/wear/SynchronizedNotifications/Application/proguard-project.txt deleted file mode 100644 index 0d8f171d..00000000 --- a/wearable/wear/SynchronizedNotifications/Application/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ - To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/wearable/wear/SynchronizedNotifications/LICENSE b/wearable/wear/SynchronizedNotifications/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/SynchronizedNotifications/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/SynchronizedNotifications/README-wear.txt b/wearable/wear/SynchronizedNotifications/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/SynchronizedNotifications/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/Timer/LICENSE b/wearable/wear/Timer/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/Timer/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/Timer/README-wear.txt b/wearable/wear/Timer/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/Timer/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/WatchViewStub/LICENSE b/wearable/wear/WatchViewStub/LICENSE deleted file mode 100644 index 4f229463..00000000 --- a/wearable/wear/WatchViewStub/LICENSE +++ /dev/null @@ -1,647 +0,0 @@ -Apache License --------------- - - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav -and *.ogg) are licensed under the CC-BY-NC license. All other files are -licensed under the Apache 2 license. - -CC-BY-NC License ----------------- - -Attribution-NonCommercial-ShareAlike 4.0 International - -======================================================================= - -Creative Commons Corporation ("Creative Commons") is not a law firm and -does not provide legal services or legal advice. Distribution of -Creative Commons public licenses does not create a lawyer-client or -other relationship. Creative Commons makes its licenses and related -information available on an "as-is" basis. Creative Commons gives no -warranties regarding its licenses, any material licensed under their -terms and conditions, or any related information. Creative Commons -disclaims all liability for damages resulting from their use to the -fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and -conditions that creators and other rights holders may use to share -original works of authorship and other material subject to copyright -and certain other rights specified in the public license below. The -following considerations are for informational purposes only, are not -exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees - -======================================================================= - -Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International -Public License - -By exercising the Licensed Rights (defined below), You accept and agree -to be bound by the terms and conditions of this Creative Commons -Attribution-NonCommercial-ShareAlike 4.0 International Public License -("Public License"). To the extent this Public License may be -interpreted as a contract, You are granted the Licensed Rights in -consideration of Your acceptance of these terms and conditions, and the -Licensor grants You such rights in consideration of benefits the -Licensor receives from making the Licensed Material available under -these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - - c. BY-NC-SA Compatible License means a license listed at - creativecommons.org/compatiblelicenses, approved by Creative - Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - - e. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name - of a Creative Commons Public License. The License Elements of this - Public License are Attribution, NonCommercial, and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - - i. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - - k. NonCommercial means not primarily intended for or directed towards - commercial advantage or monetary compensation. For purposes of - this Public License, the exchange of the Licensed Material for - other material subject to Copyright and Similar Rights by digital - file-sharing or similar means is NonCommercial provided there is - no payment of monetary compensation in connection with the - exchange. - - l. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - - m. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - - n. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - - -Section 2 -- Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - - a. reproduce and Share the Licensed Material, in whole or - in part, for NonCommercial purposes only; and - - b. produce, reproduce, and Share Adapted Material for - NonCommercial purposes only. - - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - - 3. Term. The term of this Public License is specified in Section - 6(a). - - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - - 5. Downstream recipients. - - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - - b. Additional offer from the Licensor -- Adapted Material. - Every recipient of Adapted Material from You - automatically receives an offer from the Licensor to - exercise the Licensed Rights in the Adapted Material - under the conditions of the Adapter's License You apply. - - c. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this - Public License. - - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties, including when - the Licensed Material is used other than for NonCommercial - purposes. - - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the -following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified - form), You must: - - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of - warranties; - - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - - b. ShareAlike. - - In addition to the conditions in Section 3(a), if You Share - Adapted Material You produce, the following conditions also apply. - - 1. The Adapter's License You apply must be a Creative Commons - license with the same License Elements, this version or - later, or a BY-NC-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the - Adapter's License You apply. You may satisfy this condition - in any reasonable manner based on the medium, means, and - context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms - or conditions on, or apply any Effective Technological - Measures to, Adapted Material that restrict exercise of the - rights granted under the Adapter's License You apply. - - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that -apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database for NonCommercial purposes - only; - - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material, - including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. - -For the avoidance of doubt, this Section 4 supplements and does not -replace Your obligations under this Public License where the Licensed -Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - - 2. upon express reinstatement by the Licensor. - - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. - -======================================================================= - -Creative Commons is not a party to its public licenses. -Notwithstanding, Creative Commons may elect to apply one of its public -licenses to material it publishes and in those instances will be -considered the "Licensor." Except for the limited purpose of indicating -that material is shared under a Creative Commons public license or as -otherwise permitted by the Creative Commons policies published at -creativecommons.org/policies, Creative Commons does not authorize the -use of the trademark "Creative Commons" or any other trademark or logo -of Creative Commons without its prior written consent including, -without limitation, in connection with any unauthorized modifications -to any of its public licenses or any other arrangements, -understandings, or agreements concerning use of licensed material. For -the avoidance of doubt, this paragraph does not form part of the public -licenses. - -Creative Commons may be contacted at creativecommons.org. - diff --git a/wearable/wear/WatchViewStub/README-wear.txt b/wearable/wear/WatchViewStub/README-wear.txt deleted file mode 100644 index 17523d78..00000000 --- a/wearable/wear/WatchViewStub/README-wear.txt +++ /dev/null @@ -1,30 +0,0 @@ -<#-- - Copyright 2014 The Android Open Source Project - - 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -Steps to use Wear template on top of an existing sample: -- In template-params.xml.ftl: - - Add the following template: - <template src="Wear"/> - -- Refresh your project (./gradlew refresh) -- Add Wearable-specific code to Wearable directory -- Add code to be shared among the main application and the wearable to Shared - directory - -Note that you still need the main application sample code. This is usually -achieved by adding another template, like "base" for example. - - diff --git a/wearable/wear/WearAccessibilityApp/Wearable/build.gradle b/wearable/wear/WearAccessibilityApp/Wearable/build.gradle index a38f2163..86a8296c 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/build.gradle +++ b/wearable/wear/WearAccessibilityApp/Wearable/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' } } @@ -21,17 +21,17 @@ repositories { dependencies { - compile 'com.android.support:wear:27.1.0' - compile 'com.android.support.constraint:constraint-layout:1.0.2' - compile 'com.android.support:appcompat-v7:27.1.0' + implementation 'com.android.support:wear:27.1.0' + implementation 'com.android.support.constraint:constraint-layout:1.0.2' + implementation 'com.android.support:appcompat-v7:27.1.0' - compile 'com.google.android.gms:play-services-wearable:11.8.0' - compile 'com.android.support:support-v13:27.1.0' + implementation 'com.google.android.gms:play-services-wearable:15.0.1' + implementation 'com.android.support:support-v13:27.1.1' - provided 'com.google.android.wearable:wearable:2.3.0' + compileOnly 'com.google.android.wearable:wearable:2.3.0' - compile 'com.google.android.support:wearable:2.3.0' + implementation 'com.google.android.support:wearable:2.3.0' } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ControlsActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ControlsActivity.java index 40c7a3ad..5cb897e5 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ControlsActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ControlsActivity.java @@ -15,18 +15,19 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; import android.preference.PreferenceFragment; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; -public class ControlsActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class ControlsActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Display the fragment as the main content. getFragmentManager() @@ -46,9 +47,9 @@ public class ControlsActivity extends Activity implements AmbientMode.AmbientCal } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/DialogsActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/DialogsActivity.java index cc0d0fba..e17476c8 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/DialogsActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/DialogsActivity.java @@ -15,13 +15,13 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.app.Dialog; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.support.wearable.view.AcceptDenyDialog; import android.support.wearable.view.WearableDialogHelper.DialogBuilder; import android.view.LayoutInflater; @@ -34,7 +34,8 @@ import java.util.ArrayList; import java.util.List; import java.util.function.Supplier; -public class DialogsActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class DialogsActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { private List<DialogsItem> mItems; public View mView; @@ -44,7 +45,7 @@ public class DialogsActivity extends Activity implements AmbientMode.AmbientCall super.onCreate(savedInstanceState); setContentView(R.layout.activity_dialogs); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Supplier objects Supplier<Dialog> twoActionDialog = @@ -183,9 +184,9 @@ public class DialogsActivity extends Activity implements AmbientMode.AmbientCall } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/FullScreenActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/FullScreenActivity.java index 0145288e..f254e288 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/FullScreenActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/FullScreenActivity.java @@ -15,25 +15,26 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; -public class FullScreenActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class FullScreenActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); setContentView(R.layout.activity_fullscreen_progress); } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ImagesActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ImagesActivity.java index 2291fbc4..dcb95046 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ImagesActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ImagesActivity.java @@ -15,15 +15,16 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.graphics.drawable.Animatable2.AnimationCallback; import android.graphics.drawable.AnimatedVectorDrawable; import android.graphics.drawable.Drawable; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.widget.ImageView; -public class ImagesActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class ImagesActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { private AnimatedVectorDrawable mAnimatedVectorDrawableSwipe; private AnimatedVectorDrawable mAnimatedVectorDrawableTap; private AnimationCallback mAnimationCallback; @@ -33,7 +34,7 @@ public class ImagesActivity extends Activity implements AmbientMode.AmbientCallb super.onCreate(savedInstanceState); setContentView(R.layout.activity_images); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Used to repeat animation from the beginning. mAnimationCallback = @@ -66,9 +67,9 @@ public class ImagesActivity extends Activity implements AmbientMode.AmbientCallb } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/InLineActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/InLineActivity.java index 723d57cb..275f5444 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/InLineActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/InLineActivity.java @@ -15,22 +15,23 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; import android.preference.Preference; import android.preference.Preference.OnPreferenceChangeListener; import android.preference.PreferenceFragment; import android.preference.PreferenceScreen; import android.preference.SwitchPreference; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; -public class InLineActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class InLineActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); getFragmentManager() .beginTransaction() @@ -87,9 +88,9 @@ public class InLineActivity extends Activity implements AmbientMode.AmbientCallb } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListOfGraphicsActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListOfGraphicsActivity.java index 1159ebc5..1d700667 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListOfGraphicsActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListOfGraphicsActivity.java @@ -15,9 +15,9 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.view.LayoutInflater; import android.view.View; import android.widget.AdapterView; @@ -27,8 +27,8 @@ import android.widget.TextView; import java.util.ArrayList; import java.util.List; -public class ListOfGraphicsActivity extends Activity - implements AmbientMode.AmbientCallbackProvider { +public class ListOfGraphicsActivity extends FragmentActivity + implements AmbientModeSupport.AmbientCallbackProvider { private List<AppItem> mItems; @Override @@ -36,7 +36,7 @@ public class ListOfGraphicsActivity extends Activity super.onCreate(savedInstanceState); setContentView(R.layout.activity_list_of_graphics); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Store all data in a list for adapter to use. mItems = new ArrayList<AppItem>(); @@ -79,9 +79,9 @@ public class ListOfGraphicsActivity extends Activity } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListsActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListsActivity.java index 0ef82dc1..bd9d7736 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListsActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ListsActivity.java @@ -15,9 +15,9 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.view.LayoutInflater; import android.view.View; import android.widget.AdapterView; @@ -27,7 +27,8 @@ import android.widget.TextView; import java.util.ArrayList; import java.util.List; -public class ListsActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class ListsActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { private List<ListsItem> mItems; @Override @@ -35,7 +36,7 @@ public class ListsActivity extends Activity implements AmbientMode.AmbientCallba super.onCreate(savedInstanceState); setContentView(R.layout.activity_lists); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Create a list of items for adapter to display. mItems = new ArrayList<>(); @@ -70,9 +71,9 @@ public class ListsActivity extends Activity implements AmbientMode.AmbientCallba } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/LongListActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/LongListActivity.java index b2fd7216..42403975 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/LongListActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/LongListActivity.java @@ -15,12 +15,12 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; import android.os.Handler; +import android.support.v4.app.FragmentActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; -import android.support.wear.ambient.AmbientMode; +import android.support.wear.ambient.AmbientModeSupport; import android.support.wear.widget.WearableRecyclerView; import android.support.wear.widget.drawer.WearableActionDrawerView; import android.view.View; @@ -30,7 +30,8 @@ import com.example.android.wearable.wear.wearaccessibilityapp.LongListRecyclerVi import java.util.ArrayList; import java.util.List; -public class LongListActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class LongListActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { private List<AppItem> mItems; private LongListRecyclerViewAdapter mAdapter; @@ -44,7 +45,7 @@ public class LongListActivity extends Activity implements AmbientMode.AmbientCal super.onCreate(savedInstanceState); setContentView(R.layout.activity_long_list); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); mHandler = new Handler(); @@ -186,9 +187,9 @@ public class LongListActivity extends Activity implements AmbientMode.AmbientCal } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/MainActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/MainActivity.java index a1f1d371..4bbfacdd 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/MainActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/MainActivity.java @@ -15,23 +15,24 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.support.wear.widget.WearableLinearLayoutManager; import android.support.wear.widget.WearableRecyclerView; import java.util.ArrayList; import java.util.List; -public class MainActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class MainActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Menu items List<AppItem> items = new ArrayList<AppItem>(); @@ -78,9 +79,9 @@ public class MainActivity extends Activity implements AmbientMode.AmbientCallbac } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/NotificationsActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/NotificationsActivity.java index 412b012a..fd0bfeb4 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/NotificationsActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/NotificationsActivity.java @@ -15,7 +15,6 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; @@ -30,15 +29,17 @@ import android.preference.Preference.OnPreferenceChangeListener; import android.preference.Preference.OnPreferenceClickListener; import android.preference.PreferenceFragment; import android.preference.SwitchPreference; +import android.support.v4.app.FragmentActivity; import android.support.v4.app.NotificationCompat; import android.support.v4.app.NotificationCompat.MessagingStyle; import android.support.v4.app.NotificationManagerCompat; import android.support.v4.app.RemoteInput; import android.support.v4.content.ContextCompat; -import android.support.wear.ambient.AmbientMode; +import android.support.wear.ambient.AmbientModeSupport; import android.util.Log; -public class NotificationsActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class NotificationsActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { public static final int NOTIFICATION_ID = 888; @@ -46,7 +47,7 @@ public class NotificationsActivity extends Activity implements AmbientMode.Ambie protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Display the fragment as the main content. getFragmentManager() @@ -315,9 +316,9 @@ public class NotificationsActivity extends Activity implements AmbientMode.Ambie } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/OpenOnPhoneAnimationActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/OpenOnPhoneAnimationActivity.java index db1ae6e1..acc3c534 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/OpenOnPhoneAnimationActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/OpenOnPhoneAnimationActivity.java @@ -15,16 +15,16 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.graphics.drawable.Animatable2.AnimationCallback; import android.graphics.drawable.AnimatedVectorDrawable; import android.graphics.drawable.Drawable; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.widget.ImageView; -public class OpenOnPhoneAnimationActivity extends Activity - implements AmbientMode.AmbientCallbackProvider { +public class OpenOnPhoneAnimationActivity extends FragmentActivity + implements AmbientModeSupport.AmbientCallbackProvider { private AnimationCallback mAnimationCallback; private AnimatedVectorDrawable mAnimatedVectorDrawablePhone; @@ -33,7 +33,7 @@ public class OpenOnPhoneAnimationActivity extends Activity super.onCreate(savedInstanceState); setContentView(R.layout.activity_open_on_phone_animation); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); mAnimationCallback = new AnimationCallback() { @@ -59,9 +59,9 @@ public class OpenOnPhoneAnimationActivity extends Activity } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/PhotoCarouselActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/PhotoCarouselActivity.java index 3c53b03f..5fa1f8b0 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/PhotoCarouselActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/PhotoCarouselActivity.java @@ -15,23 +15,23 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.content.Intent; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.view.View; import android.view.View.OnClickListener; import android.widget.ImageView; -public class PhotoCarouselActivity extends Activity - implements AmbientMode.AmbientCallbackProvider, OnClickListener { +public class PhotoCarouselActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider, OnClickListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_photo_carousel); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Grab reference to each image in activity_photo_carousel. ImageView catImage = findViewById(R.id.cat_image); @@ -59,9 +59,9 @@ public class PhotoCarouselActivity extends Activity } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ProgressActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ProgressActivity.java index 07ed344a..38add02e 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ProgressActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ProgressActivity.java @@ -15,9 +15,9 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.view.LayoutInflater; import android.view.View; import android.widget.AdapterView; @@ -27,7 +27,8 @@ import android.widget.TextView; import java.util.ArrayList; import java.util.List; -public class ProgressActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class ProgressActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { private List<ListsItem> mItems; @Override @@ -35,7 +36,7 @@ public class ProgressActivity extends Activity implements AmbientMode.AmbientCal super.onCreate(savedInstanceState); setContentView(R.layout.activity_lists); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Create a list of items for adapter to display. mItems = new ArrayList<>(); @@ -70,9 +71,9 @@ public class ProgressActivity extends Activity implements AmbientMode.AmbientCal } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/RadioListActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/RadioListActivity.java index e8d26b2f..d5bcc8b9 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/RadioListActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/RadioListActivity.java @@ -15,28 +15,29 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.widget.TextView; -public class RadioListActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class RadioListActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_radio_list); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); TextView titleView = findViewById(R.id.radio_list_title); titleView.setText(R.string.radio_list); } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ZoomImageActivity.java b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ZoomImageActivity.java index 27a24d10..cde17b57 100644 --- a/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ZoomImageActivity.java +++ b/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/ZoomImageActivity.java @@ -15,20 +15,21 @@ */ package com.example.android.wearable.wear.wearaccessibilityapp; -import android.app.Activity; import android.content.res.Resources.NotFoundException; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.widget.ImageView; -public class ZoomImageActivity extends Activity implements AmbientMode.AmbientCallbackProvider { +public class ZoomImageActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_zoom_image); - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); // Check if integer was actually given. if (!(getIntent().hasExtra(getString(R.string.intent_extra_image)))) { @@ -42,9 +43,9 @@ public class ZoomImageActivity extends Activity implements AmbientMode.AmbientCa } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback {} + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback {} } diff --git a/wearable/wear/WearAccessibilityApp/template-params.xml b/wearable/wear/WearAccessibilityApp/template-params.xml index 7117644e..7e32902c 100644 --- a/wearable/wear/WearAccessibilityApp/template-params.xml +++ b/wearable/wear/WearAccessibilityApp/template-params.xml @@ -26,9 +26,9 @@ <multiDexEnabled>true</multiDexEnabled> - <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> + <dependency_wearable>com.android.support:wear:27.1.1</dependency_wearable> <dependency_wearable>com.android.support.constraint:constraint-layout:1.0.2</dependency_wearable> - <dependency_wearable>com.android.support:appcompat-v7:27.1.0</dependency_wearable> + <dependency_wearable>com.android.support:appcompat-v7:27.1.1</dependency_wearable> <strings> diff --git a/wearable/wear/WearComplicationProvidersTestSuite/Wearable/build.gradle b/wearable/wear/WearComplicationProvidersTestSuite/Wearable/build.gradle index 84288bb2..39ddaf83 100644 --- a/wearable/wear/WearComplicationProvidersTestSuite/Wearable/build.gradle +++ b/wearable/wear/WearComplicationProvidersTestSuite/Wearable/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' } } @@ -21,15 +21,15 @@ repositories { dependencies { - compile 'com.android.support:appcompat-v7:27.1.0' + implementation 'com.android.support:appcompat-v7:27.1.1' - compile 'com.google.android.gms:play-services-wearable:11.8.0' - compile 'com.android.support:support-v13:27.1.0' + implementation 'com.google.android.gms:play-services-wearable:15.0.1' + implementation 'com.android.support:support-v13:27.1.1' - provided 'com.google.android.wearable:wearable:2.3.0' + compileOnly 'com.google.android.wearable:wearable:2.3.0' - compile 'com.google.android.support:wearable:2.3.0' + implementation 'com.google.android.support:wearable:2.3.0' } diff --git a/wearable/wear/WearComplicationProvidersTestSuite/template-params.xml b/wearable/wear/WearComplicationProvidersTestSuite/template-params.xml index 92709901..8cb86928 100644 --- a/wearable/wear/WearComplicationProvidersTestSuite/template-params.xml +++ b/wearable/wear/WearComplicationProvidersTestSuite/template-params.xml @@ -30,7 +30,7 @@ <has_handheld_app>false</has_handheld_app> </wearable> - <dependency_wearable>com.android.support:appcompat-v7:27.1.0</dependency_wearable> + <dependency_wearable>com.android.support:appcompat-v7:27.1.1</dependency_wearable> <strings> <intro> diff --git a/wearable/wear/WearDrawers/Wearable/build.gradle b/wearable/wear/WearDrawers/Wearable/build.gradle index 6a22d1c9..d52e606b 100644 --- a/wearable/wear/WearDrawers/Wearable/build.gradle +++ b/wearable/wear/WearDrawers/Wearable/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' } } @@ -21,15 +21,15 @@ repositories { dependencies { - compile 'com.android.support:wear:27.1.0' + implementation 'com.android.support:wear:27.1.1' - compile 'com.google.android.gms:play-services-wearable:11.8.0' - compile 'com.android.support:support-v13:27.1.0' + implementation 'com.google.android.gms:play-services-wearable:15.0.1' + implementation 'com.android.support:support-v13:27.1.1' - provided 'com.google.android.wearable:wearable:2.3.0' + compileOnly 'com.google.android.wearable:wearable:2.3.0' - compile 'com.google.android.support:wearable:2.3.0' + implementation 'com.google.android.support:wearable:2.3.0' } diff --git a/wearable/wear/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/MainActivity.java b/wearable/wear/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/MainActivity.java index c90583b7..88d71f5b 100644 --- a/wearable/wear/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/MainActivity.java +++ b/wearable/wear/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/MainActivity.java @@ -15,7 +15,6 @@ limitations under the License. */ package com.example.android.wearable.wear.weardrawers; -import android.app.Activity; import android.app.Fragment; import android.app.FragmentManager; import android.content.Context; @@ -24,7 +23,8 @@ import android.graphics.ColorMatrix; import android.graphics.ColorMatrixColorFilter; import android.graphics.drawable.Drawable; import android.os.Bundle; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.support.wear.widget.drawer.WearableActionDrawerView; import android.support.wear.widget.drawer.WearableNavigationDrawerView; import android.util.Log; @@ -40,8 +40,8 @@ import java.util.ArrayList; /** * Demonstrates use of Navigation and Action Drawers on Wear. */ -public class MainActivity extends Activity implements - AmbientMode.AmbientCallbackProvider, +public class MainActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider, MenuItem.OnMenuItemClickListener, WearableNavigationDrawerView.OnItemSelectedListener { @@ -63,7 +63,7 @@ public class MainActivity extends Activity implements setContentView(R.layout.activity_main); // Enables Ambient mode. - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); mSolarSystem = initializeSolarSystem(); mSelectedPlanet = 0; @@ -223,7 +223,7 @@ public class MainActivity extends Activity implements LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_planet, container, false); - mImageView = ((ImageView) rootView.findViewById(R.id.image)); + mImageView = rootView.findViewById(R.id.image); int imageIdToLoad = getArguments().getInt(ARG_PLANET_IMAGE_ID); mImageView.setImageResource(imageIdToLoad); @@ -257,11 +257,11 @@ public class MainActivity extends Activity implements } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback { + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback { /** Prepares the UI for ambient mode. */ @Override public void onEnterAmbient(Bundle ambientDetails) { @@ -283,4 +283,4 @@ public class MainActivity extends Activity implements mWearableActionDrawer.getController().peekDrawer(); } } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearDrawers/template-params.xml b/wearable/wear/WearDrawers/template-params.xml index 4b8ccdf8..23b32719 100644 --- a/wearable/wear/WearDrawers/template-params.xml +++ b/wearable/wear/WearDrawers/template-params.xml @@ -26,7 +26,7 @@ <multiDexEnabled>true</multiDexEnabled> - <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> + <dependency_wearable>com.android.support:wear:27.1.1</dependency_wearable> <strings> <intro> diff --git a/wearable/wear/WearHighBandwidthNetworking/Wearable/build.gradle b/wearable/wear/WearHighBandwidthNetworking/Wearable/build.gradle index c56f3a16..6b309ec9 100644 --- a/wearable/wear/WearHighBandwidthNetworking/Wearable/build.gradle +++ b/wearable/wear/WearHighBandwidthNetworking/Wearable/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' } } @@ -21,15 +21,15 @@ repositories { dependencies { - compile 'com.android.support:wear:27.1.0' + implementation 'com.android.support:wear:27.1.1' - compile 'com.google.android.gms:play-services-wearable:11.8.0' - compile 'com.android.support:support-v13:27.1.0' + implementation 'com.google.android.gms:play-services-wearable:15.0.1' + implementation 'com.android.support:support-v13:27.1.1' - provided 'com.google.android.wearable:wearable:2.3.0' + compileOnly 'com.google.android.wearable:wearable:2.3.0' - compile 'com.google.android.support:wearable:2.3.0' + implementation 'com.google.android.support:wearable:2.3.0' } diff --git a/wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/MainActivity.java b/wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/MainActivity.java index b2161ed6..726d3e3e 100644 --- a/wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/MainActivity.java +++ b/wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/MainActivity.java @@ -31,6 +31,7 @@ import android.view.WindowManager; import android.widget.ImageView; import android.widget.TextView; +import java.lang.ref.WeakReference; import java.util.concurrent.TimeUnit; /** @@ -60,7 +61,7 @@ public class MainActivity extends Activity { private ConnectivityManager.NetworkCallback mNetworkCallback; // Handler for dealing with network connection timeouts. - private Handler mHandler; + private final TimeOutHandler mTimeOutHandler = new TimeOutHandler(this); private ImageView mConnectivityIcon; private TextView mConnectivityText; @@ -93,32 +94,19 @@ public class MainActivity extends Activity { getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); - mConnectivityIcon = (ImageView) findViewById(R.id.connectivity_icon); - mConnectivityText = (TextView) findViewById(R.id.connectivity_text); + mConnectivityIcon = findViewById(R.id.connectivity_icon); + mConnectivityText = findViewById(R.id.connectivity_text); mProgressBar = findViewById(R.id.progress_bar); mButton = findViewById(R.id.button); mButton.setTag(TAG_REQUEST_NETWORK); - mButtonIcon = (ImageView) findViewById(R.id.button_icon); - mButtonText = (TextView) findViewById(R.id.button_label); + mButtonIcon = findViewById(R.id.button_icon); + mButtonText = findViewById(R.id.button_label); - mInfoText = (TextView) findViewById(R.id.info_text); + mInfoText = findViewById(R.id.info_text); mConnectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); - - mHandler = new Handler() { - @Override - public void handleMessage(Message msg) { - switch (msg.what) { - case MESSAGE_CONNECTIVITY_TIMEOUT: - Log.d(LOG_TAG, "Network connection timeout"); - setUiState(UI_STATE_CONNECTION_TIMEOUT); - unregisterNetworkCallback(); - break; - } - } - }; } @Override @@ -159,11 +147,8 @@ public class MainActivity extends Activity { int bandwidth = mConnectivityManager .getNetworkCapabilities(network).getLinkDownstreamBandwidthKbps(); - if (bandwidth >= MIN_NETWORK_BANDWIDTH_KBPS) { - return true; - } + return bandwidth >= MIN_NETWORK_BANDWIDTH_KBPS; - return false; } private void requestHighBandwidthNetwork() { @@ -185,7 +170,7 @@ public class MainActivity extends Activity { mNetworkCallback = new ConnectivityManager.NetworkCallback() { @Override public void onAvailable(final Network network) { - mHandler.removeMessages(MESSAGE_CONNECTIVITY_TIMEOUT); + mTimeOutHandler.removeMessages(MESSAGE_CONNECTIVITY_TIMEOUT); runOnUiThread(new Runnable() { @Override @@ -230,8 +215,8 @@ public class MainActivity extends Activity { // requires android.permission.CHANGE_NETWORK_STATE mConnectivityManager.requestNetwork(request, mNetworkCallback); - mHandler.sendMessageDelayed( - mHandler.obtainMessage(MESSAGE_CONNECTIVITY_TIMEOUT), + mTimeOutHandler.sendMessageDelayed( + mTimeOutHandler.obtainMessage(MESSAGE_CONNECTIVITY_TIMEOUT), NETWORK_CONNECTIVITY_TIMEOUT_MS); } @@ -337,4 +322,26 @@ public class MainActivity extends Activity { break; } } -}
\ No newline at end of file + + private static class TimeOutHandler extends Handler { + private final WeakReference<MainActivity> mMainActivityWeakReference; + + TimeOutHandler(MainActivity mainActivity) { + mMainActivityWeakReference = new WeakReference<>(mainActivity); + } + @Override + public void handleMessage(Message msg) { + MainActivity mainActivity = mMainActivityWeakReference.get(); + + if (mainActivity != null) { + switch (msg.what) { + case MESSAGE_CONNECTIVITY_TIMEOUT: + Log.d(LOG_TAG, "Network connection timeout"); + mainActivity.setUiState(UI_STATE_CONNECTION_TIMEOUT); + mainActivity.unregisterNetworkCallback(); + break; + } + } + } + } +} diff --git a/wearable/wear/WearHighBandwidthNetworking/template-params.xml b/wearable/wear/WearHighBandwidthNetworking/template-params.xml index 5648a3ec..9e463a0a 100644 --- a/wearable/wear/WearHighBandwidthNetworking/template-params.xml +++ b/wearable/wear/WearHighBandwidthNetworking/template-params.xml @@ -31,7 +31,7 @@ <!-- Include additional dependencies here.--> <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency --> - <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> + <dependency_wearable>com.android.support:wear:27.1.1</dependency_wearable> <strings> @@ -142,4 +142,4 @@ simulate the Wear device running standalone. ]]> </intro> </metadata> -</sample>
\ No newline at end of file +</sample> diff --git a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java index 79997e22..1e4049ee 100644 --- a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java +++ b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java @@ -15,7 +15,7 @@ limitations under the License. */ package com.example.android.wearable.wear.wearnotifications; -import android.support.v4.app.NotificationCompat; +import androidx.core.app.NotificationCompat; /** * We use a Singleton for a global copy of the NotificationCompat.Builder to update active @@ -48,13 +48,13 @@ public final class GlobalNotificationBuilder { * Empty constructor - We don't initialize builder because we rely on a null state to let us * know the Application's process was killed. */ - private GlobalNotificationBuilder () { } + private GlobalNotificationBuilder() { } public static void setNotificationCompatBuilderInstance (NotificationCompat.Builder builder) { sGlobalNotificationCompatBuilder = builder; } - public static NotificationCompat.Builder getNotificationCompatBuilderInstance(){ + public static NotificationCompat.Builder getNotificationCompatBuilderInstance() { return sGlobalNotificationCompatBuilder; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/MainActivity.java b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/MainActivity.java index d9441008..ae324114 100644 --- a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/MainActivity.java +++ b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/MainActivity.java @@ -21,17 +21,6 @@ import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Build; import android.os.Bundle; -import android.support.design.widget.Snackbar; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.BigPictureStyle; -import android.support.v4.app.NotificationCompat.BigTextStyle; -import android.support.v4.app.NotificationCompat.InboxStyle; -import android.support.v4.app.NotificationCompat.MessagingStyle; -import android.support.v4.app.NotificationManagerCompat; -import android.support.v4.app.RemoteInput; -import android.support.v4.app.TaskStackBuilder; -import android.support.v4.content.ContextCompat; -import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.AdapterView; @@ -40,6 +29,21 @@ import android.widget.RelativeLayout; import android.widget.Spinner; import android.widget.TextView; +import com.google.android.material.snackbar.Snackbar; + +import androidx.appcompat.app.AppCompatActivity; +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.Action; +import androidx.core.app.NotificationCompat.BigPictureStyle; +import androidx.core.app.NotificationCompat.BigTextStyle; +import androidx.core.app.NotificationCompat.InboxStyle; +import androidx.core.app.NotificationCompat.MessagingStyle; +import androidx.core.app.NotificationManagerCompat; +import androidx.core.app.Person; +import androidx.core.app.RemoteInput; +import androidx.core.app.TaskStackBuilder; +import androidx.core.content.ContextCompat; + import com.example.android.wearable.wear.common.mock.MockDatabase; import com.example.android.wearable.wear.common.util.NotificationUtil; import com.example.android.wearable.wear.wearnotifications.handlers.BigPictureSocialIntentService; @@ -67,16 +71,16 @@ public class MainActivity extends AppCompatActivity implements AdapterView.OnIte private static final String MESSAGING_STYLE = "MESSAGING_STYLE"; // Collection of notification styles to back ArrayAdapter for Spinner. - private static final String[] NOTIFICATION_STYLES = - {BIG_TEXT_STYLE, BIG_PICTURE_STYLE, INBOX_STYLE, MESSAGING_STYLE}; + private static final String[] NOTIFICATION_STYLES = { + BIG_TEXT_STYLE, BIG_PICTURE_STYLE, INBOX_STYLE, MESSAGING_STYLE + }; - private static final String[] NOTIFICATION_STYLES_DESCRIPTION = - { - "Demos reminder type app using BIG_TEXT_STYLE", - "Demos social type app using BIG_PICTURE_STYLE + inline notification response", - "Demos email type app using INBOX_STYLE", - "Demos messaging app using MESSAGING_STYLE + inline notification responses" - }; + private static final String[] NOTIFICATION_STYLES_DESCRIPTION = { + "Demos reminder type app using BIG_TEXT_STYLE", + "Demos social type app using BIG_PICTURE_STYLE + inline notification response", + "Demos email type app using INBOX_STYLE", + "Demos messaging app using MESSAGING_STYLE + inline notification responses" + }; private NotificationManagerCompat mNotificationManagerCompat; @@ -666,23 +670,30 @@ public class MainActivity extends AppCompatActivity implements AdapterView.OnIte // 0. Get your data (everything unique per Notification) MockDatabase.MessagingStyleCommsAppData messagingStyleCommsAppData = - MockDatabase.getMessagingStyleData(); + MockDatabase.getMessagingStyleData(getApplicationContext()); // 1. Create/Retrieve Notification Channel for O and beyond devices (26+). String notificationChannelId = NotificationUtil.createNotificationChannel(this, messagingStyleCommsAppData); - // 2. Build the Notification.Style (MESSAGING_STYLE). + // 2. Build the NotificationCompat.Style (MESSAGING_STYLE). String contentTitle = messagingStyleCommsAppData.getContentTitle(); MessagingStyle messagingStyle = - new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getReplayName()) - // This could be the user-created name of the group or, if it doesn't have - // a specific name, a list of the participants in the conversation. Do not - // set a conversation title for one-on-one chats, since platforms use the - // existence of this field as a hint that the conversation is a group. - // - // In our case, we use the same title. + new MessagingStyle(messagingStyleCommsAppData.getMe()) + /* + * <p>This API's behavior was changed in SDK version + * {@link Build.VERSION_CODES#P}. If your application's target version is + * less than {@link Build.VERSION_CODES#P}, setting a conversation title to + * a non-null value will make {@link #isGroupConversation()} return + * {@code true} and passing {@code null} will make it return {@code false}. + * This behavior can be overridden by calling + * {@link #setGroupConversation(boolean)} regardless of SDK version. + * In {@code P} and above, this method does not affect group conversation + * settings. + * + * In our case, we use the same title. + */ .setConversationTitle(contentTitle); // Adds all Messages. @@ -691,6 +702,8 @@ public class MainActivity extends AppCompatActivity implements AdapterView.OnIte messagingStyle.addMessage(message); } + messagingStyle.setGroupConversation(messagingStyleCommsAppData.isGroupConversation()); + // 3. Set up main Intent for notification. Intent notifyIntent = new Intent(this, MessagingMainActivity.class); @@ -741,6 +754,8 @@ public class MainActivity extends AppCompatActivity implements AdapterView.OnIte String replyLabel = getString(R.string.reply_label); RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) .setLabel(replyLabel) + // Use machine learning to create responses based on previous messages. + .setChoices(messagingStyleCommsAppData.getReplyChoicesBasedOnLastMessage()) .build(); // Pending intent = @@ -763,8 +778,12 @@ public class MainActivity extends AppCompatActivity implements AdapterView.OnIte replyLabel, replyActionPendingIntent) .addRemoteInput(remoteInput) + // Informs system we aren't bringing up our own custom UI for a reply + // action. + .setShowsUserInterface(false) // Allows system to generate replies by context of conversation. .setAllowGeneratedReplies(true) + .setSemanticAction(Action.SEMANTIC_ACTION_REPLY) .build(); @@ -817,10 +836,10 @@ public class MainActivity extends AppCompatActivity implements AdapterView.OnIte // visibility is set in the NotificationChannel. .setVisibility(messagingStyleCommsAppData.getChannelLockscreenVisibility()); - // If the phone is in "Do not disturb mode, the user will still be notified if - // the sender(s) is starred as a favorite. - for (String name : messagingStyleCommsAppData.getParticipants()) { - notificationCompatBuilder.addPerson(name); + // If the phone is in "Do not disturb" mode, the user may still be notified if the + // sender(s) are in a group allowed through "Do not disturb" by the user. + for (Person name : messagingStyleCommsAppData.getParticipants()) { + notificationCompatBuilder.addPerson(name.getUri()); } Notification notification = notificationCompatBuilder.build(); @@ -844,4 +863,4 @@ public class MainActivity extends AppCompatActivity implements AdapterView.OnIte intent.putExtra("app_uid", getApplicationInfo().uid); startActivity(intent); } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java index 30c970b3..1d93cf3d 100644 --- a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java +++ b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java @@ -22,13 +22,14 @@ import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Build; import android.os.Bundle; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.BigPictureStyle; -import android.support.v4.app.NotificationManagerCompat; -import android.support.v4.app.RemoteInput; -import android.support.v4.app.TaskStackBuilder; import android.util.Log; +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.BigPictureStyle; +import androidx.core.app.NotificationManagerCompat; +import androidx.core.app.RemoteInput; +import androidx.core.app.TaskStackBuilder; + import com.example.android.wearable.wear.wearnotifications.GlobalNotificationBuilder; import com.example.android.wearable.wear.wearnotifications.MainActivity; import com.example.android.wearable.wear.wearnotifications.R; @@ -225,4 +226,4 @@ public class BigPictureSocialIntentService extends IntentService { return notificationCompatBuilder; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java index bfd577cc..089a0d9c 100644 --- a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java +++ b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java @@ -20,11 +20,12 @@ import android.app.Notification; import android.app.PendingIntent; import android.content.Intent; import android.graphics.BitmapFactory; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.BigTextStyle; -import android.support.v4.app.NotificationManagerCompat; import android.util.Log; +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.BigTextStyle; +import androidx.core.app.NotificationManagerCompat; + import com.example.android.wearable.wear.wearnotifications.GlobalNotificationBuilder; import com.example.android.wearable.wear.wearnotifications.MainActivity; import com.example.android.wearable.wear.wearnotifications.R; @@ -203,4 +204,4 @@ public class BigTextIntentService extends IntentService { return notificationCompatBuilder; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java index da562420..2f57fff7 100644 --- a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java +++ b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java @@ -22,18 +22,22 @@ import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Build; import android.os.Bundle; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.MessagingStyle; -import android.support.v4.app.NotificationManagerCompat; -import android.support.v4.app.RemoteInput; -import android.support.v4.app.TaskStackBuilder; -import android.support.v4.content.ContextCompat; import android.util.Log; +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.Action; +import androidx.core.app.NotificationCompat.MessagingStyle; +import androidx.core.app.NotificationManagerCompat; +import androidx.core.app.Person; +import androidx.core.app.RemoteInput; +import androidx.core.app.TaskStackBuilder; +import androidx.core.content.ContextCompat; + +import com.example.android.wearable.wear.common.mock.MockDatabase; +import com.example.android.wearable.wear.common.util.NotificationUtil; import com.example.android.wearable.wear.wearnotifications.GlobalNotificationBuilder; import com.example.android.wearable.wear.wearnotifications.MainActivity; import com.example.android.wearable.wear.wearnotifications.R; -import com.example.android.wearable.wear.common.mock.MockDatabase; /** * Asynchronously handles updating messaging app posts (and active Notification) with replies from @@ -49,7 +53,6 @@ public class MessagingIntentService extends IntentService { public static final String EXTRA_REPLY = "com.example.android.wearable.wear.wearnotifications.handlers.extra.REPLY"; - public MessagingIntentService() { super("MessagingIntentService"); } @@ -66,9 +69,7 @@ public class MessagingIntentService extends IntentService { } } - /** - * Handles action for replying to messages from the notification. - */ + /** Handles action for replying to messages from the notification. */ private void handleActionReply(CharSequence replyCharSequence) { Log.d(TAG, "handleActionReply(): " + replyCharSequence); @@ -104,21 +105,19 @@ public class MessagingIntentService extends IntentService { notificationCompatBuilder = recreateBuilderWithMessagingStyle(); } - // Since we are adding to the MessagingStyle, we need to first retrieve the // current MessagingStyle from the Notification itself. Notification notification = notificationCompatBuilder.build(); MessagingStyle messagingStyle = - NotificationCompat.MessagingStyle - .extractMessagingStyleFromNotification(notification); + NotificationCompat.MessagingStyle.extractMessagingStyleFromNotification( + notification); - // Add new message to the MessagingStyle - messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), null); + // Add new message to the MessagingStyle. Set last parameter to null for responses + // from user. + messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), (Person) null); // Updates the Notification - notification = notificationCompatBuilder - .setStyle(messagingStyle) - .build(); + notification = notificationCompatBuilder.setStyle(messagingStyle).build(); // Pushes out the updated Notification NotificationManagerCompat notificationManagerCompat = @@ -144,60 +143,102 @@ public class MessagingIntentService extends IntentService { */ private NotificationCompat.Builder recreateBuilderWithMessagingStyle() { - // Main steps for building a MESSAGING_STYLE notification (for more detailed comments on - // building this notification, check MainActivity.java): + // Main steps for building a MESSAGING_STYLE notification: // 0. Get your data - // 1. Retrieve Notification Channel for O and beyond devices (26+) + // 1. Create/Retrieve Notification Channel for O and beyond devices (26+) // 2. Build the MESSAGING_STYLE // 3. Set up main Intent for notification // 4. Set up RemoteInput (users can input directly from notification) // 5. Build and issue the notification - // 0. Get your data. - MockDatabase.MessagingStyleCommsAppData messagingData = - MockDatabase.getMessagingStyleData(); + // 0. Get your data (everything unique per Notification) + MockDatabase.MessagingStyleCommsAppData messagingStyleCommsAppData = + MockDatabase.getMessagingStyleData(getApplicationContext()); - // 1. Retrieve Notification Channel for O and beyond devices (26+). We don't need to create - // the NotificationChannel, since it was created the first time this Notification was - // created. - String notificationChannelId = messagingData.getChannelId(); + // 1. Create/Retrieve Notification Channel for O and beyond devices (26+). + String notificationChannelId = + NotificationUtil.createNotificationChannel(this, messagingStyleCommsAppData); - // 2. Build the Notification.Style (MESSAGING_STYLE). - String contentTitle = messagingData.getContentTitle(); + // 2. Build the NotificationCompat.Style (MESSAGING_STYLE). + String contentTitle = messagingStyleCommsAppData.getContentTitle(); MessagingStyle messagingStyle = - new NotificationCompat.MessagingStyle(messagingData.getReplayName()) + new MessagingStyle(messagingStyleCommsAppData.getMe()) + /* + * <p>This API's behavior was changed in SDK version + * {@link Build.VERSION_CODES#P}. If your application's target version is + * less than {@link Build.VERSION_CODES#P}, setting a conversation title to + * a non-null value will make {@link #isGroupConversation()} return + * {@code true} and passing {@code null} will make it return {@code false}. + * This behavior can be overridden by calling + * {@link #setGroupConversation(boolean)} regardless of SDK version. + * In {@code P} and above, this method does not affect group conversation + * settings. + * + * In our case, we use the same title. + */ .setConversationTitle(contentTitle); // Adds all Messages. // Note: Messages include the text, timestamp, and sender. - for (MessagingStyle.Message message : messagingData.getMessages()) { + for (MessagingStyle.Message message : messagingStyleCommsAppData.getMessages()) { messagingStyle.addMessage(message); } + messagingStyle.setGroupConversation(messagingStyleCommsAppData.isGroupConversation()); // 3. Set up main Intent for notification. Intent notifyIntent = new Intent(this, MessagingMainActivity.class); + // When creating your Intent, you need to take into account the back state, i.e., what + // happens after your Activity launches and the user presses the back button. + + // There are two options: + // 1. Regular activity - You're starting an Activity that's part of the application's + // normal workflow. + + // 2. Special activity - The user only sees this Activity if it's started from a + // notification. In a sense, the Activity extends the notification by providing + // information that would be hard to display in the notification itself. + + // Even though this sample's MainActivity doesn't link to the Activity this Notification + // launches directly, i.e., it isn't part of the normal workflow, a chat app generally + // always links to individual conversations as part of the app flow, so we will follow + // option 1. + + // For an example of option 2, check out the BIG_TEXT_STYLE example. + + // For more information, check out our dev article: + // https://developer.android.com/training/notify-user/navigation.html + TaskStackBuilder stackBuilder = TaskStackBuilder.create(this); + // Adds the back stack stackBuilder.addParentStack(MessagingMainActivity.class); + // Adds the Intent to the top of the stack stackBuilder.addNextIntent(notifyIntent); - + // Gets a PendingIntent containing the entire back stack PendingIntent mainPendingIntent = - PendingIntent.getActivity( - this, - 0, - notifyIntent, - PendingIntent.FLAG_UPDATE_CURRENT - ); - + PendingIntent.getActivity(this, 0, notifyIntent, PendingIntent.FLAG_UPDATE_CURRENT); // 4. Set up RemoteInput, so users can input (keyboard and voice) from notification. + + // Note: For API <24 (M and below) we need to use an Activity, so the lock-screen present + // the auth challenge. For API 24+ (N and above), we use a Service (could be a + // BroadcastReceiver), so the user can input from Notification or lock-screen (they have + // choice to allow) without leaving the notification. + + // Create the RemoteInput specifying this key. String replyLabel = getString(R.string.reply_label); - RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) - .setLabel(replyLabel) - .build(); + RemoteInput remoteInput = + new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) + .setLabel(replyLabel) + // Use machine learning to create responses based on previous messages. + .setChoices(messagingStyleCommsAppData.getReplyChoicesBasedOnLastMessage()) + .build(); + // Pending intent = + // API <24 (M and below): activity so the lock-screen presents the auth challenge. + // API 24+ (N and above): this should be a Service or BroadcastReceiver. PendingIntent replyActionPendingIntent; if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { @@ -211,44 +252,72 @@ public class MessagingIntentService extends IntentService { NotificationCompat.Action replyAction = new NotificationCompat.Action.Builder( - R.drawable.ic_reply_white_18dp, - replyLabel, - replyActionPendingIntent) + R.drawable.ic_reply_white_18dp, + replyLabel, + replyActionPendingIntent) .addRemoteInput(remoteInput) + // Informs system we aren't bringing up our own custom UI for a reply + // action. + .setShowsUserInterface(false) // Allows system to generate replies by context of conversation. .setAllowGeneratedReplies(true) + .setSemanticAction(Action.SEMANTIC_ACTION_REPLY) .build(); - // 5. Build and issue the notification. - // Notification Channel Id is ignored for Android pre O (26). + // Because we want this to be a new notification (not updating current notification), we + // create a new Builder. Later, we update this same notification, so we need to save this + // Builder globally (as outlined earlier). + NotificationCompat.Builder notificationCompatBuilder = - new NotificationCompat.Builder( - getApplicationContext(), notificationChannelId); + new NotificationCompat.Builder(getApplicationContext(), notificationChannelId); GlobalNotificationBuilder.setNotificationCompatBuilderInstance(notificationCompatBuilder); notificationCompatBuilder + // MESSAGING_STYLE sets title and content for API 16 and above devices. .setStyle(messagingStyle) + // Title for API < 16 devices. .setContentTitle(contentTitle) - .setContentText(messagingData.getContentText()) + // Content for API < 16 devices. + .setContentText(messagingStyleCommsAppData.getContentText()) .setSmallIcon(R.drawable.ic_launcher) - .setLargeIcon(BitmapFactory.decodeResource( - getResources(), - R.drawable.ic_person_black_48dp)) + .setLargeIcon( + BitmapFactory.decodeResource( + getResources(), R.drawable.ic_person_black_48dp)) .setContentIntent(mainPendingIntent) + .setDefaults(NotificationCompat.DEFAULT_ALL) + // Set primary color (important for Wear 2.0 Notifications). .setColor(ContextCompat.getColor(getApplicationContext(), R.color.colorPrimary)) - .setSubText(Integer.toString(messagingData.getNumberOfNewMessages())) + + // SIDE NOTE: Auto-bundling is enabled for 4 or more notifications on API 24+ (N+) + // devices and all Wear devices. If you have more than one notification and + // you prefer a different summary notification, set a group key and create a + // summary notification via + // .setGroupSummary(true) + // .setGroup(GROUP_KEY_YOUR_NAME_HERE) + + // Number of new notifications for API <24 (M and below) devices. + .setSubText(Integer.toString(messagingStyleCommsAppData.getNumberOfNewMessages())) .addAction(replyAction) .setCategory(Notification.CATEGORY_MESSAGE) - .setPriority(messagingData.getPriority()) - .setVisibility(messagingData.getChannelLockscreenVisibility()); - for (String name : messagingData.getParticipants()) { - notificationCompatBuilder.addPerson(name); + // Sets priority for 25 and below. For 26 and above, 'priority' is deprecated for + // 'importance' which is set in the NotificationChannel. The integers representing + // 'priority' are different from 'importance', so make sure you don't mix them. + .setPriority(messagingStyleCommsAppData.getPriority()) + + // Sets lock-screen visibility for 25 and below. For 26 and above, lock screen + // visibility is set in the NotificationChannel. + .setVisibility(messagingStyleCommsAppData.getChannelLockscreenVisibility()); + + // If the phone is in "Do not disturb" mode, the user may still be notified if the + // sender(s) are in a group allowed through "Do not disturb" by the user. + for (Person name : messagingStyleCommsAppData.getParticipants()) { + notificationCompatBuilder.addPerson(name.getUri()); } return notificationCompatBuilder; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java index 77d9d0cc..2463ca24 100644 --- a/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java +++ b/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java @@ -43,5 +43,8 @@ public class MessagingMainActivity extends Activity { notificationManager.cancel(MainActivity.NOTIFICATION_ID); // TODO: Handle and display message/conversation from your database + // NOTE: You can retrieve the EXTRA_REMOTE_INPUT_DRAFT sent by the system when a user + // inadvertently closes a messaging notification to pre-populate the reply text field so + // the user can finish their reply. } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Shared/build.gradle b/wearable/wear/WearNotifications/Shared/build.gradle index 2eb303b6..edb53d4d 100644 --- a/wearable/wear/WearNotifications/Shared/build.gradle +++ b/wearable/wear/WearNotifications/Shared/build.gradle @@ -6,11 +6,11 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.2.0-beta01' } } -apply plugin: 'android-library' +apply plugin: 'com.android.library' repositories { jcenter() @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.android.support:support-v4:27.1.0' + implementation 'androidx.legacy:legacy-support-v4:1.0.0-alpha3' } // The sample build uses multiple directories to @@ -30,13 +30,13 @@ List<String> dirs = [ 'template'] // boilerplate code that is generated by the sample template process android { - compileSdkVersion 27 + compileSdkVersion 28 buildToolsVersion "27.0.3" defaultConfig { minSdkVersion 18 - targetSdkVersion 27 + targetSdkVersion 28 } compileOptions { diff --git a/wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/mock/MockDatabase.java b/wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/mock/MockDatabase.java index de25111c..7e506aac 100644 --- a/wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/mock/MockDatabase.java +++ b/wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/mock/MockDatabase.java @@ -16,16 +16,21 @@ package com.example.android.wearable.wear.common.mock; import android.app.NotificationManager; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.MessagingStyle; +import android.content.ContentResolver; +import android.content.Context; +import android.net.Uri; +import android.util.Log; + +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.MessagingStyle; +import androidx.core.app.Person; +import androidx.core.graphics.drawable.IconCompat; import com.example.android.wearable.wear.wearnotifications.common.R; import java.util.ArrayList; -/** - * Mock data for each of the Notification Style Demos. - */ +/** Mock data for each of the Notification Style Demos. */ public final class MockDatabase { public static BigTextStyleReminderAppData getBigTextStyleData() { @@ -40,13 +45,11 @@ public final class MockDatabase { return InboxStyleEmailAppData.getInstance(); } - public static MessagingStyleCommsAppData getMessagingStyleData() { - return MessagingStyleCommsAppData.getInstance(); + public static MessagingStyleCommsAppData getMessagingStyleData(Context context) { + return MessagingStyleCommsAppData.getInstance(context); } - /** - * Represents data needed for BigTextStyle Notification. - */ + /** Represents data needed for BigTextStyle Notification. */ public static class BigTextStyleReminderAppData extends MockNotificationData { private static BigTextStyleReminderAppData sInstance = null; @@ -83,11 +86,11 @@ public final class MockDatabase { // BigText Style Notification values: mBigContentTitle = "Don't forget to..."; - mBigText = "... feed the dogs before you leave for work, and check the garage to " - + "make sure the door is closed."; + mBigText = + "... feed the dogs before you leave for work, and check the garage to " + + "make sure the door is closed."; mSummaryText = "Dogs and Garage"; - // Notification channel values (for devices targeting 26 and above): mChannelId = "channel_reminder_1"; // The user-visible name of the channel. @@ -117,9 +120,7 @@ public final class MockDatabase { } } - /** - * Represents data needed for BigPictureStyle Notification. - */ + /** Represents data needed for BigPictureStyle Notification. */ public static class BigPictureStyleSocialAppData extends MockNotificationData { private static BigPictureStyleSocialAppData sInstance = null; @@ -161,7 +162,7 @@ public final class MockDatabase { mSummaryText = "Like my shot of Earth?"; // This would be possible responses based on the contents of the post. - mPossiblePostResponses = new CharSequence[]{"Yes", "No", "Maybe?"}; + mPossiblePostResponses = new CharSequence[] {"Yes", "No", "Maybe?"}; mParticipants = new ArrayList<>(); mParticipants.add("Bob Smith"); @@ -203,9 +204,7 @@ public final class MockDatabase { } } - /** - * Represents data needed for InboxStyle Notification. - */ + /** Represents data needed for InboxStyle Notification. */ public static class InboxStyleEmailAppData extends MockNotificationData { private static InboxStyleEmailAppData sInstance = null; @@ -262,7 +261,6 @@ public final class MockDatabase { mParticipants.add("Jane Johns"); mParticipants.add("John Smith"); - // Notification channel values (for devices targeting 26 and above): mChannelId = "channel_email_1"; // The user-visible name of the channel. @@ -300,9 +298,7 @@ public final class MockDatabase { } } - /** - * Represents data needed for MessagingStyle Notification. - */ + /** Represents data needed for MessagingStyle Notification. */ public static class MessagingStyleCommsAppData extends MockNotificationData { private static MessagingStyleCommsAppData sInstance = null; @@ -312,70 +308,97 @@ public final class MockDatabase { // String of all mMessages. private String mFullConversation; // Name preferred when replying to chat. - private String mReplayName; - private int mNumberOfNewMessages; - private ArrayList<String> mParticipants; + private Person mMe; + private ArrayList<Person> mParticipants; + private CharSequence[] mReplyChoicesBasedOnLastMessages; - public static MessagingStyleCommsAppData getInstance() { + public static MessagingStyleCommsAppData getInstance(Context context) { if (sInstance == null) { - sInstance = getSync(); + sInstance = getSync(context); } return sInstance; } - private static synchronized MessagingStyleCommsAppData getSync() { + private static synchronized MessagingStyleCommsAppData getSync(Context context) { if (sInstance == null) { - sInstance = new MessagingStyleCommsAppData(); + sInstance = new MessagingStyleCommsAppData(context); } return sInstance; } - private MessagingStyleCommsAppData() { + private MessagingStyleCommsAppData(Context context) { // Standard notification values: // Content for API <24 (M and below) devices. - mContentTitle = "2 Messages w/ Famous McFamously"; - mContentText = "HEY! ... You know I am a Pesce-pescetarian. :P"; + // Note: I am actually hardcoding these Strings based on info below. You would be + // pulling these values from the same source in your database. I leave this up here, so + // you can see the standard parts of a Notification first. + mContentTitle = "3 Messages w/ Famous, Wendy"; + mContentText = "HEY, I see my house! :)"; mPriority = NotificationCompat.PRIORITY_HIGH; - // For each message, you need the timestamp, in this case, we are using arbitrary ones. - long currentTime = System.currentTimeMillis(); + // Create the users for the conversation. + // Name preferred when replying to chat. + mMe = + new Person.Builder() + .setName("Me MacDonald") + .setKey("1234567890") + .setUri("tel:1234567890") + .setIcon( + IconCompat.createWithResource(context, R.drawable.me_macdonald)) + .build(); + + Person participant1 = + new Person.Builder() + .setName("Famous Fryer") + .setKey("9876543210") + .setUri("tel:9876543210") + .setIcon( + IconCompat.createWithResource(context, R.drawable.famous_fryer)) + .build(); + + Person participant2 = + new Person.Builder() + .setName("Wendy Wonda") + .setKey("2233221122") + .setUri("tel:2233221122") + .setIcon(IconCompat.createWithResource(context, R.drawable.wendy_wonda)) + .build(); + + // If the phone is in "Do not disturb mode, the user will still be notified if + // the user(s) is starred as a favorite. + // Note: You don't need to add yourself, aka 'me', as a participant. + mParticipants = new ArrayList<>(); + mParticipants.add(participant1); + mParticipants.add(participant2); mMessages = new ArrayList<>(); - mMessages.add(new MessagingStyle.Message( - "What are you doing tonight?", currentTime - 4000, "Famous")); - mMessages.add(new MessagingStyle.Message( - "I don't know, dinner maybe?", currentTime - 3000, null)); - mMessages.add(new MessagingStyle.Message( - "Sounds good.", currentTime - 2000, "Famous")); - mMessages.add(new MessagingStyle.Message( - "How about BBQ?", currentTime - 1000, null)); - // Last two are the newest message (2) from friend. - mMessages.add(new MessagingStyle.Message( - "HEY!", currentTime, "Famous")); - mMessages.add(new MessagingStyle.Message( - "You know I am a Pesce-pescetarian. :P", currentTime, "Famous")); + // For each message, you need the timestamp. In this case, we are using arbitrary longs + // representing time in milliseconds. + mMessages.add( + // When you are setting an image for a message, text does not display. + new MessagingStyle.Message("", 1528490641998l, participant1) + .setData("image/png", resourceToUri(context, R.drawable.earth))); - // String version of the mMessages above. - mFullConversation = "Famous: What are you doing tonight?\n\n" - + "Me: I don't know, dinner maybe?\n\n" - + "Famous: Sounds good.\n\n" - + "Me: How about BBQ?\n\n" - + "Famous: HEY!\n\n" - + "Famous: You know I am a Pesce-pescetarian. :P\n\n"; - - mNumberOfNewMessages = 2; + mMessages.add( + new MessagingStyle.Message( + "Visiting the moon again? :P", 1528490643998l, mMe)); - // Name preferred when replying to chat. - mReplayName = "Me"; + mMessages.add( + new MessagingStyle.Message("HEY, I see my house!", 1528490645998l, participant2)); - // If the phone is in "Do not disturb mode, the user will still be notified if - // the user(s) is starred as a favorite. - mParticipants = new ArrayList<>(); - mParticipants.add("Famous McFamously"); + // String version of the mMessages above. + mFullConversation = + "Famous: [Picture of Moon]\n\n" + + "Me: Visiting the moon again? :P\n\n" + + "Wendy: HEY, I see my house! :)\n\n"; + // Responses based on the last messages of the conversation. You would use + // Machine Learning to get these (https://developers.google.com/ml-kit/). + mReplyChoicesBasedOnLastMessages = + new CharSequence[] {"Me too!", "How's the weather?", "You have good eyesight."}; // Notification channel values (for devices targeting 26 and above): mChannelId = "channel_messaging_1"; @@ -386,7 +409,6 @@ public final class MockDatabase { mChannelImportance = NotificationManager.IMPORTANCE_MAX; mChannelEnableVibrate = true; mChannelLockscreenVisibility = NotificationCompat.VISIBILITY_PRIVATE; - } public ArrayList<MessagingStyle.Message> getMessages() { @@ -397,30 +419,34 @@ public final class MockDatabase { return mFullConversation; } - public String getReplayName() { - return mReplayName; + public Person getMe() { + return mMe; } public int getNumberOfNewMessages() { - return mNumberOfNewMessages; + return mMessages.size(); } - public ArrayList<String> getParticipants() { + public ArrayList<Person> getParticipants() { return mParticipants; } + public CharSequence[] getReplyChoicesBasedOnLastMessage() { + return mReplyChoicesBasedOnLastMessages; + } + @Override public String toString() { return getFullConversation(); } - + public boolean isGroupConversation() { + return mParticipants.size() > 1; + } } - /** - * Represents standard data needed for a Notification. - */ - public static abstract class MockNotificationData { + /** Represents standard data needed for a Notification. */ + public abstract static class MockNotificationData { // Standard notification values: protected String mContentTitle; @@ -435,7 +461,6 @@ public final class MockDatabase { protected boolean mChannelEnableVibrate; protected int mChannelLockscreenVisibility; - // Notification Standard notification get methods: public String getContentTitle() { return mContentTitle; @@ -474,4 +499,15 @@ public final class MockDatabase { return mChannelLockscreenVisibility; } } -}
\ No newline at end of file + + public static Uri resourceToUri(Context context, int resId) { + return Uri.parse( + ContentResolver.SCHEME_ANDROID_RESOURCE + + "://" + + context.getResources().getResourcePackageName(resId) + + "/" + + context.getResources().getResourceTypeName(resId) + + "/" + + context.getResources().getResourceEntryName(resId)); + } +} diff --git a/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/famous_fryer.png b/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/famous_fryer.png Binary files differnew file mode 100644 index 00000000..92204dbf --- /dev/null +++ b/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/famous_fryer.png diff --git a/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/me_macdonald.png b/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/me_macdonald.png Binary files differnew file mode 100644 index 00000000..cbf4a056 --- /dev/null +++ b/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/me_macdonald.png diff --git a/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/wendy_wonda.png b/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/wendy_wonda.png Binary files differnew file mode 100644 index 00000000..3097ce12 --- /dev/null +++ b/wearable/wear/WearNotifications/Shared/src/main/res/drawable-hdpi/wendy_wonda.png diff --git a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/CustomRecyclerAdapter.java b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/CustomRecyclerAdapter.java index 6bdcac37..8bcbfe8a 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/CustomRecyclerAdapter.java +++ b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/CustomRecyclerAdapter.java @@ -17,7 +17,6 @@ package com.example.android.wearable.wear.wearnotifications; import android.widget.ImageView; -import android.support.v4.app.NotificationCompat; import android.support.wearable.view.WearableRecyclerView; import android.util.Log; import android.view.LayoutInflater; @@ -25,6 +24,8 @@ import android.view.View; import android.view.ViewGroup; import android.widget.TextView; +import androidx.core.app.NotificationCompat; + /** * Provides a binding from {@link NotificationCompat.Style} data set to views displayed within the * {@link WearableRecyclerView}. @@ -92,4 +93,4 @@ public class CustomRecyclerAdapter extends public int getItemCount() { return mDataSet.length; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java index e7d461e1..8f39aa2e 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java +++ b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/GlobalNotificationBuilder.java @@ -15,7 +15,7 @@ */ package com.example.android.wearable.wear.wearnotifications; -import android.support.v4.app.NotificationCompat; +import androidx.core.app.NotificationCompat; /** * We use a Singleton for a global copy of the NotificationCompat.Builder to update active @@ -50,11 +50,11 @@ public final class GlobalNotificationBuilder { */ private GlobalNotificationBuilder() { } - public static void setNotificationCompatBuilderInstance (NotificationCompat.Builder builder) { + public static void setNotificationCompatBuilderInstance(NotificationCompat.Builder builder) { sGlobalNotificationCompatBuilder = builder; } - public static NotificationCompat.Builder getNotificationCompatBuilderInstance(){ + public static NotificationCompat.Builder getNotificationCompatBuilderInstance() { return sGlobalNotificationCompatBuilder; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/ScalingScrollLayoutCallback.java b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/ScalingScrollLayoutCallback.java index 6c68b431..a207de91 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/ScalingScrollLayoutCallback.java +++ b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/ScalingScrollLayoutCallback.java @@ -15,11 +15,12 @@ */ package com.example.android.wearable.wear.wearnotifications; -import android.support.v7.widget.RecyclerView; -import android.support.wear.widget.WearableLinearLayoutManager; -import android.support.wear.widget.WearableRecyclerView; import android.view.View; +import androidx.recyclerview.widget.RecyclerView; +import androidx.wear.widget.WearableLinearLayoutManager; +import androidx.wear.widget.WearableRecyclerView; + /** * Shrinks items (children) farther away from the center in a {@link WearableRecyclerView}. The UX * makes scrolling more readable. @@ -51,4 +52,4 @@ public class ScalingScrollLayoutCallback extends WearableLinearLayoutManager.Lay child.setScaleX(1 - mProgressToCenter); child.setScaleY(1 - mProgressToCenter); } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/StandaloneMainActivity.java b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/StandaloneMainActivity.java index 5ba3b975..11e857a4 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/StandaloneMainActivity.java +++ b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/StandaloneMainActivity.java @@ -22,22 +22,26 @@ import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Build; import android.os.Bundle; -import android.support.design.widget.Snackbar; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.BigPictureStyle; -import android.support.v4.app.NotificationCompat.BigTextStyle; -import android.support.v4.app.NotificationCompat.InboxStyle; -import android.support.v4.app.NotificationCompat.MessagingStyle; -import android.support.v4.app.NotificationManagerCompat; -import android.support.v4.app.RemoteInput; -import android.support.v4.content.ContextCompat; -import android.support.wear.ambient.AmbientMode; -import android.support.wear.widget.WearableLinearLayoutManager; -import android.support.wear.widget.WearableRecyclerView; import android.util.Log; import android.view.View; import android.widget.FrameLayout; +import com.google.android.material.snackbar.Snackbar; + +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.Action; +import androidx.core.app.NotificationCompat.BigPictureStyle; +import androidx.core.app.NotificationCompat.BigTextStyle; +import androidx.core.app.NotificationCompat.InboxStyle; +import androidx.core.app.NotificationCompat.MessagingStyle; +import androidx.core.app.NotificationManagerCompat; +import androidx.core.app.Person; +import androidx.core.app.RemoteInput; +import androidx.core.content.ContextCompat; +import androidx.wear.ambient.AmbientMode; +import androidx.wear.widget.WearableLinearLayoutManager; +import androidx.wear.widget.WearableRecyclerView; + import com.example.android.wearable.wear.common.mock.MockDatabase; import com.example.android.wearable.wear.common.util.NotificationUtil; import com.example.android.wearable.wear.wearnotifications.handlers.BigPictureSocialIntentService; @@ -48,7 +52,6 @@ import com.example.android.wearable.wear.wearnotifications.handlers.InboxMainAct import com.example.android.wearable.wear.wearnotifications.handlers.MessagingIntentService; import com.example.android.wearable.wear.wearnotifications.handlers.MessagingMainActivity; - /** * Demonstrates best practice for {@link NotificationCompat} Notifications created by local * standalone Wear apps. All {@link NotificationCompat} examples use @@ -632,7 +635,7 @@ public class StandaloneMainActivity extends Activity implements // 0. Get your data (everything unique per Notification). MockDatabase.MessagingStyleCommsAppData messagingStyleCommsAppData = - MockDatabase.getMessagingStyleData(); + MockDatabase.getMessagingStyleData(getApplicationContext()); // 1. Create/Retrieve Notification Channel for O and beyond devices (26+). String notificationChannelId = @@ -642,10 +645,20 @@ public class StandaloneMainActivity extends Activity implements String contentTitle = messagingStyleCommsAppData.getContentTitle(); MessagingStyle messagingStyle = - new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getReplayName()) - // You could set a different title to appear when the messaging style - // is supported on device (24+) if you wish. In our case, we use the same - // title. + new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getMe()) + /* + * <p>This API's behavior was changed in SDK version + * {@link Build.VERSION_CODES#P}. If your application's target version is + * less than {@link Build.VERSION_CODES#P}, setting a conversation title to + * a non-null value will make {@link #isGroupConversation()} return + * {@code true} and passing {@code null} will make it return {@code false}. + * This behavior can be overridden by calling + * {@link #setGroupConversation(boolean)} regardless of SDK version. + * In {@code P} and above, this method does not affect group conversation + * settings. + * + * In our case, we use the same title. + */ .setConversationTitle(contentTitle); // Adds all Messages. @@ -654,6 +667,8 @@ public class StandaloneMainActivity extends Activity implements messagingStyle.addMessage(message); } + messagingStyle.setGroupConversation(messagingStyleCommsAppData.isGroupConversation()); + // 3. Set up main Intent for notification. Intent notifyIntent = new Intent(this, MessagingMainActivity.class); @@ -673,6 +688,8 @@ public class StandaloneMainActivity extends Activity implements String replyLabel = getString(R.string.reply_label); RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) .setLabel(replyLabel) + // Use machine learning to create responses based on previous messages. + .setChoices(messagingStyleCommsAppData.getReplyChoicesBasedOnLastMessage()) .build(); // Create PendingIntent for service that handles input. @@ -693,9 +710,13 @@ public class StandaloneMainActivity extends Activity implements replyLabel, replyActionPendingIntent) .addRemoteInput(remoteInput) + // Informs system we aren't bringing up our own custom UI for a reply + // action. + .setShowsUserInterface(false) // Allows system to generate replies by context of conversation. .setAllowGeneratedReplies(true) // Add WearableExtender to enable inline actions. + .setSemanticAction(Action.SEMANTIC_ACTION_REPLY) .extend(inlineActionForWear2) .build(); @@ -742,10 +763,10 @@ public class StandaloneMainActivity extends Activity implements // visibility is set in the NotificationChannel. .setVisibility(messagingStyleCommsAppData.getChannelLockscreenVisibility()); - // If the phone is in "Do not disturb mode, the user will still be notified if - // the sender(s) is starred as a favorite. - for (String name : messagingStyleCommsAppData.getParticipants()) { - notificationCompatBuilder.addPerson(name); + // If the phone is in "Do not disturb" mode, the user may still be notified if the + // sender(s) are in a group allowed through "Do not disturb" by the user. + for (Person person : messagingStyleCommsAppData.getParticipants()) { + notificationCompatBuilder.addPerson(person.getUri()); } Notification notification = notificationCompatBuilder.build(); @@ -798,4 +819,4 @@ public class StandaloneMainActivity extends Activity implements } } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java index cc22dc1b..3243edc6 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java +++ b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigPictureSocialIntentService.java @@ -21,13 +21,14 @@ import android.app.PendingIntent; import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Bundle; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.BigPictureStyle; -import android.support.v4.app.NotificationManagerCompat; -import android.support.v4.app.RemoteInput; -import android.support.v4.content.ContextCompat; import android.util.Log; +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.BigPictureStyle; +import androidx.core.app.NotificationManagerCompat; +import androidx.core.app.RemoteInput; +import androidx.core.content.ContextCompat; + import com.example.android.wearable.wear.wearnotifications.GlobalNotificationBuilder; import com.example.android.wearable.wear.wearnotifications.R; import com.example.android.wearable.wear.wearnotifications.StandaloneMainActivity; @@ -235,4 +236,4 @@ public class BigPictureSocialIntentService extends IntentService { return notificationCompatBuilder; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java index bf50afd2..9407a1f6 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java +++ b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java @@ -21,12 +21,13 @@ import android.app.PendingIntent; import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Build; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.BigTextStyle; -import android.support.v4.app.NotificationManagerCompat; -import android.support.v4.content.ContextCompat; import android.util.Log; +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.BigTextStyle; +import androidx.core.app.NotificationManagerCompat; +import androidx.core.content.ContextCompat; + import com.example.android.wearable.wear.wearnotifications.GlobalNotificationBuilder; import com.example.android.wearable.wear.wearnotifications.R; import com.example.android.wearable.wear.wearnotifications.StandaloneMainActivity; @@ -235,4 +236,4 @@ public class BigTextIntentService extends IntentService { return notificationCompatBuilder; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java index cf17fdd5..c3bcd6e2 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java +++ b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingIntentService.java @@ -21,17 +21,20 @@ import android.app.PendingIntent; import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Bundle; -import android.support.v4.app.NotificationCompat; -import android.support.v4.app.NotificationCompat.MessagingStyle; -import android.support.v4.app.NotificationManagerCompat; -import android.support.v4.app.RemoteInput; -import android.support.v4.content.ContextCompat; import android.util.Log; +import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.Action; +import androidx.core.app.NotificationCompat.MessagingStyle; +import androidx.core.app.NotificationManagerCompat; +import androidx.core.app.Person; +import androidx.core.app.RemoteInput; +import androidx.core.content.ContextCompat; + +import com.example.android.wearable.wear.common.mock.MockDatabase; import com.example.android.wearable.wear.wearnotifications.GlobalNotificationBuilder; import com.example.android.wearable.wear.wearnotifications.R; import com.example.android.wearable.wear.wearnotifications.StandaloneMainActivity; -import com.example.android.wearable.wear.common.mock.MockDatabase; /** * Asynchronously handles updating messaging app posts (and active Notification) with replies from @@ -47,7 +50,6 @@ public class MessagingIntentService extends IntentService { public static final String EXTRA_REPLY = "com.example.android.wearable.wear.wearnotifications.handlers.extra.REPLY"; - public MessagingIntentService() { super("MessagingIntentService"); } @@ -64,9 +66,7 @@ public class MessagingIntentService extends IntentService { } } - /** - * Handles action for replying to messages from the notification. - */ + /** Handles action for replying to messages from the notification. */ private void handleActionReply(CharSequence replyCharSequence) { Log.d(TAG, "handleActionReply(): " + replyCharSequence); @@ -102,21 +102,19 @@ public class MessagingIntentService extends IntentService { notificationCompatBuilder = recreateBuilderWithMessagingStyle(); } - // Since we are adding to the MessagingStyle, we need to first retrieve the // current MessagingStyle from the Notification itself. Notification notification = notificationCompatBuilder.build(); MessagingStyle messagingStyle = - NotificationCompat.MessagingStyle - .extractMessagingStyleFromNotification(notification); + NotificationCompat.MessagingStyle.extractMessagingStyleFromNotification( + notification); - // Add new message to the MessagingStyle - messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), null); + // Add new message to the MessagingStyle. Set last parameter to null for responses + // from user. + messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), (Person) null); // Updates the Notification - notification = notificationCompatBuilder - .setStyle(messagingStyle) - .build(); + notification = notificationCompatBuilder.setStyle(messagingStyle).build(); // Pushes out the updated Notification NotificationManagerCompat notificationManagerCompat = @@ -142,10 +140,9 @@ public class MessagingIntentService extends IntentService { */ private NotificationCompat.Builder recreateBuilderWithMessagingStyle() { - // Main steps for building a MESSAGING_STYLE notification (for more detailed comments on - // building this notification, check StandaloneMainActivity.java): + // Main steps for building a MESSAGING_STYLE notification: // 0. Get your data - // 1. Retrieve Notification Channel for O and beyond devices (26+) + // 1. Create Notification Channel for O and beyond devices (26+) // 2. Build the MESSAGING_STYLE // 3. Set up main Intent for notification // 4. Set up RemoteInput (users can input directly from notification) @@ -153,99 +150,128 @@ public class MessagingIntentService extends IntentService { // 0. Get your data (everything unique per Notification). MockDatabase.MessagingStyleCommsAppData messagingStyleCommsAppData = - MockDatabase.getMessagingStyleData(); + MockDatabase.getMessagingStyleData(getApplicationContext()); // 1. Retrieve Notification Channel for O and beyond devices (26+). We don't need to create // the NotificationChannel, since it was created the first time this Notification was // created. String notificationChannelId = messagingStyleCommsAppData.getChannelId(); - // 2. Build the Notification.Style (MESSAGING_STYLE). String contentTitle = messagingStyleCommsAppData.getContentTitle(); MessagingStyle messagingStyle = - new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getReplayName()) + new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getMe()) + /* + * <p>This API's behavior was changed in SDK version + * {@link Build.VERSION_CODES#P}. If your application's target version is + * less than {@link Build.VERSION_CODES#P}, setting a conversation title to + * a non-null value will make {@link #isGroupConversation()} return + * {@code true} and passing {@code null} will make it return {@code false}. + * This behavior can be overridden by calling + * {@link #setGroupConversation(boolean)} regardless of SDK version. + * In {@code P} and above, this method does not affect group conversation + * settings. + * + * In our case, we use the same title. + */ .setConversationTitle(contentTitle); // Adds all Messages. + // Note: Messages include the text, timestamp, and sender. for (MessagingStyle.Message message : messagingStyleCommsAppData.getMessages()) { messagingStyle.addMessage(message); } + messagingStyle.setGroupConversation(messagingStyleCommsAppData.isGroupConversation()); // 3. Set up main Intent for notification. Intent notifyIntent = new Intent(this, MessagingMainActivity.class); PendingIntent mainPendingIntent = - PendingIntent.getActivity( - this, - 0, - notifyIntent, - PendingIntent.FLAG_UPDATE_CURRENT - ); - + PendingIntent.getActivity(this, 0, notifyIntent, PendingIntent.FLAG_UPDATE_CURRENT); // 4. Set up a RemoteInput Action, so users can input (keyboard, drawing, voice) directly // from the notification without entering the app. + + // Create the RemoteInput specifying this key. String replyLabel = getString(R.string.reply_label); - RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) - .setLabel(replyLabel) - .build(); + RemoteInput remoteInput = + new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) + .setLabel(replyLabel) + // Use machine learning to create responses based on previous messages. + .setChoices(messagingStyleCommsAppData.getReplyChoicesBasedOnLastMessage()) + .build(); + // Create PendingIntent for service that handles input. Intent replyIntent = new Intent(this, MessagingIntentService.class); replyIntent.setAction(MessagingIntentService.ACTION_REPLY); PendingIntent replyActionPendingIntent = PendingIntent.getService(this, 0, replyIntent, 0); // Enable action to appear inline on Wear 2.0 (24+). This means it will appear over the // lower portion of the Notification for easy action (only possible for one action). - final NotificationCompat.Action.WearableExtender inlineActionForWear2_0 = + final NotificationCompat.Action.WearableExtender inlineActionForWear2 = new NotificationCompat.Action.WearableExtender() .setHintDisplayActionInline(true) .setHintLaunchesActivity(false); NotificationCompat.Action replyAction = new NotificationCompat.Action.Builder( - R.drawable.ic_reply_white_18dp, - replyLabel, - replyActionPendingIntent) + R.drawable.ic_reply_white_18dp, + replyLabel, + replyActionPendingIntent) .addRemoteInput(remoteInput) + // Informs system we aren't bringing up our own custom UI for a reply + // action. + .setShowsUserInterface(false) // Allows system to generate replies by context of conversation. .setAllowGeneratedReplies(true) // Add WearableExtender to enable inline actions. - .extend(inlineActionForWear2_0) + .setSemanticAction(Action.SEMANTIC_ACTION_REPLY) + .extend(inlineActionForWear2) .build(); - // 5. Build and issue the notification. // Notification Channel Id is ignored for Android pre O (26). NotificationCompat.Builder notificationCompatBuilder = - new NotificationCompat.Builder( - getApplicationContext(), notificationChannelId); + new NotificationCompat.Builder(getApplicationContext(), notificationChannelId); GlobalNotificationBuilder.setNotificationCompatBuilderInstance(notificationCompatBuilder); notificationCompatBuilder + // MESSAGING_STYLE sets title and content for Wear 1.+ and Wear 2.0 devices. .setStyle(messagingStyle) .setContentTitle(contentTitle) .setContentText(messagingStyleCommsAppData.getContentText()) .setSmallIcon(R.drawable.ic_launcher) - .setLargeIcon(BitmapFactory.decodeResource( - getResources(), - R.drawable.ic_person_black_48dp)) + .setLargeIcon( + BitmapFactory.decodeResource( + getResources(), R.drawable.ic_person_black_48dp)) .setContentIntent(mainPendingIntent) + .setDefaults(NotificationCompat.DEFAULT_ALL) + // Set primary color (important for Wear 2.0 Notifications). .setColor(ContextCompat.getColor(getApplicationContext(), R.color.colorPrimary)) + + // Number of new notifications for API <24 (Wear 1.+) devices. .setSubText(Integer.toString(messagingStyleCommsAppData.getNumberOfNewMessages())) .addAction(replyAction) .setCategory(Notification.CATEGORY_MESSAGE) + + // Sets priority for 25 and below. For 26 and above, 'priority' is deprecated for + // 'importance' which is set in the NotificationChannel. The integers representing + // 'priority' are different from 'importance', so make sure you don't mix them. .setPriority(messagingStyleCommsAppData.getPriority()) + + // Sets lock-screen visibility for 25 and below. For 26 and above, lock screen + // visibility is set in the NotificationChannel. .setVisibility(messagingStyleCommsAppData.getChannelLockscreenVisibility()); - for (String name : messagingStyleCommsAppData.getParticipants()) { - notificationCompatBuilder.addPerson(name); + // If the phone is in "Do not disturb" mode, the user may still be notified if the + // sender(s) are in a group allowed through "Do not disturb" by the user. + for (Person person : messagingStyleCommsAppData.getParticipants()) { + notificationCompatBuilder.addPerson(person.getUri()); } - return notificationCompatBuilder; } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java index 5454c797..8ab3db54 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java +++ b/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/MessagingMainActivity.java @@ -43,5 +43,9 @@ public class MessagingMainActivity extends Activity { notificationManager.cancel(StandaloneMainActivity.NOTIFICATION_ID); // TODO: Handle and display message/conversation from your database + + // NOTE: You can retrieve the EXTRA_REMOTE_INPUT_DRAFT sent by the system when a user + // inadvertently closes a messaging notification to pre-populate the reply text field so + // the user can finish their reply. } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearNotifications/Wearable/src/main/res/layout/activity_main.xml b/wearable/wear/WearNotifications/Wearable/src/main/res/layout/activity_main.xml index 10528cf5..f8dd907d 100644 --- a/wearable/wear/WearNotifications/Wearable/src/main/res/layout/activity_main.xml +++ b/wearable/wear/WearNotifications/Wearable/src/main/res/layout/activity_main.xml @@ -22,7 +22,7 @@ android:layout_height="match_parent" tools:context="com.example.android.wearable.wear.wearnotifications.StandaloneMainActivity"> - <android.support.wear.widget.WearableRecyclerView + <androidx.wear.widget.WearableRecyclerView android:id="@+id/recycler_view" android:layout_width="match_parent" android:layout_height="match_parent" @@ -38,4 +38,4 @@ android:paddingBottom="@dimen/activity_main_text_header_spacing" android:background="@color/grey" android:text="@string/floating_text"/> -</FrameLayout>
\ No newline at end of file +</FrameLayout> diff --git a/wearable/wear/WearNotifications/gradle.properties b/wearable/wear/WearNotifications/gradle.properties new file mode 100644 index 00000000..6511fc12 --- /dev/null +++ b/wearable/wear/WearNotifications/gradle.properties @@ -0,0 +1,22 @@ + +# Project-wide Gradle settings. + +# IDE (e.g. Android Studio) users: +# Settings specified in this file will override any Gradle settings +# configured through the IDE. + +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html + +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +# Default value: -Xmx10248m -XX:MaxPermSize=256m +# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 + +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true + +android.useAndroidX = true +android.enableJetifier = true diff --git a/wearable/wear/WearNotifications/gradle/wrapper/gradle-wrapper.properties b/wearable/wear/WearNotifications/gradle/wrapper/gradle-wrapper.properties index eee1f3d8..b74aed0e 100644 --- a/wearable/wear/WearNotifications/gradle/wrapper/gradle-wrapper.properties +++ b/wearable/wear/WearNotifications/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu Aug 18 11:31:37 PDT 2016 +#Fri May 04 14:21:41 PDT 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
\ No newline at end of file +distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip diff --git a/wearable/wear/WearNotifications/template-params.xml b/wearable/wear/WearNotifications/template-params.xml index 4268dcc8..26396118 100644 --- a/wearable/wear/WearNotifications/template-params.xml +++ b/wearable/wear/WearNotifications/template-params.xml @@ -20,27 +20,31 @@ <package>com.example.android.wearable.wear.wearnotifications</package> <minSdk>18</minSdk> - <compileSdkVersion>27</compileSdkVersion> - <targetSdkVersion>27</targetSdkVersion> + <compileSdkVersion>28</compileSdkVersion> + <targetSdkVersion>28</targetSdkVersion> <minSdkVersionWear>23</minSdkVersionWear> - <compileSdkVersionWear>26</compileSdkVersionWear> - <targetSdkVersionWear>26</targetSdkVersionWear> + <compileSdkVersionWear>28</compileSdkVersionWear> + <targetSdkVersionWear>28</targetSdkVersionWear> <multiDexEnabled>true</multiDexEnabled> <wearable> <has_handheld_app>true</has_handheld_app> </wearable> - <dependency>com.android.support:appcompat-v7:27.1.0</dependency> - <dependency>com.android.support:cardview-v7:27.1.0</dependency> - <dependency>com.android.support:design:27.1.0</dependency> + <androidX>true</androidX> - <dependency_shared>com.android.support:support-v4:27.1.0</dependency_shared> + <dependency>androidx.appcompat:appcompat:1.0.0-alpha3</dependency> + <dependency>androidx.cardview:cardview:1.0.0-alpha3</dependency> + <dependency>com.google.android.material:material:1.0.0-alpha3</dependency> + <dependency>androidx.legacy:legacy-support-v13:1.0.0-alpha3</dependency> - <dependency_wearable>com.android.support:appcompat-v7:27.1.0</dependency_wearable> - <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> - <dependency_wearable>com.android.support:design:27.1.0</dependency_wearable> + <dependency_shared>androidx.legacy:legacy-support-v4:1.0.0-alpha3</dependency_shared> + + <dependency_wearable>androidx.appcompat:appcompat:1.0.0-alpha3</dependency_wearable> + <dependency_wearable>androidx.wear:wear:1.0.0-alpha3</dependency_wearable> + <dependency_wearable>com.google.android.material:material:1.0.0-alpha3</dependency_wearable> + <dependency_wearable>androidx.legacy:legacy-support-v13:1.0.0-alpha3</dependency_wearable> <!-- Include additional dependencies here.--> <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency --> diff --git a/wearable/wear/WearSpeakerSample/build.gradle b/wearable/wear/WearSpeakerSample/build.gradle index 6c111e7d..b35d7018 100644 --- a/wearable/wear/WearSpeakerSample/build.gradle +++ b/wearable/wear/WearSpeakerSample/build.gradle @@ -22,7 +22,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/wearable/wear/WearSpeakerSample/wear/build.gradle b/wearable/wear/WearSpeakerSample/wear/build.gradle index 19604a12..08c92f48 100644 --- a/wearable/wear/WearSpeakerSample/wear/build.gradle +++ b/wearable/wear/WearSpeakerSample/wear/build.gradle @@ -19,7 +19,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 26 - buildToolsVersion '26.0.2' + buildToolsVersion '27.0.3' defaultConfig { applicationId "com.example.android.wearable.speaker" @@ -38,11 +38,16 @@ android { dependencies { - compile 'com.android.support:wear:27.1.0' + implementation 'com.android.support:wear:27.1.1' + implementation 'com.android.support:animated-vector-drawable:27.1.1' + implementation 'com.android.support:support-media-compat:27.1.1' - compile 'com.google.android.gms:play-services-wearable:11.8.0' - compile 'com.android.support:appcompat-v7:27.1.0' + implementation 'com.android.support:percent:27.1.1' - provided 'com.google.android.wearable:wearable:2.3.0' - compile 'com.google.android.support:wearable:2.3.0' + implementation 'com.google.android.gms:play-services-wearable:15.0.1' + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation 'com.android.support:support-v4:27.1.1' + + compileOnly 'com.google.android.wearable:wearable:2.3.0' + implementation 'com.google.android.support:wearable:2.3.0' } diff --git a/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/MainActivity.java b/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/MainActivity.java index e2121958..72813b4d 100644 --- a/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/MainActivity.java +++ b/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/MainActivity.java @@ -17,7 +17,6 @@ package com.example.android.wearable.speaker; import android.Manifest; -import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.content.res.Resources; @@ -28,8 +27,9 @@ import android.os.Build; import android.os.Bundle; import android.os.CountDownTimer; import android.support.v4.app.ActivityCompat; +import android.support.v4.app.FragmentActivity; import android.support.v4.content.ContextCompat; -import android.support.wear.ambient.AmbientMode; +import android.support.wear.ambient.AmbientModeSupport; import android.util.Log; import android.view.View; import android.widget.ImageView; @@ -45,8 +45,8 @@ import java.util.concurrent.TimeUnit; * to 10 seconds), a Play icon (if clicked, it wil playback the recorded audio file) and a music * note icon (if clicked, it plays an MP3 file that is included in the app). */ -public class MainActivity extends Activity implements - AmbientMode.AmbientCallbackProvider, +public class MainActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider, UIAnimation.UIStateListener, SoundRecorder.OnVoicePlaybackStateChangedListener { @@ -72,7 +72,7 @@ public class MainActivity extends Activity implements * Ambient mode controller attached to this display. Used by Activity to see if it is in * ambient mode. */ - private AmbientMode.AmbientController mAmbientController; + private AmbientModeSupport.AmbientController mAmbientController; enum AppState { READY, PLAYING_VOICE, PLAYING_MUSIC, RECORDING @@ -89,7 +89,7 @@ public class MainActivity extends Activity implements mProgressBar = findViewById(R.id.progress_bar); // Enables Ambient mode. - mAmbientController = AmbientMode.attachAmbientSupport(this); + mAmbientController = AmbientModeSupport.attach(this); } private void setProgressBar(long progressInMillis) { @@ -239,10 +239,10 @@ public class MainActivity extends Activity implements int[] thumbResources = new int[] {R.id.mic, R.id.play, R.id.music}; ImageView[] thumbs = new ImageView[3]; for(int i=0; i < 3; i++) { - thumbs[i] = (ImageView) findViewById(thumbResources[i]); + thumbs[i] = findViewById(thumbResources[i]); } View containerView = findViewById(R.id.container); - ImageView expandedView = (ImageView) findViewById(R.id.expanded); + ImageView expandedView = findViewById(R.id.expanded); int animationDuration = getResources().getInteger(android.R.integer.config_shortAnimTime); mUIAnimation = new UIAnimation(containerView, thumbs, expandedView, animationDuration, this); @@ -312,11 +312,11 @@ public class MainActivity extends Activity implements } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback { + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback { /** Prepares the UI for ambient mode. */ @Override public void onEnterAmbient(Bundle ambientDetails) { diff --git a/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/SoundRecorder.java b/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/SoundRecorder.java index a45bdd27..63604b0d 100644 --- a/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/SoundRecorder.java +++ b/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/SoundRecorder.java @@ -32,6 +32,7 @@ import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; +import java.lang.ref.WeakReference; /** * A helper class to provide methods to record audio input from the MIC to the internal storage @@ -79,62 +80,7 @@ public class SoundRecorder { return; } - mRecordingAsyncTask = new AsyncTask<Void, Void, Void>() { - - private AudioRecord mAudioRecord; - - @Override - protected void onPreExecute() { - mState = State.RECORDING; - } - - @Override - protected Void doInBackground(Void... params) { - mAudioRecord = new AudioRecord(MediaRecorder.AudioSource.MIC, - RECORDING_RATE, CHANNEL_IN, FORMAT, BUFFER_SIZE * 3); - BufferedOutputStream bufferedOutputStream = null; - try { - bufferedOutputStream = new BufferedOutputStream( - mContext.openFileOutput(mOutputFileName, Context.MODE_PRIVATE)); - byte[] buffer = new byte[BUFFER_SIZE]; - mAudioRecord.startRecording(); - while (!isCancelled()) { - int read = mAudioRecord.read(buffer, 0, buffer.length); - bufferedOutputStream.write(buffer, 0, read); - } - } catch (IOException | NullPointerException | IndexOutOfBoundsException e) { - Log.e(TAG, "Failed to record data: " + e); - } finally { - if (bufferedOutputStream != null) { - try { - bufferedOutputStream.close(); - } catch (IOException e) { - // ignore - } - } - mAudioRecord.release(); - mAudioRecord = null; - } - return null; - } - - @Override - protected void onPostExecute(Void aVoid) { - mState = State.IDLE; - mRecordingAsyncTask = null; - } - - @Override - protected void onCancelled() { - if (mState == State.RECORDING) { - Log.d(TAG, "Stopping the recording ..."); - mState = State.IDLE; - } else { - Log.w(TAG, "Requesting to stop recording while state was not RECORDING"); - } - mRecordingAsyncTask = null; - } - }; + mRecordingAsyncTask = new RecordAudioAsyncTask(this); mRecordingAsyncTask.execute(); } @@ -172,92 +118,199 @@ public class SoundRecorder { } return; } - final int intSize = AudioTrack.getMinBufferSize(RECORDING_RATE, CHANNELS_OUT, FORMAT); + int intSize = AudioTrack.getMinBufferSize(RECORDING_RATE, CHANNELS_OUT, FORMAT); - mPlayingAsyncTask = new AsyncTask<Void, Void, Void>() { + mPlayingAsyncTask = new PlayAudioAsyncTask(this, intSize); - private AudioTrack mAudioTrack; + mPlayingAsyncTask.execute(); + } + + public interface OnVoicePlaybackStateChangedListener { - @Override - protected void onPreExecute() { - mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, - mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC), 0 /* flags */); - mState = State.PLAYING; + /** + * Called when the playback of the audio file ends. This should be called on the UI thread. + */ + void onPlaybackStopped(); + } + + /** + * Cleans up some resources related to {@link AudioTrack} and {@link AudioRecord} + */ + public void cleanup() { + Log.d(TAG, "cleanup() is called"); + stopPlaying(); + stopRecording(); + } + + + private static class PlayAudioAsyncTask extends AsyncTask<Void, Void, Void> { + + private WeakReference<SoundRecorder> mSoundRecorderWeakReference; + + private AudioTrack mAudioTrack; + private int mIntSize; + + PlayAudioAsyncTask(SoundRecorder context, int intSize) { + mSoundRecorderWeakReference = new WeakReference<>(context); + mIntSize = intSize; + } + + @Override + protected void onPreExecute() { + + SoundRecorder soundRecorder = mSoundRecorderWeakReference.get(); + + if (soundRecorder != null) { + soundRecorder.mAudioManager.setStreamVolume( + AudioManager.STREAM_MUSIC, + soundRecorder.mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC), + 0 /* flags */); + soundRecorder.mState = State.PLAYING; } + } - @Override - protected Void doInBackground(Void... params) { + @Override + protected Void doInBackground(Void... params) { + SoundRecorder soundRecorder = mSoundRecorderWeakReference.get(); + + try { + mAudioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, RECORDING_RATE, + CHANNELS_OUT, FORMAT, mIntSize, AudioTrack.MODE_STREAM); + byte[] buffer = new byte[mIntSize * 2]; + FileInputStream in = null; + BufferedInputStream bis = null; + mAudioTrack.setVolume(AudioTrack.getMaxVolume()); + mAudioTrack.play(); try { - mAudioTrack = new AudioTrack(AudioManager.STREAM_MUSIC, RECORDING_RATE, - CHANNELS_OUT, FORMAT, intSize, AudioTrack.MODE_STREAM); - byte[] buffer = new byte[intSize * 2]; - FileInputStream in = null; - BufferedInputStream bis = null; - mAudioTrack.setVolume(AudioTrack.getMaxVolume()); - mAudioTrack.play(); + in = soundRecorder.mContext.openFileInput(soundRecorder.mOutputFileName); + bis = new BufferedInputStream(in); + int read; + while (!isCancelled() && (read = bis.read(buffer, 0, buffer.length)) > 0) { + mAudioTrack.write(buffer, 0, read); + } + } catch (IOException e) { + Log.e(TAG, "Failed to read the sound file into a byte array", e); + } finally { try { - in = mContext.openFileInput(mOutputFileName); - bis = new BufferedInputStream(in); - int read; - while (!isCancelled() && (read = bis.read(buffer, 0, buffer.length)) > 0) { - mAudioTrack.write(buffer, 0, read); + if (in != null) { + in.close(); } - } catch (IOException e) { - Log.e(TAG, "Failed to read the sound file into a byte array", e); - } finally { - try { - if (in != null) { - in.close(); - } - if (bis != null) { - bis.close(); - } - } catch (IOException e) { /* ignore */} - - mAudioTrack.release(); - } - } catch (IllegalStateException e) { - Log.e(TAG, "Failed to start playback", e); + if (bis != null) { + bis.close(); + } + } catch (IOException e) { /* ignore */} + + mAudioTrack.release(); } - return null; + } catch (IllegalStateException e) { + Log.e(TAG, "Failed to start playback", e); } + return null; + } + + @Override + protected void onPostExecute(Void aVoid) { + cleanup(); + } + + @Override + protected void onCancelled() { + cleanup(); + } - @Override - protected void onPostExecute(Void aVoid) { - cleanup(); + private void cleanup() { + SoundRecorder soundRecorder = mSoundRecorderWeakReference.get(); + + if (soundRecorder != null) { + if (soundRecorder.mListener != null) { + soundRecorder.mListener.onPlaybackStopped(); + } + soundRecorder.mState = State.IDLE; + soundRecorder.mPlayingAsyncTask = null; } + } + } + + private static class RecordAudioAsyncTask extends AsyncTask<Void, Void, Void> { + + private WeakReference<SoundRecorder> mSoundRecorderWeakReference; - @Override - protected void onCancelled() { - cleanup(); + private AudioRecord mAudioRecord; + + RecordAudioAsyncTask(SoundRecorder context) { + mSoundRecorderWeakReference = new WeakReference<>(context); + } + + @Override + protected void onPreExecute() { + SoundRecorder soundRecorder = mSoundRecorderWeakReference.get(); + + if (soundRecorder != null) { + soundRecorder.mState = State.RECORDING; } + } + + @Override + protected Void doInBackground(Void... params) { + + SoundRecorder soundRecorder = mSoundRecorderWeakReference.get(); - private void cleanup() { - if (mListener != null) { - mListener.onPlaybackStopped(); + mAudioRecord = new AudioRecord(MediaRecorder.AudioSource.MIC, + RECORDING_RATE, CHANNEL_IN, FORMAT, BUFFER_SIZE * 3); + + + BufferedOutputStream bufferedOutputStream = null; + + try { + bufferedOutputStream = new BufferedOutputStream( + soundRecorder.mContext.openFileOutput( + soundRecorder.mOutputFileName, + Context.MODE_PRIVATE)); + byte[] buffer = new byte[BUFFER_SIZE]; + mAudioRecord.startRecording(); + while (!isCancelled()) { + int read = mAudioRecord.read(buffer, 0, buffer.length); + bufferedOutputStream.write(buffer, 0, read); } - mState = State.IDLE; - mPlayingAsyncTask = null; + } catch (IOException | NullPointerException | IndexOutOfBoundsException e) { + Log.e(TAG, "Failed to record data: " + e); + } finally { + if (bufferedOutputStream != null) { + try { + bufferedOutputStream.close(); + } catch (IOException e) { + // ignore + } + } + mAudioRecord.release(); + mAudioRecord = null; } - }; + return null; + } - mPlayingAsyncTask.execute(); - } + @Override + protected void onPostExecute(Void aVoid) { + SoundRecorder soundRecorder = mSoundRecorderWeakReference.get(); - public interface OnVoicePlaybackStateChangedListener { + if (soundRecorder != null) { + soundRecorder.mState = State.IDLE; + soundRecorder.mRecordingAsyncTask = null; + } + } - /** - * Called when the playback of the audio file ends. This should be called on the UI thread. - */ - void onPlaybackStopped(); - } + @Override + protected void onCancelled() { + SoundRecorder soundRecorder = mSoundRecorderWeakReference.get(); - /** - * Cleans up some resources related to {@link AudioTrack} and {@link AudioRecord} - */ - public void cleanup() { - Log.d(TAG, "cleanup() is called"); - stopPlaying(); - stopRecording(); + if (soundRecorder != null) { + if (soundRecorder.mState == State.RECORDING) { + Log.d(TAG, "Stopping the recording ..."); + soundRecorder.mState = State.IDLE; + } else { + Log.w(TAG, "Requesting to stop recording while state was not RECORDING"); + } + soundRecorder.mRecordingAsyncTask = null; + } + } } } diff --git a/wearable/wear/WearVerifyRemoteApp/Application/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainMobileActivity.java b/wearable/wear/WearVerifyRemoteApp/Application/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainMobileActivity.java index ed151193..e9e9a496 100644 --- a/wearable/wear/WearVerifyRemoteApp/Application/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainMobileActivity.java +++ b/wearable/wear/WearVerifyRemoteApp/Application/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainMobileActivity.java @@ -20,8 +20,6 @@ import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.ResultReceiver; -import android.support.annotation.NonNull; -import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; @@ -29,14 +27,11 @@ import android.widget.Button; import android.widget.TextView; import android.widget.Toast; -import com.google.android.gms.common.ConnectionResult; -import com.google.android.gms.common.api.GoogleApiClient; -import com.google.android.gms.common.api.PendingResult; -import com.google.android.gms.common.api.ResultCallback; -import com.google.android.gms.wearable.CapabilityApi; +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; +import com.google.android.gms.wearable.CapabilityClient; import com.google.android.gms.wearable.CapabilityInfo; import com.google.android.gms.wearable.Node; -import com.google.android.gms.wearable.NodeApi; import com.google.android.gms.wearable.Wearable; import com.google.android.wearable.intent.RemoteIntent; @@ -49,9 +44,7 @@ import java.util.Set; * user to open the app listing on the Wear devices' Play Store. */ public class MainMobileActivity extends AppCompatActivity implements - GoogleApiClient.ConnectionCallbacks, - GoogleApiClient.OnConnectionFailedListener, - CapabilityApi.CapabilityListener { + CapabilityClient.OnCapabilityChangedListener { private static final String TAG = "MainMobileActivity"; @@ -123,16 +116,14 @@ public class MainMobileActivity extends AppCompatActivity implements private Set<Node> mWearNodesWithApp; private List<Node> mAllConnectedNodes; - private GoogleApiClient mGoogleApiClient; - @Override protected void onCreate(Bundle savedInstanceState) { Log.d(TAG, "onCreate()"); super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); - mInformationTextView = (TextView) findViewById(R.id.information_text_view); - mRemoteOpenButton = (Button) findViewById(R.id.remote_open_button); + mInformationTextView = findViewById(R.id.information_text_view); + mRemoteOpenButton = findViewById(R.id.remote_open_button); mInformationTextView.setText(CHECKING_MESSAGE); @@ -142,49 +133,22 @@ public class MainMobileActivity extends AppCompatActivity implements openPlayStoreOnWearDevicesWithoutApp(); } }); - - mGoogleApiClient = new GoogleApiClient.Builder(this) - .addApi(Wearable.API) - .addConnectionCallbacks(this) - .addOnConnectionFailedListener(this) - .build(); } - @Override protected void onPause() { Log.d(TAG, "onPause()"); super.onPause(); - if ((mGoogleApiClient != null) && mGoogleApiClient.isConnected()) { - - Wearable.CapabilityApi.removeCapabilityListener( - mGoogleApiClient, - this, - CAPABILITY_WEAR_APP); - - mGoogleApiClient.disconnect(); - } + Wearable.getCapabilityClient(this).removeListener(this, CAPABILITY_WEAR_APP); } @Override protected void onResume() { Log.d(TAG, "onResume()"); super.onResume(); - if (mGoogleApiClient != null) { - mGoogleApiClient.connect(); - } - } - @Override - public void onConnected(@Nullable Bundle bundle) { - Log.d(TAG, "onConnected()"); - - // Set up listeners for capability changes (install/uninstall of remote app). - Wearable.CapabilityApi.addCapabilityListener( - mGoogleApiClient, - this, - CAPABILITY_WEAR_APP); + Wearable.getCapabilityClient(this).addListener(this, CAPABILITY_WEAR_APP); // Initial request for devices with our capability, aka, our Wear app installed. findWearDevicesWithApp(); @@ -196,16 +160,6 @@ public class MainMobileActivity extends AppCompatActivity implements findAllWearDevices(); } - @Override - public void onConnectionSuspended(int i) { - Log.d(TAG, "onConnectionSuspended(): connection to location client suspended: " + i); - } - - @Override - public void onConnectionFailed(@NonNull ConnectionResult connectionResult) { - Log.e(TAG, "onConnectionFailed(): " + connectionResult); - } - /* * Updates UI when capabilities change (install/uninstall wear app). */ @@ -224,26 +178,25 @@ public class MainMobileActivity extends AppCompatActivity implements private void findWearDevicesWithApp() { Log.d(TAG, "findWearDevicesWithApp()"); - // You can filter this by FILTER_REACHABLE if you only want to open Nodes (Wear Devices) - // directly connect to your phone. - PendingResult<CapabilityApi.GetCapabilityResult> pendingResult = - Wearable.CapabilityApi.getCapability( - mGoogleApiClient, - CAPABILITY_WEAR_APP, - CapabilityApi.FILTER_ALL); + Task<CapabilityInfo> capabilityInfoTask = Wearable.getCapabilityClient(this) + .getCapability(CAPABILITY_WEAR_APP, CapabilityClient.FILTER_ALL); - pendingResult.setResultCallback(new ResultCallback<CapabilityApi.GetCapabilityResult>() { + capabilityInfoTask.addOnCompleteListener(new OnCompleteListener<CapabilityInfo>() { @Override - public void onResult(@NonNull CapabilityApi.GetCapabilityResult getCapabilityResult) { - Log.d(TAG, "onResult(): " + getCapabilityResult); + public void onComplete(Task<CapabilityInfo> task) { - if (getCapabilityResult.getStatus().isSuccess()) { - CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); + if (task.isSuccessful()) { + Log.d(TAG, "Capability request succeeded."); + + CapabilityInfo capabilityInfo = task.getResult(); mWearNodesWithApp = capabilityInfo.getNodes(); + + Log.d(TAG, "Capable Nodes: " + mWearNodesWithApp); + verifyNodeAndUpdateUI(); } else { - Log.d(TAG, "Failed CapabilityApi: " + getCapabilityResult.getStatus()); + Log.d(TAG, "Capability request failed to return any results."); } } }); @@ -252,20 +205,21 @@ public class MainMobileActivity extends AppCompatActivity implements private void findAllWearDevices() { Log.d(TAG, "findAllWearDevices()"); - PendingResult<NodeApi.GetConnectedNodesResult> pendingResult = - Wearable.NodeApi.getConnectedNodes(mGoogleApiClient); + Task<List<Node>> NodeListTask = Wearable.getNodeClient(this).getConnectedNodes(); - pendingResult.setResultCallback(new ResultCallback<NodeApi.GetConnectedNodesResult>() { + NodeListTask.addOnCompleteListener(new OnCompleteListener<List<Node>>() { @Override - public void onResult(@NonNull NodeApi.GetConnectedNodesResult getConnectedNodesResult) { + public void onComplete(Task<List<Node>> task) { - if (getConnectedNodesResult.getStatus().isSuccess()) { - mAllConnectedNodes = getConnectedNodesResult.getNodes(); - verifyNodeAndUpdateUI(); + if (task.isSuccessful()) { + Log.d(TAG, "Node request succeeded."); + mAllConnectedNodes = task.getResult(); } else { - Log.d(TAG, "Failed CapabilityApi: " + getConnectedNodesResult.getStatus()); + Log.d(TAG, "Node request failed to return any results."); } + + verifyNodeAndUpdateUI(); } }); } @@ -338,4 +292,4 @@ public class MainMobileActivity extends AppCompatActivity implements } } } -}
\ No newline at end of file +} diff --git a/wearable/wear/WearVerifyRemoteApp/Wearable/build.gradle b/wearable/wear/WearVerifyRemoteApp/Wearable/build.gradle index bb93be97..ac9f1454 100644 --- a/wearable/wear/WearVerifyRemoteApp/Wearable/build.gradle +++ b/wearable/wear/WearVerifyRemoteApp/Wearable/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.0.1' + classpath 'com.android.tools.build:gradle:3.1.3' } } @@ -21,15 +21,15 @@ repositories { dependencies { - compile 'com.android.support:wear:27.1.0' + implementation 'com.android.support:wear:27.1.1' - compile 'com.google.android.gms:play-services-wearable:11.8.0' - compile 'com.android.support:support-v13:27.1.0' + implementation 'com.google.android.gms:play-services-wearable:15.0.1' + implementation 'com.android.support:support-v13:27.1.1' - provided 'com.google.android.wearable:wearable:2.3.0' + compileOnly 'com.google.android.wearable:wearable:2.3.0' - compile 'com.google.android.support:wearable:2.3.0' + implementation 'com.google.android.support:wearable:2.3.0' } diff --git a/wearable/wear/WearVerifyRemoteApp/Wearable/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainWearActivity.java b/wearable/wear/WearVerifyRemoteApp/Wearable/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainWearActivity.java index 53b71aa7..6521b090 100644 --- a/wearable/wear/WearVerifyRemoteApp/Wearable/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainWearActivity.java +++ b/wearable/wear/WearVerifyRemoteApp/Wearable/src/main/java/com/example/android/wearable/wear/wearverifyremoteapp/MainWearActivity.java @@ -15,15 +15,13 @@ */ package com.example.android.wearable.wear.wearverifyremoteapp; -import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.ResultReceiver; -import android.support.annotation.NonNull; -import android.support.annotation.Nullable; -import android.support.wear.ambient.AmbientMode; +import android.support.v4.app.FragmentActivity; +import android.support.wear.ambient.AmbientModeSupport; import android.support.wearable.phone.PhoneDeviceType; import android.support.wearable.view.ConfirmationOverlay; import android.util.Log; @@ -31,11 +29,9 @@ import android.view.View; import android.widget.Button; import android.widget.TextView; -import com.google.android.gms.common.ConnectionResult; -import com.google.android.gms.common.api.GoogleApiClient; -import com.google.android.gms.common.api.PendingResult; -import com.google.android.gms.common.api.ResultCallback; -import com.google.android.gms.wearable.CapabilityApi; +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; +import com.google.android.gms.wearable.CapabilityClient; import com.google.android.gms.wearable.CapabilityInfo; import com.google.android.gms.wearable.Node; import com.google.android.gms.wearable.Wearable; @@ -47,11 +43,9 @@ import java.util.Set; * Checks if the phone app is installed on remote device. If it is not, allows user to open app * listing on the phone's Play or App Store. */ -public class MainWearActivity extends Activity implements - AmbientMode.AmbientCallbackProvider, - GoogleApiClient.ConnectionCallbacks, - GoogleApiClient.OnConnectionFailedListener, - CapabilityApi.CapabilityListener { +public class MainWearActivity extends FragmentActivity implements + AmbientModeSupport.AmbientCallbackProvider, + CapabilityClient.OnCapabilityChangedListener { private static final String TAG = "MainWearActivity"; @@ -107,8 +101,6 @@ public class MainWearActivity extends Activity implements private Node mAndroidPhoneNodeWithApp; - private GoogleApiClient mGoogleApiClient; - @Override protected void onCreate(Bundle savedInstanceState) { Log.d(TAG, "onCreate()"); @@ -117,10 +109,10 @@ public class MainWearActivity extends Activity implements setContentView(R.layout.activity_main); // Enables Ambient mode. - AmbientMode.attachAmbientSupport(this); + AmbientModeSupport.attach(this); - mInformationTextView = (TextView) findViewById(R.id.information_text_view); - mRemoteOpenButton = (Button) findViewById(R.id.remote_open_button); + mInformationTextView = findViewById(R.id.information_text_view); + mRemoteOpenButton = findViewById(R.id.remote_open_button); mInformationTextView.setText(CHECKING_MESSAGE); @@ -130,12 +122,6 @@ public class MainWearActivity extends Activity implements openAppInStoreOnPhone(); } }); - - mGoogleApiClient = new GoogleApiClient.Builder(this) - .addApi(Wearable.API) - .addConnectionCallbacks(this) - .addOnConnectionFailedListener(this) - .build(); } @@ -144,48 +130,19 @@ public class MainWearActivity extends Activity implements Log.d(TAG, "onPause()"); super.onPause(); - if ((mGoogleApiClient != null) && mGoogleApiClient.isConnected()) { - Wearable.CapabilityApi.removeCapabilityListener( - mGoogleApiClient, - this, - CAPABILITY_PHONE_APP); - - mGoogleApiClient.disconnect(); - } + Wearable.getCapabilityClient(this).removeListener(this, CAPABILITY_PHONE_APP); } @Override protected void onResume() { Log.d(TAG, "onResume()"); super.onResume(); - if (mGoogleApiClient != null) { - mGoogleApiClient.connect(); - } - } - - @Override - public void onConnected(@Nullable Bundle bundle) { - Log.d(TAG, "onConnected()"); - // Set up listeners for capability changes (install/uninstall of remote app). - Wearable.CapabilityApi.addCapabilityListener( - mGoogleApiClient, - this, - CAPABILITY_PHONE_APP); + Wearable.getCapabilityClient(this).addListener(this, CAPABILITY_PHONE_APP); checkIfPhoneHasApp(); } - @Override - public void onConnectionSuspended(int i) { - Log.d(TAG, "onConnectionSuspended(): connection to location client suspended: " + i); - } - - @Override - public void onConnectionFailed(@NonNull ConnectionResult connectionResult) { - Log.e(TAG, "onConnectionFailed(): " + connectionResult); - } - /* * Updates UI when capabilities change (install/uninstall phone app). */ @@ -199,26 +156,23 @@ public class MainWearActivity extends Activity implements private void checkIfPhoneHasApp() { Log.d(TAG, "checkIfPhoneHasApp()"); - PendingResult<CapabilityApi.GetCapabilityResult> pendingResult = - Wearable.CapabilityApi.getCapability( - mGoogleApiClient, - CAPABILITY_PHONE_APP, - CapabilityApi.FILTER_ALL); - - pendingResult.setResultCallback(new ResultCallback<CapabilityApi.GetCapabilityResult>() { + Task<CapabilityInfo> capabilityInfoTask = Wearable.getCapabilityClient(this) + .getCapability(CAPABILITY_PHONE_APP, CapabilityClient.FILTER_ALL); + capabilityInfoTask.addOnCompleteListener(new OnCompleteListener<CapabilityInfo>() { @Override - public void onResult(@NonNull CapabilityApi.GetCapabilityResult getCapabilityResult) { - Log.d(TAG, "onResult(): " + getCapabilityResult); + public void onComplete(Task<CapabilityInfo> task) { - if (getCapabilityResult.getStatus().isSuccess()) { - CapabilityInfo capabilityInfo = getCapabilityResult.getCapability(); + if (task.isSuccessful()) { + Log.d(TAG, "Capability request succeeded."); + CapabilityInfo capabilityInfo = task.getResult(); mAndroidPhoneNodeWithApp = pickBestNodeId(capabilityInfo.getNodes()); - verifyNodeAndUpdateUI(); } else { - Log.d(TAG, "Failed CapabilityApi: " + getCapabilityResult.getStatus()); + Log.d(TAG, "Capability request failed to return any results."); } + + verifyNodeAndUpdateUI(); } }); } @@ -301,11 +255,11 @@ public class MainWearActivity extends Activity implements } @Override - public AmbientMode.AmbientCallback getAmbientCallback() { + public AmbientModeSupport.AmbientCallback getAmbientCallback() { return new MyAmbientCallback(); } - private class MyAmbientCallback extends AmbientMode.AmbientCallback { + private class MyAmbientCallback extends AmbientModeSupport.AmbientCallback { /** Prepares the UI for ambient mode. */ @Override public void onEnterAmbient(Bundle ambientDetails) { diff --git a/wearable/wear/WearVerifyRemoteApp/template-params.xml b/wearable/wear/WearVerifyRemoteApp/template-params.xml index 6c3f3f9b..7b17a137 100644 --- a/wearable/wear/WearVerifyRemoteApp/template-params.xml +++ b/wearable/wear/WearVerifyRemoteApp/template-params.xml @@ -34,7 +34,7 @@ <dependency>com.google.android.support:wearable:2.3.0</dependency> - <dependency_wearable>com.android.support:wear:27.1.0</dependency_wearable> + <dependency_wearable>com.android.support:wear:27.1.1</dependency_wearable> <!-- Include additional dependencies here.--> <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency --> |