234307 Commits

Author SHA1 Message Date
Arunesh Mishra
7dbef2da93 Merge "Fix AlwaysOnHotwordDetector recognition event bug." into nyc-dev 2016-02-24 23:12:12 +00:00
Adam Powell
dc5e3a3074 Merge "Protect FragmentManager against View.NO_ID container ids" into nyc-dev 2016-02-24 23:01:34 +00:00
Mihai Nita
1fb4add16b Fix the title of the language selection list
Changed to "Add a language" (consistent with "Add an account")

Bug: 27148570
Change-Id: I4d48c83ac59884f7d568f93f83fd9ea4799c60ad
2016-02-24 14:57:25 -08:00
Todd Kennedy
fe01ea05dd Merge "Revert "Remove deprecated methods / classes"" into nyc-dev 2016-02-24 22:45:50 +00:00
Todd Kennedy
5cbeb59026 Revert "Remove deprecated methods / classes"
This reverts commit 9706c01f9b92cee64bb84782138735225c8588e0.

Change-Id: I14c53ab140220e48f6728b1173ea58760bbeb7f9
2016-02-24 22:45:00 +00:00
Edward Cunningham
c6f5738d3c Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details."
This reverts commit baccf15a4adafe3fb3fdf23c35ea29d95c45c89b.

Change-Id: If218d579cbf473fdab2b16a715a5dbb75dc9fbbc
2016-02-24 22:43:15 +00:00
Alex Klyubin
921dd754ab Disallow downgrading of non-debuggable packages.
An attacker could downgrade a package to an older version with known
security vulnerabilities and then use some of the vulnerabilities to
access the application's data. This would constitute a bypass of
Android Application Sandbox. Thus, downgrading while keeping
application data is no longer permitted.

To help developers debug their apps, packages marked as debuggable can
still be downgraded while keeping their data. This does not put the
installed base at risk because, as a security measure, most
application stores reject packages marked as debuggable.

To downgrade a non-debuggable (i.e., release) package, uninstall the
package (thus wiping its data), then install the older version of the
package.

Bug: 27327503
Change-Id: Iac75ed3c3831b5d925dfd8b660527cfa95813da8
2016-02-24 14:42:02 -08:00
Adrian Roos
c5584ceaad Fix anti falsing detection
The falsing detection stopped listening for touches
when the lockscreen showed without turning the screen off.

This happens e.g. when SystemUI crashes, when switching users,
when ending lock-to-task.

As a result, the falsing detection usually got stuck on a bad
value and without further touches continued preventing all input.

Bug: 27227578
Change-Id: I6717c04b0271e4d2578b88fc584b6ad46492e497
2016-02-24 22:41:59 +00:00
Jason Monk
b7838209cb Merge "QS Tweaks" into nyc-dev 2016-02-24 22:30:38 +00:00
Jason Monk
b53b6c566f QS Tweaks
- Bring back toolbar, save on close, reset -> overflow
 - Fix drag on touch
 - Fix battery icon size
 - Verify correct permission to display QS tile

Bug: 27327479
Bug: 27250519
Bug: 27341503
Change-Id: I8984e441222e004f7ddd4b280b0c154bda2cc742
2016-02-24 17:25:49 -05:00
Pavel Zhamaitsiak
ae4cc1519d Add registrationAssociatedUriChanged to ImsRegistrationListener
This callback will be used to pass list of associated URIs.
It is needed in case SIM doesn't have line1Number populated.

Bug: 24613146
Change-Id: I698ce58dbedb858dc59836069e6f10fec6d02ae6
2016-02-24 14:20:53 -08:00
Makoto Onuki
a4fae1545a Merge "Support safe mode properly." into nyc-dev 2016-02-24 22:20:08 +00:00
Raph Levien
785eb6039b Merge "Update data for emoji modifier bases to Unicode 9" into nyc-dev 2016-02-24 22:00:59 +00:00
Ben Kwa
c2dd99a6da Merge "Type-to-focus improvements." into nyc-dev 2016-02-24 21:55:44 +00:00
Ben Kwa
435653451c Merge "Fix a crash when browsing empty roots." into nyc-dev 2016-02-24 21:52:49 +00:00
Jason Monk
ef507c2ed0 Merge "Make sure tuner has metrics coverage for new stuff" into nyc-dev 2016-02-24 21:52:14 +00:00
Dongwon Kang
523250b6b8 Merge "TIF: Add null-checking in Programs.Genres.encode/decode" into nyc-dev 2016-02-24 21:51:22 +00:00
Ben Kwa
22937c9fc7 Type-to-focus improvements.
- Fix handling of tab and backspace keys while in type-to-search mode.
- Fix search term highlighting on directory items in grid view.
- Switch to a time-based search model.  Typing starts a search.  The
  current search expires if no keys are pressed for 500 ms.
- Make type-to-focus case-insensitive.

BUG=27336167
BUG=27324974

Change-Id: I92633222c9a04af24729501c48885eabebf00696
2016-02-24 13:49:48 -08:00
Jaewan Kim
fe2fba3742 Merge "PIP: Add RTL support" into nyc-dev 2016-02-24 21:39:45 +00:00
Jaewan Kim
26bb9b3454 PIP: Add RTL support
This also matches the PIP size with the UX redline.

Bug: 27108444
Change-Id: I786b9633e753cb26852095ff91674b2f44f30a3d
2016-02-24 13:39:02 -08:00
Matthew Williams
553389630d Merge "NPE fix for JobScheduler" into nyc-dev 2016-02-24 21:37:45 +00:00
Steve McKay
12f4509f9f Merge "Don't restore stack when picking copy destination." into nyc-dev 2016-02-24 21:32:39 +00:00
Shreyas Basarge
7d089050d6 NPE fix for JobScheduler
Add a null check before setting stop
reason for job parameters.

Bug: 27166522
Change-Id: I8b829c0cf8df7da0b8118ab75779f209d0af1b22
2016-02-24 21:30:14 +00:00
Steve McKay
c95d87c983 Don't restore stack when picking copy destination.
Move fancy drawer "fiddling" to FilesActivity.
Rename the various "Restore" tasks to better reflect their roles.

Change-Id: I7f5c3dee11112bf0a31e6219d09c572c5651629d
2016-02-24 13:29:45 -08:00
Jason Monk
5732df41db Make sure tuner has metrics coverage for new stuff
Change-Id: I1e0d8e34f518cb3fc2bd9ccff0b71dc586ed2ab6
2016-02-24 16:24:55 -05:00
Phil Burk
deaa8d94fd Settings: add ENCODED_SURROUND_OUTPUT
Support AUTO, ALWAYS or NEVER preference for using AC3 and DTS.

Bug: 24541671
Change-Id: I423969882d18d99ce93bea57d10bdb1da7063b7a
Signed-off-by: Phil Burk <philburk@google.com>
2016-02-24 13:24:54 -08:00
Tyler Gunn
b8b7630571 Merge "Adding missing break statements causing crash on MSG_SET_EXTRAS." into nyc-dev 2016-02-24 21:23:17 +00:00
Zhijun He
dd44b8652c Merge "ImageReader: skip callback when image reader is being closed" into nyc-dev 2016-02-24 21:17:51 +00:00
Tyler Gunn
86c9fb4173 Adding missing break statements causing crash on MSG_SET_EXTRAS.
The case block for MSG_SET_EXTRAS was missing its break statement, all
the way back to summer 2015 when that code was originally added.

When the new MSG_ON_CONNECTION_EVENT handler was added, it introduced a
new potential fall-through from MSG_SET_EXTRAS (in addition to the fact it
too was missing a break statement).

Bug: 27338441
Change-Id: I2df2bc78c4ceb32e6245888eed18c2d8834e629b
2016-02-24 13:17:21 -08:00
Jeff Sharkey
2f457f470c Merge "Temporary fix for QXDM crashes." into nyc-dev 2016-02-24 21:16:35 +00:00
Jeff Sharkey
d7793693ad Temporary fix for QXDM crashes.
Bug: 26971038
Change-Id: I59efbdec11ca8d9a0b640c092402091d66b220a0
2016-02-24 14:15:03 -07:00
Makoto Onuki
889c088066 Support safe mode properly.
In safe mode, IPM.queryXxx() doesn't work.  Use IPM.getReceiverInfo()
directly instead.

Bug 27108276

Change-Id: Ice8f882559b8f0596a19ddb3a16395a4dc538a25
2016-02-24 13:12:01 -08:00
Tony Mak
fe939916a6 Merge "Fix personal apps are not shown when tapping "personal" in activity chooser" into nyc-dev 2016-02-24 21:11:30 +00:00
Raph Levien
ccb4b5c078 Update data for emoji modifier bases to Unicode 9
This patch updates the set of emoji modifier bases to Unicode 9,
using data from:
http://www.unicode.org/Public/emoji/3.0/emoji-data.txt

Bug: 27039487
Change-Id: I94c09113753c0595e72f403ba01b3e7fa78c5627
2016-02-24 13:05:55 -08:00
Todd Kennedy
ca67844e0c Merge "Remove deprecated methods / classes" into nyc-dev 2016-02-24 21:02:58 +00:00
Dongwon Kang
3f6a81ba6a TIF: Add null-checking in Programs.Genres.encode/decode
Bug: 27292029
Change-Id: I041a5242f9e5fef9c5c7f89e3d5d597a6063ed4c
2016-02-24 13:01:44 -08:00
Steve McKay
8a5a25db42 Merge "Only ellipsize at end of strings." into nyc-dev 2016-02-24 21:01:09 +00:00
Steve McKay
da48a9aa07 Only ellipsize at end of strings.
Bug: 27339484, 27338617
Change-Id: I5e908c862cf9d6a2ba0c7552434914f18fbab716
2016-02-24 12:59:32 -08:00
Arunesh Mishra
f47f173b06 Fix AlwaysOnHotwordDetector recognition event bug.
Parcelables don't work well with inheritance. So changed the
IRecognitionStatusCallback to have onKeyphraseDetected() and
onGenericSoundTriggerDetected() for those respective events.

Made corresponding changes to AlwaysOnHotwordDetector and SoundTriggerDetector.

Bug: 27250528
Change-Id: Ic08a431e7cc4248c688b05c865348170246de576
2016-02-24 12:57:01 -08:00
Chris Tate
22d87695c6 Merge "Disable per-app scheduled job limits" into nyc-dev 2016-02-24 20:45:19 +00:00
Wale Ogunwale
08559dc5de Use correct task bounds when moved from fullscreen to freeform stack
When we are moving a task to the freeform stack, get the launch bounds
to use or layout in stack vs. using the existing bounds that can be
null.

Also, prevent moving a task to the freeform stack if freeform isn't supported.

Bug: 27157914
Change-Id: I0d86baa6141961b92a436107b5c5bb1316570558
2016-02-24 20:43:28 +00:00
Vadim Tryshev
12a30e8874 Add support for showing wallpaper for the user selected in UI.
This change will go nyc-dev.

There will be another change in the UI, which will go to our
branch.

Bug: 25185253
Change-Id: I6feac9fa4190b28a8599a18367bea8c6a5a83b9a
2016-02-24 20:37:43 +00:00
Alan Viverette
21d361806c Fix exit transition and dismiss callback for popup exit transition
We should run the transition only when the anchor root IS attached,
and we should only call the dismiss callback when the animation has
completed and the window has been removed.

Bug: 25323707
Bug: 26647820
Change-Id: I2bcdc901885d4c0a6c48c2b2c949797def1d7512
2016-02-24 15:34:11 -05:00
Christopher Tate
dabdf6f1bd Disable per-app scheduled job limits
Bug 27335118

Change-Id: I6ec92498c1e90e63a650db2a676cfd75dd91aced
2016-02-24 12:33:37 -08:00
Tony Mak
53ec2b6127 Fix personal apps are not shown when tapping "personal" in activity chooser
It is introduced in ag/842541.
function isMatch return flage when Flag that are neither
MATCH_ENCRYPTION_AWARE and MATCH_ENCRYPTION_UNAWARE.

We should call updateFlagsForResolve before resolving any intent in order
to make sure the flag is set properly.

Bug: 26614039
Change-Id: I4da34a34cb515557d0f5948a4c9ec4da9bfeb3f4
2016-02-24 20:26:24 +00:00
Jason Monk
f9935c511b Merge "QS Animation tweaks" into nyc-dev 2016-02-24 20:24:13 +00:00
Andre Eisenbach
84ec4fbf7b resolve merge conflicts of e6c7c8e8f2 to cw-e-dev am: dfd4b8b25c
am: 1cba33abf3

* commit '1cba33abf35159928e065ca933dfbe67189215a7':
  DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)
2016-02-24 20:22:09 +00:00
Adrian Roos
c949673876 Merge "Fix broken remote inputs" into nyc-dev 2016-02-24 20:20:14 +00:00
Adrian Roos
764d915991 Merge "Set input type on RemoteInputView" into nyc-dev 2016-02-24 20:11:44 +00:00
Adrian Roos
5dd685f24c Fix broken remote inputs
Bug: 22452379
Change-Id: Ibcf0cf23e9f163b37270d42629de01083e12643c
2016-02-24 12:05:51 -08:00