John Reck
65f2defdfc
resolve merge conflicts of cabf8a7 to master.
...
Change-Id: If0ca1c37d05f5dc471d88a3bf158dd68a1880bbf
2014-11-07 11:29:08 -08:00
Jeff Davidson
d4f40c06a5
am 6eab8d67: am d9475786: am ea09c7da: Merge "Let scorers fine-tune scoring heuristics." into lmp-mr1-dev
...
* commit '6eab8d67c383791e14635e5b3041b324681fe85f':
Let scorers fine-tune scoring heuristics.
2014-11-07 18:49:53 +00:00
John Reck
cabf8a7064
am f7d3ce6a: am 4b19b7aa: Merge "Fix wrong-thread issue" into lmp-mr1-dev
...
* commit 'f7d3ce6a3ca88b23a227e29a5fa3285e24f7b2b1':
Fix wrong-thread issue
2014-11-07 18:48:43 +00:00
Jeff Davidson
6eab8d67c3
am d9475786: am ea09c7da: Merge "Let scorers fine-tune scoring heuristics." into lmp-mr1-dev
...
* commit 'd9475786081fd89769901685bb9ba42f00da976d':
Let scorers fine-tune scoring heuristics.
2014-11-07 18:43:23 +00:00
John Reck
4b19b7aaff
Merge "Fix wrong-thread issue" into lmp-mr1-dev
2014-11-07 18:34:55 +00:00
John Reck
12f5e34332
Fix wrong-thread issue
...
Bug: 18259560
Change-Id: Ic63a86efba9c86f21defac0695a73db8b09ae284
2014-11-07 10:31:53 -08:00
Jeff Davidson
ea09c7da01
Merge "Let scorers fine-tune scoring heuristics." into lmp-mr1-dev
2014-11-07 17:38:38 +00:00
Ignacio Solla
0aba408a81
am ad87ec5b: am cf045ea8: am 803908b0: Merge "[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting." into lmp-mr1-dev
...
* commit 'ad87ec5bbaa911c364a1b9626c7e89de71e47552':
[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting.
2014-11-07 10:14:53 +00:00
Ignacio Solla
ad87ec5bba
am cf045ea8: am 803908b0: Merge "[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting." into lmp-mr1-dev
...
* commit 'cf045ea8e4b91ac662d0aff74df429a2569d8e46':
[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting.
2014-11-07 10:08:22 +00:00
Ignacio Solla
803908b0db
Merge "[WebView] Remove WEBVIEW_DATA_REDUCTION_PROXY setting." into lmp-mr1-dev
2014-11-07 09:44:59 +00:00
Winson Chung
c5f9ec3e27
am 675a0b6b: am 513aa792: am 3ed9f2f9: Merge "Adding bounce animation for affiliated tasks. (Bug 16656169)" into lmp-mr1-dev
...
* commit '675a0b6bc9ee2f2e80f28381c0f34d98e0447ad6':
Adding bounce animation for affiliated tasks. (Bug 16656169)
2014-11-07 04:17:02 +00:00
Yohei Yukawa
2297d22659
am d1f629f3: am 42be51bd: Merge "Minimize the number of default enabled IMEs part 4" into lmp-mr1-dev automerge: 50ef3d9
...
* commit 'd1f629f36ba35d86e37732a145aad771f9e6b23c':
Minimize the number of default enabled IMEs part 4
2014-11-07 03:56:14 +00:00
Jeremy Joslin
e4fb9419d8
am 93f515f9: am 91fff05b: Merge "Implemented requestNetwork with a PendingIntent." into lmp-mr1-dev automerge: 1a2b99e
...
* commit '93f515f99030f3c8d54005cc0cf600ca06e215b1':
Implemented requestNetwork with a PendingIntent.
2014-11-07 03:55:38 +00:00
Amith Yamasani
c179e4adc8
am f6c8169a: am 26d8d1d5: Merge "Fix singleUser provider grants" into lmp-mr1-dev automerge: 775d104
...
* commit 'f6c8169a684183d5149fc7d41b92adbb1700dab5':
Fix singleUser provider grants
2014-11-07 03:55:33 +00:00
Winson Chung
675a0b6bc9
am 513aa792: am 3ed9f2f9: Merge "Adding bounce animation for affiliated tasks. (Bug 16656169)" into lmp-mr1-dev
...
* commit '513aa79290dd17400c4cce82d1d801c05ff3776f':
Adding bounce animation for affiliated tasks. (Bug 16656169)
2014-11-07 01:45:11 +00:00
Winson Chung
3ed9f2f903
Merge "Adding bounce animation for affiliated tasks. (Bug 16656169)" into lmp-mr1-dev
2014-11-07 01:30:20 +00:00
Yohei Yukawa
d1f629f36b
am 42be51bd: Merge "Minimize the number of default enabled IMEs part 4" into lmp-mr1-dev automerge: 50ef3d9
...
* commit '42be51bd98660b608596e6a8db63735ae552c996':
Minimize the number of default enabled IMEs part 4
2014-11-07 00:09:50 +00:00
Jeremy Joslin
93f515f990
am 91fff05b: Merge "Implemented requestNetwork with a PendingIntent." into lmp-mr1-dev automerge: 1a2b99e
...
* commit '91fff05ba93b6c78e1744159f97bc0448e22115c':
Implemented requestNetwork with a PendingIntent.
2014-11-07 00:06:54 +00:00
Amith Yamasani
f6c8169a68
am 26d8d1d5: Merge "Fix singleUser provider grants" into lmp-mr1-dev automerge: 775d104
...
* commit '26d8d1d5cb6553686028948a63c5d3c507f0b40c':
Fix singleUser provider grants
2014-11-07 00:06:48 +00:00
Justin Koh
402a360111
am 4ca342cd: am 2d42f484: am b8038d58: Merge "Hide Surface#lockHardwareCanvas DO NOT MERGE" into lmp-sprout-dev
...
* commit '4ca342cdba6fb2637415cfeb6e579cc662763daf':
Hide Surface#lockHardwareCanvas DO NOT MERGE
2014-11-07 00:05:54 +00:00
Yohei Yukawa
50ef3d93ad
Merge "Minimize the number of default enabled IMEs part 4" into lmp-mr1-dev
2014-11-06 23:45:23 +00:00
Winson Chung
044d52934e
Adding bounce animation for affiliated tasks. (Bug 16656169)
...
Change-Id: I39e4a57c4e6b707d15513dacde2d40c23bb05058
2014-11-06 14:02:35 -08:00
Jeremy Joslin
1a2b99ea26
Merge "Implemented requestNetwork with a PendingIntent." into lmp-mr1-dev
2014-11-06 20:51:24 +00:00
Amith Yamasani
775d104db2
Merge "Fix singleUser provider grants" into lmp-mr1-dev
2014-11-06 20:51:02 +00:00
Justin Koh
2d42f48449
am b8038d58: Merge "Hide Surface#lockHardwareCanvas DO NOT MERGE" into lmp-sprout-dev
...
* commit 'b8038d58da04456e9e7b6e264af69226bf21592c':
Hide Surface#lockHardwareCanvas DO NOT MERGE
2014-11-06 20:33:36 +00:00
Jeff Davidson
7f38664ea5
Let scorers fine-tune scoring heuristics.
...
Documents Byte#MIN_VALUE as being equivalent to a null score. This
enables scorers to pick a threshold below which a network won't be
used, by setting the score at any RSSI below that threshold to this
value.
Also adds an "RSSI boost" for the active network, so that we avoid
unnecessary switches between two closely-scored networks due to small
fluctuations in signal strength.
Bug: 15432594
Change-Id: I7a8f5f68ef074827d4b1cfbbed0841448498f179
2014-11-06 11:49:56 -08:00
Jeremy Joslin
46e3ac8bbc
Implemented requestNetwork with a PendingIntent.
...
ConnectivityManager.requestNetwork(NetworkRequest, PendingIntent)
was unhidden and implemented.
Added ConnectivityManager.removePendingIntentRequest(PendingIntent) as
the companion method.
Bug: 17356414
Change-Id: I656a1e149cc1292c443ebfe9e61ee3eb5a80f143
2014-11-06 11:43:27 -08:00
Adrian Roos
e8dce89a83
am 34c45bb9: am b2a6c7b8: am 418f4ed0: Merge "Round charging indication to nearest minute" into lmp-mr1-dev
...
* commit '34c45bb953f3fc230207bacb1a3b4d073068ca9f':
Round charging indication to nearest minute
2014-11-06 16:36:04 +00:00
Adrian Roos
34c45bb953
am b2a6c7b8: am 418f4ed0: Merge "Round charging indication to nearest minute" into lmp-mr1-dev
...
* commit 'b2a6c7b83f894922663e7144048264af96239a1e':
Round charging indication to nearest minute
2014-11-06 16:31:43 +00:00
Adrian Roos
418f4ed077
Merge "Round charging indication to nearest minute" into lmp-mr1-dev
2014-11-06 16:22:06 +00:00
Yohei Yukawa
b21220efae
Minimize the number of default enabled IMEs part 4
...
This is a follow up CL for recent attempt to minimize
the number of default enabled IMEs.
- part1: I831502db502f4073c9c2f50ce7705a4e45e2e1e3
- part2: Ife93d909fb8a24471c425c903e2b7048826e17a3
- part3: I6571d464a46453934f0a8f5e79018a67a9a3c845
It turned out that the changes made in part2 and part3 are
a bit overkill, and users will see no software keyboards
in some particular situations. The problem we missed in
the previous CLs is the fact that
InputMethodInfo#isDefault is indeed a locale-dependent
value, hence it may vary depending on the system locale.
Existing unittests also failed to abstract such
locale-dependent nature.
In order to addresses that regression, the selection logic
is a bit widely reorganized in this CL. Now the logic is
implemented as a series of fallback rules.
Also, unit tests are updated to be able to 1) test the
order of the enabled IMEs, and 2) emulate the
locale-dependent behavior of InputMethodInfo#isDefault
to enrich test cases.
BUG: 17347871
BUG: 18192576
Change-Id: I871ccda787eb0f1099ba3574356c1da4b33681f3
2014-11-06 15:28:06 +09:00
Jim Miller
cc56956025
am 767ae175: am 6230cdf5: am 262dc4da: Merge "Update TrustAgentService API after review" into lmp-mr1-dev
...
* commit '767ae175fab5a93f4948b3722549448eb4b55e41':
Update TrustAgentService API after review
2014-11-06 03:12:08 +00:00
Jim Miller
767ae175fa
am 6230cdf5: am 262dc4da: Merge "Update TrustAgentService API after review" into lmp-mr1-dev
...
* commit '6230cdf5721f11660e2c0fec1c5695346a9001d0':
Update TrustAgentService API after review
2014-11-06 03:07:09 +00:00
Jim Miller
262dc4dafe
Merge "Update TrustAgentService API after review" into lmp-mr1-dev
2014-11-06 02:52:20 +00:00
Jim Miller
e303bf4435
Update TrustAgentService API after review
...
This change incorporates API council feedback and enables the
TrustAgent whitelisting API.
It also contains a minor cleanup of DPM's use of UserHandle
to eliminate unnecessary object creation.
Fixes bug 17008504
Change-Id: I63cc50169fde54b34406845818bcaf6aadc1a3db
2014-11-05 18:17:56 -08:00
Jeff Davidson
83bdea71c9
am 63226dd8: Merge "Allow apps with SCORE_NETWORKS to set the active scorer." into lmp-mr1-dev automerge: 24f535b
...
automerge: f680c84
* commit 'f680c8434a737873c98231f6d9863e71c43a6783':
Allow apps with SCORE_NETWORKS to set the active scorer.
2014-11-06 02:09:10 +00:00
Jeff Davidson
f680c8434a
am 63226dd8: Merge "Allow apps with SCORE_NETWORKS to set the active scorer." into lmp-mr1-dev automerge: 24f535b
...
* commit '63226dd8f3570bd3b28e4241668843385ba99c2d':
Allow apps with SCORE_NETWORKS to set the active scorer.
2014-11-06 01:48:45 +00:00
Jeff Davidson
24f535b873
Merge "Allow apps with SCORE_NETWORKS to set the active scorer." into lmp-mr1-dev
2014-11-06 01:25:04 +00:00
Robert Greenwalt
ed9fb4a122
am c47a9127: am a4f34edd: am 7efdb83c: Merge "Fix Legacy typing of net-specific requests." into lmp-mr1-dev
...
* commit 'c47a91273c42a2ebd9f6e154d99dcdc51a185609':
Fix Legacy typing of net-specific requests.
2014-11-06 00:12:52 +00:00
George Mount
ac418e07f7
am a3fdc18f: am aa627037: am c838b677: Merge "Cancel animation when target changes." into lmp-mr1-dev
...
* commit 'a3fdc18fd7a8191d7452e63823d7c4589dd5c894':
Cancel animation when target changes.
2014-11-06 00:12:39 +00:00
Amith Yamasani
7d2d4fd55e
Fix singleUser provider grants
...
Fake the Uri for grant check, if we're checking access to
a singleUser provider. Inject the userId in the authority
so that the grant can be matched properly.
Bug: 18194892
Change-Id: I4a55ce593ac21722f394e89e13350aa205d76336
2014-11-05 15:46:09 -08:00
Robert Greenwalt
c47a91273c
am a4f34edd: am 7efdb83c: Merge "Fix Legacy typing of net-specific requests." into lmp-mr1-dev
...
* commit 'a4f34eddb3b46a81ce90a9eded54b35b62e40337':
Fix Legacy typing of net-specific requests.
2014-11-05 23:45:03 +00:00
Robert Greenwalt
7efdb83cee
Merge "Fix Legacy typing of net-specific requests." into lmp-mr1-dev
2014-11-05 23:36:01 +00:00
George Mount
a3fdc18fd7
am aa627037: am c838b677: Merge "Cancel animation when target changes." into lmp-mr1-dev
...
* commit 'aa6270375263ebf6da4f2f0de31df808eb278563':
Cancel animation when target changes.
2014-11-05 23:15:00 +00:00
Robert Greenwalt
06314e4eab
Fix Legacy typing of net-specific requests.
...
We're starting to get network requests for specific SIMs
and the Legacy Type Inference was broken because the incoming
request included a network specifier while the legacy requests
it was compared with did not. Only compare the things we care
about.
bug:18031008
Change-Id: If107042828c152ede51a2497a3859bc1a6c83694
2014-11-05 15:06:20 -08:00
George Mount
c838b67774
Merge "Cancel animation when target changes." into lmp-mr1-dev
2014-11-05 23:04:18 +00:00
Jeff Davidson
e56f2bb5ec
Allow apps with SCORE_NETWORKS to set the active scorer.
...
This allows for a more streamlined UX in the current world, where
scorer apps are trusted (by virtue of being in /system/priv-app).
Trusted apps can continue to use the system dialog for consent, but
they may also set the scorer directly, under the assumption that they
are using their own consent UX to explain the feature to the user.
Bug: 16577529
Change-Id: I2a6edb7f1f688aaacf9b0152fa1da1a88636c3dc
2014-11-05 14:25:20 -08:00
Jeff Davidson
3527aa01cd
am fb68a976: am dd40ccf3: am b42bdef5: Merge "Rename BROADCAST_SCORE_NETWORKS to BROADCAST_NETWORK_PRIVILEGED." into lmp-mr1-dev
...
* commit 'fb68a9762087a262146eec5d0e0d3fbdbdf25b6b':
Rename BROADCAST_SCORE_NETWORKS to BROADCAST_NETWORK_PRIVILEGED.
2014-11-05 21:48:16 +00:00
Jeff Davidson
fb68a97620
am dd40ccf3: am b42bdef5: Merge "Rename BROADCAST_SCORE_NETWORKS to BROADCAST_NETWORK_PRIVILEGED." into lmp-mr1-dev
...
* commit 'dd40ccf36203c740aea3849f54495d1287d02b2b':
Rename BROADCAST_SCORE_NETWORKS to BROADCAST_NETWORK_PRIVILEGED.
2014-11-05 21:43:10 +00:00
Jeff Davidson
b42bdef51c
Merge "Rename BROADCAST_SCORE_NETWORKS to BROADCAST_NETWORK_PRIVILEGED." into lmp-mr1-dev
2014-11-05 21:33:16 +00:00