commit | c9c38ee90949a71b95826929dca068cd87b51c49 | [log] [tgz] |
---|---|---|
author | Ian Lake <ilake@google.com> | Wed Nov 23 14:08:42 2016 -0800 |
committer | Ian Lake <ilake@google.com> | Thu Dec 08 22:29:29 2016 +0000 |
tree | d4006f960cc88d346c3d49a43cd32dcf5b807d2c | |
parent | f8e49c99736c3f466c4c7e9b964ebfc5600293fa [diff] |
Create AlarmManagerCompat shims Create shims for newer AlarmManager methods, falling back on the older equivalents. This allows developers to use APIs such as the AndAllowWhileIdle methods that will do the right thing on all API levels. Note that this does not cover setWindow() as it does not have a fallback equivalent. Test: mmma frameworks/support, ./gradlew assemble BUG: 24037777 Change-Id: I1eacebb3fba9a75c7d4608e9d7f4337414427dcc