233140 Commits

Author SHA1 Message Date
Adam Lesinski
e4735a9959 Merge "Fix up some small resource issues" into nyc-dev 2016-02-16 18:34:28 +00:00
Aga Wronska
f9b78bb69d Merge "Fix focus issues in directory fragment * Empty directory view gets focus when shown * Skip opening drawer when showing empty search results * Fix typo" into nyc-dev 2016-02-16 18:29:50 +00:00
Aga Wronska
d4b1753170 Fix focus issues in directory fragment
* Empty directory view gets focus when shown
    * Skip opening drawer when showing empty search results
    * Fix typo

Bug: 27109140
Change-Id: Ie62d48e1c3f78e5244d88067587b3e5986f99a03
2016-02-16 10:15:24 -08:00
Peter Qiu
b3f9ee0d5a Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev
am: 03d7581cf6

* commit '03d7581cf6dcc8072fe22c834513593a46fcf93b':
  WifiConfiguration: add constants for radio band
2016-02-16 18:14:42 +00:00
Wale Ogunwale
b6e2eaddfc Fixed issue with losing window name when copying WindowManager.LayoutParams
It is possible for the WindowManager.LayoutParams set from a view/window on
the client side not to have the LayoutParams.mTitle set. This is normally
not an issue as we later set it to the package name before passing the
LayoutParams to window manager. However, we rely on the full window name
in order to identify unique windows during CTS hostside tests. We now
retain the current LayoutParams.mTitle if the LayoutParams we are copying
form didn't set one.

Bug: 26982752
Change-Id: Icc3c5937391ed1646c3777921c6f61c27ebec05d
2016-02-16 10:10:09 -08:00
Wale Ogunwale
06e8ee0c8a Added AM API to remove a stack
Use the new API when closing Pip.

Bug: 26982752
Change-Id: I074d23b5535a4534626183ab77142d3932a803f0
2016-02-16 10:09:51 -08:00
Wale Ogunwale
5658e4b94d Don't resume activity on start if there are activities pausing.
The path to start an activity if it isn't running was unconditionally
resuming the starting activity which we don't do if there are activities
pausing. It now starts the activity in a paused state if other activities
are pausing. It is then resumed when pause completes.

Also, improved logging in BoundsAnimationController and removed some
disabled code that has been in the codebase for 6yrs...

Bug: 26982752
Change-Id: Ie042fc938331127f1270fca1b5905b067b9dae7c
2016-02-16 10:09:24 -08:00
Alan Viverette
60d9695bb8 Force uniform width for MATCH_PARENT in AlertDialogLayout
The initial layout passes run using whatever was specified by the
parent, which ensures that TOO_SMALL will get set correctly when
needed. The final layout pass runs as EXACTLY to ensure that
MATCH_PARENT widths are correctly set.

Bug: 27030200
Change-Id: Ia7af3f75746e725761e78e7c4eefb0b31f499113
2016-02-16 18:07:32 +00:00
Peter Qiu
03d7581cf6 Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev 2016-02-16 18:04:14 +00:00
Wale Ogunwale
b305e16051 Merge "Force resize pre-N apps that don't have fixed orientation." into nyc-dev 2016-02-16 17:54:33 +00:00
Florian Salbrechter
067902ce7b Fix bug in IntentService and Service example code.
Use Thread.sleep instead of Object.wait which simplifies the example.
Also there is a tiny chance, that wait will be called with 0, which
blocks forever.

Change-Id: I4cf90a33089a64bdf802620350f76af08f15f721
(cherry picked from commit 77d8857ed58503669e0659989c02fb7f1ca936b4)
2016-02-16 17:37:36 +00:00
Winson Chung
bc56ca34aa Merge "Adding null check for invalid activity" into nyc-dev 2016-02-16 17:32:36 +00:00
Winson
59e18729f0 Adding null check for invalid activity
Bug: 24569398

Change-Id: I509bacaab810407a3d4b44781f698b5c76a6af8a
2016-02-16 09:29:48 -08:00
Dongwon Kang
8da2bf4946 Merge "TIF: Unhide TvInputInfo.isHidden/loadCustomLabel" into nyc-dev 2016-02-16 17:22:08 +00:00
Jaewan Kim
c3e78d5e62 Merge "Revert "PIP: Use long press HOME for PIP on Android TV (2/2)"" into nyc-dev 2016-02-16 17:11:58 +00:00
Jaewan Kim
76b7d0d5d7 Revert "PIP: Use long press HOME for PIP on Android TV (2/2)"
Long press HOME will launch recents instead.

Bug: 27159966
Change-Id: I9a4fd847d716d7e4e4754c7a9c48628c46f82233
2016-02-16 09:09:18 -08:00
Sergey Poromov
1760fe3f95 Fix BackupTransport#getBackupQuota() javadoc.
Change-Id: Ifff3329c618dabd2e73011439a2ddce2f0eeabf6
2016-02-16 18:04:35 +01:00
Jeff Sharkey
82a6017fc5 Merge "More protected broadcasts." into nyc-dev 2016-02-16 16:48:29 +00:00
Jeff Sharkey
a3331309a9 Merge "Disable StrictMode when starting activity." into nyc-dev 2016-02-16 16:47:48 +00:00
Tao Bao
1256ab6734 Merge "BootReceiver: Stop using SharedPreferences." into nyc-dev 2016-02-16 16:46:54 +00:00
Jeff Sharkey
37fc7a7fc0 More protected broadcasts.
These actions are owned by the system and should not be sent by
third-party apps for security reasons.

Bug: 27171917, 27169730, 27172357, 27163393
Change-Id: I3161cd3c1c37d26a92723b22878dc5aef6f30c47
2016-02-16 09:41:57 -07:00
Michal Karpinski
e9377a7d84 Remote bugreport notifications rework
Merging two notifications into one.

Bug: 27095707
Change-Id: Ib6582dabb7370f9b3b6e673b19ab43b70c73433a
2016-02-16 16:34:35 +00:00
Leon Scroggins III
c46813d724 Clean up some Skia includes
Neither of these files need SkScalerContext.h. Remove those includes.
One really needs SkGlyph.h, so include it instead.

Change-Id: Ic7cfce9e7784c9290c5a2dfdd8385b65d32f9b76
2016-02-16 16:32:13 +00:00
Jeff Sharkey
2b9eb89aed Disable StrictMode when starting activity.
Since intents can come in from older apps, don't let them crash us
by including file:// Uris.  This narrows the relaxation to only apply
when starting the requested intent.

Bug: 27070755
Change-Id: Ifcf9068424e072f52758c8feeab5fbf23d678a2e
2016-02-16 09:21:53 -07:00
Rubin Xu
5db2f16f15 Merge "Initialize mTiles before constructing AutoTileManager" into nyc-dev 2016-02-16 16:12:45 +00:00
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
Andrei Stingaceanu
355b232d79 Suspend packages - new API for retrieving the suspended status
Instead of always rebuilding the full ApplicationInfo for a
package when callers are only interested in the suspended status
add a new fast API in Packagemanager (which only checks the
suspended user setting for the requested package and returns
a boolean) and change the appropriate caller code too.

Bug: 26794775
Bug: 22776761
Change-Id: Ide8428ef734479360d5a8a75fd8e0ed8ddf2da7a
2016-02-16 14:57:29 +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
Tomasz Mikolajewski
3d988a969f Provide siblings in a sorted orders in DocumentsUI.
Bug: 27192158
Change-Id: Idefd2ba3027cd4630fcd2aefade9e6b4952e7125
2016-02-16 17:18:34 +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
Wale Ogunwale
508ff55e8c Force resize pre-N apps that don't have fixed orientation.
We were previously only doing it for SCREEN_ORIENTATION_UNSPECIFIED,
but there are other orientation settings that aren't fixed that we
need to handle.

Change-Id: If21fcd8312b6267407d94b6646158ac6eae44b44
2016-02-15 19:31:50 -08: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