232841 Commits

Author SHA1 Message Date
Yohei Yukawa
ce3f338040 Merge changes I0f79243e,Ia27e19f9,Iec6b89f0,I276c7eb0 into nyc-dev
* changes:
  Have unified setter/getter for Secure Settings.
  Remove redundant arguments.
  Use Context#getSystemService(Class<T>) in IMMS.
  Use Java7 diamond operator in InputMethodUtils.
2016-02-16 16:11:50 +00:00
Jason Monk
d6b6e9c2ef Merge "Add missing cast tile" into nyc-dev 2016-02-16 15:40:48 +00:00
Jason Monk
4c4f3ee4f5 Add missing cast tile
Bug: 27061481
Change-Id: Icf037b199c382096d2145a7b3a169be2f6079e54
2016-02-16 10:39:04 -05:00
George Mount
21eb4e2684 Merge "Null check for fade start alpha value." into nyc-dev 2016-02-16 15:20:43 +00:00
George Mount
d86d3fd768 Merge "Set the hover state to the same as focus state in RippleDrawable." into nyc-dev 2016-02-16 15:19:03 +00:00
Neil Fuller
5393a6605f Merge "Fix a compilation error due to 1.8 type inference differences" into nyc-dev 2016-02-16 15:01:44 +00:00
Jason Monk
087ba40044 Merge "Fix RTL in Nav Bar" into nyc-dev 2016-02-16 15:01:33 +00:00
Shreyas Basarge
b55fa08c74 Merge "Fixes JobScheduler not persisting flex and sourcePackage" into nyc-dev 2016-02-16 14:55:44 +00:00
Leon Scroggins
8e552f2eae Merge "use std factory for compose-shader" into nyc-dev 2016-02-16 14:51:36 +00:00
Erik Kline
209fd91dae Add IpManager.ProvisioningRequest class
am: 93b1a36e31

* commit '93b1a36e31b42c5b33a0164f2832ab9aa12d9a00':
  Add IpManager.ProvisioningRequest class
2016-02-16 10:15:09 +00:00
Erik Kline
93b1a36e31 Add IpManager.ProvisioningRequest class
This class captures provisioning request parameters to be passed to
IpManager#startProvisioning().

Bug: 26991160
Change-Id: I56652bbc4b9ae6cfca3f225a8d99cdfc01bb54d9
2016-02-16 18:11:47 +09:00
Arunesh Mishra
57bf8eb561 Merge "Fix boot loop problem for volantis." into nyc-dev 2016-02-16 08:09:45 +00:00
Arunesh Mishra
4e0bdf3a38 Fix boot loop problem for volantis.
Bug: 27192965

Change-Id: I90febaf6a750d539847f45c2795d74b2a4b69f02
2016-02-16 00:05:53 -08:00
Tomasz Mikolajewski
cc0a0a39f8 Merge "Display correct icons in grid view." into nyc-dev 2016-02-16 08:04:36 +00:00
Tomasz Mikolajewski
4e708cb205 Display correct icons in grid view.
Bug: 27183062
Change-Id: I4c0fafc7bc6f0e2dc3d1cbdf3debf6312bb85d82
2016-02-16 17:03:16 +09:00
Sungsoo Lim
77dc4bb09e 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
2016-02-16 15:20:44 +09:00
Winson Chung
a4b27566bd Merge "Better focus handling after dismissing task/scrolling." into nyc-dev 2016-02-16 01:46:09 +00:00
Winson
23b0d3f66e 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
2016-02-15 17:43:01 -08:00
Jeff Sharkey
3104a9ffd6 Merge "Add path cache to avoid SharedPreferences jank." into nyc-dev 2016-02-16 01:38:05 +00:00
Jeff Sharkey
be78258e55 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
2016-02-15 18:36:01 -07:00
Winson Chung
61ce27d3e9 Merge "Fixing issue with front task dimming when scrolled back." into nyc-dev 2016-02-16 00:54:17 +00:00
Winson
be8f35747c Fixing issue with front task dimming when scrolled back.
Change-Id: I30d88796e7af13734c9a33def05b62bed4fb2e96
2016-02-15 16:52:27 -08:00
Jeff Sharkey
9c6d9753a0 Merge "Add feature versions for devices and apps." into nyc-dev 2016-02-16 00:47:49 +00:00
Winson Chung
9c345eceb6 Merge "Tweaking stack shadows and layout." into nyc-dev 2016-02-16 00:46:01 +00:00
Jeff Sharkey
115d2c189a 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
2016-02-15 17:45:42 -07:00
Winson
1499150478 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
2016-02-15 16:42:19 -08:00
Jeff Sharkey
128fd99019 Merge "Filter components, prevent app start in safe mode." into nyc-dev 2016-02-15 22:36:22 +00:00
Jeff Sharkey
c6ca265902 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
2016-02-15 15:33:34 -07:00
Jaewan Kim
ebc8f8f1ad PIP: Prevent onboarding activity from launching on pinned stack
Bug: 27153338
Change-Id: I7a3b5c5306e0760495b43b0deb612b3e711ad56e
2016-02-15 22:17:52 +00:00
Jeff Sharkey
46ed6f4bd6 Explicitly chmod() for compatibility.
Apps typically have a umask() that prevents the mkdir() from setting
the requested permissions.

Bug: 27116987
Change-Id: Ia14e7e31531328ab36e902a864b3d2891feec544
2016-02-15 14:16:10 -07:00
Neil Fuller
3f351a4fa0 Fix a compilation error due to 1.8 type inference differences
The code does not compile when the Jack compiler is set to
-D jack.java.source.version=1.8.

The change has no functional impact.

Bug: 26753820
Change-Id: I19d3ffd65e31648d95bb7701d89710015cfaf552
2016-02-15 21:03:41 +00:00
Jason Monk
4da1b4edf6 Fix RTL in Nav Bar
Change-Id: I0cd34c15d3985db787268ba89708758048fe0980
2016-02-15 14:56:45 -05:00
Geoff Mendal
ae8f843a4a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 16:45:22 +00:00
Geoff Mendal
5933341910 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 16:44:46 +00:00
Shreyas Basarge
8e64e2e6a4 Fixes JobScheduler not persisting flex and sourcePackage
There was a bug with persisteing and restoring flex and
sourcePackage. Fixed it and added tests.

Change-Id: Ie8e4714b4727ecef4254773fd4339b28f4a47c01
2016-02-15 15:51:52 +00:00
Geoff Mendal
62e150ea41 Import translations. DO NOT MERGE
Change-Id: Ib7501b8ad45b96229429a116525cca998dc55082
Auto-generated-cl: translation import
2016-02-15 07:34:56 -08:00
Geoff Mendal
e24d5eff43 Import translations. DO NOT MERGE
Change-Id: I2e17b7941eeca02834d88b47e3283b9b74066439
Auto-generated-cl: translation import
2016-02-15 07:24:27 -08:00
Geoff Mendal
13b99f9dbd Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 15:20:20 +00:00
Geoff Mendal
68e221ec0c Import translations. DO NOT MERGE
Change-Id: I5450d165959f42088148bf3aa9789d73137475bc
Auto-generated-cl: translation import
2016-02-15 07:19:37 -08:00
Geoff Mendal
6cc2528dff Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-15 15:16:35 +00:00
Geoff Mendal
72e09aef9b Import translations. DO NOT MERGE
Change-Id: Icea0738fea2c10d4f4c55d4a5e1febd362dcbd3f
Auto-generated-cl: translation import
2016-02-15 07:16:11 -08:00
Rubin Xu
6bdd7cab5a Merge "Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras." into nyc-dev 2016-02-15 14:30:00 +00:00
Rubin Xu
b5f0049f98 Fix typo in filling ACTION_MANAGED_PROFILE_UNLOCKED extras.
Change-Id: Ic949a0d7f72d46d7cc36018b4b0fc54024c3b180
2016-02-15 14:12:32 +00:00
Paul Crowley
99a6c3e6d9 Merge "Send extra argument to unlock_user_keys on non-FBE startup" into nyc-dev 2016-02-15 14:04:05 +00:00
Geoff Mendal
7c2d8e011a Import translations. DO NOT MERGE
Change-Id: Ie2f607c102f9345c68edc8eaca3eb6a73f622f5d
Auto-generated-cl: translation import
2016-02-15 08:26:51 -05:00
Neil Fuller
a835180b74 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
2016-02-15 12:07:21 +00:00
Narayan Kamath
2a5abc9510 Merge "Track libcore change 5731615b4d705b5af63a3126d84b8786862477d." into nyc-dev 2016-02-15 11:38:34 +00:00
Neil Fuller
9c6827c017 Merge "Add flags needed to switch Jack to 1.8 for CTS targets" into nyc-dev 2016-02-15 11:16:06 +00:00
Narayan Kamath
64aebdc02b Track libcore change 5731615b4d705b5af63a3126d84b8786862477d.
bug: 26689841
Change-Id: I463543c67cc525583d1fd6f7031a0d38f543d8a2
2016-02-15 11:08:06 +00:00
Nicolas Prévot
eff90bd5ff Merge "Allow privileged apps to set the organization color." into nyc-dev 2016-02-15 10:47:41 +00:00