234105 Commits

Author SHA1 Message Date
Sungsoo Lim
b21622d477 Merge "Revert "ExifInterface: switch from using jhead to java implementation"" into nyc-dev 2016-02-25 11:50:43 +00:00
Sungsoo Lim
3c233ee291 Revert "ExifInterface: switch from using jhead to java implementation"
This reverts commit bf24c9fcb3e66b25c90c0cd51f8bf4f401f6c3d6.

Change-Id: Id278e831a9c03f615208fd6eab51c65f7bb019eb
2016-02-25 11:48:10 +00:00
Andrei Stingaceanu
86ea8f002c Suspend packages - decline suspending privileged apps
Because there is a high risk of making the system instable.

Bug: 22776761
Bug: 26949256
Bug: 26949428
Bug: 26683041
Change-Id: I73b3f05c13b5023db5176e709320ca6e2e5f6354
2016-02-25 11:20:18 +00:00
Donghyun Cho
f72ecded69 Merge "MediaSession: Add a way to get a calling package" into nyc-dev 2016-02-25 10:01:15 +00:00
Daichi Hirono
1bc289c92c Merge "Resolve unmapped document when the device is connected." into nyc-dev 2016-02-25 08:37:14 +00:00
Jaewan Kim
c92a7d12e3 PIP: Make PIPed activity to be focused from Recents
This makes PIPed activity to look like part of the Recents.

Bug: 26946155
Change-Id: Ic0ac441e57af5594c06701fa9d30400f0f7cc5a5
2016-02-24 23:59:27 -08:00
Seigo Nonaka
bd5cbdd638 Make system locale persistent.
Configuration values are not persistent.
To make system locale persistent, use Settings.System entry.

During start up, the configuration is filled from Settings.
When the system locale is changed by Settings, the locale list in
configuration is copied to Settings value.

Bug: 26732134
Change-Id: If57e13cc4179ff6299c71b4ab030f9d856748dea
2016-02-25 15:34:23 +09:00
Joshua Schwarz
349537b737 Add Google Now intent so that it is discoverable to AppLaunch metrics.
Change-Id: I65ddce1499c3fa2ca54b815709270610a273e571
2016-02-24 22:26:38 -08:00
Seigo Nonaka
f7b2baa5ba Merge "Fix suggestion window issues." into nyc-dev 2016-02-25 06:16:37 +00:00
Seigo Nonaka
6d2b3ac67c Merge "Show selection handles at the correct position for view transformation" into nyc-dev 2016-02-25 05:59:19 +00:00
Seigo Nonaka
8187ac3365 Fix suggestion window issues.
- Unable to commit suggestion by tap at the right edge of the row.
  It turned out that the ListView doesn't fill the entire width of the
  window. Fix this issue by specifying match_parent instead of
  wrap_content. The Holo theme already has a match_parent attribute.

- Follow up of I03e0f602970b3b8f638f6c7b8cdff7be07ec17a6
  Unexpected trancation happens on Matrial suggestion window was fixed,
  but same issue happens on the Holo suggestion window. Fixing by
  removing ellipsize=marquee.

Bug: 15347319
Bug: 27341560
Change-Id: Ic8445022634e9130f9462e02bfb08d4877396ba3
2016-02-25 14:57:20 +09:00
Jaesung Chung
9ad5278e2b Merge "ExifInterface: switch from using jhead to java implementation" into nyc-dev 2016-02-25 05:35:54 +00:00
Mitchell Wills
634c1f9d0d Modify WakeupMessage to only send the message if not canceled
Change-Id: I9ca6d3726fe25c706b644bf61119837a7cbe6db1
2016-02-24 20:17:39 -08:00
Winson Chung
e1c4641d6f Merge changes Ib309e9de,Ia7cf8b99,I055b0825,Ie2ea4318,If92221d3 into nyc-dev
* changes:
  Fixing crash when focusing tasks.
  Minor tweaks to layout and visuals.
  Improving transition from paging to stack.
  Fixing issue with persistent screenshot notification
  Updating task description when activity is visible.
2016-02-25 03:15:25 +00:00
Yohei Yukawa
b3fdffbb48 Merge changes Iaf179d60,I315cf372,I21d3c5cc into nyc-dev
* changes:
  Use LocaleList for implicitly enabled subtypes.
  Add a utility method to filter locales.
  Mechanical refactoring in InputMethodUtilsTest.
2016-02-25 02:57:51 +00:00
Jaewan Kim
565f11f9d5 Merge "Revert "PIP: Temporarily disable overlay text bubble timeout"" into nyc-dev 2016-02-25 02:52:14 +00:00
Jaewan Kim
36a165d712 Revert "PIP: Temporarily disable overlay text bubble timeout"
Bug: 27224884
This reverts commit bfef1edd2632fecc99600fcdb5e0d0854373cee1.
2016-02-24 18:50:28 -08:00
Jae Seo
a6d34ee8b4 TIF: Define activity action to set up channel sources
Bug: 24776978
Change-Id: Ib176217bb896fa10db73c5aa8568171b9f6e2fe7
2016-02-24 18:44:21 -08:00
Chris Craik
1b7db4000e Cleanup vertex attrib management
bug:27289007

Also removes unused code in MeshState

Change-Id: I46116631111cc82e1cdffb5706344bbb6d4c6600
2016-02-24 18:33:41 -08:00
Daichi Hirono
9e08d41ca8 Merge "Delete disconnected row when the corresponding remote file is deleted in a MTP device." into nyc-dev 2016-02-25 02:30:44 +00:00
Yohei Yukawa
e985c240e3 Use LocaleList for implicitly enabled subtypes.
There are two major changes in this CL:

  1. Now IMMS resets its internal state whenever the system locale list
     is changed, rather than just checking the primary system locale.
  2. For software keyboard subtypes,
     InputMethodUtils#getImplicitlyApplicableSubtypesLocked() now takes
     the entire system locale list into account when determining what
     subtypes should be enabled by default when the user does not
     explicitly enable one or more subtypes.

Bug: 27129703
Change-Id: Iaf179d60c12b9a98b4f097e2449471c4184e049b
2016-02-24 18:27:04 -08:00
Jorim Jaggi
5a5057a78b Merge "Use actual window size for layout" into nyc-dev 2016-02-25 02:26:32 +00:00
Yohei Yukawa
102ff0726d Add a utility method to filter locales.
This is a preparation CL to take secondary system locales into
account in InputMethodUtils#getImplicitlyApplicableSubtypesLocked().

Suppose the following situation:

  available subtypes:
    en-US, en-IN, and en-GB, fr, fr-CA, fr-CH, fr (QWERTZ)
  system locales:
    en-GB, en-US, fr-MC

Basically we want to have at most one subtype for each language appears
in system locales.  Hence the goal of this utility method is to filter
the above available subtypes into en-GB and fr.  In other word, we do
not want to enable both en-GB and en-US subtypes in this scenario.

This CL introduces LocaleUtils#filterByLanguage() for this purpose, with
some unit tests.  Note that that method is not used in production yet.

Bug: 27129703
Change-Id: I315cf3722a06e00bdbfac284c4949578da8fe78d
2016-02-24 18:25:16 -08:00
Thierry Strudel
0601a1c670 Merge "Revert "Temporary fix for QXDM crashes."" into nyc-dev 2016-02-25 02:16:51 +00:00
Thierry Strudel
e60b28d99b Revert "Temporary fix for QXDM crashes."
This reverts commit d7793693ad6b8937bb7850573278b881618795b0.

Change-Id: I9f27d6d5075be7b170ebe7a5bf4f2c3fe8c7c604
2016-02-25 02:14:16 +00:00
Aga Wronska
5099cca93d Merge "Launch the activity with the test root opened for tests to reduce some flakiness and save time used on opening test root over and over again." into nyc-dev 2016-02-25 02:06:33 +00:00
Daniel Sandler
ab0037c8a0 Merge "N-release temporary platlogo." into nyc-dev 2016-02-25 02:05:55 +00:00
Dan Sandler
bbcf8b6567 N-release temporary platlogo.
What are we going to do 13 releases from now, I wonder?

Bug: 27315386
Change-Id: I65814f9cd686b3bac537565166b2a5d09a9b8f2b
2016-02-25 02:04:51 +00:00
Jaesung Chung
bf24c9fcb3 ExifInterface: switch from using jhead to java implementation
Bug: 26044456, Bug: 11224701
Change-Id: I881ef0ead24bcec76c0fa5a7dd0b74cc71c77285
2016-02-25 10:57:27 +09:00
Chris Wren
f57c500e52 Merge "remove some logspam and fix an NPE" into nyc-dev 2016-02-25 01:57:17 +00:00
Jorim Jaggi
26d02d29e3 Use actual window size for layout
When doing the actual layout pass, desiredWindowWidth/Height might be wrong,
because window manager has the final say how large the surface is, so use
that size.

Bug: 27342700
Change-Id: I4f74fdef66ba7aa88b86f8c95fb391b1cc847beb
2016-02-25 01:21:20 +00:00
Jorim Jaggi
5160527595 Show toast if app was forced to be resizable
Bug: 27327287
Change-Id: Iaf33f0ba27a6bfb240068b9cf21732b0870f4429
2016-02-25 01:13:25 +00:00
Edward Cunningham
648b952956 Merge "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details."" into nyc-dev 2016-02-25 01:10:57 +00:00
Alex Klyubin
7867557f7a Merge "Add Network Security Config documentation." into nyc-dev 2016-02-25 01:01:21 +00:00
Alex Klyubin
88b42855c9 Only debuggable packages can be downgraded.
This reflects the change in PackageManager service:
frameworks/base commit 921dd754ab49df0cd580ff96503f7616c4c85f4a.

Bug: 27327503
Change-Id: Ic13788a3850c4d1a3a566b208853de9a6d2c5237
2016-02-24 16:52:01 -08:00
Randy Pan
366da67282 Retire ScanResult.autoJoinStatus
This attribute is no longer in use.

Bug: 27340037
Change-Id: I2e5dfdc266673388a55ef34a4d088352d2e1723c
2016-02-24 16:51:05 -08:00
Chong Zhang
f8fb6d1261 Merge "Make sure background drawable callback is cleared during resizing" into nyc-dev 2016-02-25 00:38:19 +00:00
Aga Wronska
b9eeee1543 Launch the activity with the test root opened for tests
to reduce some flakiness and save time used on opening test root over
and over again.

Bug: 27271765
Change-Id: I6fa191ed8e0c7e8e071e4dd17c62aab5db1e23a5
2016-02-24 16:34:43 -08:00
Winson
c438702740 Fixing crash when focusing tasks.
- We call bindVisibleTaskViews() at the new scroll value expecting all
  visible task views at that scroll to be bound synchronously, however, 
  the call to computeVisibleTaskTransforms() would not produce the 
  correct visible range if the visible range at the current and new
  scroll resulted in gaps (ie. at scroll 0, 0-3 are visible, and at 
  scroll s, 5-8 were visible).  As a result, the task view would not be
  bound, causing a later crash.  

  Instead of the optimization before, which would assume every task 
  after the first non-visible task would also be non-visible, we can
  just update the transforms for all task views.  This ensures that 
  all visible task views should be bound, even if they are not in a 
  contiguous range.  A global range is still provided in the call to 
  allow accessibility to focus the next task when a task is unbound at 
  the two ends of the stack.
- Also removing expensive calls to remove all listeners and cancel 
  animations that are not even started.

Bug: 27295423

Change-Id: Ib309e9de3095cacb178ae9ff5c53b8ee2c7ddac0
2016-02-24 16:31:10 -08:00
Winson
12858a6eae Minor tweaks to layout and visuals.
- Constructing max dim paths to be dependent on focused range
- Reducing highlight on tasks
- Making header/icons smaller

Change-Id: Ia7cf8b996428012e9619a640e178b4b42e094d68
2016-02-24 16:31:05 -08:00
Winson
66474134a7 Improving transition from paging to stack.
- When we start scrolling, project the tasks onto the unfocused curve,
  then reduce the offsets from the projected task indices back to the
  normal indices as you scroll.  This doesn’t give you a perfect result,
  especially when scrolling in the same direction as the tasks are 
  offset, but is better than what we have now.

Change-Id: I055b08257fe1427e00e26ffa02f261cf51a8a2e0
2016-02-24 16:31:00 -08:00
Winson
e559171fe1 Fixing issue with persistent screenshot notification
- Ensure that we dismiss notifications when cancelled
- Removing unnecessary notification id and cancel extra
- Fixing the strings when capturing a screenshot fails

Bug: 27149651
Bug: 27177097
Change-Id: Ie2ea4318309fff4041acb04833216fdd5cf8838a
2016-02-24 16:30:38 -08:00
Winson
b6403150af Updating task description when activity is visible.
Bug: 27275448
Change-Id: If92221d30c84c58b5d36db1b254d264a0ff3ec25
2016-02-24 16:30:17 -08:00
Chad Brubaker
06aabf4eb8 Add Network Security Config documentation.
Initial pass at Network Security Config documentation, this also adds a
Security section to the list of topics which is currently just a stub.

Bug: 26931435
Change-Id: Iae0ec98a202ad3222b8f3ef39df77ecd2316504a
2016-02-24 16:20:05 -08:00
John Reck
106c651aef Merge "Aggressively unbind GL_PIXEL_UNPACK_BUFFER" into nyc-dev 2016-02-25 00:14:24 +00:00
Alex Klyubin
c008d3f196 Merge "Disallow downgrading of non-debuggable packages." into nyc-dev 2016-02-25 00:05:36 +00:00
Chad Brubaker
c1b0236d70 Merge "Dont trust the user added CA store by default for apps targeting N" into nyc-dev 2016-02-25 00:02:37 +00:00
Phil Burk
8dcdaaf11f Merge "Settings: add ENCODED_SURROUND_OUTPUT" into nyc-dev 2016-02-24 23:49:18 +00:00
Ben Kwa
b23ce29b8f Return true when keystrokes are handled in BaseKeyListener.
BUG=27340791

Change-Id: If9a61c19eea2c1c1833f7ec45c8a474048470aaa
2016-02-24 15:47:08 -08:00
Maria Garcia Puyol
84a698934b Merge "Grant permissions for EmergencyInfo app" into nyc-dev 2016-02-24 23:44:05 +00:00