OSDN Git Service

android-x86/frameworks-base.git
8 years agoUn-hide Connection#onReject(String) and its associated capability
Hall Liu [Mon, 14 Mar 2016 23:38:56 +0000 (16:38 -0700)]
Un-hide Connection#onReject(String) and its associated capability

The capability is CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION

Bug: 27501686
Change-Id: Id73bb99650ca8440a9f4e87bfe533a97c4d19778

8 years agoTrack libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856
Yi Kong [Tue, 15 Mar 2016 16:59:59 +0000 (16:59 +0000)]
Track libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856

Bug: 27538943
Change-Id: I91fc2e9738dcfb7be061041b5e000b21e7684184
(cherry picked from commit f45eca1d72a26feca68f74149afc4a8c6c91fde4)
(cherry picked from commit e72e604beae9a37834cbd1bff8eaeafd5810ed92)

8 years agoMerge "Revert "Permissions: Get rid of GET_ACCOUNTS"" into nyc-dev
Ian Pedowitz [Tue, 15 Mar 2016 17:09:51 +0000 (17:09 +0000)]
Merge "Revert "Permissions: Get rid of GET_ACCOUNTS"" into nyc-dev

8 years agoMerge "Logging of setting ro.device_owner property" into nyc-dev
Michal Karpinski [Tue, 15 Mar 2016 17:09:31 +0000 (17:09 +0000)]
Merge "Logging of setting ro.device_owner property" into nyc-dev

8 years agoRevert "Permissions: Get rid of GET_ACCOUNTS"
Ian Pedowitz [Tue, 15 Mar 2016 17:08:27 +0000 (17:08 +0000)]
Revert "Permissions: Get rid of GET_ACCOUNTS"

This reverts commit d39600585bcb720d739ef6f0091066e3d4f77765.

Bug: 27665091
Change-Id: I7d017ba7062ac594225229436d2877c7d21fb065

8 years agoLogging of setting ro.device_owner property
Michal Karpinski [Tue, 15 Mar 2016 17:04:59 +0000 (17:04 +0000)]
Logging of setting ro.device_owner property

Without logging of setting it's impossible to test the setup, unless
device is rooted.

Bug: 22860162
Change-Id: I0532654ef4e4b7272d2749b30590a1b47da9f645

8 years agoMerge "Remove the field of MediaDrm from inner class CryptoSession." into nyc-dev
Jeff Tinker [Tue, 15 Mar 2016 16:59:46 +0000 (16:59 +0000)]
Merge "Remove the field of MediaDrm from inner class CryptoSession." into nyc-dev

8 years agoMerge "Add media.log to Watchdog stacks" into nyc-dev
Eric Laurent [Tue, 15 Mar 2016 16:58:17 +0000 (16:58 +0000)]
Merge "Add media.log to Watchdog stacks" into nyc-dev

8 years agoMerge "Un-deprecate Activity#onRetainNonConfigurationInstance" into nyc-dev
Adam Powell [Tue, 15 Mar 2016 16:51:02 +0000 (16:51 +0000)]
Merge "Un-deprecate Activity#onRetainNonConfigurationInstance" into nyc-dev

8 years agoMerge "Removed an unnecessary log message" into nyc-dev
Amith Yamasani [Tue, 15 Mar 2016 16:26:45 +0000 (16:26 +0000)]
Merge "Removed an unnecessary log message" into nyc-dev

8 years agoMerge "Remove tracking of all drawables in ViewOverlay.clear()" into nyc-dev
Kirill Grouchnikov [Tue, 15 Mar 2016 16:25:48 +0000 (16:25 +0000)]
Merge "Remove tracking of all drawables in ViewOverlay.clear()" into nyc-dev

8 years agoRemoved an unnecessary log message
Amith Yamasani [Tue, 15 Mar 2016 16:24:26 +0000 (09:24 -0700)]
Removed an unnecessary log message

Change-Id: I381c46fd355fc5697531d0d6931a60def4ee1b89

8 years agoUpdate factory reset notification text
Sami Tolvanen [Thu, 10 Mar 2016 00:15:13 +0000 (16:15 -0800)]
Update factory reset notification text

Bug: 27308928
Bug: 26902605
Change-Id: I8bb9380541a4446c96665c6d5f348d1c62b617a7

8 years agoMerge "Add short codes for DCB to free UK and 44567 to standard US." into nyc-dev
Vasco Brito [Tue, 15 Mar 2016 14:56:45 +0000 (14:56 +0000)]
Merge "Add short codes for DCB to free UK and 44567 to standard US." into nyc-dev

8 years agoMerge "TIF: Add annotations for the system APIs which requires permissions" into...
Dongwon Kang [Tue, 15 Mar 2016 14:50:46 +0000 (14:50 +0000)]
Merge "TIF: Add annotations for the system APIs which requires permissions" into nyc-dev

8 years agoTIF: Add annotations for the system APIs which requires permissions
Dongwon Kang [Mon, 14 Mar 2016 18:10:38 +0000 (11:10 -0700)]
TIF: Add annotations for the system APIs which requires permissions

Bug: 25726241
Change-Id: I2c1c8fb04c7299f9010c7f3ed0aca2e4f1e8b7bd

8 years agoMerge "Push flags from top-level TypedValue into ComplexColor changing configs" into...
Alan Viverette [Tue, 15 Mar 2016 14:36:10 +0000 (14:36 +0000)]
Merge "Push flags from top-level TypedValue into ComplexColor changing configs" into nyc-dev

8 years agoMerge "Switch back to UI-driven AVD" into nyc-dev
John Reck [Tue, 15 Mar 2016 14:30:58 +0000 (14:30 +0000)]
Merge "Switch back to UI-driven AVD" into nyc-dev

8 years agoMerge "Addressing API council feedback for remote bugreports" into nyc-dev
Michal Karpinski [Tue, 15 Mar 2016 14:08:22 +0000 (14:08 +0000)]
Merge "Addressing API council feedback for remote bugreports" into nyc-dev

8 years agoTrack libcore change 471945701ad7895acf0dae73f90a5f18cd9ca23a
Przemyslaw Szczepaniak [Tue, 15 Mar 2016 13:24:45 +0000 (13:24 +0000)]
Track libcore change 471945701ad7895acf0dae73f90a5f18cd9ca23a

Bug: 27426684
Change-Id: I4b2a5840cb61aa379da0ca11292781ceac14f93d

8 years agoAddressing API council feedback for remote bugreports
Michal Karpinski [Fri, 11 Mar 2016 14:00:13 +0000 (14:00 +0000)]
Addressing API council feedback for remote bugreports

In DeviceAdminReceiver fixed a broken link in javadocs and improved
javadocs for bugreport error codes.

Bug: 27532425
Change-Id: I6cf90b4109065615778e69ea9d21b1869841593b

8 years agoTrack libcore commit e8b323c7cb7d55be9a4df579231e44f04f53d766
Przemyslaw Szczepaniak [Tue, 15 Mar 2016 11:11:21 +0000 (11:11 +0000)]
Track libcore commit e8b323c7cb7d55be9a4df579231e44f04f53d766

Bug: 27426599
Change-Id: Ie652b5fcf37b12e477ff2929df33d32b074262d4

8 years agoMerge "Optimize sorting performance by 7.64% in DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Tue, 15 Mar 2016 09:32:06 +0000 (09:32 +0000)]
Merge "Optimize sorting performance by 7.64% in DocumentsUI." into nyc-dev

8 years agoMerge "ExifInterface: handle the invalid offsets and count numbers" into nyc-dev
Jaesung Chung [Tue, 15 Mar 2016 08:27:37 +0000 (08:27 +0000)]
Merge "ExifInterface: handle the invalid offsets and count numbers" into nyc-dev

8 years agoExifInterface: handle the invalid offsets and count numbers
Jaesung Chung [Mon, 14 Mar 2016 05:57:54 +0000 (14:57 +0900)]
ExifInterface: handle the invalid offsets and count numbers

Some JPEG images generated by various camera vendors have wrong offsets
and invalid numbers for indicating the size of components. Instead of
throwing exceptions, this CL makes Exifinterface ignore these cases to
read the information without losing contents already parsed.

Bug: 27583378
Change-Id: Ie8ee0bf49283ef519f4f31c5b8ba78ce3f82fe92

8 years agoMerge "Re-disable drag and drop in full screen extracted mode." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 08:21:09 +0000 (08:21 +0000)]
Merge "Re-disable drag and drop in full screen extracted mode." into nyc-dev

8 years agoMerge "Stop automatically creating selection action mode." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 07:41:06 +0000 (07:41 +0000)]
Merge "Stop automatically creating selection action mode." into nyc-dev

8 years agoOptimize sorting performance by 7.64% in DocumentsUI.
Tomasz Mikolajewski [Tue, 15 Mar 2016 04:23:52 +0000 (13:23 +0900)]
Optimize sorting performance by 7.64% in DocumentsUI.

This CL prevents allocating new strings just due to the prefix,
which also simplifies the code.

Bug: 27286016
Change-Id: I3d0ea9e4ede68814c78404bd9ac820b8900851f5

8 years agoMerge "Add a check for misspelled span change." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 06:47:09 +0000 (06:47 +0000)]
Merge "Add a check for misspelled span change." into nyc-dev

8 years agoAdd a check for misspelled span change.
Keisuke Kuroyanagi [Tue, 15 Mar 2016 06:40:43 +0000 (15:40 +0900)]
Add a check for misspelled span change.

Previously, misspelled span is directly used in AddToDicitonary's
OnClickListener. It can crash because misspelled span can have been
updated since SuggestiosPopup is shown.
Also, AddToDictionary didn't work correctly in full screen extracted
mode. Use findEquivalentSuggestionSpan to resolve it.

Bug: 27557526
Change-Id: I51d713dbdd0c44ea2c553164b81b1123a2325aa1

8 years agoStop automatically creating selection action mode.
Keisuke Kuroyanagi [Tue, 15 Mar 2016 06:38:40 +0000 (15:38 +0900)]
Stop automatically creating selection action mode.

With Ic025c109539c3b5963, selection action mode is created always
when selection is made. It causes distraction in some cases.
This CL fixes this issue. This CL stops starting selection action
mode when action mode is currently not active and not intended to
restart.

Bug: 27536744
Bug: 27551819
Change-Id: I94ee66864000934a21ef0d18c1d71429c67114fa

8 years agoRe-disable drag and drop in full screen extracted mode.
Keisuke Kuroyanagi [Tue, 15 Mar 2016 05:47:08 +0000 (14:47 +0900)]
Re-disable drag and drop in full screen extracted mode.

Drag and drop in full screen extracted mode was disabled by
Ifff4c30919bcb04f7d and re-enabled by I90d8e9f42f395b6b52.
However, related issues have not been fixed. This CL re-disables it.

Bug: 22440907
Change-Id: I753f69e170aa7e79478a5a4a3b89e4a7ef88c9e2

8 years agoMerge "Fix: onExtractedDeleteText deletes unintended region." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 05:38:05 +0000 (05:38 +0000)]
Merge "Fix: onExtractedDeleteText deletes unintended region." into nyc-dev

8 years agoMerge "Show SuggestionsPopup when there is a misspelled span." into nyc-dev
Keisuke Kuroyanagi [Tue, 15 Mar 2016 05:35:20 +0000 (05:35 +0000)]
Merge "Show SuggestionsPopup when there is a misspelled span." into nyc-dev

8 years agoMerge "Don't show wallpaper when backdrop is visible" into nyc-dev
Adrian Roos [Tue, 15 Mar 2016 03:26:00 +0000 (03:26 +0000)]
Merge "Don't show wallpaper when backdrop is visible" into nyc-dev

8 years agoMerge "Regard timeout as an error in the MtpDocumentsProvider test." into nyc-dev
Daichi Hirono [Tue, 15 Mar 2016 02:36:44 +0000 (02:36 +0000)]
Merge "Regard timeout as an error in the MtpDocumentsProvider test." into nyc-dev

8 years agoRegard timeout as an error in the MtpDocumentsProvider test.
Daichi Hirono [Mon, 14 Mar 2016 12:49:14 +0000 (21:49 +0900)]
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

8 years agoMerge "Add API support for multi-endpoint." into nyc-dev
Tyler Gunn [Tue, 15 Mar 2016 01:59:41 +0000 (01:59 +0000)]
Merge "Add API support for multi-endpoint." into nyc-dev

8 years agoDon't show wallpaper when backdrop is visible
Adrian Roos [Wed, 9 Mar 2016 00:11:31 +0000 (16:11 -0800)]
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

8 years agoAdd media.log to Watchdog stacks
Eric Laurent [Tue, 15 Mar 2016 01:49:08 +0000 (18:49 -0700)]
Add media.log to Watchdog stacks

Needed for debugging after mediaserver split.

Bug: 27408518
Change-Id: I412575264e813688396835f4f3501f6132432960

8 years agoMerge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev
Carlos Valdivia [Tue, 15 Mar 2016 01:36:24 +0000 (01:36 +0000)]
Merge "Permissions: Get rid of GET_ACCOUNTS" into nyc-dev

8 years agoMerge "Attempt to fix problem where keyguard isn't locking" into nyc-dev
Jim Miller [Tue, 15 Mar 2016 01:26:16 +0000 (01:26 +0000)]
Merge "Attempt to fix problem where keyguard isn't locking" into nyc-dev

8 years agoMerge "Return <0 if undefined Outline radius" into nyc-dev
Chris Craik [Tue, 15 Mar 2016 00:51:33 +0000 (00:51 +0000)]
Merge "Return <0 if undefined Outline radius" into nyc-dev

8 years agoMerge "Added input freeze reason string." into nyc-dev
Wale Ogunwale [Tue, 15 Mar 2016 00:32:17 +0000 (00:32 +0000)]
Merge "Added input freeze reason string." into nyc-dev

8 years agoMerge "Make "reset-throttling" per-user" into nyc-dev
Makoto Onuki [Tue, 15 Mar 2016 00:31:39 +0000 (00:31 +0000)]
Merge "Make "reset-throttling" per-user" into nyc-dev

8 years agoMerge "Camera: fix expectation of BLOB buffer size" into nyc-dev
Yin-Chia Yeh [Tue, 15 Mar 2016 00:16:57 +0000 (00:16 +0000)]
Merge "Camera: fix expectation of BLOB buffer size" into nyc-dev

8 years agoSwitch back to UI-driven AVD
John Reck [Tue, 15 Mar 2016 00:16:10 +0000 (17:16 -0700)]
Switch back to UI-driven AVD

Bug: 27550546
Change-Id: I7c37438555fb8a72d2ff0bc42bf5de25a31cc464

8 years agoReturn <0 if undefined Outline radius
Chris Craik [Tue, 15 Mar 2016 00:04:22 +0000 (17:04 -0700)]
Return <0 if undefined Outline radius

bug:27531289

Change-Id: I0a2880693c59406e2d610f3a11020cde5379e230

8 years agoMerge "Call preference.setEnabled only after updating disabledByAdmin state." into...
Sudheer Shanka [Mon, 14 Mar 2016 23:51:12 +0000 (23:51 +0000)]
Merge "Call preference.setEnabled only after updating disabledByAdmin state." into nyc-dev

8 years agoMerge "Unrounded round rects are just rects" into nyc-dev
Chris Craik [Mon, 14 Mar 2016 23:49:36 +0000 (23:49 +0000)]
Merge "Unrounded round rects are just rects" into nyc-dev

8 years agoMerge "Suppress tests failing because or permission inconsistency" into nyc-dev
Aga Wronska [Mon, 14 Mar 2016 23:31:34 +0000 (23:31 +0000)]
Merge "Suppress tests failing because or permission inconsistency" into nyc-dev

8 years agoAdd API support for multi-endpoint.
Tyler Gunn [Mon, 14 Mar 2016 22:18:07 +0000 (15:18 -0700)]
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

8 years agoCamera: fix expectation of BLOB buffer size
Yin-Chia Yeh [Mon, 14 Mar 2016 23:17:38 +0000 (16:17 -0700)]
Camera: fix expectation of BLOB buffer size

Bug: 27340302
Change-Id: I7f40065661d06bba210c3cb888598623fad0e56c

8 years agoDO NOT MERGE Add KEY_USE_RCS_PRESENCE_BOOL carrier config option.
Tyler Gunn [Mon, 14 Mar 2016 23:17:27 +0000 (23:17 +0000)]
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.

8 years agoDO NOT MERGE Add KEY_USE_RCS_PRESENCE_BOOL carrier config option.
Tyler Gunn [Mon, 14 Mar 2016 23:06:11 +0000 (16:06 -0700)]
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

8 years agoUnrounded round rects are just rects
Chris Craik [Sat, 12 Mar 2016 02:58:37 +0000 (18:58 -0800)]
Unrounded round rects are just rects

Change-Id: I66517390943192e4725251b316a3d8c332c2b77d

8 years agoMake "reset-throttling" per-user
Makoto Onuki [Mon, 14 Mar 2016 22:51:41 +0000 (15:51 -0700)]
Make "reset-throttling" per-user

Also don't reset the counter when the time is invalid

Bug 27549307

Change-Id: Ib9ad030e348ec5e32936709f1284e3c76e88e254

8 years agoMerge "Fix flickering when layers resize in-place" into nyc-dev
Chris Craik [Mon, 14 Mar 2016 22:48:50 +0000 (22:48 +0000)]
Merge "Fix flickering when layers resize in-place" into nyc-dev

8 years agoMerge "Adds E2E tests for soundtrigger stub HAL load/start/trigger/stop/unload" into...
Ryan Bavetta [Mon, 14 Mar 2016 22:48:07 +0000 (22:48 +0000)]
Merge "Adds E2E tests for soundtrigger stub HAL load/start/trigger/stop/unload" into nyc-dev

8 years agoMerge "Fixing misc issues that leads to black screen when pressing Home" into nyc-dev
Chong Zhang [Mon, 14 Mar 2016 22:44:59 +0000 (22:44 +0000)]
Merge "Fixing misc issues that leads to black screen when pressing Home" into nyc-dev

8 years agoFixing misc issues that leads to black screen when pressing Home
Chong Zhang [Mon, 14 Mar 2016 20:59:32 +0000 (13:59 -0700)]
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

8 years agoMerge "Implement the launcher side permission." into nyc-dev
Makoto Onuki [Mon, 14 Mar 2016 22:12:15 +0000 (22:12 +0000)]
Merge "Implement the launcher side permission." into nyc-dev

8 years agoSuppress tests failing because or permission inconsistency
Aga Wronska [Mon, 14 Mar 2016 22:08:26 +0000 (15:08 -0700)]
Suppress tests failing because or permission inconsistency

Bug: 27653930
Change-Id: I92581b8d048af1a207ca8cf56dea40f17f38f42d

8 years agoImplement the launcher side permission.
Makoto Onuki [Sat, 12 Mar 2016 00:09:54 +0000 (16:09 -0800)]
Implement the launcher side permission.

Only the default launcher can call the LauncherApps shortcut APIs.

Bug 27548047

Change-Id: I6d597fcad80c5201a2f93b8cbecd567fc79926d8

8 years agoCall preference.setEnabled only after updating disabledByAdmin state.
Sudheer Shanka [Mon, 14 Mar 2016 21:59:52 +0000 (14:59 -0700)]
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

8 years agoMerge "PIP: Update char limit and description for translation" into nyc-dev
Jaewan Kim [Mon, 14 Mar 2016 21:52:30 +0000 (21:52 +0000)]
Merge "PIP: Update char limit and description for translation" into nyc-dev

8 years agoPush flags from top-level TypedValue into ComplexColor changing configs
Alan Viverette [Thu, 10 Mar 2016 15:30:08 +0000 (10:30 -0500)]
Push flags from top-level TypedValue into ComplexColor changing configs

Previously a ComplexColor that was defined within varying configs would
not push the flags into its changing configs, so it wouldn't get reloaded.

This implementation follows the Drawable implementation, where the base
changing configs are stored in the superclass.

Bug: 27573177
Change-Id: I1da5ee6ab998d8296f8860c1a99d3e1399438543

8 years agoMerge "Remove SyncManager's local job cache" into nyc-dev
Shreyas Basarge [Mon, 14 Mar 2016 21:45:37 +0000 (21:45 +0000)]
Merge "Remove SyncManager's local job cache" into nyc-dev

8 years agoMerge "Fix API" into nyc-dev
Todd Kennedy [Mon, 14 Mar 2016 21:31:43 +0000 (21:31 +0000)]
Merge "Fix API" into nyc-dev

8 years agoFix API
Todd Kennedy [Mon, 14 Mar 2016 21:29:52 +0000 (14:29 -0700)]
Fix API

change name and allow passing in a boolean

Change-Id: I29b9765fedbd6b49878bb75df782012ad87a6866

8 years agoNew error codes for SMS/other messages
Ajay Nambi [Mon, 14 Mar 2016 21:09:27 +0000 (21:09 +0000)]
New error codes for SMS/other messages
am: b3e1083ff0

* commit 'b3e1083ff06155530c5ba91aa762c58e53d1fcc1':
  New error codes for SMS/other messages

8 years agoMerge "Frameworks/base: Extract packages after cache pruning" into nyc-dev
Andreas Gampe [Mon, 14 Mar 2016 21:03:47 +0000 (21:03 +0000)]
Merge "Frameworks/base: Extract packages after cache pruning" into nyc-dev

8 years agoMerge "Clean up animation listener when translating notification" into nyc-dev
Mady Mellor [Mon, 14 Mar 2016 21:02:43 +0000 (21:02 +0000)]
Merge "Clean up animation listener when translating notification" into nyc-dev

8 years agoMerge "Get adapter name and address on boot" into nyc-dev
Ajay Panicker [Mon, 14 Mar 2016 20:48:11 +0000 (20:48 +0000)]
Merge "Get adapter name and address on boot" into nyc-dev

8 years agoMerge "Fix constant name in WallpaperManager javadoc." into nyc-dev
Oren Blasberg [Mon, 14 Mar 2016 20:43:42 +0000 (20:43 +0000)]
Merge "Fix constant name in WallpaperManager javadoc." into nyc-dev

8 years agoMerge "Tweaks to QS Animation" into nyc-dev
Jason Monk [Mon, 14 Mar 2016 20:37:17 +0000 (20:37 +0000)]
Merge "Tweaks to QS Animation" into nyc-dev

8 years agoTweaks to QS Animation
Jason Monk [Mon, 14 Mar 2016 14:33:02 +0000 (10:33 -0400)]
Tweaks to QS Animation

Bug: 27201532
Change-Id: I1aaea4fd611ae9fc4791994bed452c50ecf3e1cf

8 years agoFix flickering when layers resize in-place
Chris Craik [Sat, 12 Mar 2016 03:16:21 +0000 (19:16 -0800)]
Fix flickering when layers resize in-place

bug:27248275
Change-Id: Ia11c93ebc1097f3735071204b6f14ca079bb9fc4

8 years agoMerge "Use privateFlags for the preserve geometry check" into nyc-dev
Rob Carr [Mon, 14 Mar 2016 20:11:49 +0000 (20:11 +0000)]
Merge "Use privateFlags for the preserve geometry check" into nyc-dev

8 years agoMerge "Native routing phase 4" into nyc-dev
Paul Mclean [Mon, 14 Mar 2016 19:56:49 +0000 (19:56 +0000)]
Merge "Native routing phase 4" into nyc-dev

8 years agoUse privateFlags for the preserve geometry check
Johan Redestig [Fri, 11 Mar 2016 10:13:16 +0000 (11:13 +0100)]
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

8 years agoNative routing phase 4
Paul McLean [Thu, 10 Mar 2016 21:07:43 +0000 (14:07 -0700)]
Native routing phase 4

Allow Acquire before Realize

Bug: 23899814

Change-Id: I58ab80554893a7df31c3892c75d6bd57fea2b336

8 years agoClean up animation listener when translating notification
Mady Mellor [Sun, 13 Mar 2016 22:54:06 +0000 (15:54 -0700)]
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

8 years agoGet adapter name and address on boot
Ajay Panicker [Fri, 11 Mar 2016 21:47:20 +0000 (13:47 -0800)]
Get adapter name and address on boot

Bug: 25836009
Change-Id: I6fe68b116fcd736cd5736be68c97af3052351b33

8 years agoMerge "NetworkStats.Bucket API polish." into nyc-dev
Jeff Davidson [Mon, 14 Mar 2016 19:30:21 +0000 (19:30 +0000)]
Merge "NetworkStats.Bucket API polish." into nyc-dev

8 years agoMerge "Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation" into nyc-dev
Wale Ogunwale [Mon, 14 Mar 2016 19:27:38 +0000 (19:27 +0000)]
Merge "Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation" into nyc-dev

8 years agoAdded more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation
Wale Ogunwale [Fri, 11 Mar 2016 23:22:38 +0000 (15:22 -0800)]
Added more info to FLAG_ACTIVITY_LAUNCH_ADJACENT documentation

Developers need to add FLAG_ACTIVITY_MULTIPLE_TASK flag if they don't
want an existing instance of their activity to be used.

Bug: 27604971
Change-Id: I80791ba9b8a68e4ffcf7a5b9a963f27239071037

8 years agoMerge "Disable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode" into nyc-dev
Wale Ogunwale [Mon, 14 Mar 2016 19:26:26 +0000 (19:26 +0000)]
Merge "Disable FLAG_LAYOUT_NO_LIMITS window flag in multi-window mode" into nyc-dev

8 years agoUn-deprecate Activity#onRetainNonConfigurationInstance
Adam Powell [Wed, 9 Mar 2016 23:11:37 +0000 (15:11 -0800)]
Un-deprecate Activity#onRetainNonConfigurationInstance

This is still useful in some situations, FragmentActivity in the
support lib uses it to implement retained instance fragments, and it
really irks some people's linters.

Hi, Jake!

Bug 27642432

Change-Id: Id59f4895bdb09f7d629d081c16219e037e71bf33

8 years agoMerge "Clear app idle state for removed packages" into nyc-dev
Amith Yamasani [Mon, 14 Mar 2016 19:13:25 +0000 (19:13 +0000)]
Merge "Clear app idle state for removed packages" into nyc-dev

8 years agoClear app idle state for removed packages
Amith Yamasani [Mon, 14 Mar 2016 18:55:38 +0000 (11:55 -0700)]
Clear app idle state for removed packages

On a package being added or removed, remove
app idle state for the app.

Bug: 27570398
Bug: 26182816
Change-Id: I14bdc1f951bbd99bda8111bea56f8c9dda04148d

8 years agoAdd short codes for DCB to free UK and 44567 to standard US.
Vasco Brito [Mon, 14 Mar 2016 15:13:19 +0000 (15:13 +0000)]
Add short codes for DCB to free UK and 44567 to standard US.

UK short codes are used by Direct Carrier Billing (DCB) on
Google Play. US short code excludes the Google Wallet dedicated
short code (being used by the Google Wallet team to send
notifications to users) from premium phone numbers.

b/26483906

Change-Id: I51ddf484d459400dd8a7a22df78ce65e12760a1e
Signed-off-by: Vasco Brito <vascob@google.com>
8 years agoMerge "Update Display#getRealMetrics() behaviour" into nyc-dev
Andrii Kulian [Mon, 14 Mar 2016 18:47:17 +0000 (18:47 +0000)]
Merge "Update Display#getRealMetrics() behaviour" into nyc-dev

8 years agoNew error codes for SMS/other messages
Ajay Nambi [Fri, 11 Mar 2016 20:05:25 +0000 (12:05 -0800)]
New error codes for SMS/other messages

This change adds error codes for messages related
to SMS and set_mute, get_mute requests

Bug: 27038563
Change-Id: I9b989ae8b99da5e24f4f698f34f2c35b2a48ecbd

8 years agoMerge "Offer to cache ContentResolver-related Bundles." into nyc-dev
Jeff Sharkey [Mon, 14 Mar 2016 18:36:31 +0000 (18:36 +0000)]
Merge "Offer to cache ContentResolver-related Bundles." into nyc-dev

8 years agoMerge "Fix double tap issue in TouchExplorer" into nyc-dev
Zach Kuznia [Mon, 14 Mar 2016 18:32:08 +0000 (18:32 +0000)]
Merge "Fix double tap issue in TouchExplorer" into nyc-dev

8 years agoNetworkStats.Bucket API polish.
Jeff Davidson [Thu, 10 Mar 2016 21:21:38 +0000 (13:21 -0800)]
NetworkStats.Bucket API polish.

-Add @IntDef constants for STATE_ and ROAMING_.
-Expand docs for ROAMING_ constants.
-Use ROAMING_NO/YES instead of ROAMING_DEFAULT/ROAMING.

Bug: 27531260
Change-Id: I54ecfb4148caa549214df0bee9983036ffa4cb55

8 years agoMerge "Specifically block suspending the package verifier." into nyc-dev
Robin Lee [Mon, 14 Mar 2016 18:22:47 +0000 (18:22 +0000)]
Merge "Specifically block suspending the package verifier." into nyc-dev

8 years agoMerge "Make display mirroring for local displays configurable." into nyc-dev
Michael Wright [Mon, 14 Mar 2016 18:16:50 +0000 (18:16 +0000)]
Merge "Make display mirroring for local displays configurable." into nyc-dev

8 years agoFrameworks/base: Extract packages after cache pruning
Andreas Gampe [Sat, 12 Mar 2016 01:42:45 +0000 (17:42 -0800)]
Frameworks/base: Extract packages after cache pruning

In case the runtime pruned the dalvik cache on boot, run the package
extraction logic, so we have working oat files.

As the system server only runs in the primary ABI, this is best effort
and won't hit if only the secondary ABI has been pruned.

Bug: 27618311
Change-Id: I178d18d731a9dce5cb11ed0874c9c9c9d36d7d8e