233095 Commits

Author SHA1 Message Date
Ben Kwa
6f4de5b6a1 Merge "Fix focus issues on RV." into nyc-dev 2016-02-18 00:19:21 +00:00
Steve McKay
9a0fc1f680 Merge "Improvements to Copy/Move flow." into nyc-dev 2016-02-17 23:40:58 +00:00
Steve McKay
a6bbeab1d3 Improvements to Copy/Move flow.
- Always open drawer for copy/move operations.
- Set title to match operation.
- Update button to say "move" for move operations.
- Other minor fixes.

Also fix "Home" tests broken by ag/867110

Bug: 26506479
Change-Id: I3ccb4ddc72be0a21b91744bcb610c1ca490ac30c
2016-02-17 15:39:58 -08:00
Makoto Onuki
184db600df Ensure DO/PO are also DA.
Bug 24503508

Change-Id: Ib957b84d5bee185501636c406d9aaf4985a79d8d
2016-02-17 15:35:01 -08:00
Winson
2d47683ab9 Only set the task description if the colors are opaque.
Bug: 27214638
Change-Id: I75e0b8871087f0b8e6acd16dc751bb6374c0f968
2016-02-17 23:23:45 +00:00
Jorim Jaggi
7998e48ce3 Fix unlock transition when docked stack is visible
- Keep surface of docked divider when lockscreen is showing, like
all other apps, so we don't run into synchronization issues when
unlocking. We do this by setting policy visibily to false, but
keep clientVisibility=true
- Update docked stack visibility when starting unlock sequence to
visible.

Bug: 27154882
Change-Id: I6def5c18831e23579fcfc904133749f149eaf376
2016-02-17 23:16:37 +00:00
Adrian Roos
6837ded87b App Crashes: Clarify mute option
Change-Id: I3e0298980628091ee88590d231d295174454f68e
2016-02-17 23:15:06 +00:00
Phil Weaver
4c5bd2403a Merge "Protect MotionEvent stream when a11y changes." into nyc-dev 2016-02-17 23:12:36 +00:00
Adrian Roos
d94469bacd Merge "Notification: Fix tombstones and action alignment" into nyc-dev 2016-02-17 23:10:26 +00:00
Phil Weaver
e7b198353c Protect MotionEvent stream when a11y changes.
I found this hole while looking for a solution to a bug when
magnification was enabled when TalkBack was running. I believe
what was happening was that enabling/disabling magnification
resets the AccessibilityInputFilter. The filter batches MotionEvents
for processing with a choreographer, but the disable/enable cycle
when magnification gets enabled could disrupt the event stream.
This change flushes the batched events before objects using them
are disabled.

I've tried a variety of things, but I'm not able to reproduce the
bug on NYC using the same procedure. I suspect that either the
timing of the events is different, or the newer gesture detection
in TalkBack is protecting it somehow. The hole remains, though,
and could create invalid streams of MotionEvents without this fix.

Bug: 26613222
Change-Id: Ie9f3da459929397596e0a80a61d5c7f191001ee8
2016-02-17 15:02:35 -08:00
Felipe Leme
79c11a8c55 Merge "Fixed typo on Storage Access Framework." into nyc-dev 2016-02-17 22:51:02 +00:00
Makoto Onuki
fc482c30b7 Merge "[framework] Don't allow apps on external storage to be active admin" into nyc-dev 2016-02-17 22:48:13 +00:00
Felipe Leme
53fcc756d0 Fixed typo on Storage Access Framework.
BUG: 26742218
Change-Id: I9b695ebe2176f186fc63b20f624e40dd9e257bc3
2016-02-17 14:45:52 -08:00
Felipe Leme
014a0d11c7 Merge "Removed Intent.OPEN_EXTERNAL_DIRECTORY." into nyc-dev 2016-02-17 22:43:20 +00:00
Felipe Leme
3c3770d8fe Merge "Initial implementation of StorageManager.getVolumesList()." into nyc-dev 2016-02-17 22:42:40 +00:00
Arunesh Mishra
df8d02b074 Merge "SoundTriggerHelper changes for GenericSoundModels." into nyc-dev 2016-02-17 22:42:34 +00:00
Felipe Leme
34a9d52719 Removed Intent.OPEN_EXTERNAL_DIRECTORY.
Such intent is now encapsulated by StorageVolume.createAccessIntent().

BUG: 26742218

Change-Id: I2e2bd71126ecd74981f77b0af7d069f51aaece74
2016-02-17 14:38:25 -08:00
Makoto Onuki
f34db0a17e [framework] Don't allow apps on external storage to be active admin
Bug 27149287

Change-Id: I6d959d2e66dc0b19f78e6135fbdcf45ca8551958
2016-02-17 14:24:25 -08:00
Arunesh Mishra
3fff7f5634 SoundTriggerHelper changes for GenericSoundModels.
- Refactoring SoundTriggerHelper to handle generic sound models.
     - Ability to store multiple models, callback and state information.
     - Separate out initialization to be done per voice model, per any model
     and per generic model.
 - Minor change to the API exposed -- removing the Handler from the
   createSoundTriggerDetector call.
 - Added callback processing for onRecognitionEvent().
 - Added logic for stopAll().
 - Changes to the SoundTriggerTestApp to start/stop recognition.
     - Multiple models (3).
     - Ability to start/stop/load/unload individual models.

Bug: 22860713
Bug: 27222043
Change-Id: Ie5d811babb956bead653fb560a43f1e549ed11bd
2016-02-17 14:24:03 -08:00
Chad Brubaker
da449afbfe Merge "Fix getAcceptedIssuers" into nyc-dev 2016-02-17 22:20:36 +00:00
Ben Kwa
86bf12397b Fix focus issues on RV.
Don't set focusable=false - that's the wrong thing to do, per Yigit.
For now, just temporarily make the RV unfocusable while performing the
focus search for kb navigation.

BUG=27221751

Change-Id: I37ed77eb2aecf522a85c8a7c181e89c0bf73765d
2016-02-17 14:12:11 -08:00
Jean-Michel Trivi
7fc54dd379 Merge "Audio record notification: only report SDK recording sources" into nyc-dev 2016-02-17 22:09:16 +00:00
Amith Yamasani
0137c3daf4 Merge "Clean up App Standby code" into nyc-dev 2016-02-17 21:50:32 +00:00
Yohann Roussel
2a24891ca7 Suppress warnings of MultiDexLegacyAndException
To clean build logs without disturbing the test.

Cherry-pick of https://android-review.googlesource.com/#/c/202657/

Bug: 27155813
Change-Id: I4f2fa94729258573223aaa70a88744d2687f542e
2016-02-17 13:43:59 -08:00
Vladislav Kaznacheev
bcac3bd744 Merge "Fix cross-app drag and drop" into nyc-dev 2016-02-17 21:43:31 +00:00
Jason Monk
f269fd7fd5 Merge "Work on QS header redlines and animations" into nyc-dev 2016-02-17 21:39:00 +00:00
Amith Yamasani
ca5d6d2a81 Clean up App Standby code
Don't continue to check idle states for removed / stopped users.
No need to check for uninstalled packages for all users.

Bug: 27208519
Change-Id: I9a3a3bbec560dd380ce90df9fef102d7f62769ca
2016-02-17 13:36:48 -08:00
Yohei Yukawa
c8d215b434 Merge "Make sure at least one IME is enabled." into nyc-dev 2016-02-17 21:36:41 +00:00
Felipe Leme
04a5d40cf3 Initial implementation of StorageManager.getVolumesList().
This change makes StorageManager.getVolumesList(),
StorageManager.getPrimaryVolume(),  and StorageVolume public and adds a
buildAccessIntent() in the latter to automatically generate the
ACTION_OPEN_EXTERNAL_DIRECTORY intent, but it doesn't change the
ACTION_OPEN_EXTERNAL_DIRECTORY implementation yet (i.e., it still takes an URI with the physical path of the directory, instead of a StorageVolume and
a directorny name).

BUG: 26742218

Change-Id: I36c59c42b6579e125ec7f03c3af141260875a491
2016-02-17 13:14:39 -08:00
Tony Mak
181d907d24 Merge "[ContactsContract] Add new API PhoneLookup.CONTACT_ID and DATA_ID" into nyc-dev 2016-02-17 21:09:38 +00:00
Tony Mak
fd9ec5a600 [ContactsContract] Add new API PhoneLookup.CONTACT_ID and DATA_ID
It is a mistake that we put contact id in PhoneLookup._ID.
But for SIP query, the contact id is put in Data.CONTACT_ID instead.
For backward-compability issue, we can't revert the change, but to
save developer from having logic like below, PhoneLookup.CONTACT_ID is
introduced.

if (sip) {
    get contact id in Data.CONTACT_ID column
} else {
    get contact id in PhoneLookup._ID column
}

So for sip query, we put contact id in PhoneLookup.CONTACT_ID.
For other phone lookup query, we put contact id in both PhoneLookup.ID
and PhoneLookup.CONTACT_ID.

BUG:27149017

Change-Id: I4155da29bbacdda0d43164b0ce11c7224a4eee67
2016-02-17 21:08:09 +00:00
Derek Sollenberger
fccb29cbbf Merge "Update Region parcelling to use SkRegion::Iter" into nyc-dev 2016-02-17 21:07:42 +00:00
Wale Ogunwale
5a21f2dd4b Merge "Clean-up starting window if resuming activity in another stack" into nyc-dev 2016-02-17 21:04:18 +00:00
Andre Eisenbach
b9db74906f Restore DUMP permission check for BluetoothManagerService
Bug: 27150536
Change-Id: I6e07f8f5f7476c6cd6dca79e2fb5e8c8412493ec
2016-02-17 21:02:48 +00:00
Jorim Jaggi
c662d8e946 Make sure we call reportResized exactly once when drag starting
If there was another layout happening before the app called
relayoutWindow(), we were issuing multiple reportResized calls,
leading to multiple relayoutWindow() calls, slowing everything
down.

Change-Id: I1f3da04bb7581c655567e1d1a6fe0f8c83c0ffda
2016-02-17 21:02:13 +00:00
Andres Morales
8e1206bfff Merge "allow for slow FrameMetricsListeners" into nyc-dev 2016-02-17 20:59:45 +00:00
Mitchell Wills
4dbf436cac Merge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev
am: 07e27b7541

* commit '07e27b75412de52b3ba5606e35a721e2b31ff094':
  Remove REPORT_EVENT_CONTEXT_HUB gscan option
2016-02-17 20:43:47 +00:00
Steve McKay
a3b936aa55 Merge "Guard against NPE in equals checks." into nyc-dev 2016-02-17 20:41:28 +00:00
Jean-Michel Trivi
dd2772a339 Audio record notification: only report SDK recording sources
Bug 22876530

Change-Id: I7575170ee2d7414c8bf9a04a9adc936b66c33e15
2016-02-17 12:37:11 -08:00
Steve McKay
30551a257c Guard against NPE in equals checks.
Update State test to cover different conditions separately.
Update DirectoryInfo test to best practices.
Update RootInfo to follow DirectoryInfo equals pattern.
Also, allow null cursors from Model...since they happen...I seen it mahself.

Bug: 27118725
Change-Id: Id0a0be053b91c887a745bfca5416e64f0edba995
2016-02-17 12:35:51 -08:00
Mitchell Wills
07e27b7541 Merge "Remove REPORT_EVENT_CONTEXT_HUB gscan option" into mm-wireless-dev 2016-02-17 20:30:56 +00:00
Fyodor Kupolov
05bdf88bdf Merge "Remove isPackageInstalled" into nyc-dev 2016-02-17 20:23:55 +00:00
Jason Monk
dbd8817d24 Work on QS header redlines and animations
Bug: 27201532
Change-Id: I791454dda3a42b588e506f6bcd174a69a0fd29f8
2016-02-17 15:20:29 -05:00
Julia Reynolds
aef37e426b Merge "Increase the importance of noisy notifications." into nyc-dev 2016-02-17 20:19:02 +00:00
Andres Morales
11f02d7e52 allow for slow FrameMetricsListeners
A slow listener could cause a race in the NotifyHandler
where the single reference to the buffer to send would get
updated when it shouldn't have been.

Switch to a queue of available buffers to prevent this race.

Also, stop setting and clearing the observer reference and instead
incStrong/decStrong to mark temporary strong ownership without
colliding with other owners in flight.

Bug: 27097094
Change-Id: Iee647bfae8b80019b6d8290179eed3973230901f
2016-02-17 12:16:06 -08:00
Tao Bao
c86f234c51 Merge "Add a Settings option of "Disable automatic update"." into nyc-dev 2016-02-17 20:06:52 +00:00
Miao Wang
5cb0e96a46 Merge "[RenderScript] Fix potential leak in RS JNI" into nyc-dev 2016-02-17 19:46:59 +00:00
Dongwon Kang
37f3488c5c Merge "TIF: Release passthrough session when HardwareSession is released" into nyc-dev 2016-02-17 19:27:59 +00:00
Dongwon Kang
78364ddc04 TIF: Release passthrough session when HardwareSession is released
Bug: https://code.google.com/p/android/issues/detail?id=200114
Change-Id: I5d74eb56297e468b95aa0f99b159b2b54f93f5d2
2016-02-17 11:25:54 -08:00
Adrian Roos
5607da49a8 Notification: Fix tombstones and action alignment
Bug: 27166437
Change-Id: I8ddacb31b908abcfc238a1559eef22e7b18b2187
2016-02-17 19:24:54 +00:00