195607 Commits

Author SHA1 Message Date
Paul Jensen
422f04bc57 Merge "Speed up network transition when WiFi disconnects" into mnc-dev 2015-06-20 01:15:35 +00:00
Paul Jensen
62d308033f Speed up network transition when WiFi disconnects
Before falling back to cellular we used to first delete all the
network routing tables and rules for WiFi.  This isn't necessary
and can take significant time as it requires a lot of netd
shelling out to ip and ip[6]tables to flush routes and remove
the incoming packet mark rule.  Instead have netd delete all the
network routing tables and rules after we've either fallen back
to cellular or at least kicked off a cellular connection attempt.

Bug: 21932815
Change-Id: Iabac4a8b962492682df3073cc41a12e35bc9f1bb
2015-06-20 01:15:20 +00:00
Paul Jensen
2f56a33041 Merge "Add ConnectivityManager.registerNetworkCallback(NetworkRequest, PendingIntent)" into mnc-dev 2015-06-20 01:13:18 +00:00
Paul Jensen
8e21d29f7e Merge "Don't send spurious onAvailable NetworkCallbacks when rematching" into mnc-dev 2015-06-20 01:12:20 +00:00
Adam Powell
b3add4dae2 Merge "Fix regression in viewing app info from ChooserActivity targets" into mnc-dev 2015-06-20 00:46:04 +00:00
Andreas Gampe
ce49be7ee6 Merge "Frameworks/base: Update preloaded-classes" into mnc-dev 2015-06-20 00:25:40 +00:00
Vinit Deshpande
edb832271b Merge "Fix access point list jumping around in WifiSettings" into mnc-dev 2015-06-20 00:24:33 +00:00
Doris Liu
4a79992591 Merge "Fix NumberPicker.setWrapSelectorWheel(boolean) not respecting user choice" into mnc-dev 2015-06-20 00:23:30 +00:00
Quddus Chong
bcca4ac4fb am 0bdd3204: am 4437a129: Merge "docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976" into mnc-preview-docs
* commit '0bdd320402aa3406ece0afd1c89bcd00c21b3f7a':
  docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976
2015-06-20 00:03:00 +00:00
Quddus Chong
19cecd51f9 am a5de0f30: am cdc28652: Merge "docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002" into mnc-preview-docs
* commit 'a5de0f30cf9edfb980f5da3e8329eeb60d77057d':
  docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002
2015-06-20 00:02:55 +00:00
Adrian Roos
b252251144 Merge "Tweak assist disclosure animation" into mnc-dev 2015-06-19 23:51:35 +00:00
Robert Shih
1b98ab3328 Merge "MediaPlayer: documentation for error/info codes." into mnc-dev 2015-06-19 23:49:55 +00:00
Quddus Chong
0bdd320402 am 4437a129: Merge "docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976" into mnc-preview-docs
* commit '4437a1294e26507449b48783a31b422d769af53b':
  docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976
2015-06-19 23:49:15 +00:00
Quddus Chong
a5de0f30cf am cdc28652: Merge "docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002" into mnc-preview-docs
* commit 'cdc28652601d977bd0964d088b9070f6d2ef32d9':
  docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002
2015-06-19 23:49:11 +00:00
Junda Liu
8f87c8249b Merge "Fix spelling of a config variable." into mnc-dev 2015-06-19 23:49:07 +00:00
Adrian Roos
c6d3e0e11d Tweak assist disclosure animation
Bug: 21568059
Change-Id: I81666bed4d4ae3eb1998cfdcc652921bafeae7f2
2015-06-19 16:48:04 -07:00
Robert Shih
706ebb3ad7 MediaPlayer: documentation for error/info codes.
Documented in this change:
MEDIA_ERROR_SYSTEM, and
MEDIA_INFO_NETWORK_BANDWIDTH

Bug: 18237764
Change-Id: I0e1efb5813ab0f65133d4119de7562912947c41d
2015-06-19 16:47:58 -07:00
Christopher Ferris
bf30b4fd92 Merge "Add libwilhelm to app_process." into mnc-dev 2015-06-19 23:46:55 +00:00
Svetoslav
2fbe248c15 Merge "Grant default permissions if perms reset on upgrade." into mnc-dev 2015-06-19 23:43:11 +00:00
Svetoslav
f9f75771cc Grant default permissions if perms reset on upgrade.
Change-Id: I371e8eb42dc8e8953a184d29cc2a3bd2c361097e
2015-06-19 16:42:22 -07:00
Filip Gruszczynski
a51f8b90f5 am 73187e57: am dd91362c: Make sure home activity gets resumed after started.
* commit '73187e5761063340d2092c37f5584c9b56e4a11e':
  Make sure home activity gets resumed after started.
2015-06-19 23:42:16 +00:00
Quddus Chong
4437a1294e Merge "docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976" into mnc-preview-docs 2015-06-19 23:37:43 +00:00
Quddus Chong
cdc2865260 Merge "docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002" into mnc-preview-docs 2015-06-19 23:37:13 +00:00
Doris Liu
bcfdead943 Fix NumberPicker.setWrapSelectorWheel(boolean) not respecting user choice
The issue states that NumberPicker.setWrapSelectorWheel(false) only works
in a specific call order. The underlying problem is that NumberPicker
does not remember user's preference on whether the selector wheel should
be wrapped. Therefore, it only works when user sets their preference last,
after everything else that could affect the choice gets executed.

Bug: 19049714
Change-Id: Ic27d909cb3dd657993a4df9a04c819b6965ad11b
2015-06-19 16:33:39 -07:00
Filip Gruszczynski
73187e5761 am dd91362c: Make sure home activity gets resumed after started.
* commit 'dd91362c2c65dbcd781034a16f293d5489946f3e':
  Make sure home activity gets resumed after started.
2015-06-19 23:28:10 +00:00
David Friedman
8292afedfa am c3fbb0ce: am bee8d60a: Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time.
* commit 'c3fbb0ce6c04ea5ece37bf4529271cb14296135b':
  Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time.
2015-06-19 23:14:08 +00:00
Hyunyoung Song
95499dcbb4 Merge "Change com.android.launcher.permission.INSTALL_SHORTCUT permission to normal level https://docs.google.com/document/d/12H0b6R2tmyIoNoOs2t8PbyzlGFcbxT8OnGpRb6P6c6s/edit" into mnc-dev 2015-06-19 23:07:53 +00:00
Jonathan Basseri
1826c234bc Fix spelling of a config variable.
This is to be consistent with the style/format in CarrierConfigManager.

Fortunately, nothing in packages/apps/CarrierConfig needs to be updated,
since this variable doesn't have any overrides.

Change-Id: I8910abd28d9c0aae68a04dcfcfb2f3d0c0466ca9
2015-06-19 16:07:12 -07:00
David Friedman
c3fbb0ce6c am bee8d60a: Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time.
* commit 'bee8d60a1cdfb380904f8770d933e9031c7f9ff3':
  Fixes a typo where parens were used instead of curly braces, preventing a link from being created at build time.
2015-06-19 23:01:02 +00:00
Alex Klyubin
84a378f256 Merge "Fix a bug in Android Keystore updateAAD." into mnc-dev 2015-06-19 22:53:21 +00:00
Alex Klyubin
ae1e0e9265 Fix a bug in Android Keystore updateAAD.
The variant of CipherSpi.engineUpdateAAD which takes ByteBuffers
delegated to a byte[]-taking variant of superclass instead of its own
class.

Bug: 18088752
Change-Id: I3b426bbdca54bbf7f6f3939589da07b24db14d0d
2015-06-19 15:50:45 -07:00
David Friedman
bee8d60a1c Fixes a typo where parens were used instead of curly braces, preventing
a link from being created at build time.

Change-Id: I4086ce5054cc2d5cacd72314810b626aee50df62
(cherry picked from commit e62f4540cd6ce6289fb0196c8e30c3a3d6905794)
2015-06-19 22:49:40 +00:00
Filip Gruszczynski
dd91362c2c Make sure home activity gets resumed after started.
When there is only one activity and it gets paused, activity manager will
try resuming some other activity. If there is no other activity, it will
start home activity and try to resume it. This will fail, because the
activity stack doesn't want to enter recursive resuming. We need to
detect this situation and schedule additional resume of top activity
after home gets started.

Bug: 21500945
Change-Id: I6ca703f8d97bcc4001e7da4cd5a5db63bfb5c861
2015-06-19 15:40:47 -07:00
Hyunyoung Song
8a1533ed2e Change com.android.launcher.permission.INSTALL_SHORTCUT permission to normal level
https://docs.google.com/document/d/12H0b6R2tmyIoNoOs2t8PbyzlGFcbxT8OnGpRb6P6c6s/edit

b/21853008

Change-Id: If9c4e88fd2074de17814120d111546d6ecf58cf4
2015-06-19 15:27:42 -07:00
Svet Ganov
1e575a0f32 Merge "Only grant runtime permissions to special components." into mnc-dev 2015-06-19 22:26:32 +00:00
Alex Klyubin
53a33da9af Merge "Support more KeySpecs in Android Keystore KeyFactory." into mnc-dev 2015-06-19 22:23:12 +00:00
Svet Ganov
adc1cf4604 Only grant runtime permissions to special components.
Now runtime permissions are granted only to components that are
part of the system or perform special system operations. For
exmple, the shell UID gets its runtime permissions granted by
default and the default phone app gets the phone permissions
granted by default.

bug:21764803

Change-Id: If8b8cadbd1980ffe7a6fc15bbb5f54a425f6e8f9
2015-06-19 15:17:56 -07:00
Amith Yamasani
b94761d0a4 Merge "App Standby : Association between content providers and their sync adapter" into mnc-dev 2015-06-19 22:08:13 +00:00
Amith Yamasani
37a40c24de App Standby : Association between content providers and their sync adapter
Set sync adapters to active if the associated content providers are used
at foreground process state.

Minimize how frequently published content providers are reported by
keeping track of last reported time.

Also cache sync adapters associated with an authority in SyncManager.

Bug: 21785111
Change-Id: Ic2c8cb6a27f005d1a1d0aad21d36b1510160753a
2015-06-19 15:04:58 -07:00
Luan Nguyen
a36de70ad4 am cadd531e: am 4fdaf938: docs: Design section fixes for new templates
* commit 'cadd531ecf740783ee77ed5de8481a8242e4e8c8':
  docs: Design section fixes for new templates
2015-06-19 22:03:03 +00:00
Luan Nguyen
cadd531ecf am 4fdaf938: docs: Design section fixes for new templates
* commit '4fdaf938ee28577324a3068b915c01deb61ade78':
  docs: Design section fixes for new templates
2015-06-19 21:49:59 +00:00
Wale Ogunwale
93297d2086 Merge "Apply the scale to surfaceinsets when computing crop region" into mnc-dev 2015-06-19 21:32:15 +00:00
Quddus Chong
17f9ea77ac docs: Add link from TV design page on DAC to Android TV spec on Google Design site.
bug: 21786976

Change-Id: I7bee3feaa60d5a1a35ce2c1d93b957de150e9b86
2015-06-19 14:30:44 -07:00
Miao Wang
df584d34b5 Merge "[RenderScript] Add documentation for IntrinsicBLAS, and @hide annotations." into mnc-dev 2015-06-19 21:19:56 +00:00
Luan Nguyen
4fdaf938ee docs: Design section fixes for new templates
- Fix a number of pages in the Wear design docs

bug: 21762391
Change-Id: I26c18130cdd925d1b40f525dd209329ca2b5cd15
2015-06-19 14:18:18 -07:00
Adam Lesinski
b6a092990c Merge "BatteryStats: Record doze wake locks" into mnc-dev 2015-06-19 21:13:43 +00:00
Adam Lesinski
9425fe21c9 BatteryStats: Record doze wake locks
Doze wake locks don't actually hold the CPU awake, so we should record them
separately from full wakelocks, which is what we did before.

Bug:21949905
Change-Id: Ib4db3399069e0ad11f1f0dc6925a87ad0ad21ff9
2015-06-19 14:12:01 -07:00
Joe Fernandez
a309f4a041 am a8b518d7: am 041e01bb: am 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs
* commit 'a8b518d7c2ca006ad52d5900ebb3ca831490d373':
  updates: build-cmdline-update
2015-06-19 21:08:08 +00:00
Quddus Chong
a19933bc0a docs: Updated Recommending TV Content lesson to support card customization.
bug: 21787002

Change-Id: I3c94fbce2ac7efff1749b76af3da47506812972c
2015-06-19 14:03:20 -07:00
Joe Fernandez
a8b518d7c2 am 041e01bb: am 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs
* commit '041e01bbdffa85b9b5ffba201d36bd566eaa2651':
  updates: build-cmdline-update
2015-06-19 20:59:03 +00:00