OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Set DISABLED_UNTIL_USED for the correct user in IMMS." into mnc-dev
Yohei Yukawa [Mon, 22 Jun 2015 17:59:41 +0000 (17:59 +0000)]
Merge "Set DISABLED_UNTIL_USED for the correct user in IMMS." into mnc-dev

9 years agoMerge "Clarify handling client certificates" into mnc-dev
Selim Gurun [Mon, 22 Jun 2015 17:55:27 +0000 (17:55 +0000)]
Merge "Clarify handling client certificates" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 22 Jun 2015 17:42:13 +0000 (17:42 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 22 Jun 2015 17:30:49 +0000 (10:30 -0700)]
Import translations. DO NOT MERGE

Change-Id: If66d91682adc7a02ebbf87e63b542d91c3d44037
Auto-generated-cl: translation import

9 years agoFetch the Bluetooth name and address without enabling the whole stack
Pavlin Radoslavov [Sun, 21 Jun 2015 05:55:04 +0000 (22:55 -0700)]
Fetch the Bluetooth name and address without enabling the whole stack

After factory reset and first bootup, fetching the Bluetooth device
name and address is now done without explicitly enabling/disabling
the whole Bluetooth stack.
Apparently, enabling/disabling the whole stack during th first bootup
was somehow holding the kernel wakelock without releasing it.

Also, disable debug log messages for class BluetoothManagerService.

Bug: 21949364
Change-Id: Iffc14f7969d05c1456159d1f4246c53fb5df0f7a

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: Ida78bd89aa8867c99b4b9e4433e342767e9bac0d

9 years agoMerge "Fix LauncherApps registerCallback adding duplicate callbacks." into mnc-dev
Kenny Guy [Mon, 22 Jun 2015 16:50:02 +0000 (16:50 +0000)]
Merge "Fix LauncherApps registerCallback adding duplicate callbacks." into mnc-dev

9 years agoMerge "Hide device initializer methods/fields." into mnc-dev
Julia Reynolds [Mon, 22 Jun 2015 16:41:40 +0000 (16:41 +0000)]
Merge "Hide device initializer methods/fields." into mnc-dev

9 years agoMerge "New internal permission to protect apps against rogue Nfc message." into mnc-dev
Rubin Xu [Mon, 22 Jun 2015 15:44:41 +0000 (15:44 +0000)]
Merge "New internal permission to protect apps against rogue Nfc message." into mnc-dev

9 years agoMerge "Enable Picture w/ HW Accelerated Canvas." into mnc-dev
Derek Sollenberger [Mon, 22 Jun 2015 15:38:09 +0000 (15:38 +0000)]
Merge "Enable Picture w/ HW Accelerated Canvas." into mnc-dev

9 years agoMerge "Add icon mapping for NETWORK_TYPE_IWLAN" into mnc-dev
Jason Monk [Mon, 22 Jun 2015 14:29:43 +0000 (14:29 +0000)]
Merge "Add icon mapping for NETWORK_TYPE_IWLAN" into mnc-dev

9 years agoAdd icon mapping for NETWORK_TYPE_IWLAN
Jason Monk [Mon, 22 Jun 2015 14:22:55 +0000 (10:22 -0400)]
Add icon mapping for NETWORK_TYPE_IWLAN

According to TelephonyManager#getNetworkClass, it seems to be a form
of 4g, so give it those icons.

Bug: 21338555
Change-Id: I00629572950191f30fd274367e95c3117990f671

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 22 Jun 2015 14:01:09 +0000 (14:01 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 22 Jun 2015 13:59:17 +0000 (08:59 -0500)]
Import translations. DO NOT MERGE

Change-Id: I2ad73428a2295cfc3824de5837ab2f927fd5d626
Auto-generated-cl: translation import

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 22 Jun 2015 13:51:42 +0000 (13:51 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 22 Jun 2015 13:51:18 +0000 (08:51 -0500)]
Import translations. DO NOT MERGE

Change-Id: Ifd91f44e7bb3ea8577d2054394d4e6b64c488f2b
Auto-generated-cl: translation import

9 years agoEnable Picture w/ HW Accelerated Canvas.
Derek Sollenberger [Thu, 4 Jun 2015 19:54:15 +0000 (15:54 -0400)]
Enable Picture w/ HW Accelerated Canvas.

Bug: 20688645
Change-Id: I664f37d6dbb3e61b17206c82ebcc63f988cefc65

9 years agoFix selection by double tap in Extracted mode
Andrei Stingaceanu [Fri, 19 Jun 2015 15:44:37 +0000 (16:44 +0100)]
Fix selection by double tap in Extracted mode

Select with double tap in extracted mode has suffered
a regression recently: flickers and it does not correctly
select. Found this fix after a lot of trials.

Bug: 20128047
Change-Id: I1bbe8c11982d37e5409bac2b648a31b0ca1f0bbc

9 years agoMerge "Fix huge bounce-back in ListView when double-flinging" into mnc-dev
Vladislav Kaznacheev [Mon, 22 Jun 2015 09:30:17 +0000 (09:30 +0000)]
Merge "Fix huge bounce-back in ListView when double-flinging" into mnc-dev

9 years agoMerge "Don't prevent notification updates in DOS protection." into mnc-dev
Vladimir Marko [Mon, 22 Jun 2015 08:53:48 +0000 (08:53 +0000)]
Merge "Don't prevent notification updates in DOS protection." into mnc-dev

9 years agoMerge "TIF: Minor code improvement" into mnc-dev
Jae Seo [Mon, 22 Jun 2015 01:18:04 +0000 (01:18 +0000)]
Merge "TIF: Minor code improvement" into mnc-dev

9 years agoTIF: Use equals() instead of '==' for String comparisons
Jae Seo [Mon, 22 Jun 2015 00:39:02 +0000 (17:39 -0700)]
TIF: Use equals() instead of '==' for String comparisons

Change-Id: Iea6e3d5f5146e2e3a37c52db5a0a9706540ddb23

9 years agoTIF: Minor code improvement
Jae Seo [Sun, 21 Jun 2015 23:40:34 +0000 (16:40 -0700)]
TIF: Minor code improvement

- Removed unnecessary 'final' keywords for private methods
- Removed unnecessary interface modifiers
- Added a missing ‘final’ keyword
- Simplified if statements
- Removed Javadoc links pointing to itself
- Removed redundant conditional expressions
- Removed unnecessary return statements
- Replaced explicit types with <>
- Removed an unnecessary unboxing
- Removed a redundant initializer
- Fixed typos

Change-Id: I1d137fda70192b33dd00e92ab01396519135ab39

9 years agoMerge "TIF: Use the right size for calls to toArray() instead of 0" into mnc-dev
Jae Seo [Sun, 21 Jun 2015 23:00:09 +0000 (23:00 +0000)]
Merge "TIF: Use the right size for calls to toArray() instead of 0" into mnc-dev

9 years agoMerge "TIF: Add the columns for the app-linking to TvContract.Channels" into mnc-dev
Jae Seo [Sun, 21 Jun 2015 21:27:39 +0000 (21:27 +0000)]
Merge "TIF: Add the columns for the app-linking to TvContract.Channels" into mnc-dev

9 years agoTIF: Use the right size for calls to toArray() instead of 0
Jae Seo [Sun, 21 Jun 2015 21:08:54 +0000 (14:08 -0700)]
TIF: Use the right size for calls to toArray() instead of 0

Change-Id: I645a09403b60545123627df7d0222ed34f084ffe

9 years agoMerge "TIF: Add COLUMN_SEARCHABLE to TvContract.Programs" into mnc-dev
Jae Seo [Sun, 21 Jun 2015 20:48:25 +0000 (20:48 +0000)]
Merge "TIF: Add COLUMN_SEARCHABLE to TvContract.Programs" into mnc-dev

9 years agoMerge "TIF: Always flush pending app-private commands when resetting TvView" into...
Jae Seo [Sun, 21 Jun 2015 20:47:06 +0000 (20:47 +0000)]
Merge "TIF: Always flush pending app-private commands when resetting TvView" into mnc-dev

9 years agoMerge "TIF: Fix a typo" into mnc-dev
Jae Seo [Sun, 21 Jun 2015 20:46:39 +0000 (20:46 +0000)]
Merge "TIF: Fix a typo" into mnc-dev

9 years agoMerge "TIF: Remove unnecessary interface modifiers" into mnc-dev
Jae Seo [Sun, 21 Jun 2015 20:46:24 +0000 (20:46 +0000)]
Merge "TIF: Remove unnecessary interface modifiers" into mnc-dev

9 years agoMerge "TIF: Replace StringBuffer with String" into mnc-dev
Jae Seo [Sun, 21 Jun 2015 20:46:05 +0000 (20:46 +0000)]
Merge "TIF: Replace StringBuffer with String" into mnc-dev

9 years agoMerge "Zen: Tweak total silence new user message for non-voice devices." into mnc-dev
John Spurlock [Sun, 21 Jun 2015 14:52:48 +0000 (14:52 +0000)]
Merge "Zen: Tweak total silence new user message for non-voice devices." into mnc-dev

9 years agoZen: Tweak total silence new user message for non-voice devices.
John Spurlock [Sun, 21 Jun 2015 14:46:28 +0000 (10:46 -0400)]
Zen: Tweak total silence new user message for non-voice devices.

Bug: 21953388
Change-Id: I395af64b175b22fc58d80529cdbb12ebd9e00115

9 years agoTIF: Fix a typo
Jae Seo [Sun, 21 Jun 2015 07:47:43 +0000 (00:47 -0700)]
TIF: Fix a typo

Change-Id: Iae3b359369a86224767493149b11d83ba2810ec5

9 years agoTIF: Remove unnecessary interface modifiers
Jae Seo [Sun, 21 Jun 2015 07:45:04 +0000 (00:45 -0700)]
TIF: Remove unnecessary interface modifiers

Change-Id: I6b0744b32207bece45bc7ac6bee279b244f8cd3b

9 years agoTIF: Replace StringBuffer with String
Jae Seo [Sun, 21 Jun 2015 07:17:23 +0000 (00:17 -0700)]
TIF: Replace StringBuffer with String

Change-Id: I52f7d7cc8af7d230d6a23993391f662542886f37

9 years agoTIF: Always flush pending app-private commands when resetting TvView
Jae Seo [Sun, 21 Jun 2015 06:02:29 +0000 (23:02 -0700)]
TIF: Always flush pending app-private commands when resetting TvView

Bug: 19809952
Change-Id: Ic676b81591def065d79ac45cb1d247b67178e50b

9 years agoDo not thrown on error persisting runtime permissions
Svet Ganov [Sat, 20 Jun 2015 17:31:25 +0000 (10:31 -0700)]
Do not thrown on error persisting runtime permissions

bug:20752986

Change-Id: I49d7e30afd49d3dcb1bcffd2fd48e9460ed5147f

9 years agoEnsure default permissions not dropped on data wipe
Svet Ganov [Sat, 20 Jun 2015 08:30:40 +0000 (01:30 -0700)]
Ensure default permissions not dropped on data wipe

bug:21954760

Change-Id: I15de766012e66e171d2089af574687ad513a5d57

9 years agoSet DISABLED_UNTIL_USED for the correct user in IMMS.
Yohei Yukawa [Sat, 20 Jun 2015 07:41:31 +0000 (00:41 -0700)]
Set DISABLED_UNTIL_USED for the correct user in IMMS.

This CL makes If8ff1b2b95c36d33148def2ab87bd006aa520cc0
multi-user aware.

It turns out that DISABLED_UNTIL_USED has not been correctly
set to IMEs seen from secondary users because we have used
  IMMS#mContext.getPackageManager(),
which always returns the PackageManager with the primary
users' context, when specifying
COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED.

We should use IPackageManager instead as we have already done
in many places of IMMS since Ib23849d352db33f0747aa9d5a178f00.

Bug: 8148605
Bug: 8365223
Bug: 21953608
Change-Id: I4b9d6510bf965204bb1f68c8b527d1a4df23fac4

9 years agoMake READ_EXTERNAL_STORAGE dangerous
Svet Ganov [Sat, 20 Jun 2015 06:57:47 +0000 (23:57 -0700)]
Make READ_EXTERNAL_STORAGE dangerous

We have a new storage permission group that has read and
write external storage. However, read external storage is
(not a regression) a normal permission while write is a
dangerous one. This leads to cases where the user disables
the Storage permission and apps still read form it. This
change makes read external storage a dangerous permission.

bug:21949045

Change-Id: I7e28f629dda6e9c1f70cb20a3d5bea74fb109890

9 years agoTIF: Add COLUMN_SEARCHABLE to TvContract.Programs
Jae Seo [Sat, 20 Jun 2015 00:34:37 +0000 (17:34 -0700)]
TIF: Add COLUMN_SEARCHABLE to TvContract.Programs

This allows applications to specify not only channels but also programs
searchable or not enabling finer grained access control.

Bug: 18910284
Change-Id: Id476c37ae8521301c50a4fb2007b41661e74fe89

9 years agoMerge "Revert "Clarify handling client certificates"" into mnc-dev
Bart Sears [Sat, 20 Jun 2015 05:22:37 +0000 (05:22 +0000)]
Merge "Revert "Clarify handling client certificates"" into mnc-dev

9 years agoRevert "Clarify handling client certificates"
Bart Sears [Sat, 20 Jun 2015 05:21:38 +0000 (05:21 +0000)]
Revert "Clarify handling client certificates"

CL broke the javadoc build.

This reverts commit 36cf701e1ef0e24ce865734babb526ef5e4dc9b4.

Change-Id: Idf8add1c7d2c205400e6657d7dc3c1b89ee238f8

9 years agoFixed content description of the lock icon when fingerprint is on
Selim Cinek [Sat, 20 Jun 2015 01:44:50 +0000 (18:44 -0700)]
Fixed content description of the lock icon when fingerprint is on

Also surfacing Fingerprint Errors now with a message.

Bug: 21565811
Change-Id: I3bba66303c08313dbca1df5ef2f20b251f541bc1

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 agoTIF: Add the columns for the app-linking to TvContract.Channels
Jae Seo [Thu, 18 Jun 2015 20:45:35 +0000 (13:45 -0700)]
TIF: Add the columns for the app-linking to TvContract.Channels

The app-linking allows channel input sources to provide activity links
from their live channel programming to another activity. This enables
content providers to increase user engagement by offering the viewer
other content or actions.

Bug: 21884742
Change-Id: Iabeea57884c63ac31ee164c27c6e2fe1860f15f6

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