233140 Commits

Author SHA1 Message Date
Erik Kline
b1ee39540e Add IpManager#shutdown() to terminate the state machine.
Additionally, remove IpManager.Callback#usingIpReachabilityMonitor()
now that this is now longer used.

Bug: 26991160
Change-Id: I9a17497c82238a9fb37a20d01aeca7bc4913ae2c
2016-02-17 20:54:10 +09:00
Tomasz Mikolajewski
804d648138 Merge "Implement getDocumentStreamTypes() in DocumentsProvider." into nyc-dev 2016-02-17 11:34:12 +00:00
Michal Karpinski
7367ed84a5 Whitelisting remote bugreport finished broadcast
Allowing remote bugreport broadcast to be delivered even if
DISALLOW_DEBUGGING_FEATURES user restriction is enforced.

Bug: 26814173
Change-Id: I2f574de261398adbd71d5f75b3c237c92aeb076c
2016-02-17 10:58:21 +00:00
Michal Karpinski
910a367cbf Merge "Remote bugreport notifications rework" into nyc-dev 2016-02-17 10:53:19 +00:00
Florian Salbrechter
705f3384c1 Merge "Fix bug in IntentService and Service example code." into nyc-dev 2016-02-17 10:12:56 +00:00
Daichi Hirono
ebd2405159 Use device key to map device documents.
The CL introduces MAPPING_KEY column to the database and lets Mapper use
the column to map IDs of devices.

It also removes the concept of mapping mode from Mapper for
simplyfing. Now Mapper just tries to multiple mapping keys (MTP
identifier, display name, and mapping key) to find candidate of ID
mapping.

BUG=26212981

Change-Id: I19f6c7dac146047e9978de4eb33d5076406037ad
(cherry picked from commit 637a2010f4a0c0484b13c4cb87aa2858bdf079b2)
2016-02-17 08:18:13 +00:00
Tomasz Mikolajewski
7d37da7086 Merge "Provide siblings in a sorted orders in DocumentsUI." into nyc-dev 2016-02-17 07:04:17 +00:00
Tomasz Mikolajewski
36aafd5086 Merge "Remove unused return in DocumentsProvider.removeDocument." into nyc-dev 2016-02-17 07:02:55 +00:00
Seigo Nonaka
3c6e30818d Merge "Improve backspace for emoji and variation sequences." into nyc-dev 2016-02-17 06:42:14 +00:00
Seigo Nonaka
ff3bfd5a79 Improve backspace for emoji and variation sequences.
This CL makes backspace handling aware of variation selector, combining
enclosing keycaps, zero width joiner, regional indicator symbols and
emoji modifiers.

BUG: 25737208

Change-Id: I740578bfee955cc623e2831778e5b7ec4b8cb627
2016-02-17 15:29:52 +09:00
Jorim Jaggi
8a5c64062f Fix recents transitions
- Also animate when there is no thumbnail, which can frequently
happen after exiting multi-window.
- Also animate when the target stack id is INVALID, because we
currently don't persist stack id's in the tasks.

Change-Id: I280c85e62f55d712408a3e77c43f665acb19bc4c
2016-02-17 06:17:48 +00:00
Jae Seo
519e0591fe Merge "TIF: Rename setTvInputInfo to updateTvInputInfo" into nyc-dev 2016-02-17 02:52:43 +00:00
Chong Zhang
a1c8cfe0ac Merge "Remove AM/WM traces" into nyc-dev 2016-02-17 01:03:20 +00:00
Chong Zhang
e05db74fd2 Remove AM/WM traces
Change-Id: I75f70ce18bf133527b33d42148c71c3fd1be9311
2016-02-16 16:59:17 -08:00
Nathan Harold
56ea73f26e Merge "Create BandMode Constants" into mm-wireless-dev
am: e629c06730

* commit 'e629c067308964659a5886921642920cd2e1f2f4':
  Create BandMode Constants
2016-02-17 00:52:29 +00:00
Chong Zhang
a02f168525 Merge "Clear mPendingScreenOff and stop color fade animiation if screen is on" into nyc-dev 2016-02-17 00:47:40 +00:00
Felipe Leme
cd6cd0064e Merge "Added option to check if an app is whitelisted for deviceidle." into nyc-dev 2016-02-17 00:46:37 +00:00
Felipe Leme
2b5087b381 Merge "Added extra check to avoid NPE if package does not exist." into nyc-dev 2016-02-17 00:46:17 +00:00
Nathan Harold
e629c06730 Merge "Create BandMode Constants" into mm-wireless-dev 2016-02-17 00:44:13 +00:00
Chong Zhang
b131c7003b Clear mPendingScreenOff and stop color fade animiation if screen is on
bug: 24116819
Change-Id: I4a962878001b00daf5473d90cbd257ac318c0446
2016-02-16 16:33:57 -08:00
Felipe Leme
86e5a01708 Added extra check to avoid NPE if package does not exist.
BUG: 26685616

Change-Id: I244e479fd9668bc4f07b8797ce2fc1e1df7a4d28
2016-02-16 16:33:28 -08:00
Chet Haase
5e1d7d0455 Fix typo in CalendarView style docs
Issue #26533040  Incorrect description for android:maxDate under CalendarView XML Attributes

Change-Id: Ib6d4f1578ca55007cbe4ffc5fb3ec547146c1e51
2016-02-17 00:24:54 +00:00
Jae Seo
aa5605ffee TIF: Rename setTvInputInfo to updateTvInputInfo
As TvInputInfo includes many complex objects as fields, it is not
practical to check whether an existing TvInputInfo has actually
"changed" by using simple comparisons when a new TvInputInfo object is
set by a TV input service.
This code change renames
  - setTvInputInfo to updateTvInputInfo
  - onTvInputInfoChanged to onTvInputInfoUpdated
to indicate that the callback is mechanically invoked whenever
updateTvInputInfo method is called.

Change-Id: Ia351b3591d0ed9da962311546f0ba51158e6478e
2016-02-16 15:44:47 -08:00
Doris Liu
e6e57a9d51 Merge "Check RenderNode's owning view before attaching animators" into nyc-dev 2016-02-16 23:38:57 +00:00
Doris Liu
5b49c6f31b Merge "Revert "Revert "VectorDrawable native rendering - Step 5 of MANY""" into nyc-dev 2016-02-16 23:38:43 +00:00
Keisuke Kuroyanagi
f19e3434f8 Merge "Make scrollbar draggable only when it's visible." into nyc-dev 2016-02-16 23:26:32 +00:00
Anna Galusza
a77ef3c83e Expose Intent for launching screen reader tutorial.
Change-Id: Iad479b3f3dc7d1ca23fa044946a93544067adee3
2016-02-16 15:13:08 -08:00
Steve McKay
ab3b8936dc Remove "HOME" directory. Use "Documents" instead.
Use "Folder" as home icon for now.

Bug:27148009
Change-Id: I9f57bba1c8e51ae7887861923f5baa8f69ec2e6e
2016-02-16 14:52:35 -08:00
Siyamed Sinir
afe3cd1aaf Merge "Ellipsized and Non-ellipsized baselines should be same." into nyc-dev 2016-02-16 22:37:54 +00:00
Wale Ogunwale
5a21494d6e Merge changes from topic 'flaky-test' into nyc-dev
* changes:
  Fixed issue with losing window name when copying WindowManager.LayoutParams
  Added AM API to remove a stack
  Don't resume activity on start if there are activities pausing.
2016-02-16 22:32:23 +00:00
Doris Liu
12abdeb3c7 Check RenderNode's owning view before attaching animators
-Only add animators to a RenderNode when its owning view is attached
-When changing animator's target RenderNode, remove the animator from
 the old target RenderNode that it's currently running on, if any.
Bug: 27141983
Bug: 27145149
Change-Id: I9c9592382d64ecc0390f7ec743a59ce1ad7d9798
2016-02-16 14:25:48 -08:00
Selim Gurun
e542c490e1 Merge "Better document the ignore behavior for client cert api" into nyc-dev 2016-02-16 22:17:42 +00:00
Robert Carr
8f640757c6 Fix issue with activity reuse for aliased components.
In this case of activity aliases, the ActivityRecord intent
member will contain the aliased component name. The TaskRecord
intent member will contain the resolved component name. When
considering an activity for reuse during start, we need to compare
our candidates ActivityRecord intent, not it's TaskRecord intent
as we have not yet resolved the alias.

Bug: 27112965
Change-Id: Ie3a1fb7b306469037372a0328364ca3d4530599e
2016-02-16 14:12:00 -08:00
George Mount
c47738d8c2 Merge "Fix TransitionSet javadoc to use transitionOrdering attribute." into nyc-dev 2016-02-16 21:38:02 +00:00
George Mount
d6505566a9 Merge "Don't use forceVisibility for Activity Transitions." into nyc-dev 2016-02-16 21:37:39 +00:00
Jason Monk
c18766d065 Merge "Battery graph in QS Detail" into nyc-dev 2016-02-16 21:26:25 +00:00
Jason Monk
96ab63640f Battery graph in QS Detail
Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.

Use that graph in the battery detail panel to show more stuffs.

Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280
2016-02-16 16:25:44 -05:00
Felipe Leme
1eee1996f5 Cancel notifications when user tap on Details or Take Screenshot after
service died.

There are scenarios when the user is running low on resources and it
kills Shell after it start monitoring a dumpstate process, in which case
the BugreportInfo is not available anymore when the user tap a
notification action.

We could add a mechanism to recover that info (like persistenting the
user-provided values in a shared preference), but would incur in more
costs when the device is already in a resource-constrained state, so
it's better to just stop monitoring and switch back to the traditional
model where the user is notified after the bugreport finishes (the
drawback is that all user-provided information will be lost).

Also improved how info.name is checked to avoid crash in similar cases.

BUG: 27186542
BUG: 27203559
Change-Id: I57076b098a3fce493e1a27121b6e070366808668
2016-02-16 13:17:53 -08:00
Svetoslav Ganov
415dd94ae5 Fail fast when trying to delete a non-existing pacakge.
bug:26921392

Change-Id: I518cc43f3b1b28bd239093feead46107c62eb419
2016-02-16 20:47:26 +00:00
Makoto Onuki
dafec11e69 Merge "Don't allow deactivating DAs when the user is not unlocked" into nyc-dev 2016-02-16 20:47:10 +00:00
Alex Klyubin
3a0095f6dd Use production ID for v2 signing scheme.
Bug: 24331392
Change-Id: I89401e8239ad706ca0c184aea0194f4df4d5a7d4
2016-02-16 12:37:17 -08:00
Selim Gurun
977d943494 Better document the ignore behavior for client cert api
Bug: 26361557

When the embedded app requests a ignore of a client cert request,
webview does not cache the response of the app. However, underlying
layers could. Clarify the document.

Change-Id: I43e6a4c91727f71c88ca69e1334f64de9f66905a
2016-02-16 12:30:08 -08:00
Tao Bao
fdf7c5d31f Add a Settings option of "Disable automatic update".
Bug: 27193001
Change-Id: Ibd205a749ebd674ca4500fd3b701888ac3ee8721
2016-02-16 12:22:22 -08:00
Andreas Gampe
61def3e435 Merge "Frameworks/base: Fix registration function" into nyc-dev 2016-02-16 19:47:31 +00:00
Esteban Talavera
f79c887c59 Merge "Let admin disable fingerprint for the work challenge" into nyc-dev 2016-02-16 19:29:07 +00:00
Edward Cunningham
baccf15a4a DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details.
Bug: 20294239
Change-Id: Ic770a223c23013ebab08d22dd14e7192dc8e3109
(cherry picked from commit 735a31e093d9262139c1da6bf426bc8166d4b18e)
2016-02-16 19:27:32 +00:00
Alan Viverette
f8872b0a37 Merge "Force uniform width for MATCH_PARENT in AlertDialogLayout" into nyc-dev 2016-02-16 19:06:00 +00:00
Leon Scroggins
5ef5e0faf0 Merge "Clean up some Skia includes" into nyc-dev 2016-02-16 19:02:46 +00:00
Robin Lee
e154bed3b9 Merge "Auto-call prepare() for new always-on VPNs" into nyc-dev 2016-02-16 18:56:53 +00:00
Andreas Gampe
faa1033dc7 Frameworks/base: Fix registration function
Registration functions return "int."

Change-Id: Icb8d35f3bc23794cdb22db1c1adda236c9d8676e
2016-02-16 10:38:20 -08:00