aboutsummaryrefslogtreecommitdiff
path: root/system
AgeCommit message (Collapse)Author
2017-12-18Update versions for build toolsTrevor Johns
- Update Gradle Wrapper to v4.4 Fixes incompatibility with older Gradle versions and Android projects. - Update build tool and dependency versions in build.gradle Test: compileSamples.sh Bug: 70645270 Change-Id: Id4608bf5d56259427d847c356b40d743773ea3d9 Merged-In: Id4608bf5d56259427d847c356b40d743773ea3d9
2017-12-11Create Kotlin version of RuntimePermissionsBasic sample.Douglas Sigelbaum
Bug: 70294270 Change-Id: I275e0223756c2acc18364f0fd46e767e78ca93fd
2017-12-06Update RuntimePermissionsBasic Java sample.Douglas Sigelbaum
* Doing this to prepare for adding Kotlin version. * Moved to use only base-build template. * Minor styling changes. Bug: 70294270 Change-Id: I9be4c83484b2605f6e306930f9cf0f3c4c10c03f
2017-10-09Fix missing Gradle repo for RuntimePermissionsTrevor Johns
Top-level Gradle repository for this project was missing, preventing build from working correctly. Bug: 67615229 Test: manual build Change-Id: Iab855157f8f11c61dadb3f8e0d31e6447d6be0cf
2017-08-22RuntimePermissions sample: Creating kotlin version.Douglas Sigelbaum
Bug: 64766103 Test: Manual Change-Id: Ia4d67d46add5daa95fd01d4623ce967f07f48b16
2017-08-22RuntimePermissions sample: Updating Java in sample.Douglas Sigelbaum
Also updated gradle dependencies, target SDk, switched template to barebones "base-build", and reformatted. Bug: 64766103 Test: Manual Change-Id: Icff09c514d2491c8a9a8ce05a17772d148ceba61
2017-06-06Remove usages of ActionBarActivity.Aurimas Liutikas
ActionBarActivity has been deprecated for 2+ years and has been extending AppCompatActivity for all that time. These changes should be no-ops. Bug: 35253513 Test: None Change-Id: I0105b020ef7f860f03f6528e7fee981a8748c9ed
2017-05-17Increment Gradle version to 3.4.1 for all samplesTrevor Johns
Test: gradlew assembleDebug Change-Id: Ifd6ac37af5fff607c1a83056f2f4100ab68c3240
2017-03-22Cleanup template-params.xml files for all projectsTrevor Johns
- Remove references to N Preview - Change statuses from DRAFT to PUBLISHED Test: manual Change-Id: I4cd302fb133f5f3e3f4f690397e0375e273ac1a1
2016-12-13Update dependency versions for 2016-12 releaseTrevor Johns
- Set targetSDK to 25 - Gradle plugin 2.2.3 - Build tools 25.0.2 - Support library 25.0.1 - Play Services 10.0.1 Change-Id: I3dab4deaba4ca96d62c70f019c1d1dc00f9c2c7b
2016-10-19Update build tools version for N MR1 samplesTrevor Johns
Version should be '25.0.0' instead of '25 rc1'. Change-Id: I975412dc54326292832656511148506ec8b6c855
2016-10-19AppShortcuts: Update icons and template-paramsTrevor Johns
- Switched to standard sample icon design - Added round icons - Added web icon - Updated web icon path in template-params.xml Change-Id: I518e6fb9e89a08c4fabecb8846679789079154a9
2016-10-18Add AppShortcuts sampleTrevor Johns
Demonstrates use of the App Shortcuts feature introduced in API 25. Change-Id: I52060546d54ed081c9bea4a33b690044c013ccd3
2016-09-28Update Gradle wrapper to v2.14.1Trevor Johns
Change-Id: I276f36356c62c4b472cae9eff4be4ab47bbde2ff
2016-06-17samples: Change support lib from v24.0.0-beta1 to v24.0.0Trevor Johns
Upgrading to final version of v24.0.0 support library across all samples. Change-Id: I02e0292c2b2abb1110149b93eca9f33afabb9c1f
2016-06-15samples: Remove duplicate appcompat-v7 declarationsTrevor Johns
Some samples were manually declaring appcompat-v7 as a dependency, even though this often gets injected automatically due to a template. Remove this dependency as needed. Change-Id: Idac1969032624da9df9acf53c4de8f1eed3e69fc
2016-06-14Update sample dependency versions for Android DP4Trevor Johns
Change-Id: If1b85f39acf088a1e2c8b7e019d3bea490af407b
2016-04-11Resolve merge conflicts of f091104 to nyc-devTrevor Johns
Change-Id: Ie5a6e3a472784605577c00d06ac0abf798deb8e1
2016-03-08Set Gradle wrapper to v2.10 for all samplesTrevor Johns
Change-Id: I9e5d292d218d34c6fbb2c889a43dc375bd4a9f59
2016-01-07Update Gradle Wrapper version to 2.8Trevor Johns
Change-Id: Idaf1e221cbe0cb66e89e833b170e43315ed39803
2015-10-01Update gradle wrapper to v2.5Trevor Johns
Change-Id: I2824a6ff305b052ead3e88b0f55aa97dc6d686d7
2015-10-01Update gradle wrapper to v2.4Trevor Johns
Change-Id: I3aaf5e6951ef9606f1c3a3395ffe200f36acac31
2015-09-30Merge "Fixes the unstable sort by using Long.compare instead of casting long ↵Takeshi Hagikura
to int." into mnc-docs
2015-09-30Fixes the unstable sort by using Long.compare instead of casting long to int.Takeshi Hagikura
Bug: 24119051 Change-Id: I0dde1f750c986cf57e9870b4f2d1034d371b2294
2015-09-01Switch runtime permission samples to AppCompat theme.Jan-Felix Schmakeit
Fix build after rollback in commit 76ee7753ab42505bddf7770a3aa9072f659fc6de. Change-Id: I6bcb12be8f81cd7f20669253726507e4bc6fe3e5 (cherry picked from commit 049d382f23bae257d8cf2dd2303eb2c3a166b932)
2015-09-01Switch runtime permission samples to AppCompat theme.android-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-n-iot-preview-2android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r17android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r41nougat-mr1-wear-releasen-iot-preview-2marshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-devJan-Felix Schmakeit
Fix build after rollback in commit 76ee7753ab42505bddf7770a3aa9072f659fc6de. Change-Id: I6bcb12be8f81cd7f20669253726507e4bc6fe3e5
2015-08-26Instantiate RecyclerView.LayoutManager in XML.Deepanshu Gupta
In newer versions of RecyclerView, layout manager can be instantiated via an XML attribute. Use the feature as it results in better layout previews in Android Studio. This also encourages developers to find more XML attributes like spanCount in case of GridLayoutManager. Change-Id: I9bac1058181722d861cbe8d285df7edc944fc4b2 [trevorjohns@google.com: Moved from //development, paths updated.] Signed-off-by: Trevor Johns <trevorjohns@google.com>
2015-08-17Merge "Update BasicRuntimePermissions sample for API 23." into mnc-devTrevor Johns
2015-08-17Update RuntimePermissions sample for API 23.Jan-Felix Schmakeit
Use compat calls from v4 support library for all permission checks and requests. Also removed M-only checks and lowered minSDK to 15. Use a SnackBar instead of a Toast to display messages. Change-Id: I53f8e5354e4d99060eeac41241a44bd931afd7a8
2015-08-17Update BasicRuntimePermissions sample for API 23.Jan-Felix Schmakeit
Use compat calls from v4 support library for all permission checks and requests and lower minSDK to 15. Replace use of Toast with SnackBar. Change-Id: Id126adfa46c71e1e61c992133ad90ab06dee7de4
2015-08-13Update sample templates for android-23 releaseTrevor Johns
Converted "android-MNC" build target references (including min/compile) to use "23" instead, to correspond with recent SDK builds. Includes source file refresh. Change-Id: I441aba7b50d16179cc231531e6aeffd108cdd404
2015-07-29Change MNC codename to just M.Dianne Hackborn
Change-Id: I1564b6c3389cfeb69292cd7014866b3aed493d3f
2015-07-02Merge "Update RuntimePermissions sample to latest API." into mnc-devJan-Felix Schmakeit
2015-07-02Update RuntimePermissionsBasic sample to latest API.Jan-Felix Schmakeit
Include a call to shouldShowRequestPermissionRationale(..). Change-Id: Ifc97077d5b16358e21254f115528ceb8c2b73bab
2015-07-02Update RuntimePermissions sample to latest API.Jan-Felix Schmakeit
Include a call to shouldShowRequestPermissionRationale(..). Change-Id: I9846a2b9858da2d7127d7cf7b37c2615cecc3dda
2015-06-22Fix crash in RuntimePermissions when camera is unavailable.Jan-Felix Schmakeit
This fixes a crash when running the sample in an emulator. Change-Id: Ib31465394f6b1f3702204ad82b9bf87264ee327a
2015-05-27Updating build.gradle and template-params for MNC samplesTrevor Johns
- Including new samples in master build - Adjusting min/target/compile SDK levels to match public preview - Setting all samples to DRAFT Change-Id: I6b051160a87de79b9db2d7d79f8f3242efe303fb
2015-05-27Merge "Adding RuntimePermissionsBasic sample." into mnc-devJan-Felix Schmakeit
2015-05-27Add RuntimePermissions sample.Jan-Felix Schmakeit
It shows use of runtime permissions API in M. Change-Id: I29a1271186c2664a20f183b327ce6be25feec78f
2015-05-27Adding RuntimePermissionsBasic sample.Jan-Felix Schmakeit
It shows the basic use of the runtime permissions API available in Android M. Change-Id: Ia435f7be17d93175c6c1f460f6947e8e4870316b
2015-03-19Use UiThreadTest annotationTakeshi Hagikura
Change-Id: If6f2dcfde30855a04acd6effebefa336825f7247
2015-03-18Fixes the broken tests for AppUsageStatistics. Update the UI in the UI thread.Takeshi Hagikura
https://b.corp.google.com/issues/19685630 Succeeded tests log. https://paste.googleplex.com/5935381669216256 Change-Id: I9a679b80407cd02bd5cc1488a0c758aa690a8225
2014-12-10Code clean up for AppUsageStatistics sampleTakeshi Hagikura
Change-Id: I87fc2363405768960b889b6bada5e0b25394b1b9
2014-12-10Adds AppUsageStatistics sampleTakeshi Hagikura
Change-Id: Id16e91f8af13ab5c6da173047a09f4804ca885c5