131725 Commits

Author SHA1 Message Date
John Spurlock
4f3693de49 am 860107a2: Merge "Do not disturb: persist user config."
* commit '860107a2cced79f4a19542bfd19676367951ee49':
  Do not disturb: persist user config.
2014-04-22 15:09:53 +00:00
John Spurlock
860107a2cc Merge "Do not disturb: persist user config." 2014-04-22 15:03:08 +00:00
John Spurlock
056c519df1 Do not disturb: persist user config.
Load and store user configuration for do not disturb.  Separate
out service-related aspects into new helper.  Make config availble
over NoMan for settings.

Implement phone + message based filtering (package whitelist for now).

Implement automatic enter/exit zen mode overnight scheduler.

Bug:14211946
Change-Id: Ib28aab0e4c5c9a5fd0b950b2884b1ab618fdfeca
2014-04-22 11:01:24 -04:00
Baligh Uddin
4fb62f6549 am 49c4aeef: (-s ours) am 94723401: (-s ours) am 04acf38c: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '49c4aeef081d7c9f075027cd9112858cdcab8166':
  Import translations. DO NOT MERGE
2014-04-22 14:57:46 +00:00
Baligh Uddin
49c4aeef08 am 94723401: (-s ours) am 04acf38c: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '94723401bdfaf2d1a5c792654fe18d7f6d21607e':
  Import translations. DO NOT MERGE
2014-04-22 14:52:43 +00:00
Baligh Uddin
94723401bd am 04acf38c: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '04acf38ce281f86bd0f28485405c59e489657dfb':
  Import translations. DO NOT MERGE
2014-04-22 14:49:14 +00:00
Baligh Uddin
ad01b9626a am af57bb91: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'af57bb911ae57b21569dc1bf19048eaa05fbefb8':
  Import translations. DO NOT MERGE
2014-04-22 14:48:50 +00:00
Baligh Uddin
04acf38ce2 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-22 14:46:28 +00:00
Baligh Uddin
af57bb911a Merge "Import translations. DO NOT MERGE" 2014-04-22 14:46:26 +00:00
Ji-Hwan Lee
1da9d8f05d am ab47ff18: Merge "Add config resource for disabling KeyguardService"
* commit 'ab47ff18c44c3e287ca1c8e302a7dbfad11e0aa5':
  Add config resource for disabling KeyguardService
2014-04-22 14:17:37 +00:00
Ji-Hwan Lee
ab47ff18c4 Merge "Add config resource for disabling KeyguardService" 2014-04-22 14:14:21 +00:00
Andrew Solovay
591ba0dc59 am cd8f0c58: am 97b7208f: am da1a10f7: am c68e2089: am 3555e4ae: Fixed a typo in a code sample.
* commit 'cd8f0c58bb42e910a0a09cc37cbb15d308c96ce1':
  Fixed a typo in a code sample.
2014-04-22 13:49:18 +00:00
Andrew Solovay
cd8f0c58bb am 97b7208f: am da1a10f7: am c68e2089: am 3555e4ae: Fixed a typo in a code sample.
* commit '97b7208fa436d279b5a7cc4fc582e7ba89181a84':
  Fixed a typo in a code sample.
2014-04-22 13:41:50 +00:00
Guang Zhu
8ee0fe395b am bc3c1ad9: am 65bcc3ff: am 6c0454ec: Merge "add bt instrumentation to run as a util" into klp-modular-dev
* commit 'bc3c1ad9606d1571932af0585053fdb85422138b':
  add bt instrumentation to run as a util
2014-04-22 13:39:31 +00:00
Craig Mautner
b25910ea52 am 6c83b77b: am 43c6a98f: am 6985badc: Fix black ActivityView
* commit '6c83b77b87a1f8b247874c9544d4975d13da7d23':
  Fix black ActivityView
2014-04-22 13:39:28 +00:00
Craig Mautner
36ea20ce0e am 6e2a3542: am 51bd56c9: am 6cdf51f2: Don\'t use finalize on ActivityView to cleanup.
* commit '6e2a3542e1ee6797d157a3e19f9ff0508523d8f3':
  Don't use finalize on ActivityView to cleanup.
2014-04-22 13:39:24 +00:00
Craig Mautner
26f31dccfd am 7ad27288: am c00c89b1: am f4c909bc: Fix ActivityView lifecycle
* commit '7ad27288f1b66733a4fcb2bdcb17dd5db6c6423d':
  Fix ActivityView lifecycle
2014-04-22 13:39:20 +00:00
Andrew Solovay
97b7208fa4 am da1a10f7: am c68e2089: am 3555e4ae: Fixed a typo in a code sample.
* commit 'da1a10f727746f9f85c576adb2c4c91c552255f3':
  Fixed a typo in a code sample.
2014-04-22 13:36:44 +00:00
Guang Zhu
bc3c1ad960 am 65bcc3ff: am 6c0454ec: Merge "add bt instrumentation to run as a util" into klp-modular-dev
* commit '65bcc3ff9212514a000ccdcc4d8295ddaedcef92':
  add bt instrumentation to run as a util
2014-04-22 13:33:13 +00:00
Craig Mautner
6c83b77b87 am 43c6a98f: am 6985badc: Fix black ActivityView
* commit '43c6a98f0ffe079429735a485acaa81841740fac':
  Fix black ActivityView
2014-04-22 13:33:08 +00:00
Craig Mautner
6e2a3542e1 am 51bd56c9: am 6cdf51f2: Don\'t use finalize on ActivityView to cleanup.
* commit '51bd56c953e2bd860e4a2d97a0bf95267cf3fda2':
  Don't use finalize on ActivityView to cleanup.
2014-04-22 13:33:04 +00:00
Craig Mautner
7ad27288f1 am c00c89b1: am f4c909bc: Fix ActivityView lifecycle
* commit 'c00c89b1add5bcbf6a76287c9a3384877449c746':
  Fix ActivityView lifecycle
2014-04-22 13:32:54 +00:00
Guang Zhu
65bcc3ff92 am 6c0454ec: Merge "add bt instrumentation to run as a util" into klp-modular-dev
* commit '6c0454ecae4fe46b7032299d02fc6da80f171ed2':
  add bt instrumentation to run as a util
2014-04-22 13:27:56 +00:00
Craig Mautner
43c6a98f0f am 6985badc: Fix black ActivityView
* commit '6985badc632f2ff8425aa86423577a96eafc49e9':
  Fix black ActivityView
2014-04-22 13:27:53 +00:00
Craig Mautner
51bd56c953 am 6cdf51f2: Don\'t use finalize on ActivityView to cleanup.
* commit '6cdf51f21df1ca2397618635767e6e53a65799ad':
  Don't use finalize on ActivityView to cleanup.
2014-04-22 13:27:49 +00:00
Craig Mautner
c00c89b1ad am f4c909bc: Fix ActivityView lifecycle
* commit 'f4c909bcb87d6f103c9f9e8255fa61bd86f4de67':
  Fix ActivityView lifecycle
2014-04-22 13:27:44 +00:00
Andrew Solovay
da1a10f727 am c68e2089: am 3555e4ae: Fixed a typo in a code sample.
* commit 'c68e2089755dc35b34d620944bcceb63e1283015':
  Fixed a typo in a code sample.
2014-04-22 13:27:09 +00:00
Winson Chung
3b0579a256 am 6513f35c: Merge "Fixing transition from tasks excluded from Recents into Recents."
* commit '6513f35cbb2b72d89e5fa72c6d6e7d95b899bd23':
  Fixing transition from tasks excluded from Recents into Recents.
2014-04-22 13:24:34 +00:00
Alan Viverette
8c6c260aa4 am 4899e66d: Merge "Add touch feedback to edit text"
* commit '4899e66db9897279e4ae704b139c50b384a1ae34':
  Add touch feedback to edit text
2014-04-22 13:24:30 +00:00
Youngsang Cho
ac27f9f488 am 6b2c07cb: Merge "Add overlay view in Tv Input Framework"
* commit '6b2c07cb3655b0f98990961e15c2b6077aaad5ca':
  Add overlay view in Tv Input Framework
2014-04-22 13:24:24 +00:00
Jeff Davidson
71dd3d9121 am 2ca3962b: Merge "Initial implementation of NetworkScoreManager\'s backing service."
* commit '2ca3962bc0168d360cf9567a313608347da51944':
  Initial implementation of NetworkScoreManager's backing service.
2014-04-22 13:24:14 +00:00
Andrew Solovay
c68e208975 am 3555e4ae: Fixed a typo in a code sample.
* commit '3555e4aef0d5664645e35d33779bf1bd140a7e50':
  Fixed a typo in a code sample.
2014-04-22 13:20:44 +00:00
Ji-Hwan Lee
25eb3d0ce4 Add config resource for disabling KeyguardService
Bug: 14102545
Change-Id: I0c7936e16a8bda98e49e6a2c396117d7a8fd5664
2014-04-22 12:39:26 +09:00
Guang Zhu
6c0454ecae Merge "add bt instrumentation to run as a util" into klp-modular-dev 2014-04-22 03:33:47 +00:00
Guang Zhu
03800b8873 add bt instrumentation to run as a util
some bt test util methods are useful as device setup util, this
change exposes some of them via a BluetoothInstrumentation so
that they can be invoked like commands for setting up or
controlling bt state in test harness

Change-Id: I1d40baf374e145ab550ae4fa5f581e2eaf2e29bb
2014-04-21 19:06:17 -07:00
Winson Chung
6513f35cbb Merge "Fixing transition from tasks excluded from Recents into Recents." 2014-04-22 00:33:37 +00:00
Alan Viverette
4899e66db9 Merge "Add touch feedback to edit text" 2014-04-22 00:31:55 +00:00
Alan Viverette
c3f35b01b5 Add touch feedback to edit text
Change-Id: Id25692bfa40f5145d6ca807111bbd5d0c4774d07
2014-04-21 17:30:22 -07:00
Youngsang Cho
6b2c07cb36 Merge "Add overlay view in Tv Input Framework" 2014-04-22 00:29:49 +00:00
Andrew Solovay
3555e4aef0 Fixed a typo in a code sample.
Fix is staged to: http://asolovay.mtv.corp.google.com:9000/guide/topics/ui/actionbar.html#Dropdown

Bug: 14043905

Change-Id: I8b71d55d51bf88ab9790309e6e63e755d03b2c85
2014-04-22 00:04:39 +00:00
Jeff Davidson
2ca3962bc0 Merge "Initial implementation of NetworkScoreManager's backing service." 2014-04-22 00:02:47 +00:00
Jeff Davidson
6a4b220f12 Initial implementation of NetworkScoreManager's backing service.
This service will ultimately be responsible for propagating scores
down to lower-level network subsystems. For now, it just keeps scores
in memory and exposes these for debugging purposes via "adb shell
dumpsys network_score".

This change also adds provisioning of a default scorer. When
NetworkScoreService is first initialized, it checks to see if it has
ever set a default scorer; if not, it reads a package name from a
build config property and attempts to set it as the default.

Also add autogenerated equals/hashCode methods to all parcelables.

Bug: 14111427
Bug: 13786258
Change-Id: I02271171653d42e12acd240b73b9e23950744f6b
2014-04-21 16:04:05 -07:00
Craig Mautner
6985badc63 Fix black ActivityView
Don't add the surface to the VirtualDisplay until the activity
has drawn. That will keep the TextureView from turning black.

Fixes bug 12821632.

Change-Id: Ia06e9f91be3e14ad724f735ae4e201ac798863a2
2014-04-21 15:28:43 -07:00
Craig Mautner
6cdf51f21d Don't use finalize on ActivityView to cleanup.
Use a static object to contain the IActivityContainer reference
rather than storing it directly in the ActivityView itself. Then
when the ActivityView gives up the reference we can use a clean
finalize() call to release the IActivityContainer.

Fixes bug 14184756.

Change-Id: I7e05fcce3040b2b958f7c9cd030d5e3b745f3169
2014-04-21 15:28:43 -07:00
Craig Mautner
f4c909bcb8 Fix ActivityView lifecycle
Major changes to maintain the VirtualDisplay across repeated
attach/detach cycles of an ActivityView. This keeps the activities
and VirtualDisplays in the ActivityView from getting into bad states.

Fixes bug 14107002.

Change-Id: Idc2aaf85ac496eab0eeb436736cb10a2020040e8
2014-04-21 15:28:42 -07:00
Robert Greenwalt
fc4ecf3e96 am 3a025393: Merge "Make sure events handled on same looper"
* commit '3a025393b50658b988411fbbb7435f8f87a4e16e':
  Make sure events handled on same looper
2014-04-21 22:26:00 +00:00
Robert Greenwalt
3a025393b5 Merge "Make sure events handled on same looper" 2014-04-21 22:21:24 +00:00
Robert Greenwalt
2c9f5475be Make sure events handled on same looper
Two handlers are used to call a function, but the init was not forcing them on the
same looper/thread, so we could get synchronization problems as a result.

Moved to a single looper.

Also added finally clauses to clean up if a broadcast throws an uncaught exception.

bug:13399768
Change-Id: I0044e2442335ee45a15588f910064e848cf6ac55
2014-04-21 15:12:06 -07:00
Winson Chung
26ccc944dd am cdc3a47d: Merge "Overriding application icon with activity icon where available."
* commit 'cdc3a47d4f0394893fd8670761ee0078ce7fcce1':
  Overriding application icon with activity icon where available.
2014-04-21 22:10:26 +00:00
Winson Chung
cdc3a47d4f Merge "Overriding application icon with activity icon where available." 2014-04-21 22:05:20 +00:00