aboutsummaryrefslogtreecommitdiff
path: root/system
AgeCommit message (Collapse)Author
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-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