Commit Graph

235150 Commits

Author SHA1 Message Date
Jorim Jaggi
0bea7ebf56 Merge "New behavior for docked stack when going home" into nyc-dev 2016-02-19 22:14:46 +00:00
Mady Mellor
f7acbef6a9 Merge "Initial implementation of dismiss gesture + inline settings icon" into nyc-dev
am: 15d6eafec5

* commit '15d6eafec54f8631c908b8a81c997fef8dd4cd8a':
  Initial implementation of dismiss gesture + inline settings icon
2016-02-19 22:12:53 +00:00
Dimitry Ivanov
b9c9026bdd Construct classloader for apps with no java code
The commit 6f06ad7df1
fixed a way to load native library for NativeActivity
by using classloader logic to find the library; which
also fixed the problem of native activity not working
when library is supposed to be opened directly from
the apk.

As a side effect it introduced regression - apps without
java code did not have correctly initialized classloader.
This change fixes this by constructing classloader with
empty dexpath but valid nativeLibrarySearchPath.

Bug: http://b/26015561
Bug: http://b/27250344
Change-Id: I50f1119f0976a95edd75d88efb9fcdedc57efbc3
2016-02-19 14:09:20 -08:00
Jason Monk
4bc0d84771 Merge changes Iaf1ee1e6,I861cb65d into nyc-dev am: d2308771f0
am: b134b53f38

* commit 'b134b53f383d7850c68da4a270102ca37322ba35':
  Add TileService settings API
  Add QS long-press -> Settings
2016-02-19 22:07:46 +00:00
Mady Mellor
15d6eafec5 Merge "Initial implementation of dismiss gesture + inline settings icon" into nyc-dev 2016-02-19 22:06:33 +00:00
Jason Monk
b134b53f38 Merge changes Iaf1ee1e6,I861cb65d into nyc-dev
am: d2308771f0

* commit 'd2308771f011c6277fc2e5e2e5f78e35d2cf22e6':
  Add TileService settings API
  Add QS long-press -> Settings
2016-02-19 22:01:22 +00:00
Jason Monk
d2308771f0 Merge changes Iaf1ee1e6,I861cb65d into nyc-dev
* changes:
  Add TileService settings API
  Add QS long-press -> Settings
2016-02-19 21:53:44 +00:00
Doris Liu
8b083206ae Revert "Revert "Check RenderNode's owning view before attaching animators""
This reverts commit eb40178af3.

Change-Id: I6838ecb35b50847746ee66ac204f14eb5f579b91
2016-02-19 13:52:41 -08:00
Doris Liu
c4bb185d41 VectorDrawable native rendering - Step 5 of MANY
This is reverting the revert of what reverts the revert of the original
implementation. Fourth revert is a charm!

This reverts commit df7fdb1e0b.

Change-Id: I6fc3a5accfd8b79c3da31bbc101ad9e9b4d6e7dd
2016-02-19 13:51:31 -08:00
Glen Kuhne
fd2505f445 Merge "Add EID_TIM to ScanResult.InformationElement" into mm-wireless-dev am: 70fc162330 am: 5045253e3e
am: ffeb035420

* commit 'ffeb0354201b685b9b460f5eae09191e2d675ac6':
  Add EID_TIM to ScanResult.InformationElement
2016-02-19 21:50:02 +00:00
Glen Kuhne
ffeb035420 Merge "Add EID_TIM to ScanResult.InformationElement" into mm-wireless-dev am: 70fc162330
am: 5045253e3e

* commit '5045253e3e4b9b1c0cf3feea087843d431ed1d1b':
  Add EID_TIM to ScanResult.InformationElement
2016-02-19 21:44:54 +00:00
Aurimas Liutikas
1c8cbb5440 Fix a set of random warnings in frameworks/base/
Bug: 26936282
Change-Id: Ic411d7a1673503d5945f952ebf5a8be964bb54a4
2016-02-19 13:44:25 -08:00
Jason Monk
724214a878 Add TileService settings API
It will be used for long-clicks on TileServices when available.
Otherwise will default back to app info for the app providing the
tile.

Bug: 27269699
Change-Id: Iaf1ee1e6fe6e1357cda32c74bfdc0c26af0f5901
2016-02-19 16:43:00 -05:00
Jason Monk
76c67aa361 Add QS long-press -> Settings
Bug: 27269699
Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
2016-02-19 16:42:50 -05:00
Glen Kuhne
5045253e3e Merge "Add EID_TIM to ScanResult.InformationElement" into mm-wireless-dev
am: 70fc162330

* commit '70fc1623301ab5268c54bb203329893893ed35cb':
  Add EID_TIM to ScanResult.InformationElement
2016-02-19 21:39:41 +00:00
Glen Kuhne
70fc162330 Merge "Add EID_TIM to ScanResult.InformationElement" into mm-wireless-dev 2016-02-19 21:35:10 +00:00
Adam Lesinski
6cad213183 Remove extraneous field from batterystats dumpsys am: 2208e743e4
am: b3d7561883

* commit 'b3d756188309c555f0374315da7ff90bc8dbe65a':
  Remove extraneous field from batterystats dumpsys
2016-02-19 21:14:33 +00:00
Adam Lesinski
b3d7561883 Remove extraneous field from batterystats dumpsys
am: 2208e743e4

* commit '2208e743e4c2da29008f6503c2d678c7e28e7812':
  Remove extraneous field from batterystats dumpsys
2016-02-19 21:08:51 +00:00
Jeff Sharkey
558f09fcf6 DO NOT MERGE ANYWHERE: Hack to get devices booting again.
If we try scheduling a pass before the system is ready, record a
pending event and dispatch once we're actually ready.

Bug: 26863668
Change-Id: I028285383c8bbe8b653aeaa7544eefe3d41277bc
(cherry picked from commit 538c11cf21)
2016-02-19 21:06:14 +00:00
Adam Lesinski
9d89bd5cb8 DO NOT MERGE ANYWHERE: Don't change screen on time on time changes
Screen on time should be measured in elapsed realtime, not wallclock.

Cause a checkIdleStates to occur when reloading stats
(on rollover and on time change).

When time changes occur in the negative direction, the new stats file
we create can overlap the previous one with regards to its end timestamp.
Use the begin timestamp to determine which of the latest stats to merge.
(b/22716352)

Bug: 26488100
Change-Id: If31b29bbbee9e98401205b5e26bce86e181286e7
2016-02-19 21:05:07 +00:00
Adam Lesinski
2208e743e4 Remove extraneous field from batterystats dumpsys
Change-Id: Iea913e993e61d114c499e6218ad0abf9a8e80690
2016-02-19 21:03:43 +00:00
Diego Perez
5ae9c07890 Merge "Revert "Fix Canvas memory leak"" into mnc-ub-dev am: 44f92b00d1 am: 4f2103631a
am: 18a6b77105

* commit '18a6b7710593f64ebf23a9d9ef25e2b50b1ccc96':
  Revert "Fix Canvas memory leak"
2016-02-19 20:37:06 +00:00
Diego Perez
18a6b77105 Merge "Revert "Fix Canvas memory leak"" into mnc-ub-dev am: 44f92b00d1
am: 4f2103631a

* commit '4f2103631a44303257e3adbe89fa2a6854841bbb':
  Revert "Fix Canvas memory leak"
2016-02-19 20:29:22 +00:00
John Reck
f6bcf1698e Merge "Temporarily enable fine-grained error checking" into nyc-dev am: 412eee17cd
am: 6933f3cabc

* commit '6933f3cabcf7c96be4b758875aba661889d98a12':
  Temporarily enable fine-grained error checking
2016-02-19 20:25:07 +00:00
Diego Perez
4f2103631a Merge "Revert "Fix Canvas memory leak"" into mnc-ub-dev
am: 44f92b00d1

* commit '44f92b00d1a060773625de5884fc86e7218e2dd5':
  Revert "Fix Canvas memory leak"
2016-02-19 20:18:28 +00:00
John Reck
6933f3cabc Merge "Temporarily enable fine-grained error checking" into nyc-dev
am: 412eee17cd

* commit '412eee17cd3221483901f0d0325153acc66e4990':
  Temporarily enable fine-grained error checking
2016-02-19 20:18:22 +00:00
John Reck
412eee17cd Merge "Temporarily enable fine-grained error checking" into nyc-dev 2016-02-19 20:11:56 +00:00
Jorim Jaggi
42625d1bc7 New behavior for docked stack when going home
- We keep the docked stack visible when home task is visible even
though it's not resizable.
- We introduce the a new concept called "minimizing" the docked stack,
which happens when going home. In this state, the docked stack is
clipped of almost completely.
- To achieve that, we introduce TaskStackBoundsAdjustController,
which adjusts the bounds of the docked stack when minimized. Also,
migrate the IME handling to this new class.
- We also need to inform SysUI that it is now minimized so it can
remove the drag affordance on the divider, and also make it a bit
smaller.
- When we detect an app transition, we check whether the home stack
gets visible/invisible. We then start an animation which runs in
sync with the normal app transition. For that we introduce
DockedStackDividerController.animate(), which performs the animation.

Bug: 27137961
Change-Id: I8623bc73cc6872bf28c5b1b8d5795974576811b2
2016-02-19 12:11:11 -08:00
Diego Perez
44f92b00d1 Merge "Revert "Fix Canvas memory leak"" into mnc-ub-dev 2016-02-19 20:09:09 +00:00
Diego Perez
cf93572889 Revert "Fix Canvas memory leak"
This reverts commit e82bd72b6e.

Change-Id: Ie9ef25b17d5f725d5054c039992a8cd2912868a6
2016-02-19 20:07:44 +00:00
Adrian Roos
42e1471745 Merge "Use actual lockscreen wallpaper" into nyc-dev am: 6e99febd18
am: ed101b4eb5

* commit 'ed101b4eb5d638575ab0cf9710b3faabd02ca4c2':
  Use actual lockscreen wallpaper
2016-02-19 20:06:54 +00:00
Adrian Roos
ed101b4eb5 Merge "Use actual lockscreen wallpaper" into nyc-dev
am: 6e99febd18

* commit '6e99febd180a72536a08cf4c0456d852a47e9b2f':
  Use actual lockscreen wallpaper
2016-02-19 19:59:53 +00:00
Selim Cinek
34eda5ed70 Fixed a clicking bug on the lockscreen
Parts of custom notficications were not singeclickable

Bug: 27247884
Change-Id: I7c52500a77929059b24e8119f50492e0f1399401
2016-02-19 11:54:43 -08:00
Selim Cinek
03eb3b7c44 Add support for custom media notifications
Custom media notifications can now also be decorated by the system
instead of going fully custom.

Bug: 26961842
Change-Id: I1d85a652b93f10988939b471a14b372671acfaf1
2016-02-19 11:54:42 -08:00
Selim Cinek
247fa01931 Cleaned up the logic for the picture end margin
This allows decorated custom remote views to be properly
showing with a large image.

Bug: 24866646
Change-Id: Ie355e503437f19ace2503d42f44bee4bd22f03c8
2016-02-19 11:54:41 -08:00
Selim Cinek
d2feb63aaf Media notifications now properly respect font size changes
Bug: 24866646
Change-Id: I6e38aea518bee1b933fdc8efd460e95eaaaed3b0
2016-02-19 11:54:41 -08:00
Selim Cinek
f619ffccd7 Adapted the measuring of notification content view
We are now measuring all notifications content views
with AT_MOST but with an upperboundary. This allows us
to put custom views inside our normal views and still not
blow up the small size. Also adapted the dimens not to
clamp the templates

Bug: 24866646
Change-Id: If9053d84a9d91e6bc9964f64b170e3c3260a807d
2016-02-19 11:54:15 -08:00
Adrian Roos
6e99febd18 Merge "Use actual lockscreen wallpaper" into nyc-dev 2016-02-19 19:53:20 +00:00
Selim Cinek
593610c248 Added the possibility to show custom notifications decorated.
Bug: 26961842
Change-Id: I3966a4e6ecb05b9f284ec5b244b2594f78bcb337
2016-02-19 11:52:12 -08:00
Sudheer Shanka
ad93666f4e Merge "Part1 - Don\'t add padlock if the restriction is not set by admin." into nyc-dev am: f498c8ddc1
am: bea4c54f73

* commit 'bea4c54f73b38ca9554ea51554e4580bff4ab1d1':
  Part1 - Don't add padlock if the restriction is not set by admin.
2016-02-19 19:43:36 +00:00
Sudheer Shanka
bea4c54f73 Merge "Part1 - Don\'t add padlock if the restriction is not set by admin." into nyc-dev
am: f498c8ddc1

* commit 'f498c8ddc15a709402cf97c4451806f2e6720f52':
  Part1 - Don't add padlock if the restriction is not set by admin.
2016-02-19 19:38:09 +00:00
Steve McKay
8bd2dba973 Merge "Undo generalization isDownloads > supportsChildren." into nyc-dev am: fdfd5b60fc
am: ac806ff14e

* commit 'ac806ff14ea7fdf5c9a4072e42e3e4e04eceb09b':
  Undo generalization isDownloads > supportsChildren.
2016-02-19 19:33:56 +00:00
Julia Reynolds
53faf747f6 Merge "Remove Notification Topics." into nyc-dev am: 73d96fb4bb
am: f7f055e407

* commit 'f7f055e40709d8de6bad8f4384f4dc59adceb213':
  Remove Notification Topics.
2016-02-19 19:32:13 +00:00
Sudheer Shanka
f498c8ddc1 Merge "Part1 - Don't add padlock if the restriction is not set by admin." into nyc-dev 2016-02-19 19:31:47 +00:00
Tao Bao
e8a403d57c Add support for update-on-boot feature.
Add a separate system service RecoverySystemService to handle recovery
related requests (calling uncrypt to de-encrypt the OTA package on the
/data partition, setting up bootloader control block (aka BCB) and etc).

We used to trigger uncrypt in ShutdownThread before rebooting into
recovery. Now we expose new SystemApi (RecoverySystem.processPackage())
to allow the caller (e.g. GmsCore) to call that upfront before
initiating a reboot. This will reduce the reboot time and get rid of the
progress bar ("processing update package"). However, we need to reserve
the functionality in ShutdownThread to optionally call uncrypt if
finding that's still needed.

In order to support the update-on-boot feature, we also add new
SystemApis scheduleUpdateOnBoot() and cancelScheduledUpdate() into
android.os.RecoverySystem. They allow the caller (e.g. GmsCore) to
schedule / cancel an update by setting up the BCB, which will be read by
the bootloader and the recovery image. With the new SystemApis, an
update package can be processed (uncrypt'd) in the background and
scheduled to be installed at the next boot.

Bug: 26830925
Change-Id: Ic606fcf5b31c54ce54f0ab12c1768fef0fa64560
2016-02-19 11:31:45 -08:00
Adrian Roos
e381c169fc Use actual lockscreen wallpaper
Bug: 25454162
Change-Id: I30ff02420bc4b72d7e4bf9105f2fd4c8017f5756
2016-02-19 11:29:16 -08:00
Steve McKay
ac806ff14e Merge "Undo generalization isDownloads > supportsChildren." into nyc-dev
am: fdfd5b60fc

* commit 'fdfd5b60fc7b62d2a3af97af39abde8c5067eada':
  Undo generalization isDownloads > supportsChildren.
2016-02-19 19:26:19 +00:00
Julia Reynolds
f7f055e407 Merge "Remove Notification Topics." into nyc-dev
am: 73d96fb4bb

* commit '73d96fb4bbe1e3796e655314619bf9897d07c929':
  Remove Notification Topics.
2016-02-19 19:25:04 +00:00
Sudheer Shanka
a8fbbb30ea Part1 - Don't add padlock if the restriction is not set by admin.
Bug: 26687435
Change-Id: I2fd740b1fa0d76eceedc4dde73e41d779820bbcf
2016-02-19 19:21:57 +00:00
Steve McKay
fdfd5b60fc Merge "Undo generalization isDownloads > supportsChildren." into nyc-dev 2016-02-19 19:17:59 +00:00