192947 Commits

Author SHA1 Message Date
John Spurlock
8be53eaaf7 Zen: Add warning text if total silence will eat the next alarm.
Bug: 21359239
Change-Id: I8a69738e6488f40f24eed622529c913b6c3865a0
2015-05-29 12:18:34 -04:00
John Spurlock
f40d08f8a3 Tuner: add battery pct preference.
And fix questionable code organization choices in BatteryMeterView.

Change-Id: I7c13197892b33aa0df9af51fbabb81e0ad0e00e1
2015-05-29 10:52:29 -04:00
John Spurlock
995a749f27 Zen: Use account name instead of calendar id in event conditions.
- Migrate the existing calendar attribute in the event condition
   from a long calendar id to the calendar account name.  More
   portable across a backup/restore.
 - Also skip restoring transient state (like the current condition
   state) from restored automatic rules.

Bug: 17755700
Change-Id: I9bdb421d2209e3ce90873008665c254d67c788d2
2015-05-28 22:13:03 -04:00
John Spurlock
35ef0a626c Backup/restore notification policy.
- Include zen + ranking config in the backup payload.
 - Owner user only for now.
 - For the most part, reuse existing policy file structure
   as the payload format, but elide items that do not survive
   across devices (info for secondary users, uids).
 - Also elide the manual zen rule, if set.
 - During restore, keep ranking info for uninstalled apps
   in purgatory until the apps exist.

Bug: 17755700
Change-Id: Iadf71a43cd0efd44fe9a0a29874d60666b6d2076
2015-05-28 16:25:32 -04:00
John Spurlock
21258a3703 Zen: Store notification zen policy per-user.
- Keep a zen config per user in NoMan.
 - Add zen config for all users to xml policy storage mechanism.
 - Initialize config to default for new secondary users.
 - Re-evaluate global zen on user switch.
 - Remove some unused code in NoMan.
 - Make ZenModeHelper aware of multiple users, keep all configs,
   add to dump.
 - Log config diffs in addition to the config itself in ZenLog.

Bug: 15845915
Change-Id: Ic847451e5d111c74916def1ea0948db5a76966c9
2015-05-28 09:23:58 -04:00
John Spurlock
1b8b22b1a4 Zen: Calendar auto-rule tracks primary calendar for corp profile.
- Track the calendar provider for the managed profile user if found.
 - Add userId to the shared data structure to disambig calendar ids.
 - Delay rule update a bit to guard against chatty updates.
 - Fix logging in calendar rule.

Bug: 21155107
Change-Id: Id2303fcc39b1fa7417b1844b7869d773ef92434c
2015-05-26 15:39:05 -04:00
Martijn Coenen
99fbb56a0a Merge "Don't count lowmem mappings as memory used." into mnc-dev 2015-05-26 08:11:28 +00:00
Selim Cinek
912696e797 Merge "Fixed logspam and handling subwindows with the input consumer" into mnc-dev 2015-05-26 07:34:18 +00:00
David Friedman
35bf832248 am 515444ff: am db9274e7: am f8cd49ae: am d580302d: Docs: Submitting fix for build-breaking CL 695942.
* commit '515444ff434ff93c7b5c24bc356973f385e39adf':
  Docs: Submitting fix for build-breaking CL 695942.
2015-05-26 06:04:54 +00:00
David Friedman
337089c8d1 am e0f14f48: am c25ff8e2: am e11744fe: am 4a6d5c93: Docs: Sample-walkthrough chapters for NDK documentation
* commit 'e0f14f48416484029a478e17e6b2c5708e0e0010':
  Docs: Sample-walkthrough chapters for NDK documentation
2015-05-26 06:04:49 +00:00
Oliver Woodman
b4ad97fc19 am a61df8f6: am 056bc731: am 1ddb7cae: am eb09fe5e: Merge "Remove most of ExoPlayer page, replacing it with links to ExoPlayer site." into lmp-docs
* commit 'a61df8f63c55d96c5443449a9fb538ad97224a52':
  Remove most of ExoPlayer page, replacing it with links to ExoPlayer site.
2015-05-26 06:04:44 +00:00
Johan Euphrosine
be0742e8ee am 4170d9e0: am 165d4585: am 1ccbe54f: am 46350fea: frameworks/base/docs/ndk: add missing doxygen css
* commit '4170d9e05b5477d75e4d8a12718e5d7b6aff3cdd':
  frameworks/base/docs/ndk: add missing doxygen css
2015-05-26 06:04:38 +00:00
David Friedman
515444ff43 am db9274e7: am f8cd49ae: am d580302d: Docs: Submitting fix for build-breaking CL 695942.
* commit 'db9274e70fcedc21d08abe340e7ef47d35258e50':
  Docs: Submitting fix for build-breaking CL 695942.
2015-05-26 05:53:08 +00:00
David Friedman
e0f14f4841 am c25ff8e2: am e11744fe: am 4a6d5c93: Docs: Sample-walkthrough chapters for NDK documentation
* commit 'c25ff8e2513e78b5e22d30b6fe513fdfb2f63643':
  Docs: Sample-walkthrough chapters for NDK documentation
2015-05-26 05:53:03 +00:00
Oliver Woodman
a61df8f63c am 056bc731: am 1ddb7cae: am eb09fe5e: Merge "Remove most of ExoPlayer page, replacing it with links to ExoPlayer site." into lmp-docs
* commit '056bc731ca7a53067027b0e72f58779aaf3c558a':
  Remove most of ExoPlayer page, replacing it with links to ExoPlayer site.
2015-05-26 05:52:59 +00:00
Johan Euphrosine
4170d9e05b am 165d4585: am 1ccbe54f: am 46350fea: frameworks/base/docs/ndk: add missing doxygen css
* commit '165d4585605f0fd7bcab798d9759f465ce4dca44':
  frameworks/base/docs/ndk: add missing doxygen css
2015-05-26 05:52:54 +00:00
David Friedman
db9274e70f am f8cd49ae: am d580302d: Docs: Submitting fix for build-breaking CL 695942.
* commit 'f8cd49ae178a29471d1424726b23a593e9ab43a1':
  Docs: Submitting fix for build-breaking CL 695942.
2015-05-26 05:42:13 +00:00
David Friedman
c25ff8e251 am e11744fe: am 4a6d5c93: Docs: Sample-walkthrough chapters for NDK documentation
* commit 'e11744fefdb1678dc369a7fea5aaaf0a290fb697':
  Docs: Sample-walkthrough chapters for NDK documentation
2015-05-26 05:37:15 +00:00
Oliver Woodman
056bc731ca am 1ddb7cae: am eb09fe5e: Merge "Remove most of ExoPlayer page, replacing it with links to ExoPlayer site." into lmp-docs
* commit '1ddb7caedba247aa9174fc6c78c4ea6b3b4f5a89':
  Remove most of ExoPlayer page, replacing it with links to ExoPlayer site.
2015-05-26 05:37:07 +00:00
Johan Euphrosine
165d458560 am 1ccbe54f: am 46350fea: frameworks/base/docs/ndk: add missing doxygen css
* commit '1ccbe54f2d651df7b9f9e5dfd3b58eaa2d92a9c8':
  frameworks/base/docs/ndk: add missing doxygen css
2015-05-26 05:37:01 +00:00
David Friedman
f8cd49ae17 am d580302d: Docs: Submitting fix for build-breaking CL 695942.
* commit 'd580302d622e4583c7ab2db8759ea8036614df6e':
  Docs: Submitting fix for build-breaking CL 695942.
2015-05-26 05:26:58 +00:00
David Friedman
d580302d62 Docs: Submitting fix for build-breaking CL 695942.
Change-Id: Ic384cfca07f7317c07e33d584340f1678a9f99e4
2015-05-25 21:53:23 -07:00
Adrian Roos
47cfee9d03 Fix initial keyguard user switcher state
Bug: 18411080
Change-Id: I506968ee6101069361d83f7ef386802f5856a68e
2015-05-26 01:10:37 +00:00
Guang Zhu
20c8fcaae5 Merge "update app compatibility post launch detection" into mnc-dev 2015-05-25 19:38:42 +00:00
Dirk Dougherty
b9bc972011 am 31a84561: am 0417dbac: Merge "Doc change: remove older diffs from static server hosting. Requests will redirect to downloadable zips in cloud storage." into mnc-preview-docs
* commit '31a84561ee28278ee0995c6cc27054b96372041f':
  Doc change: remove older diffs from static server hosting. Requests will redirect to downloadable zips in cloud storage.
2015-05-25 19:32:10 +00:00
Dirk Dougherty
31a84561ee am 0417dbac: Merge "Doc change: remove older diffs from static server hosting. Requests will redirect to downloadable zips in cloud storage." into mnc-preview-docs
* commit '0417dbac1358661e2101e7ff1c9a873c59714bb9':
  Doc change: remove older diffs from static server hosting. Requests will redirect to downloadable zips in cloud storage.
2015-05-25 19:19:50 +00:00
Guang Zhu
9f521c9b17 update app compatibility post launch detection
decide if the app is still running after launch by checking
running tasks and look for a task with base activity belonging
to the package launched.

Change-Id: Ibb3894e765ccbca62f803decc3c1c1f36dc2d454
2015-05-25 12:10:36 -07:00
Dirk Dougherty
0417dbac13 Merge "Doc change: remove older diffs from static server hosting. Requests will redirect to downloadable zips in cloud storage." into mnc-preview-docs 2015-05-25 19:07:24 +00:00
Geoff Mendal
47e745c978 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-05-25 18:09:38 +00:00
Geoff Mendal
151c93b90d Import translations. DO NOT MERGE
Change-Id: I8918640ef803392c6ac66b2293d1a67841bbfaa3
Auto-generated-cl: translation import
2015-05-25 11:03:26 -07:00
Geoff Mendal
c38fbbe103 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-05-25 15:07:41 +00:00
Geoff Mendal
ab26685640 Import translations. DO NOT MERGE
Change-Id: I9662a21a18c78c1599c7ebf55300f22b2df1a458
Auto-generated-cl: translation import
2015-05-25 10:05:44 -05:00
Geoff Mendal
32156a7586 Import translations. DO NOT MERGE
Change-Id: Id4da8170bceabc117824f81c25a6019f5584ce0b
Auto-generated-cl: translation import
2015-05-25 09:53:44 -05:00
David Friedman
e11744fefd am 4a6d5c93: Docs: Sample-walkthrough chapters for NDK documentation
* commit '4a6d5c9399179abcef7877c43f46855152129bd3':
  Docs: Sample-walkthrough chapters for NDK documentation
2015-05-25 07:00:32 +00:00
David Friedman
4a6d5c9399 Docs: Sample-walkthrough chapters for NDK documentation
Change-Id: If7422f36d5489271776c7ed085059502e1cdebea
2015-05-24 23:46:04 -07:00
Dirk Dougherty
26aba8dee4 am 82159cd5: am 10d44b75: Doc change: Updates to preview and distribute.
* commit '82159cd537c706f3dd7e33d0683705ebccffc370':
  Doc change: Updates to preview and distribute.
2015-05-24 13:57:08 +00:00
Dirk Dougherty
82159cd537 am 10d44b75: Doc change: Updates to preview and distribute.
* commit '10d44b7581b67d6619c7060ca1d339e0d355c7af':
  Doc change: Updates to preview and distribute.
2015-05-24 12:31:01 +00:00
Dirk Dougherty
10d44b7581 Doc change: Updates to preview and distribute.
Change-Id: I097213ce68d50d10b23840f2ad61f26279293948
2015-05-23 21:17:39 -07:00
Dirk Dougherty
706d749bad Doc change: remove older diffs from static server hosting. Requests will redirect to downloadable zips in cloud storage.
Change-Id: Id3144b172808b1cde555d778f31ad5b4db0d941b
2015-05-23 16:32:50 -07:00
Svet Ganov
a759024394 Merge "Hide pakcage installer system APIs." into mnc-dev 2015-05-23 20:31:55 +00:00
Svet Ganov
0b316706b1 Hide pakcage installer system APIs.
Change-Id: If5245ed2be7a3ebb50a7af924be85894314f6f47
2015-05-23 13:25:11 -07:00
Oliver Woodman
1ddb7caedb am eb09fe5e: Merge "Remove most of ExoPlayer page, replacing it with links to ExoPlayer site." into lmp-docs
* commit 'eb09fe5e3a9911daf4cb8e95145d2a6936aa189d':
  Remove most of ExoPlayer page, replacing it with links to ExoPlayer site.
2015-05-23 11:29:02 +00:00
Oliver Woodman
eb09fe5e3a Merge "Remove most of ExoPlayer page, replacing it with links to ExoPlayer site." into lmp-docs 2015-05-23 11:15:37 +00:00
Joe Fernandez
75a3f34e76 am 3b521a6a: am 38097510: docs: M Preview - Automatic Backups (Dolly) page
* commit '3b521a6ad53710171efee6c2ea72b4c3c5f37101':
  docs: M Preview - Automatic Backups (Dolly) page
2015-05-23 10:22:21 +00:00
Joe Fernandez
3b521a6ad5 am 38097510: docs: M Preview - Automatic Backups (Dolly) page
* commit '380975104a9246c4f72f7882d855aec524267b6f':
  docs: M Preview - Automatic Backups (Dolly) page
2015-05-23 10:08:49 +00:00
Joe Fernandez
380975104a docs: M Preview - Automatic Backups (Dolly) page
Change-Id: Ia9e6815271f5f22d6f11f1d61e68b6670f51a53d
2015-05-23 02:56:29 -07:00
Joe Fernandez
d7c91c0d07 am 08162fec: am 84fff53c: Merge "docs: M Preview - update the preview section TOC" into mnc-preview-docs
* commit '08162fec0c6fe49dbc190457e9a898c961467b60':
  docs: M Preview - update the preview section TOC
2015-05-23 09:39:38 +00:00
Joe Fernandez
08162fec0c am 84fff53c: Merge "docs: M Preview - update the preview section TOC" into mnc-preview-docs
* commit '84fff53cd73ed017ed1f9342d39cc496fe74cac2':
  docs: M Preview - update the preview section TOC
2015-05-23 08:03:24 +00:00
Joe Fernandez
84fff53cd7 Merge "docs: M Preview - update the preview section TOC" into mnc-preview-docs 2015-05-23 07:50:50 +00:00
Joe Fernandez
184aaa7d3a docs: M Preview - update the preview section TOC
Change-Id: I5776d367df3baec13aee27a8e920de9d9b69782d
2015-05-23 00:50:12 -07:00