OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Occasionally retest for captive portals once detected" into mnc-dev
Paul Jensen [Sat, 20 Jun 2015 01:16:19 +0000 (01:16 +0000)]
Merge "Occasionally retest for captive portals once detected" into mnc-dev

9 years agoMerge "Speed up network transition when WiFi disconnects" into mnc-dev
Paul Jensen [Sat, 20 Jun 2015 01:15:33 +0000 (01:15 +0000)]
Merge "Speed up network transition when WiFi disconnects" into mnc-dev

9 years agoSpeed up network transition when WiFi disconnects
Paul Jensen [Wed, 17 Jun 2015 18:42:30 +0000 (14:42 -0400)]
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

9 years agoMerge "Add ConnectivityManager.registerNetworkCallback(NetworkRequest, PendingIntent...
Paul Jensen [Sat, 20 Jun 2015 01:13:16 +0000 (01:13 +0000)]
Merge "Add ConnectivityManager.registerNetworkCallback(NetworkRequest, PendingIntent)" into mnc-dev

9 years agoMerge "Don't send spurious onAvailable NetworkCallbacks when rematching" into mnc-dev
Paul Jensen [Sat, 20 Jun 2015 01:12:18 +0000 (01:12 +0000)]
Merge "Don't send spurious onAvailable NetworkCallbacks when rematching" into mnc-dev

9 years agoMerge "Fix regression in viewing app info from ChooserActivity targets" into mnc-dev
Adam Powell [Sat, 20 Jun 2015 00:46:03 +0000 (00:46 +0000)]
Merge "Fix regression in viewing app info from ChooserActivity targets" into mnc-dev

9 years agoMerge "Frameworks/base: Update preloaded-classes" into mnc-dev
Andreas Gampe [Sat, 20 Jun 2015 00:25:26 +0000 (00:25 +0000)]
Merge "Frameworks/base: Update preloaded-classes" into mnc-dev

9 years agoMerge "Fix access point list jumping around in WifiSettings" into mnc-dev
Vinit Deshpande [Sat, 20 Jun 2015 00:24:31 +0000 (00:24 +0000)]
Merge "Fix access point list jumping around in WifiSettings" into mnc-dev

9 years agoMerge "Fix NumberPicker.setWrapSelectorWheel(boolean) not respecting user choice...
Doris Liu [Sat, 20 Jun 2015 00:23:24 +0000 (00:23 +0000)]
Merge "Fix NumberPicker.setWrapSelectorWheel(boolean) not respecting user choice" into mnc-dev

9 years agoam 0bdd3204: am 4437a129: Merge "docs: Add link from TV design page on DAC to Android...
Quddus Chong [Sat, 20 Jun 2015 00:03:00 +0000 (00:03 +0000)]
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

9 years agoam a5de0f30: am cdc28652: Merge "docs: Updated Recommending TV Content lesson to...
Quddus Chong [Sat, 20 Jun 2015 00:02:55 +0000 (00:02 +0000)]
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

9 years agoMerge "Tweak assist disclosure animation" into mnc-dev
Adrian Roos [Fri, 19 Jun 2015 23:51:20 +0000 (23:51 +0000)]
Merge "Tweak assist disclosure animation" into mnc-dev

9 years agoMerge "MediaPlayer: documentation for error/info codes." into mnc-dev
Robert Shih [Fri, 19 Jun 2015 23:49:44 +0000 (23:49 +0000)]
Merge "MediaPlayer: documentation for error/info codes." into mnc-dev

9 years agoam 4437a129: Merge "docs: Add link from TV design page on DAC to Android TV spec...
Quddus Chong [Fri, 19 Jun 2015 23:49:15 +0000 (23:49 +0000)]
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

9 years agoam cdc28652: Merge "docs: Updated Recommending TV Content lesson to support card...
Quddus Chong [Fri, 19 Jun 2015 23:49:11 +0000 (23:49 +0000)]
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

9 years agoMerge "Fix spelling of a config variable." into mnc-dev
Junda Liu [Fri, 19 Jun 2015 23:48:57 +0000 (23:48 +0000)]
Merge "Fix spelling of a config variable." into mnc-dev

9 years agoTweak assist disclosure animation
Adrian Roos [Fri, 19 Jun 2015 22:57:25 +0000 (15:57 -0700)]
Tweak assist disclosure animation

Bug: 21568059
Change-Id: I81666bed4d4ae3eb1998cfdcc652921bafeae7f2

9 years agoMediaPlayer: documentation for error/info codes.
Robert Shih [Fri, 19 Jun 2015 18:14:00 +0000 (11:14 -0700)]
MediaPlayer: documentation for error/info codes.

Documented in this change:
MEDIA_ERROR_SYSTEM, and
MEDIA_INFO_NETWORK_BANDWIDTH

Bug: 18237764
Change-Id: I0e1efb5813ab0f65133d4119de7562912947c41d

9 years agoMerge "Add libwilhelm to app_process." into mnc-dev
Christopher Ferris [Fri, 19 Jun 2015 23:46:53 +0000 (23:46 +0000)]
Merge "Add libwilhelm to app_process." into mnc-dev

9 years agoMerge "Grant default permissions if perms reset on upgrade." into mnc-dev
Svetoslav [Fri, 19 Jun 2015 23:43:10 +0000 (23:43 +0000)]
Merge "Grant default permissions if perms reset on upgrade." into mnc-dev

9 years agoGrant default permissions if perms reset on upgrade.
Svetoslav [Fri, 19 Jun 2015 23:42:22 +0000 (16:42 -0700)]
Grant default permissions if perms reset on upgrade.

Change-Id: I371e8eb42dc8e8953a184d29cc2a3bd2c361097e

9 years agoam 73187e57: am dd91362c: Make sure home activity gets resumed after started.
Filip Gruszczynski [Fri, 19 Jun 2015 23:42:16 +0000 (23:42 +0000)]
am 73187e57: am dd91362c: Make sure home activity gets resumed after started.

* commit '73187e5761063340d2092c37f5584c9b56e4a11e':
  Make sure home activity gets resumed after started.

9 years agoMerge "docs: Add link from TV design page on DAC to Android TV spec on Google Design...
Quddus Chong [Fri, 19 Jun 2015 23:37:39 +0000 (23:37 +0000)]
Merge "docs: Add link from TV design page on DAC to Android TV spec on Google Design site. bug: 21786976" into mnc-preview-docs

9 years agoMerge "docs: Updated Recommending TV Content lesson to support card customization...
Quddus Chong [Fri, 19 Jun 2015 23:37:10 +0000 (23:37 +0000)]
Merge "docs: Updated Recommending TV Content lesson to support card customization. bug: 21787002" into mnc-preview-docs

9 years agoFix NumberPicker.setWrapSelectorWheel(boolean) not respecting user choice
Doris Liu [Fri, 19 Jun 2015 22:00:24 +0000 (15:00 -0700)]
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

9 years agoam dd91362c: Make sure home activity gets resumed after started.
Filip Gruszczynski [Fri, 19 Jun 2015 23:28:10 +0000 (23:28 +0000)]
am dd91362c: Make sure home activity gets resumed after started.

* commit 'dd91362c2c65dbcd781034a16f293d5489946f3e':
  Make sure home activity gets resumed after started.

9 years agoam c3fbb0ce: am bee8d60a: Fixes a typo where parens were used instead of curly braces...
David Friedman [Fri, 19 Jun 2015 23:14:08 +0000 (23:14 +0000)]
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.

9 years agoMerge "Change com.android.launcher.permission.INSTALL_SHORTCUT permission to normal...
Hyunyoung Song [Fri, 19 Jun 2015 23:07:51 +0000 (23:07 +0000)]
Merge "Change com.android.launcher.permission.INSTALL_SHORTCUT permission to normal level https://docs.google.com/document/d/12H0b6R2tmyIoNoOs2t8PbyzlGFcbxT8OnGpRb6P6c6s/edit" into mnc-dev

9 years agoFix spelling of a config variable.
Jonathan Basseri [Fri, 19 Jun 2015 23:04:38 +0000 (16:04 -0700)]
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

9 years agoam bee8d60a: Fixes a typo where parens were used instead of curly braces, preventing...
David Friedman [Fri, 19 Jun 2015 23:01:02 +0000 (23:01 +0000)]
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.

9 years agoMerge "Fix a bug in Android Keystore updateAAD." into mnc-dev
Alex Klyubin [Fri, 19 Jun 2015 22:53:20 +0000 (22:53 +0000)]
Merge "Fix a bug in Android Keystore updateAAD." into mnc-dev

9 years agoFix a bug in Android Keystore updateAAD.
Alex Klyubin [Fri, 19 Jun 2015 22:50:45 +0000 (15:50 -0700)]
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

9 years agoFixes a typo where parens were used instead of curly braces, preventing
David Friedman [Thu, 18 Sep 2014 01:04:23 +0000 (18:04 -0700)]
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)

9 years agoMake sure home activity gets resumed after started.
Filip Gruszczynski [Fri, 19 Jun 2015 22:14:53 +0000 (15:14 -0700)]
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

9 years agoChange com.android.launcher.permission.INSTALL_SHORTCUT permission to normal level
Hyunyoung Song [Fri, 19 Jun 2015 22:27:42 +0000 (15:27 -0700)]
Change com.android.launcher.permission.INSTALL_SHORTCUT permission to normal level
https://docs.google.com/document/d/12H0b6R2tmyIoNoOs2t8PbyzlGFcbxT8OnGpRb6P6c6s/edit

b/21853008

Change-Id: If9c4e88fd2074de17814120d111546d6ecf58cf4

9 years agoMerge "Only grant runtime permissions to special components." into mnc-dev
Svet Ganov [Fri, 19 Jun 2015 22:26:30 +0000 (22:26 +0000)]
Merge "Only grant runtime permissions to special components." into mnc-dev

9 years agoMerge "Support more KeySpecs in Android Keystore KeyFactory." into mnc-dev
Alex Klyubin [Fri, 19 Jun 2015 22:23:11 +0000 (22:23 +0000)]
Merge "Support more KeySpecs in Android Keystore KeyFactory." into mnc-dev

9 years agoOnly grant runtime permissions to special components.
Svet Ganov [Mon, 15 Jun 2015 23:36:24 +0000 (16:36 -0700)]
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

9 years agoMerge "App Standby : Association between content providers and their sync adapter...
Amith Yamasani [Fri, 19 Jun 2015 22:08:09 +0000 (22:08 +0000)]
Merge "App Standby : Association between content providers and their sync adapter" into mnc-dev

9 years agoApp Standby : Association between content providers and their sync adapter
Amith Yamasani [Wed, 17 Jun 2015 20:25:42 +0000 (13:25 -0700)]
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

9 years agoam cadd531e: am 4fdaf938: docs: Design section fixes for new templates
Luan Nguyen [Fri, 19 Jun 2015 22:03:03 +0000 (22:03 +0000)]
am cadd531e: am 4fdaf938: docs: Design section fixes for new templates

* commit 'cadd531ecf740783ee77ed5de8481a8242e4e8c8':
  docs: Design section fixes for new templates

9 years agoam 4fdaf938: docs: Design section fixes for new templates
Luan Nguyen [Fri, 19 Jun 2015 21:49:59 +0000 (21:49 +0000)]
am 4fdaf938: docs: Design section fixes for new templates

* commit '4fdaf938ee28577324a3068b915c01deb61ade78':
  docs: Design section fixes for new templates

9 years agoMerge "Apply the scale to surfaceinsets when computing crop region" into mnc-dev
Wale Ogunwale [Fri, 19 Jun 2015 21:32:13 +0000 (21:32 +0000)]
Merge "Apply the scale to surfaceinsets when computing crop region" into mnc-dev

9 years agodocs: Add link from TV design page on DAC to Android TV spec on Google Design site.
Quddus Chong [Tue, 16 Jun 2015 19:09:39 +0000 (12:09 -0700)]
docs: Add link from TV design page on DAC to Android TV spec on Google Design site.
bug: 21786976

Change-Id: I7bee3feaa60d5a1a35ce2c1d93b957de150e9b86

9 years agoMerge "[RenderScript] Add documentation for IntrinsicBLAS, and @hide annotations...
Miao Wang [Fri, 19 Jun 2015 21:19:54 +0000 (21:19 +0000)]
Merge "[RenderScript] Add documentation for IntrinsicBLAS, and @hide annotations." into mnc-dev

9 years agodocs: Design section fixes for new templates
Luan Nguyen [Fri, 19 Jun 2015 21:18:18 +0000 (14:18 -0700)]
docs: Design section fixes for new templates

- Fix a number of pages in the Wear design docs

bug: 21762391
Change-Id: I26c18130cdd925d1b40f525dd209329ca2b5cd15

9 years agoMerge "BatteryStats: Record doze wake locks" into mnc-dev
Adam Lesinski [Fri, 19 Jun 2015 21:13:41 +0000 (21:13 +0000)]
Merge "BatteryStats: Record doze wake locks" into mnc-dev

9 years agoBatteryStats: Record doze wake locks
Adam Lesinski [Fri, 19 Jun 2015 19:02:13 +0000 (12:02 -0700)]
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

9 years agoam a8b518d7: am 041e01bb: am 003f8567: Merge "updates: build-cmdline-update" into...
Joe Fernandez [Fri, 19 Jun 2015 21:08:08 +0000 (21:08 +0000)]
am a8b518d7: am 041e01bb: am 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs

* commit 'a8b518d7c2ca006ad52d5900ebb3ca831490d373':
  updates: build-cmdline-update

9 years agodocs: Updated Recommending TV Content lesson to support card customization.
Quddus Chong [Mon, 15 Jun 2015 21:06:16 +0000 (14:06 -0700)]
docs: Updated Recommending TV Content lesson to support card customization.
bug: 21787002

Change-Id: I3c94fbce2ac7efff1749b76af3da47506812972c

9 years agoam 041e01bb: am 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs
Joe Fernandez [Fri, 19 Jun 2015 20:59:03 +0000 (20:59 +0000)]
am 041e01bb: am 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs

* commit '041e01bbdffa85b9b5ffba201d36bd566eaa2651':
  updates: build-cmdline-update

9 years agoMerge "Don't save cached contact info in call log when adding call" into mnc-dev
Yorke Lee [Fri, 19 Jun 2015 20:47:06 +0000 (20:47 +0000)]
Merge "Don't save cached contact info in call log when adding call" into mnc-dev

9 years agoam 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs
Joe Fernandez [Fri, 19 Jun 2015 20:45:35 +0000 (20:45 +0000)]
am 003f8567: Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs

* commit '003f8567defcb88b2e07b3f85f0b43f74d29b322':
  updates: build-cmdline-update

9 years agoMerge "Invalidate the cached ripple drawable mask if mask layer changes" into mnc-dev
Alan Viverette [Fri, 19 Jun 2015 20:43:18 +0000 (20:43 +0000)]
Merge "Invalidate the cached ripple drawable mask if mask layer changes" into mnc-dev

9 years agoInvalidate the cached ripple drawable mask if mask layer changes
Alan Viverette [Fri, 19 Jun 2015 20:42:39 +0000 (13:42 -0700)]
Invalidate the cached ripple drawable mask if mask layer changes

Bug: 21955350
Change-Id: I2e610a5a0af39668b7e9447cfd7d48d35e11d299

9 years agoMerge "updates: build-cmdline-update" into lmp-mr1-ub-docs
Joe Fernandez [Fri, 19 Jun 2015 20:32:32 +0000 (20:32 +0000)]
Merge "updates: build-cmdline-update" into lmp-mr1-ub-docs

9 years agoMerge "Add comments to carrierconfigmanager for required permission." into mnc-dev
Junda Liu [Fri, 19 Jun 2015 20:31:51 +0000 (20:31 +0000)]
Merge "Add comments to carrierconfigmanager for required permission." into mnc-dev

9 years agoAdd comments to carrierconfigmanager for required permission.
Junda Liu [Thu, 18 Jun 2015 23:29:35 +0000 (16:29 -0700)]
Add comments to carrierconfigmanager for required permission.

Bug: b/20826627
Change-Id: Ia8a42f4792429e56108a423f27c3f843f6b0f958

9 years agoMerge "Migrate 'csp_enabled' to CarrierConfigManager." into mnc-dev
Jonathan Basseri [Fri, 19 Jun 2015 20:27:35 +0000 (20:27 +0000)]
Merge "Migrate 'csp_enabled' to CarrierConfigManager." into mnc-dev

9 years agoMerge "ImageReader: Fix format workarounds for legacy devices" into mnc-dev
Chien-Yu Chen [Fri, 19 Jun 2015 19:51:40 +0000 (19:51 +0000)]
Merge "ImageReader: Fix format workarounds for legacy devices" into mnc-dev

9 years agoFix regression in viewing app info from ChooserActivity targets
Adam Powell [Fri, 19 Jun 2015 19:38:45 +0000 (12:38 -0700)]
Fix regression in viewing app info from ChooserActivity targets

Also add metrics logging to ChooserActivity

Bug 21953567
Bug 21953720

Change-Id: I6bba2cfe9b9e551e6fe6f2d4f92fc040eebf355c

9 years agoMigrate 'csp_enabled' to CarrierConfigManager.
Jonathan Basseri [Fri, 19 Jun 2015 18:07:22 +0000 (11:07 -0700)]
Migrate 'csp_enabled' to CarrierConfigManager.

This variable controls whether SIM cards are allowed to disable manual
carrier selection, so it makes more sense for it to be managed as
carrier config.

Currently the variable is only used in device overlays
for specific networks, but we are dropping the device-overlay so that
this simply applies to those networks.

Change-Id: Ia6ba6a89c94c0916c19bdf792e48a4feac87eded

9 years agoMerge "Create ListPopupWindow handler against main looper" into mnc-dev
Alan Viverette [Fri, 19 Jun 2015 19:21:09 +0000 (19:21 +0000)]
Merge "Create ListPopupWindow handler against main looper" into mnc-dev

9 years agoDon't save cached contact info in call log when adding call
Yorke Lee [Fri, 19 Jun 2015 19:01:05 +0000 (12:01 -0700)]
Don't save cached contact info in call log when adding call

Bug: 20520236
Change-Id: I8ca051d4b93624b51de73640544ee5c6afbc0b7a

9 years agoMerge "Clarify handling client certificates" into mnc-dev
Selim Gurun [Fri, 19 Jun 2015 18:48:47 +0000 (18:48 +0000)]
Merge "Clarify handling client certificates" into mnc-dev

9 years agoClarify handling client certificates
Selim Gurun [Fri, 19 Jun 2015 18:27:38 +0000 (11:27 -0700)]
Clarify handling client certificates

Bug: 21910771

Clarify handling client certificates when using a webview. This is a
documentation change only.

Change-Id: Ifcd7c2c9fffc79c1dcc162d829dfbb175cddaa11

9 years agoAssist disclosure
Adrian Roos [Wed, 17 Jun 2015 23:43:38 +0000 (16:43 -0700)]
Assist disclosure

Add an animation that discloses delivery
of contextual data to the assist component.

Also fixes a bug where contextual data was
delivered to legacy assist activities even
though the user explicitly disabled context.

Bug: 21568059
Change-Id: I27dfaa36e2f677b0d73acfa4730f0f4ea3486919

9 years agoMerge "Fix intent tile to unlock on launching activities" into mnc-dev
Jason Monk [Fri, 19 Jun 2015 18:28:56 +0000 (18:28 +0000)]
Merge "Fix intent tile to unlock on launching activities" into mnc-dev

9 years agoMerge "Better FloatingToolbar positioning." into mnc-dev
Abodunrinwa Toki [Fri, 19 Jun 2015 18:28:17 +0000 (18:28 +0000)]
Merge "Better FloatingToolbar positioning." into mnc-dev

9 years agoMerge "Replace --include-cfi with --generate-debug-info." into mnc-dev
David Srbecky [Fri, 19 Jun 2015 18:25:56 +0000 (18:25 +0000)]
Merge "Replace --include-cfi with --generate-debug-info." into mnc-dev

9 years agoFix intent tile to unlock on launching activities
Jason Monk [Fri, 19 Jun 2015 18:20:46 +0000 (14:20 -0400)]
Fix intent tile to unlock on launching activities

Change-Id: Ibde6a21d5a36d4697101e2201d1d77e26d684753

9 years agoOccasionally retest for captive portals once detected
Paul Jensen [Wed, 17 Jun 2015 19:02:54 +0000 (15:02 -0400)]
Occasionally retest for captive portals once detected

Once a captive portal has been detected, retest for the presence of
the captive portal every 10 minutes.  Some WiFi routers present a
captive portal when the backhaul goes away; with this change if the
backhaul returns and the captive portal goes away, the device will
detect this after a period and remove the notification.

Bug: 21545788
Change-Id: Icabf0a3fff37bccc95f99eba52af13f7a2ddc2f3

9 years agoMerge "Resolve canonical package path before writing it to packages.list." into mnc-dev
Oleksiy Vyalov [Fri, 19 Jun 2015 18:25:11 +0000 (18:25 +0000)]
Merge "Resolve canonical package path before writing it to packages.list." into mnc-dev

9 years agoMerge "Revert "Work around inconsistent views in RelativeLayout.onMeasure()"" into...
Alan Viverette [Fri, 19 Jun 2015 18:20:20 +0000 (18:20 +0000)]
Merge "Revert "Work around inconsistent views in RelativeLayout.onMeasure()"" into mnc-dev

9 years agoRevert "Work around inconsistent views in RelativeLayout.onMeasure()"
Alan Viverette [Fri, 19 Jun 2015 18:19:56 +0000 (18:19 +0000)]
Revert "Work around inconsistent views in RelativeLayout.onMeasure()"

This reverts commit 3e2e064a1f989228f48e8faf588393a1a5ee1e31.

Change-Id: Ib3712076585cba507ef1666e3fb6abb2bedb016f

9 years agoMerge "Debug logging for a certain class of binder transaction failures" into mnc-dev
Christopher Tate [Fri, 19 Jun 2015 18:19:12 +0000 (18:19 +0000)]
Merge "Debug logging for a certain class of binder transaction failures" into mnc-dev

9 years agoDebug logging for a certain class of binder transaction failures
Christopher Tate [Fri, 19 Jun 2015 17:28:20 +0000 (10:28 -0700)]
Debug logging for a certain class of binder transaction failures

Bug 21801759

Change-Id: I9973d4ffb9450e510a4e1c64e2eae1489ce93054

9 years agoBetter FloatingToolbar positioning.
Abodunrinwa Toki [Fri, 19 Jun 2015 02:04:50 +0000 (03:04 +0100)]
Better FloatingToolbar positioning.

-The toolbar is now rendered over the IME.
-The toolbar respects the presence of the IME and tries as much as
 possible not to obstruct it.
-The toolbar may obstruct the IME if there is limited space and we
 can't find a position that won't obstruct the IME.

*A side effect of the toolbar over the IME is that TextView handles
 will also always be rendered over the IME where necessary. This was
 the previous behavior before the regression.

Bug: 17510971
Change-Id: I26a49565bf025d7c007ba6bb80468c4988fcc051

9 years agoMerge "Clear granted permission when app is uninstalled by one of the multiple users...
Tony Mak [Fri, 19 Jun 2015 16:57:39 +0000 (16:57 +0000)]
Merge "Clear granted permission when app is uninstalled by one of the multiple users" into mnc-dev

9 years agoClear granted permission when app is uninstalled by one of the multiple users
Tony Mak [Fri, 19 Jun 2015 16:52:49 +0000 (17:52 +0100)]
Clear granted permission when app is uninstalled by one of the multiple users

Bug: 21838358

Change-Id: Iccd46382c9468d0503da0bb49a49040ae712e2cc

9 years agoMerge "audio effect JNI: fix global ref leak." into mnc-dev
Eric Laurent [Fri, 19 Jun 2015 16:46:29 +0000 (16:46 +0000)]
Merge "audio effect JNI: fix global ref leak." into mnc-dev

9 years agoMerge "Reduce log noise." into mnc-dev
Wale Ogunwale [Fri, 19 Jun 2015 16:36:12 +0000 (16:36 +0000)]
Merge "Reduce log noise." into mnc-dev

9 years agoMerge "Don't write IntentFilter autoVerify field to xml if false." into mnc-dev
Wale Ogunwale [Fri, 19 Jun 2015 16:35:59 +0000 (16:35 +0000)]
Merge "Don't write IntentFilter autoVerify field to xml if false." into mnc-dev

9 years agoMerge "Camera2: add FACE_PRIORITY_LOW_LIGHT" into mnc-dev
Zhijun He [Fri, 19 Jun 2015 16:23:41 +0000 (16:23 +0000)]
Merge "Camera2: add FACE_PRIORITY_LOW_LIGHT" into mnc-dev

9 years agoCamera2: add FACE_PRIORITY_LOW_LIGHT
Zhijun He [Wed, 17 Jun 2015 02:58:11 +0000 (19:58 -0700)]
Camera2: add FACE_PRIORITY_LOW_LIGHT

Add FACE_PRIORITY_LOW_LIGHT to allow higher sensitivity value AE under low
light.

Also fix some minor doc issue for high speed recording capability.

Bug: 21813977
Change-Id: I965ece936c1bc3d3cb370454e950fde4aad06335

9 years agoaudio effect JNI: fix global ref leak.
Eric Laurent [Fri, 19 Jun 2015 16:13:02 +0000 (09:13 -0700)]
audio effect JNI: fix global ref leak.

Remove one more global ref leak in AudioEffect
and Visualizer JNI.

Bug: 21629892.
Change-Id: Id77fc2d10f3dc9d3154d6a1cf0f8cc0f83683584

9 years agoMerge "Improve robustness of MediaDrm after mediaserver crash" into mnc-dev
Jeff Tinker [Fri, 19 Jun 2015 16:05:11 +0000 (16:05 +0000)]
Merge "Improve robustness of MediaDrm after mediaserver crash" into mnc-dev

9 years agoDon't write IntentFilter autoVerify field to xml if false.
Wale Ogunwale [Fri, 19 Jun 2015 15:59:52 +0000 (08:59 -0700)]
Don't write IntentFilter autoVerify field to xml if false.

Bug: 21205789
Change-Id: I650265eeec99d470ae2f089d8ae3ef3c866c0096

9 years agoMerge "Fix security whole in lock task" into mnc-dev
Jason Monk [Fri, 19 Jun 2015 15:31:59 +0000 (15:31 +0000)]
Merge "Fix security whole in lock task" into mnc-dev

9 years agoFix security whole in lock task
Jason Monk [Fri, 19 Jun 2015 14:39:39 +0000 (10:39 -0400)]
Fix security whole in lock task

When flags NEW_TASK and CLEAR_TASK are set, the task gets reused
which causes the lock task to be ignored.  Add a special check
for this to be a lock task violation.

Bug: 20893212
Change-Id: Ibf3c71f40e197f0830410eb4e20429e901998378

9 years agoMerge "drop corrupt notifications in the Listener" into mnc-dev
Chris Wren [Fri, 19 Jun 2015 15:15:21 +0000 (15:15 +0000)]
Merge "drop corrupt notifications in the Listener" into mnc-dev

9 years agoMerge "Add new error codes for rate-limit and max-use failures." into mnc-dev
Shawn Willden [Fri, 19 Jun 2015 15:13:20 +0000 (15:13 +0000)]
Merge "Add new error codes for rate-limit and max-use failures." into mnc-dev

9 years agoAdd new error codes for rate-limit and max-use failures.
Shawn Willden [Fri, 19 Jun 2015 03:27:11 +0000 (21:27 -0600)]
Add new error codes for rate-limit and max-use failures.

Bug: 21607106
Change-Id: Ia0527341f98726bf74c2bfddd9b9a82974fab954

9 years agoReduce log noise.
Wale Ogunwale [Fri, 19 Jun 2015 15:05:24 +0000 (08:05 -0700)]
Reduce log noise.

Bug: 21941219
Change-Id: Ic84719cf1b901c7e6befeca5c73685301e511db8

9 years agoApply the scale to surfaceinsets when computing crop region
seunghyun85.lee [Thu, 26 Feb 2015 02:24:08 +0000 (11:24 +0900)]
Apply the scale to surfaceinsets when computing crop region

While in computing surface crop region, magnification specs are
not applied to surface insets from LayoutParams.

So, in case magnification specs are set,
surface crop region should be calculated considering scale factor.

(For instance, using TouchZoom in Accessibility
at AppsPermissionActivity in market app)

Bug: 20863078
Change-Id: I9e7e21e502b29208f2856918d6fcda050f515595
Signed-off-by: Seunghyun Lee <seunghyun85.lee@lge.com>
9 years agoMerge "Use closer to standard toast for work profile toast." into mnc-dev
Kenny Guy [Fri, 19 Jun 2015 14:56:47 +0000 (14:56 +0000)]
Merge "Use closer to standard toast for work profile toast." into mnc-dev

9 years agoMerge "Try to keep connection state more up to date" into mnc-dev
Jason Monk [Fri, 19 Jun 2015 14:55:36 +0000 (14:55 +0000)]
Merge "Try to keep connection state more up to date" into mnc-dev

9 years agoUse closer to standard toast for work profile toast.
Kenny Guy [Thu, 18 Jun 2015 14:09:09 +0000 (15:09 +0100)]
Use closer to standard toast for work profile toast.

Revert back to using a standard system toast
for the toast shown when user unlocks to a
work activity.
Include the work status icon in the toast.

Bug: 21325183
Bug: 21896447
Change-Id: I691417a4ecac36983f391ee722f59e2b467affc1

9 years agoMerge "Fix FloatingToolbar flickers." into mnc-dev
Abodunrinwa Toki [Fri, 19 Jun 2015 14:26:08 +0000 (14:26 +0000)]
Merge "Fix FloatingToolbar flickers." into mnc-dev

9 years agoTry to keep connection state more up to date
Jason Monk [Fri, 19 Jun 2015 14:04:49 +0000 (10:04 -0400)]
Try to keep connection state more up to date

It seems that connection state isn't always correct, make sure we
update it every time a device changes state, so that we don't stay
connected while no device is connected.

Bug: 21896051
Change-Id: I5aa398f33a916609742e22ce5affd4211ed0a626