Commit Graph

235541 Commits

Author SHA1 Message Date
Keisuke Kuroyanagi
3e540b95d7 Merge "Fix: onExtractedDeleteText deletes unintended region." into nyc-dev 2016-03-15 05:38:06 +00:00
Keisuke Kuroyanagi
e675665afa Merge "Show SuggestionsPopup when there is a misspelled span." into nyc-dev 2016-03-15 05:35:21 +00:00
Adrian Roos
7400f82699 Merge "Don't show wallpaper when backdrop is visible" into nyc-dev 2016-03-15 03:26:02 +00:00
Daichi Hirono
aa0fa38432 Merge "Regard timeout as an error in the MtpDocumentsProvider test." into nyc-dev 2016-03-15 02:36:46 +00:00
Daichi Hirono
acb0e27bb3 Regard timeout as an error in the MtpDocumentsProvider test.
Previously if DocumentsProvider found timeout when terminatnig
RootScanner's background thread, it just output it in error log. Thus
the timeout is not regarded as an error in MtpDocumentsProviderTest, and
it makes flaky PipeManagerTest which runs just after
MtpDocumentsProviderTest.

The CL

 * lets MtpDocumentsProvider throw TimeoutException for timeout.
 * removes redundant resumeRootScanner calls to avoid timeout of
   RootScanner#pause.

Also the CL did cleanup the logic that pauses RootScanner when we don't
find any devices. Previously the logic was in
MtpDocumentsProvider#closeInternal but it is not efficient because we
invokes RootScanner#resume just after
MtpDocumentsProvider#closeInternal. Now the CL moves the logic to
RootScanner so that it can pause itself automatically.

BUG=27638500

Change-Id: Ic11bca67c099cbb0f46679db2f035988045d67d6
2016-03-15 11:35:34 +09:00
Tyler Gunn
32d1a1a911 Merge "Add API support for multi-endpoint." into nyc-dev 2016-03-15 01:59:43 +00:00
Adrian Roos
d5c2db630f Don't show wallpaper when backdrop is visible
Hides the wallpaper when it's not needed and fixes
the unlock animation to not unnecessairly show the
wallpaper if neither the Keyguard nor the underlying
app need it.

Also fixes a bug where the enter animation had a background
set, which led to uglyness when no wallpaper is involved.

Bug: 27533740
Change-Id: I667c6f7ca6c0e1ff7e9f793c6ddc13f6da8387b1
2016-03-14 18:55:41 -07:00
Carlos Valdivia
658e4c5ece Merge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev 2016-03-15 01:36:26 +00:00
Jim Miller
6593c28c31 Merge "Attempt to fix problem where keyguard isn't locking" into nyc-dev 2016-03-15 01:26:17 +00:00
Chris Craik
b6692a3ae6 Merge "Return <0 if undefined Outline radius" into nyc-dev 2016-03-15 00:51:34 +00:00
Wale Ogunwale
deee942be1 Merge "Added input freeze reason string." into nyc-dev 2016-03-15 00:32:19 +00:00
Makoto Onuki
84dce8cba9 Merge "Make "reset-throttling" per-user" into nyc-dev 2016-03-15 00:31:41 +00:00
Yin-Chia Yeh
b00df4192b Merge "Camera: fix expectation of BLOB buffer size" into nyc-dev 2016-03-15 00:16:58 +00:00
Chris Craik
fb354a3752 Return <0 if undefined Outline radius
bug:27531289

Change-Id: I0a2880693c59406e2d610f3a11020cde5379e230
2016-03-14 17:04:24 -07:00
Sudheer Shanka
13e22319e4 Merge "Call preference.setEnabled only after updating disabledByAdmin state." into nyc-dev 2016-03-14 23:51:13 +00:00
Chris Craik
d06fa51e6b Merge "Unrounded round rects are just rects" into nyc-dev 2016-03-14 23:49:37 +00:00
Aga Wronska
0ce9af0971 Merge "Suppress tests failing because or permission inconsistency" into nyc-dev 2016-03-14 23:31:36 +00:00
Tyler Gunn
876dbfb476 Add API support for multi-endpoint.
This CL includes changes required to support multi-endpoint (see the
design doc linked off the bug).

Main changes include:
- support for indicating if a call/connection is "external" to the device.
- support for indicating if an external call can be pulled from the
remote device to the local device.
- API used to initiate a pull of a call external to the current device to
the current device.
- Made the "connection event" API public (was previously @hide); this will
be used to support passing some error events involving pulling calls to
the incall ui.
- Added new InCallService metadata which will be used to determine if an
InCallService wants to be informed of external calls.
- New disconnect causes which will be used to expose the fact that a
multi-endpoint call was answered elsewhere and that a call ended because
it was pulled to another device.
- New call log call types to indicate if calls were answered elsewhere
or pulled to another device.

Bug: 27458894
Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
2016-03-14 23:26:34 +00:00
Yin-Chia Yeh
7b79090252 Camera: fix expectation of BLOB buffer size
Bug: 27340302
Change-Id: I7f40065661d06bba210c3cb888598623fad0e56c
2016-03-14 16:17:38 -07:00
Tyler Gunn
76bd11cb05 DO NOT MERGE Add KEY_USE_RCS_PRESENCE_BOOL carrier config option.
am: 3d09db6f7a  -s ours

* commit '3d09db6f7a181b26e2541b90b379d68ab0f8ed32':
  DO NOT MERGE Add KEY_USE_RCS_PRESENCE_BOOL carrier config option.
2016-03-14 23:17:27 +00:00
Tyler Gunn
3d09db6f7a DO NOT MERGE Add KEY_USE_RCS_PRESENCE_BOOL carrier config option.
- New carrier config option is used to determine if presence is used
to determine whether a contact is capable of video calling.
- Also, improve logging for PhoneAccount capabilities.

Bug: 20257833
Change-Id: Ifcc7df95677eb4399f08eb8849c4004892957e90
2016-03-14 16:06:11 -07:00
Chris Craik
2dbb4c46ee Unrounded round rects are just rects
Change-Id: I66517390943192e4725251b316a3d8c332c2b77d
2016-03-14 15:58:44 -07:00
Makoto Onuki
4554d0e5b6 Make "reset-throttling" per-user
Also don't reset the counter when the time is invalid

Bug 27549307

Change-Id: Ib9ad030e348ec5e32936709f1284e3c76e88e254
2016-03-14 15:53:59 -07:00
Chris Craik
c33609cb8b Merge "Fix flickering when layers resize in-place" into nyc-dev 2016-03-14 22:48:51 +00:00
Ryan Bavetta
4be255e5b9 Merge "Adds E2E tests for soundtrigger stub HAL load/start/trigger/stop/unload" into nyc-dev 2016-03-14 22:48:09 +00:00
Chong Zhang
b20ecd6d5e Merge "Fixing misc issues that leads to black screen when pressing Home" into nyc-dev 2016-03-14 22:45:00 +00:00
Chong Zhang
65d15d0332 Fixing misc issues that leads to black screen when pressing Home
- Make sure to clear usingTransferredAnimation flag together when
  setting app animator's animation to null. Not clearing it will cause
  setAppVisibility to not apply dummy animation (placeholder)
  to a closing app token while it should, and the closing app token will
  then exit early before the opening app is ready, since it doesn't have
  any animation set. This causes a brief blank period.

- When app relayout to invisible, make sure to mark mWinAnimator's
  mAnimating to true if we decided exit animation is running. Note that
  even if we didn't actually apply the animation (which could happen if
  the window is no longer visible by policy), if the app token itself is
  under any animation, we need to mark mAnimating otherwise the clean up
  code in FinishExit will not run, and the window will be stuck in
  Exiting state.

- We no longer change mAnimatingExit flag in setAppVisibility(), but
  wait for app's relayoutWindow calls to change it if applicable.
  setAppVisibilty doesn't apply the animation until transition is good
  to go. Setting the flag without the animation applied will disable
  setTokenVisibilityLocked and relayoutWindow to actually apply the
  animation, because they may think the window is no longer visible.

bug: 27391256

Change-Id: I292305847d742cdbb5ebe6aa8daa5d83bf65483b
2016-03-14 15:43:09 -07:00
Makoto Onuki
49f6fbcd1f Merge "Implement the launcher side permission." into nyc-dev 2016-03-14 22:12:16 +00:00
Aga Wronska
7e166888ac Suppress tests failing because or permission inconsistency
Bug: 27653930
Change-Id: I92581b8d048af1a207ca8cf56dea40f17f38f42d
2016-03-14 15:10:56 -07:00
Makoto Onuki
2d5b465fa9 Implement the launcher side permission.
Only the default launcher can call the LauncherApps shortcut APIs.

Bug 27548047

Change-Id: I6d597fcad80c5201a2f93b8cbecd567fc79926d8
2016-03-14 15:00:58 -07:00
Sudheer Shanka
2893302afc Call preference.setEnabled only after updating disabledByAdmin state.
We check the value of disabledByAdmin state in setEnabled, so update it
first before calling setEnabled.

Bug: 27642236
Change-Id: Ie6c805b85a3afb87ffdaad0b80dbadc172b62d49
2016-03-14 14:59:52 -07:00
Jaewan Kim
2f9ac1ad8b Merge "PIP: Update char limit and description for translation" into nyc-dev 2016-03-14 21:52:32 +00:00
Shreyas Basarge
513f77c8ef Merge "Remove SyncManager's local job cache" into nyc-dev 2016-03-14 21:45:38 +00:00
Todd Kennedy
791a154648 Merge "Fix API" into nyc-dev 2016-03-14 21:31:44 +00:00
Todd Kennedy
948b702f39 Fix API
change name and allow passing in a boolean

Change-Id: I29b9765fedbd6b49878bb75df782012ad87a6866
2016-03-14 14:29:52 -07:00
Ajay Nambi
8fc9cc4419 New error codes for SMS/other messages
am: b3e1083ff0

* commit 'b3e1083ff06155530c5ba91aa762c58e53d1fcc1':
  New error codes for SMS/other messages
2016-03-14 21:09:27 +00:00
Andreas Gampe
fb5f2e572a Merge "Frameworks/base: Extract packages after cache pruning" into nyc-dev 2016-03-14 21:03:49 +00:00
Mady Mellor
336d8a8092 Merge "Clean up animation listener when translating notification" into nyc-dev 2016-03-14 21:02:45 +00:00
Ajay Panicker
0a278b127b Merge "Get adapter name and address on boot" into nyc-dev 2016-03-14 20:48:13 +00:00
Oren Blasberg
cea9f353f7 Merge "Fix constant name in WallpaperManager javadoc." into nyc-dev 2016-03-14 20:43:43 +00:00
Jason Monk
5c3b34425d Merge "Tweaks to QS Animation" into nyc-dev 2016-03-14 20:37:18 +00:00
Jason Monk
98196b04ca Tweaks to QS Animation
Bug: 27201532
Change-Id: I1aaea4fd611ae9fc4791994bed452c50ecf3e1cf
2016-03-14 16:36:27 -04:00
Chris Craik
02806288d1 Fix flickering when layers resize in-place
bug:27248275
Change-Id: Ia11c93ebc1097f3735071204b6f14ca079bb9fc4
2016-03-14 13:26:25 -07:00
Rob Carr
481355a45d Merge "Use privateFlags for the preserve geometry check" into nyc-dev 2016-03-14 20:11:51 +00:00
Paul Mclean
3795330981 Merge "Native routing phase 4" into nyc-dev 2016-03-14 19:56:50 +00:00
Johan Redestig
b5e36b7fbe Use privateFlags for the preserve geometry check
PRIVATE_FLAG_PRESERVE_GEOMETRY flag is set to privateFlag, thus this
path wasn't really used triggering side-effects with SurfaceView
placement.

Bug: 27607148
Author: Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com>
Change-Id: Ic2708bbcc9c2ab1cfaf324b6fd539a1ad027429c
2016-03-14 12:52:49 -07:00
Paul McLean
14b4e65aff Native routing phase 4
Allow Acquire before Realize

Bug: 23899814

Change-Id: I58ab80554893a7df31c3892c75d6bd57fea2b336
2016-03-14 13:50:04 -06:00
Mady Mellor
723f1f996f Clean up animation listener when translating notification
The listener only needs to be added to one of the translating views
but was added to all of them, this CL changes it to add to the
listener to the first view.

This CL also handles cancelling the animation.

Change-Id: Ifda0f7f04bae1608250e9d2f008b4f21c1745bc6
2016-03-14 12:46:13 -07:00
Ajay Panicker
bf796d8777 Get adapter name and address on boot
Bug: 25836009
Change-Id: I6fe68b116fcd736cd5736be68c97af3052351b33
2016-03-14 19:32:55 +00:00
Jeff Davidson
1c0c14febf Merge "NetworkStats.Bucket API polish." into nyc-dev 2016-03-14 19:30:23 +00:00