OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Display correct icons in grid view." into nyc-dev
Tomasz Mikolajewski [Tue, 16 Feb 2016 08:11:02 +0000 (08:11 +0000)]
Merge "Display correct icons in grid view." into nyc-dev
am: cc0a0a39f8

* commit 'cc0a0a39f8d61935e8f2ea4392276324d767095a':
  Display correct icons in grid view.

8 years agoMerge "Display correct icons in grid view." into nyc-dev
Tomasz Mikolajewski [Tue, 16 Feb 2016 08:04:36 +0000 (08:04 +0000)]
Merge "Display correct icons in grid view." into nyc-dev

8 years agoDisplay correct icons in grid view.
Tomasz Mikolajewski [Tue, 16 Feb 2016 03:28:43 +0000 (12:28 +0900)]
Display correct icons in grid view.

Bug: 27183062
Change-Id: I4c0fafc7bc6f0e2dc3d1cbdf3debf6312bb85d82

8 years agoMinor changes on MediaBrowser
Sungsoo Lim [Tue, 16 Feb 2016 06:43:55 +0000 (06:43 +0000)]
Minor changes on MediaBrowser
am: 77dc4bb09e

* commit '77dc4bb09e4b8682add75d3d65ca176e93e474fb':
  Minor changes on MediaBrowser

8 years agoMinor changes on MediaBrowser
Sungsoo Lim [Tue, 16 Feb 2016 06:20:16 +0000 (15:20 +0900)]
Minor changes on MediaBrowser

- Rename add and remove in Subscription putCallback and removeCallback
  for better readability.
- Fix a broken link of javadoc.

Change-Id: If41941d1134d4ee6ef953932ca572f5d445a2aff

8 years agoMerge "Better focus handling after dismissing task/scrolling." into nyc-dev
Winson Chung [Tue, 16 Feb 2016 01:56:35 +0000 (01:56 +0000)]
Merge "Better focus handling after dismissing task/scrolling." into nyc-dev
am: a4b27566bd

* commit 'a4b27566bdaa3893c16ac7fda47beb044c021f0c':
  Better focus handling after dismissing task/scrolling.

8 years agoMerge "Add path cache to avoid SharedPreferences jank." into nyc-dev
Jeff Sharkey [Tue, 16 Feb 2016 01:49:28 +0000 (01:49 +0000)]
Merge "Add path cache to avoid SharedPreferences jank." into nyc-dev
am: 3104a9ffd6

* commit '3104a9ffd61ed04946a405e0fc78e3904366e35e':
  Add path cache to avoid SharedPreferences jank.

8 years agoMerge "Better focus handling after dismissing task/scrolling." into nyc-dev
Winson Chung [Tue, 16 Feb 2016 01:46:08 +0000 (01:46 +0000)]
Merge "Better focus handling after dismissing task/scrolling." into nyc-dev

8 years agoBetter focus handling after dismissing task/scrolling.
Winson [Tue, 16 Feb 2016 01:43:01 +0000 (17:43 -0800)]
Better focus handling after dismissing task/scrolling.

- When there is no focused task, focus the next task closest to the
  stack scroll in the focus direction.
- Fixing small regression where no task would focus when alt-tabbing
  because the index was out of bounds.

Change-Id: I2555c9340f40affc371f52d51d88af0eeda53b2e

8 years agoMerge "Add path cache to avoid SharedPreferences jank." into nyc-dev
Jeff Sharkey [Tue, 16 Feb 2016 01:38:04 +0000 (01:38 +0000)]
Merge "Add path cache to avoid SharedPreferences jank." into nyc-dev

8 years agoAdd path cache to avoid SharedPreferences jank.
Jeff Sharkey [Tue, 16 Feb 2016 01:35:57 +0000 (18:35 -0700)]
Add path cache to avoid SharedPreferences jank.

The old getSharedPreferences() API had a side-effect behavior that
subsequent calls wouldn't touch disk if there was a cache hit.  Now
that we're using File as the cache key, we were generating the path
every time, which resulted in touching disk.

To bring back the old behavior, let's add yet another cache!

Bug: 26979210
Change-Id: Ib8346c6f69ae25f8f164e3b7e05bc6358de38906

8 years agoMerge "Fixing issue with front task dimming when scrolled back." into nyc-dev
Winson Chung [Tue, 16 Feb 2016 00:58:07 +0000 (00:58 +0000)]
Merge "Fixing issue with front task dimming when scrolled back." into nyc-dev
am: 61ce27d3e9

* commit '61ce27d3e968de3a795a7e65448608f8e5286dec':
  Fixing issue with front task dimming when scrolled back.

8 years agoMerge "Fixing issue with front task dimming when scrolled back." into nyc-dev
Winson Chung [Tue, 16 Feb 2016 00:54:16 +0000 (00:54 +0000)]
Merge "Fixing issue with front task dimming when scrolled back." into nyc-dev

8 years agoMerge "Add feature versions for devices and apps." into nyc-dev
Jeff Sharkey [Tue, 16 Feb 2016 00:53:15 +0000 (00:53 +0000)]
Merge "Add feature versions for devices and apps." into nyc-dev
am: 9c6d9753a0

* commit '9c6d9753a0f1651c639fe8158b86a1f7ffc3f60a':
  Add feature versions for devices and apps.

8 years agoFixing issue with front task dimming when scrolled back.
Winson [Tue, 16 Feb 2016 00:52:27 +0000 (16:52 -0800)]
Fixing issue with front task dimming when scrolled back.

Change-Id: I30d88796e7af13734c9a33def05b62bed4fb2e96

8 years agoMerge "Tweaking stack shadows and layout." into nyc-dev
Winson Chung [Tue, 16 Feb 2016 00:51:37 +0000 (00:51 +0000)]
Merge "Tweaking stack shadows and layout." into nyc-dev
am: 9c345eceb6

* commit '9c345eceb69622901667cf12f9cf52a7618c538f':
  Tweaking stack shadows and layout.

8 years agoMerge "Add feature versions for devices and apps." into nyc-dev
Jeff Sharkey [Tue, 16 Feb 2016 00:47:48 +0000 (00:47 +0000)]
Merge "Add feature versions for devices and apps." into nyc-dev

8 years agoMerge "Tweaking stack shadows and layout." into nyc-dev
Winson Chung [Tue, 16 Feb 2016 00:46:00 +0000 (00:46 +0000)]
Merge "Tweaking stack shadows and layout." into nyc-dev

8 years agoAdd feature versions for devices and apps.
Jeff Sharkey [Tue, 16 Feb 2016 00:25:57 +0000 (17:25 -0700)]
Add feature versions for devices and apps.

We're starting to see more instances of device features that will
increment separately from the SDK API level, such as camera HAL,
GPU capabilities, Bluetooth, and other hardware standards.

This change adds the ability for device features to specify a
version, which is defined to be backwards compatible.  That is, apps
requesting an older version of a feature must continue working on
devices with a newer version of that same feature.

When a version is undefined, we assume the default version "0".

Bug: 27162500
Change-Id: If890bf3f3dbb715e8feb80e7059a0d65618482ea

8 years agoTweaking stack shadows and layout.
Winson [Mon, 15 Feb 2016 23:40:08 +0000 (15:40 -0800)]
Tweaking stack shadows and layout.

- Properly setting view outline alpha
- Ensuring that dismissing while in focused state will return to
  non-focused state
- Fixing mis-calculation with bottom stack area

Change-Id: I281b7707421ffde4225180c63c7d40bf325f7f72

8 years agoMerge "Filter components, prevent app start in safe mode." into nyc-dev
Jeff Sharkey [Mon, 15 Feb 2016 22:45:56 +0000 (22:45 +0000)]
Merge "Filter components, prevent app start in safe mode." into nyc-dev
am: 128fd99019

* commit '128fd9901992549e2a6c3bc5f1ab631ce64ce035':
  Filter components, prevent app start in safe mode.

8 years agoMerge "Filter components, prevent app start in safe mode." into nyc-dev
Jeff Sharkey [Mon, 15 Feb 2016 22:36:21 +0000 (22:36 +0000)]
Merge "Filter components, prevent app start in safe mode." into nyc-dev

8 years agoFilter components, prevent app start in safe mode.
Jeff Sharkey [Mon, 15 Feb 2016 22:33:31 +0000 (15:33 -0700)]
Filter components, prevent app start in safe mode.

When device is in safe mode, we're trying to keep third-party code
from running to give us a stable platform.  The ideal approach would
be to treat these apps as temporarily "uninstalled" when in safe mode,
but not all system internals are ready for this.

Instead, go back to previous behavior where we simply filtered
non-system components.  This isn't perfect, since there are still
cracks through which components can leak out (GET_ACTIVITIES, etc).

So as a last-ditch sanity effort, refuse to fork any third-party apps
while running in safe mode.

Bug: 27165374
Change-Id: I044ede02e923c499159faf59b12e79b97fe77fba

8 years agoPIP: Prevent onboarding activity from launching on pinned stack
Jaewan Kim [Mon, 15 Feb 2016 22:26:26 +0000 (22:26 +0000)]
PIP: Prevent onboarding activity from launching on pinned stack
am: ebc8f8f1ad

* commit 'ebc8f8f1ada7393e7b07cc58c9db62f8e2517f55':
  PIP: Prevent onboarding activity from launching on pinned stack

8 years agoPIP: Prevent onboarding activity from launching on pinned stack
Jaewan Kim [Mon, 15 Feb 2016 02:46:20 +0000 (11:46 +0900)]
PIP: Prevent onboarding activity from launching on pinned stack

Bug: 27153338
Change-Id: I7a3b5c5306e0760495b43b0deb612b3e711ad56e

8 years agoExplicitly chmod() for compatibility.
Jeff Sharkey [Mon, 15 Feb 2016 21:27:06 +0000 (21:27 +0000)]
Explicitly chmod() for compatibility.
am: 46ed6f4bd6

* commit '46ed6f4bd6d28a1319a90eb7c58dca5c20b36670':
  Explicitly chmod() for compatibility.

8 years agoExplicitly chmod() for compatibility.
Jeff Sharkey [Mon, 15 Feb 2016 21:16:08 +0000 (14:16 -0700)]
Explicitly chmod() for compatibility.

Apps typically have a umask() that prevents the mkdir() from setting
the requested permissions.

Bug: 27116987
Change-Id: Ia14e7e31531328ab36e902a864b3d2891feec544

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 16:55:42 +0000 (16:55 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: ae8f843a4a  -s ours

* commit 'ae8f843a4a3d0fbe114d74775b5dfbc5b04d9d3c':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 16:49:57 +0000 (16:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 5933341910  -s ours

* commit '5933341910b78af207450cfaf77b2c7d6a779568':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 16:45:21 +0000 (16:45 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 16:44:45 +0000 (16:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 15:34:56 +0000 (07:34 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 15:28:02 +0000 (15:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 13b99f9dbd  -s ours

* commit '13b99f9dbd230a85c3b47e3e52da7c740c2d0d0e':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 15:24:27 +0000 (07:24 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 15:20:29 +0000 (15:20 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 6cc2528dff  -s ours

* commit '6cc2528dff336e0cf472a0e9f02f5e355837ae84':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 15:20:19 +0000 (15:20 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 15:19:37 +0000 (07:19 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 15 Feb 2016 15:16:34 +0000 (15:16 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 15:16:11 +0000 (07:16 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras." into nyc-dev
Rubin Xu [Mon, 15 Feb 2016 14:41:27 +0000 (14:41 +0000)]
Merge "Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras." into nyc-dev
am: 6bdd7cab5a

* commit '6bdd7cab5a051d0bc1f83fd4973ae1c9988c80de':
  Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras.

8 years agoMerge "Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras." into nyc-dev
Rubin Xu [Mon, 15 Feb 2016 14:29:59 +0000 (14:29 +0000)]
Merge "Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras." into nyc-dev

8 years agoFix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras.
Rubin Xu [Mon, 15 Feb 2016 13:50:18 +0000 (13:50 +0000)]
Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras.

Change-Id: Ic949a0d7f72d46d7cc36018b4b0fc54024c3b180

8 years agoMerge "Send extra argument to unlock_user_keys on non-FBE startup" into nyc-dev
Paul Crowley [Mon, 15 Feb 2016 14:09:03 +0000 (14:09 +0000)]
Merge "Send extra argument to unlock_user_keys on non-FBE startup" into nyc-dev
am: 99a6c3e6d9

* commit '99a6c3e6d9bfd1b48ddaf565f2d4c0786a6856f7':
  Send extra argument to unlock_user_keys on non-FBE startup

8 years agoMerge "Send extra argument to unlock_user_keys on non-FBE startup" into nyc-dev
Paul Crowley [Mon, 15 Feb 2016 14:04:04 +0000 (14:04 +0000)]
Merge "Send extra argument to unlock_user_keys on non-FBE startup" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 13:38:39 +0000 (13:38 +0000)]
Import translations. DO NOT MERGE
am: 7c2d8e011a  -s ours

* commit '7c2d8e011adc58671b364dc401538c32653ff3a4':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 13:26:51 +0000 (08:26 -0500)]
Import translations. DO NOT MERGE

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

8 years agoAdd flags needed to switch Jack to 1.8 for CTS targets
Neil Fuller [Mon, 15 Feb 2016 12:17:29 +0000 (12:17 +0000)]
Add flags needed to switch Jack to 1.8 for CTS targets
am: a835180b74

* commit 'a835180b74af2cad853db08e8d41a7b04773759b':
  Add flags needed to switch Jack to 1.8 for CTS targets

8 years agoAdd flags needed to switch Jack to 1.8 for CTS targets
Neil Fuller [Mon, 15 Feb 2016 12:05:44 +0000 (12:05 +0000)]
Add flags needed to switch Jack to 1.8 for CTS targets

When linking against .jack files that contain 1.8 language
features Jack (currently) requires -D jack.java.source.version=1.8.

"core-tests" includes 1.8 language features.

Bug: 27113322
Bug: 26953739
Change-Id: Ib9ceaadafc9c1d41ff137c48111ad3b060f7e248

8 years agoMerge "Track libcore change 5731615b4d705b5af63a3126d84b8786862477d." into nyc-dev
Narayan Kamath [Mon, 15 Feb 2016 11:44:44 +0000 (11:44 +0000)]
Merge "Track libcore change 5731615b4d705b5af63a3126d84b8786862477d." into nyc-dev
am: 2a5abc9510

* commit '2a5abc95104d109db3b09aa27c6718b2be7a975b':
  Track libcore change 5731615b4d705b5af63a3126d84b8786862477d.

8 years agoMerge "Track libcore change 5731615b4d705b5af63a3126d84b8786862477d." into nyc-dev
Narayan Kamath [Mon, 15 Feb 2016 11:38:33 +0000 (11:38 +0000)]
Merge "Track libcore change 5731615b4d705b5af63a3126d84b8786862477d." into nyc-dev

8 years agoMerge "Add flags needed to switch Jack to 1.8 for CTS targets" into nyc-dev
Neil Fuller [Mon, 15 Feb 2016 11:21:22 +0000 (11:21 +0000)]
Merge "Add flags needed to switch Jack to 1.8 for CTS targets" into nyc-dev
am: 9c6827c017

* commit '9c6827c017e64c3ea4e9f0c9a4b33fba4363304c':
  Add flags needed to switch Jack to 1.8 for CTS targets

8 years agoMerge "Add flags needed to switch Jack to 1.8 for CTS targets" into nyc-dev
Neil Fuller [Mon, 15 Feb 2016 11:16:05 +0000 (11:16 +0000)]
Merge "Add flags needed to switch Jack to 1.8 for CTS targets" into nyc-dev

8 years agoTrack libcore change 5731615b4d705b5af63a3126d84b8786862477d.
Narayan Kamath [Mon, 15 Feb 2016 11:07:26 +0000 (11:07 +0000)]
Track libcore change 5731615b4d705b5af63a3126d84b8786862477d.

bug: 26689841
Change-Id: I463543c67cc525583d1fd6f7031a0d38f543d8a2

8 years agoMerge "Allow privileged apps to set the organization color." into nyc-dev
Nicolas Prévot [Mon, 15 Feb 2016 10:51:42 +0000 (10:51 +0000)]
Merge "Allow privileged apps to set the organization color." into nyc-dev
am: eff90bd5ff

* commit 'eff90bd5ff6bd50325149a5010183277bd76f4c6':
  Allow privileged apps to set the organization color.

8 years agoMerge "Allow privileged apps to set the organization color." into nyc-dev
Nicolas Prévot [Mon, 15 Feb 2016 10:47:40 +0000 (10:47 +0000)]
Merge "Allow privileged apps to set the organization color." into nyc-dev

8 years agoMerge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev am: e1bdbd216f
Bartosz Fabianowski [Mon, 15 Feb 2016 10:08:29 +0000 (10:08 +0000)]
Merge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev am: e1bdbd216f
am: 3e425f6c4b

* commit '3e425f6c4be3fc30695473329c6364abfe69a059':
  Remove wifiConfiguration.isVisibleToUser()

8 years agoMerge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev
Bartosz Fabianowski [Mon, 15 Feb 2016 10:02:55 +0000 (10:02 +0000)]
Merge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev
am: e1bdbd216f

* commit 'e1bdbd216fef6d1f0bb6b3c61cc95abba3e67af7':
  Remove wifiConfiguration.isVisibleToUser()

8 years agoMerge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev
Bartosz Fabianowski [Mon, 15 Feb 2016 09:56:52 +0000 (09:56 +0000)]
Merge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev

8 years agoSend extra argument to unlock_user_keys on non-FBE startup
Paul Crowley [Mon, 15 Feb 2016 06:44:51 +0000 (06:44 +0000)]
Send extra argument to unlock_user_keys on non-FBE startup

Non-FBE startup has a loop which sets up the appropriate lock state
for each user depending on whether FBE is being emulated; this loop
calls unlock_user_keys when emulation is off. I didn't modify this
loop when adding the extra arguemnt to unlock_user_keys.

Bug: 27155768
Change-Id: I825a61552383552eafb88c77c1f30591bdfd077c

8 years agoRevert "Fix missing observer reply callbacks"
Ian Pedowitz [Sun, 14 Feb 2016 23:45:47 +0000 (23:45 +0000)]
Revert "Fix missing observer reply callbacks"
am: e4c1ccec72

* commit 'e4c1ccec7248443c23dd4a8d6725a4f492204726':
  Revert "Fix missing observer reply callbacks"

8 years agoRevert "Fix missing observer reply callbacks"
Ian Pedowitz [Sun, 14 Feb 2016 23:36:48 +0000 (15:36 -0800)]
Revert "Fix missing observer reply callbacks"

This should not have merged from mnc-dr-dev, the underlying implementation has changed

This reverts commit dbb75248b19366d76cfdd7d4536d68467e7322c1.

8 years agoMerge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5 am: a3798...
Akshay Thakker [Sun, 14 Feb 2016 22:53:24 +0000 (22:53 +0000)]
Merge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5 am: a3798d7a92 am: d6de840957
am: b9f686968c

* commit 'b9f686968cbbf953700f68be0076a461a71e5b67':
  Fix missing observer reply callbacks

8 years agoMerge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev am: ae31e13...
Akshay Thakker [Sun, 14 Feb 2016 22:49:56 +0000 (22:49 +0000)]
Merge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev am: ae31e13ae8 am: eae2b8978f am: bc45c5e1a3
am: d2ab7430b3

* commit 'd2ab7430b38356cc438d070ba07dfcd38381c62f':
  Exit getAllValidScorers early if not the primary.

8 years agoMerge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5 am: a3798...
Akshay Thakker [Sun, 14 Feb 2016 22:48:31 +0000 (22:48 +0000)]
Merge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5 am: a3798d7a92
am: d6de840957

* commit 'd6de84095735a32e160f5ae9ce93489b0b19eeed':
  Fix missing observer reply callbacks

8 years agoDO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm. am: e79c73d6...
Dan Sandler [Sun, 14 Feb 2016 22:48:22 +0000 (22:48 +0000)]
DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm. am: e79c73d626 am: 4baa901205 am: c644228110  -s ours
am: f16ff85adc

* commit 'f16ff85adc9f1ea4c79f2aae9331e6ea2188c719':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.

8 years agoMerge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev am: ae31e13...
Akshay Thakker [Sun, 14 Feb 2016 22:42:32 +0000 (22:42 +0000)]
Merge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev am: ae31e13ae8 am: eae2b8978f
am: bc45c5e1a3

* commit 'bc45c5e1a35fb248cd327846e0c68f930b64d653':
  Exit getAllValidScorers early if not the primary.

8 years agoDO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm. am: e79c73d6...
Dan Sandler [Sun, 14 Feb 2016 22:41:30 +0000 (22:41 +0000)]
DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm. am: e79c73d626 am: 4baa901205
am: c644228110  -s ours

* commit 'c64422811060548ac9f754b12b2ce23ed81b1fe0':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.

8 years agoMerge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5
Akshay Thakker [Sun, 14 Feb 2016 22:37:55 +0000 (22:37 +0000)]
Merge "Fix missing observer reply callbacks" into mnc-dr-dev am: d1811e07d5
am: a3798d7a92

* commit 'a3798d7a92ecefe1117b99a2e0f5edce1644f1d0':
  Fix missing observer reply callbacks

8 years agoMerge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev am: ae31e13ae8
Akshay Thakker [Sun, 14 Feb 2016 22:36:51 +0000 (22:36 +0000)]
Merge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev am: ae31e13ae8
am: eae2b8978f

* commit 'eae2b8978f8cfdedac9404bf4c653f3f9b51f6dd':
  Exit getAllValidScorers early if not the primary.

8 years agoDO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm. am: e79c73d626
Dan Sandler [Sun, 14 Feb 2016 22:35:39 +0000 (22:35 +0000)]
DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm. am: e79c73d626
am: 4baa901205

* commit '4baa9012058c8366d39ed9d07fee0f6da0fd6e71':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.

8 years agoMerge "Fix missing observer reply callbacks" into mnc-dr-dev
Akshay Thakker [Sun, 14 Feb 2016 22:30:47 +0000 (22:30 +0000)]
Merge "Fix missing observer reply callbacks" into mnc-dr-dev
am: d1811e07d5

* commit 'd1811e07d5ee751cbdc37a3ff84e2e010ead7adf':
  Fix missing observer reply callbacks

8 years agoMerge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev
Akshay Thakker [Sun, 14 Feb 2016 22:27:20 +0000 (22:27 +0000)]
Merge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev
am: ae31e13ae8

* commit 'ae31e13ae8785c627ac781a565fa41bc982cfb99':
  Exit getAllValidScorers early if not the primary.

8 years agoDO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
Dan Sandler [Sun, 14 Feb 2016 22:25:09 +0000 (22:25 +0000)]
DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
am: e79c73d626

* commit 'e79c73d6267681dbbc8bd4eccf9a79e3017f6fe9':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.

8 years agoMerge "Fix missing observer reply callbacks" into mnc-dr-dev
Akshay Thakker [Sun, 14 Feb 2016 22:23:53 +0000 (22:23 +0000)]
Merge "Fix missing observer reply callbacks" into mnc-dr-dev

8 years agoMerge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev
Akshay Thakker [Sun, 14 Feb 2016 22:17:31 +0000 (22:17 +0000)]
Merge "Exit getAllValidScorers early if not the primary." into mnc-dr-dev

8 years agoMerge "Clearing mDestroying flag when app is made visible again" into nyc-dev
Chong Zhang [Sat, 13 Feb 2016 18:14:25 +0000 (18:14 +0000)]
Merge "Clearing mDestroying flag when app is made visible again" into nyc-dev
am: 3dbcd203c5

* commit '3dbcd203c57e9845582b59d9d5914bd6df7d2e1f':
  Clearing mDestroying flag when app is made visible again

8 years agoMerge "Clearing mDestroying flag when app is made visible again" into nyc-dev
Chong Zhang [Sat, 13 Feb 2016 18:09:46 +0000 (18:09 +0000)]
Merge "Clearing mDestroying flag when app is made visible again" into nyc-dev

8 years agoMerge "Add mediadrm service" into nyc-dev
Jeff Tinker [Sat, 13 Feb 2016 08:16:03 +0000 (08:16 +0000)]
Merge "Add mediadrm service" into nyc-dev
am: f35b991438

* commit 'f35b9914383e6f55008e0c5d74f49a6365c9522f':
  Add mediadrm service

8 years agoMerge "Add mediadrm service" into nyc-dev
Jeff Tinker [Sat, 13 Feb 2016 08:08:31 +0000 (08:08 +0000)]
Merge "Add mediadrm service" into nyc-dev

8 years agoMerge "Fix the text so it\'s visible with current themes." into nyc-dev
Joe Onorato [Sat, 13 Feb 2016 07:58:52 +0000 (07:58 +0000)]
Merge "Fix the text so it\'s visible with current themes." into nyc-dev
am: b5b85fc397

* commit 'b5b85fc397061587dbdfad3b7c6e1ff828014c0b':
  Fix the text so it's visible with current themes.

8 years agoAAPT2: Fix source output when error occurs in style
Adam Lesinski [Sat, 13 Feb 2016 07:57:11 +0000 (07:57 +0000)]
AAPT2: Fix source output when error occurs in style
am: 5f7c461be6

* commit '5f7c461be69b549e00c778dcb3a417dffc96e220':
  AAPT2: Fix source output when error occurs in style

8 years agoMerge "Fix the text so it's visible with current themes." into nyc-dev
Joe Onorato [Sat, 13 Feb 2016 07:49:37 +0000 (07:49 +0000)]
Merge "Fix the text so it's visible with current themes." into nyc-dev

8 years agoFix the text so it's visible with current themes.
Joe Onorato [Tue, 2 Feb 2016 02:05:46 +0000 (18:05 -0800)]
Fix the text so it's visible with current themes.

Change-Id: Ia3f962a8a46ea05465476961de2d297cf08c75b4

8 years agoAAPT2: Fix source output when error occurs in style
Adam Lesinski [Sat, 13 Feb 2016 07:38:08 +0000 (23:38 -0800)]
AAPT2: Fix source output when error occurs in style

We were serializing the wrong Source when writing to protobuf

Change-Id: Ib65e962ebc1244ddf4af0e5666aaaebe5f7864a8

8 years agoMerge "AAPT2: Introduce notion of \'product\' to ResourceTable" into nyc-dev
Adam Lesinski [Sat, 13 Feb 2016 06:31:21 +0000 (06:31 +0000)]
Merge "AAPT2: Introduce notion of \'product\' to ResourceTable" into nyc-dev
am: 923e6342fb

* commit '923e6342fbf40fb3d6d5fe02ae4821e58e43ff52':
  AAPT2: Introduce notion of 'product' to ResourceTable

8 years agoMerge "AAPT2: Introduce notion of 'product' to ResourceTable" into nyc-dev
Adam Lesinski [Sat, 13 Feb 2016 06:28:06 +0000 (06:28 +0000)]
Merge "AAPT2: Introduce notion of 'product' to ResourceTable" into nyc-dev

8 years agoAAPT2: Introduce notion of 'product' to ResourceTable
Adam Lesinski [Sat, 13 Feb 2016 06:18:51 +0000 (22:18 -0800)]
AAPT2: Introduce notion of 'product' to ResourceTable

This allows us to preserve the various product definitions during the compile
phase, and allows us to select the product in the link phase.

This allows compiled files to remain product-independent, so that they do not need
to be recompiled when switching targets.

Bug:25958912
Change-Id: Iaa7eed25c834b67a39cdc9be43613e8b5ab6cdd7

8 years agoMulti packages per APK - broadcasts
Svet Ganov [Sat, 13 Feb 2016 04:26:03 +0000 (04:26 +0000)]
Multi packages per APK - broadcasts
am: f4ff39c92b

* commit 'f4ff39c92be840d5f53c42cb02cef6b03a1ca70f':
  Multi packages per APK - broadcasts

8 years agoAdd mediadrm service
Jeff Tinker [Fri, 12 Feb 2016 16:58:32 +0000 (08:58 -0800)]
Add mediadrm service

Part of media security hardening

This is an intermediate step toward moving
mediadrm to a new service separate from mediaserver.
This first step allows mediadrmservice to run based
on the system property media.mediadrmservice.enable
so it can be selectively enabled on devices that
support using native_handles for secure buffers.

bug: 22990512
Change-Id: I9af073d8383f25657938d07be90c21c0dc6126b7

8 years agoMulti packages per APK - broadcasts
Svet Ganov [Thu, 4 Feb 2016 22:27:05 +0000 (14:27 -0800)]
Multi packages per APK - broadcasts

This change introduces the ability to have multiple packages per
APK. The feature is currently restricted to privileged apps and
updates to such apps.

In essence the manifest can have multiple child package declarations.
A child package can declare everything an Android package can except
some tags or attributes that are not applicable and instead inherited
from the parent when needed. For example, the target SDK of the parent
applies to all children.

A child package can be updated only through the parent package.
A package with multiple child packages is installed, uninstalled
atomically - no partial installs where some child packages are not
installed.

This change ensures that we send package broadcasts for child packages
when they are updated, removed, disabled, replaced, etc.

Sample app:ag/848432

Change-Id: I25b29c98152dcad9ede4d4eb040cc897b7f93426

8 years agoFix missing observer reply callbacks
Amith Yamasani [Fri, 20 Nov 2015 17:44:08 +0000 (09:44 -0800)]
Fix missing observer reply callbacks

This was causing upto 2 seconds in user switching delay.

Bug: 25813588
Change-Id: Icf23b021f134a8ccfa2dae470af02b2da7454acc

8 years agoMerge "Update pointer icon when View.setPointerIcon is called" into nyc-dev
Vladislav Kaznacheev [Sat, 13 Feb 2016 02:11:50 +0000 (02:11 +0000)]
Merge "Update pointer icon when View.setPointerIcon is called" into nyc-dev
am: 477243b058

* commit '477243b058bbc303bea6ba3aab445fd82a9f9155':
  Update pointer icon when View.setPointerIcon is called

8 years agoMerge "Update pointer icon when View.setPointerIcon is called" into nyc-dev
Vladislav Kaznacheev [Sat, 13 Feb 2016 02:03:27 +0000 (02:03 +0000)]
Merge "Update pointer icon when View.setPointerIcon is called" into nyc-dev

8 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Sat, 13 Feb 2016 01:45:24 +0000 (01:45 +0000)]
Merge "Add missing liblog dependency"
am: 140d7d27f1

* commit '140d7d27f1940d32aa6123414126026e1c382792':
  Add missing liblog dependency

8 years agoMinor tweaks
Winson [Sat, 13 Feb 2016 01:42:26 +0000 (01:42 +0000)]
Minor tweaks
am: 680888123d

* commit '680888123db816ad0c5f082d1e9b3f9b756bc7b6':
  Minor tweaks

8 years agoAdjusting the tuner flags to allow disabling fast toggle.
Winson [Sat, 13 Feb 2016 01:40:25 +0000 (01:40 +0000)]
Adjusting the tuner flags to allow disabling fast toggle.
am: 14e15b2ca1

* commit '14e15b2ca1f1d1c97f4ee50331c8dedb88315c47':
  Adjusting the tuner flags to allow disabling fast toggle.

8 years agoMoving dim calculation into the stack layout.
Winson [Sat, 13 Feb 2016 01:38:16 +0000 (01:38 +0000)]
Moving dim calculation into the stack layout.
am: 1bcf3c4742

* commit '1bcf3c4742da5a1d9c04c73efac5c2418142c262':
  Moving dim calculation into the stack layout.

8 years agoMerge "Fix Rename Document tests" into nyc-dev
Aga Wronska [Sat, 13 Feb 2016 01:08:09 +0000 (01:08 +0000)]
Merge "Fix Rename Document tests" into nyc-dev
am: c4524a97c4

* commit 'c4524a97c4364e2d737bc85fb0027abe63bfbbd0':
  Fix Rename Document tests

8 years agoMinor tweaks
Winson [Sat, 13 Feb 2016 00:06:04 +0000 (16:06 -0800)]
Minor tweaks

- Initializing to focused state when going into Recents
- Dimming the front-most tasks to highlight the focused task
- Fixing wrong call to resize in the LruCache

Change-Id: I41833a9dc59a9bdf4a94b698e4800c1019bceb01

8 years agoAdjusting the tuner flags to allow disabling fast toggle.
Winson [Fri, 12 Feb 2016 00:40:36 +0000 (16:40 -0800)]
Adjusting the tuner flags to allow disabling fast toggle.

Change-Id: I0da29479c075a41ddb49e9852eb912604efa9aa8