OSDN Git Service
Deepanshu Gupta [Wed, 2 Dec 2015 05:44:56 +0000 (21:44 -0800)]
Add ability to promote fields.
This adds the ability to promote private fields to public ones to
enable layoutlib to access them. This was first added in change
b556decf75b2b084e1aed54ac7fa23a141eedb7f, but reverted in
847b0d3ad22a47e0bca3d8bc8168fea7a0ba2f80. This is essentially a revert
of the change again, but without the SimpleMonthView related stuff.
Also, promote the Choreographer's field as is needed to support
animations.
Change-Id: Iee45a465c7a1cadd362c1841385941e6232e4900
Svet Ganov [Wed, 2 Dec 2015 03:52:26 +0000 (19:52 -0800)]
Add optional permission review for legacy apps - framework
For some markets we have to allow the user to review permissions
for legacy apps at runtime despite them not supporting the new
permission model. This is achieved by showing a review UI before
launching any app component. If an update is installed the user
should see a permission review UI for the newly requested
permissions.
To allow distinguishing which permissions need a review we set
a special flag in the permission flags that a review is required.
This flag is set if a runtime permission is granted to a legacy
app and the system does not launch any app components until this
flag is cleared. Since install permissions are shared across all
users the dangerous permissions for legacy apps in review mode
are represented as always granted runtime permissions since the
reivew requirement is on a per user basis.
Whether the build supports permission review for legacy apps is
determined by a build constant allowing us to compile away the
unnecessary code for markets that do not require a permissions
review.
If an app launches an activity in another app that has some
permissions needing review, we launch the permissions review
UI and pass it a pending intent to launch the activity after
the review is completed.
If an app sends a broadcast to another app that has some permissions
needing review, we do not deliver the broadcast and if the sending
app is in the foreground plus the broadcast is explicit (has a
component) we launch the review UI giving it a pending intent to
send the broadcast after the review is completed.
If an app starts a service in another app that has some permissions
needing review, we do not start the service and if the calling app
is in the foreground we launch the review UI and pass it a pending
intent to start the service after the review is completed.
If an app binds to a service in another app that has some permissions
needing review, we schedule the binding but do not spin the target
service's process and we launch the review UI and pass it a callback
to invoke after the review is completed which spins the service
process and completes the binding.
If an app requests a content provider in another app that has some
permissions needing review we do not return the provider and if
the calling app is in the foreground we show the review UI.
Change-Id: I550f5ff6cadc46a98a1d1a7b8415eca551203acf
Diego Perez [Wed, 2 Dec 2015 04:10:22 +0000 (04:10 +0000)]
Revert "Add support for Choreographer animations"
This reverts commit
29ed07524ce0fc2e5950f5340d306247145d0efa.
Daichi Hirono [Wed, 2 Dec 2015 03:53:46 +0000 (03:53 +0000)]
Merge "Extract test utility class."
Daichi Hirono [Wed, 2 Dec 2015 03:53:08 +0000 (03:53 +0000)]
Merge "Add storage icon for MTP roots."
Daichi Hirono [Wed, 2 Dec 2015 03:20:25 +0000 (12:20 +0900)]
Extract test utility class.
Change-Id: I8505ab13ceccf32e7a9b6817f84a66766098b09e
Marco Nelissen [Wed, 2 Dec 2015 03:01:21 +0000 (03:01 +0000)]
Merge "Don't try to compress .webm resources"
Daichi Hirono [Wed, 2 Dec 2015 01:56:44 +0000 (10:56 +0900)]
Add storage icon for MTP roots.
BUG=
22545807
Change-Id: I714b26d52e00b0f9a5c95dea1508be0d617482e3
Adrian Roos [Wed, 2 Dec 2015 01:58:50 +0000 (01:58 +0000)]
Merge "Charging speed based on voltage" into mnc-dr2-dev am:
0ede75507c
am:
82cfaa813b
* commit '
82cfaa813b994ff1e5aaedbdfeeb4ced6e5dfcdb':
Charging speed based on voltage
Adrian Roos [Wed, 2 Dec 2015 01:50:10 +0000 (01:50 +0000)]
Merge "Charging speed based on voltage" into mnc-dr2-dev
am:
0ede75507c
* commit '
0ede75507c43819d0417efe1f1ab5c626a608fc5':
Charging speed based on voltage
Adrian Roos [Wed, 2 Dec 2015 01:44:21 +0000 (01:44 +0000)]
Merge "Charging speed based on voltage" into mnc-dr2-dev
Ben Fennema [Wed, 2 Dec 2015 01:36:13 +0000 (01:36 +0000)]
Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev am:
4d70e6a3c0 -s ours am:
8780f07b5c -s ours am:
ceec3dab7c -s ours
am:
7154bbf2d4 -s ours
* commit '
7154bbf2d40dcdb86160781991d77573d173e976':
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
Filip Gruszczynski [Wed, 2 Dec 2015 01:31:47 +0000 (01:31 +0000)]
Merge "Add input method to the tap detection exclude area."
Filip Gruszczynski [Wed, 2 Dec 2015 00:14:04 +0000 (16:14 -0800)]
Add input method to the tap detection exclude area.
Without this touch events on the input method will trigger focus change
if there is a window underneath the input. When focus changes, the input
method will go away too.
Bug:
25930832
Change-Id: I532cb9e78f6fe37b1ddfada75594fc695898a090
Ben Fennema [Wed, 2 Dec 2015 01:27:25 +0000 (01:27 +0000)]
Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev am:
4d70e6a3c0 -s ours am:
8780f07b5c -s ours
am:
ceec3dab7c -s ours
* commit '
ceec3dab7cb7fcee6d367382fae11c9855263474':
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
Chong Zhang [Wed, 2 Dec 2015 01:25:58 +0000 (01:25 +0000)]
Merge "AMS: add API to IProcessInfoServive for retrieving oom scores"
Keisuke Kuroyanagi [Wed, 2 Dec 2015 01:23:17 +0000 (01:23 +0000)]
Merge "Add TextView mouse tests for long click and double click."
Chong Zhang [Tue, 1 Dec 2015 22:06:42 +0000 (14:06 -0800)]
AMS: add API to IProcessInfoServive for retrieving oom scores
bug:
25853091
Change-Id: Ic915191b959afd34d31e8731a7e4aa631a78e45e
Ben Fennema [Wed, 2 Dec 2015 01:20:15 +0000 (01:20 +0000)]
Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev am:
4d70e6a3c0 -s ours
am:
8780f07b5c -s ours
* commit '
8780f07b5c2a318cb28c172f9eac47b975793c90':
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
Ben Fennema [Wed, 2 Dec 2015 01:12:04 +0000 (01:12 +0000)]
Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev
am:
4d70e6a3c0 -s ours
* commit '
4d70e6a3c044c4e29d84835a026b3e70b44b66e8':
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
Ben Fennema [Wed, 2 Dec 2015 01:06:12 +0000 (01:06 +0000)]
Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev
Ben Fennema [Wed, 2 Dec 2015 01:05:25 +0000 (01:05 +0000)]
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
This reverts commit
ad75169628589a275fb869a813ea697336e0c0aa.
Change-Id: Ic2f003fc200c077391d18bef9d5b79a98601769c
Keisuke Kuroyanagi [Wed, 2 Dec 2015 00:58:53 +0000 (16:58 -0800)]
Add TextView mouse tests for long click and double click.
Bug:
19544351
Change-Id: I4f3fe633c01c443441ff0ef1617bad34c17ab508
Ben Fennema [Wed, 2 Dec 2015 00:49:57 +0000 (00:49 +0000)]
Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev am:
ec7180f733 -s ours am:
b98383291f -s ours am:
e90efd9153 -s ours
am:
1b574b3d45 -s ours
* commit '
1b574b3d452969fef215495086e6f82aeadf4c8c':
DO NOT MERGE ANYWHERE Add new interface for sensor physical data
Ben Fennema [Wed, 2 Dec 2015 00:41:56 +0000 (00:41 +0000)]
Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev am:
ec7180f733 -s ours am:
b98383291f -s ours
am:
e90efd9153 -s ours
* commit '
e90efd91536b5bf7904336f78f258d63ba2cc904':
DO NOT MERGE ANYWHERE Add new interface for sensor physical data
Ben Fennema [Wed, 2 Dec 2015 00:34:14 +0000 (00:34 +0000)]
Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev am:
ec7180f733 -s ours
am:
b98383291f -s ours
* commit '
b98383291f32d0152cb291855aa00f016d526a4a':
DO NOT MERGE ANYWHERE Add new interface for sensor physical data
Ben Fennema [Wed, 2 Dec 2015 00:26:19 +0000 (00:26 +0000)]
Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev
am:
ec7180f733 -s ours
* commit '
ec7180f7333777582e642fc54f7106d500b7da33':
DO NOT MERGE ANYWHERE Add new interface for sensor physical data
Filip Gruszczynski [Wed, 2 Dec 2015 00:20:18 +0000 (00:20 +0000)]
Merge "Fix cts ApplicationTest#testApplication failing."
Filip Gruszczynski [Tue, 1 Dec 2015 20:49:29 +0000 (12:49 -0800)]
Fix cts ApplicationTest#testApplication failing.
We should ignore orientation change requests only when a resizeable
activity is not in a full screen mode.
Bug:
25935368
Change-Id: I53bada8bbf0b429b1d48707f65da488e0edeb799
Diego Perez [Wed, 2 Dec 2015 00:04:08 +0000 (00:04 +0000)]
resolve merge conflicts of
956cad8870 to master.
Change-Id: Iebad149b2768bcd7a52ee2c7c8c260a9279d1742
Ben Fennema [Wed, 2 Dec 2015 00:01:55 +0000 (00:01 +0000)]
Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev
Chris Elliott [Tue, 1 Dec 2015 23:47:45 +0000 (23:47 +0000)]
Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev am:
50276adde2 am:
c54aa0c3f7 am:
767e2b39db
am:
1709832d47
* commit '
1709832d474a7be85d46e55fab5773e399cd7086':
MediaPlayer: Disable acquiring wakelocks based on property.
Chris Elliott [Tue, 1 Dec 2015 23:37:28 +0000 (23:37 +0000)]
Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev am:
50276adde2 am:
c54aa0c3f7
am:
767e2b39db
* commit '
767e2b39db78e41241998b7b3941a15d68c6b4f2':
MediaPlayer: Disable acquiring wakelocks based on property.
Steve McKay [Tue, 1 Dec 2015 23:26:57 +0000 (23:26 +0000)]
Merge "Guard against null key events...which can happen."
Steve McKay [Tue, 1 Dec 2015 23:07:37 +0000 (23:07 +0000)]
Merge "Don't copy a directory into itself...doesn't go well."
Steve McKay [Tue, 1 Dec 2015 23:00:43 +0000 (15:00 -0800)]
Guard against null key events...which can happen.
Bug:
25772143
Change-Id: I0c2665aea25c65b92e6f6c0b1454f1e07112fc9c
Steve McKay [Fri, 20 Nov 2015 01:27:12 +0000 (17:27 -0800)]
Don't copy a directory into itself...doesn't go well.
Minimally deform CopyService such that we can listen
to the completion of operations in the test.
Add test coverage.
Add equals and hashcode to DocumentInfo...so we can compare
the heck out of 'em. + a test.
WIP: Expose (@hide style) DocumentsProvider.isChildDocument via
DocumentsContract. Use that to check for recusive copies.
Bug:
25794511
Change-Id: I05bb329eb10b43540c6806d634e5b96a753e8178
Chris Elliott [Tue, 1 Dec 2015 21:27:33 +0000 (21:27 +0000)]
Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev am:
50276adde2
am:
c54aa0c3f7
* commit '
c54aa0c3f7660a6a35c5ea396ef89f95eefb7c13':
MediaPlayer: Disable acquiring wakelocks based on property.
Chris Elliott [Tue, 1 Dec 2015 21:19:54 +0000 (21:19 +0000)]
Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev
am:
50276adde2
* commit '
50276adde24c55394c0023ef49d01f054303dc87':
MediaPlayer: Disable acquiring wakelocks based on property.
Chris Elliott [Tue, 1 Dec 2015 21:12:15 +0000 (21:12 +0000)]
Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev
Chad Brubaker [Tue, 1 Dec 2015 21:03:27 +0000 (13:03 -0800)]
Don't use IntegralToString
Fix master build
Change-Id: I084ada7ccf54ab1708306ad2a412d8a09f78dec4
Chad Brubaker [Tue, 1 Dec 2015 20:36:22 +0000 (20:36 +0000)]
Merge "Expose findTrustAnchorBySubjectAndPublicKey" am:
6fea66116c am:
3c096b3a88
am:
bb670fc3ea
* commit '
bb670fc3ea65aa2e129227562769ee296e552f59':
Expose findTrustAnchorBySubjectAndPublicKey
Chad Brubaker [Tue, 1 Dec 2015 20:35:02 +0000 (20:35 +0000)]
Merge "Make NetworkSecurityConfigProvider.install lazy" am:
73c06b1dbe am:
a2388beca1
am:
e83b773bf5
* commit '
e83b773bf579caa97aae47e7a929dba42905980a':
Make NetworkSecurityConfigProvider.install lazy
Chad Brubaker [Tue, 1 Dec 2015 20:27:47 +0000 (20:27 +0000)]
Merge "Expose findTrustAnchorBySubjectAndPublicKey" am:
6fea66116c
am:
3c096b3a88
* commit '
3c096b3a88617aa21bcb5cd1e496760f5898dd34':
Expose findTrustAnchorBySubjectAndPublicKey
Chad Brubaker [Tue, 1 Dec 2015 20:26:21 +0000 (20:26 +0000)]
Merge "Make NetworkSecurityConfigProvider.install lazy" am:
73c06b1dbe
am:
a2388beca1
* commit '
a2388beca16898a1928fbf61a28aee2ff88ab46c':
Make NetworkSecurityConfigProvider.install lazy
Chad Brubaker [Tue, 1 Dec 2015 20:21:35 +0000 (20:21 +0000)]
Merge "Expose findTrustAnchorBySubjectAndPublicKey"
am:
6fea66116c
* commit '
6fea66116c79ecb5232a1c7ae66ae2a6e62c1c12':
Expose findTrustAnchorBySubjectAndPublicKey
Chad Brubaker [Tue, 1 Dec 2015 20:20:11 +0000 (20:20 +0000)]
Merge "Make NetworkSecurityConfigProvider.install lazy"
am:
73c06b1dbe
* commit '
73c06b1dbe08b3fc3786a3fab007f26398111f6a':
Make NetworkSecurityConfigProvider.install lazy
Chad Brubaker [Tue, 1 Dec 2015 20:13:40 +0000 (20:13 +0000)]
Merge "Expose findTrustAnchorBySubjectAndPublicKey"
Chad Brubaker [Tue, 1 Dec 2015 20:13:23 +0000 (20:13 +0000)]
Merge "Make NetworkSecurityConfigProvider.install lazy"
Fyodor Kupolov [Tue, 1 Dec 2015 20:08:15 +0000 (20:08 +0000)]
Merge "Correctly set default restrictions when creating guest"
Winson [Tue, 1 Dec 2015 18:43:02 +0000 (10:43 -0800)]
Fixing regression in drag view
- We should be removing the dragged task view after it is dropped on a
drag target
- Also fixing issue with ViewPropertyAnimator listeners not being reset
causing callbacks to be called in later animations
Change-Id: Ib9815d77f4e427c575f5a77fa58ea5a22f39f10f
Yohei Yukawa [Tue, 1 Dec 2015 18:47:17 +0000 (18:47 +0000)]
Merge "Plumb IME subtype change from IMMS to IMS."
Winson Chung [Tue, 1 Dec 2015 18:44:23 +0000 (18:44 +0000)]
Merge "Fixing issue where the configuration can have stale docked state."
Yohei Yukawa [Tue, 1 Dec 2015 18:43:08 +0000 (10:43 -0800)]
Plumb IME subtype change from IMMS to IMS.
This is a plumbing CL from IMMS to IMS to notify when the current input
method subtype is changed. Those events are supposed to be used to
change physical keyboard layout depending on input method subtype, which
is to be implemented in subsequent CLs.
Bug:
25753054
Change-Id: I58e71ffce9ac9131551a00dd35e24235dadfef87
Chong Zhang [Tue, 1 Dec 2015 18:41:48 +0000 (18:41 +0000)]
Merge "Show toast for non-resizeble docked task under the task itself"
Marco Nelissen [Tue, 1 Dec 2015 18:34:37 +0000 (10:34 -0800)]
Don't try to compress .webm resources
Bug:
25822610
Change-Id: I40a93c9daac258a8e9a41668c0040353e44ed5bb
Chong Zhang [Mon, 30 Nov 2015 17:44:27 +0000 (09:44 -0800)]
Show toast for non-resizeble docked task under the task itself
Move the show toast code to WM, so that we can schedule to show the
toast when the app becomes visible. Otherwise the toast always shows
up a long time before the app itself.
bug:
25433902
bug:
25873338
Change-Id: I879f8e0570829934fac806c2861bda9f65e08969
Tom Taylor [Tue, 1 Dec 2015 18:00:39 +0000 (18:00 +0000)]
Merge "TRON: log changes to the default SMS app"
Winson [Tue, 1 Dec 2015 02:43:43 +0000 (18:43 -0800)]
Fixing issue where the configuration can have stale docked state.
- Fixing issue where you could not drag after undocking a task while
Overview is open, since we did not update the docked state. We can
just read the state directly in that case.
Change-Id: I5d2844edf024ba379e13be1a625bda8579d971b1
John Reck [Tue, 1 Dec 2015 17:17:24 +0000 (17:17 +0000)]
Merge "Fix RippleDrawable exit animation"
John Reck [Tue, 1 Dec 2015 17:13:18 +0000 (17:13 +0000)]
Merge "Tweak AsyncTask#THREAD_POOL_EXECUTOR settings"
Bryce Lee [Tue, 1 Dec 2015 16:04:21 +0000 (16:04 +0000)]
Merge "DO NOT MERGE ANYWHERE" into cw-e-dev am:
085796bdf5 -s ours am:
4ecf963e77 -s ours am:
8f95fe4b71 -s ours
am:
155a44cee0 -s ours
* commit '
155a44cee0130c5a9a92268583bb3a7cd55607ae':
DO NOT MERGE ANYWHERE
Bryce Lee [Tue, 1 Dec 2015 15:57:07 +0000 (15:57 +0000)]
Merge "DO NOT MERGE ANYWHERE" into cw-e-dev am:
085796bdf5 -s ours am:
4ecf963e77 -s ours
am:
8f95fe4b71 -s ours
* commit '
8f95fe4b71b54ee920d71b6b689b0e7f53994f00':
DO NOT MERGE ANYWHERE
Bryce Lee [Tue, 1 Dec 2015 15:50:14 +0000 (15:50 +0000)]
Merge "DO NOT MERGE ANYWHERE" into cw-e-dev am:
085796bdf5 -s ours
am:
4ecf963e77 -s ours
* commit '
4ecf963e770e0226c3fcef509ff5d7fb6c31ed0b':
DO NOT MERGE ANYWHERE
Bryce Lee [Tue, 1 Dec 2015 15:43:15 +0000 (15:43 +0000)]
Merge "DO NOT MERGE ANYWHERE" into cw-e-dev
am:
085796bdf5 -s ours
* commit '
085796bdf5e106abd42db2d0ef7d3aee899a766b':
DO NOT MERGE ANYWHERE
Bryce Lee [Tue, 1 Dec 2015 15:37:30 +0000 (15:37 +0000)]
Merge "DO NOT MERGE ANYWHERE" into cw-e-dev
George Mount [Tue, 1 Dec 2015 15:19:56 +0000 (15:19 +0000)]
Merge "Choose the correct Fragment to pull a Transiton from."
George Mount [Tue, 1 Dec 2015 15:19:27 +0000 (15:19 +0000)]
Merge "Give transitioning fragment a context prior to retrieving transition"
Diego Perez [Tue, 1 Dec 2015 10:38:17 +0000 (10:38 +0000)]
Add support for Choreographer animations
am:
29ed07524c
* commit '
29ed07524ce0fc2e5950f5340d306247145d0efa':
Add support for Choreographer animations
Abodunrinwa Toki [Mon, 30 Nov 2015 19:45:32 +0000 (19:45 +0000)]
TextView tests to check that selection handles appear on selection
Bug:
25730231
Change-Id: I66e44b6375e1a76e8537fca5dc5090ff841cc934
Diego Perez [Wed, 14 Oct 2015 13:20:26 +0000 (14:20 +0100)]
Add support for Choreographer animations
First step to add support for Choreographer based animations. The
Choreographer_Delegate avoid using a handler so the animation callbacks
can be called on-demand (by using doFrame). This allows things like
frame by frame animation or selecting a specific frame, and doesn't need
a separate thread to run.
The CL also changes the System and SystemClock implementations to allow
to set specific times. Because animations heavily rely on the system
time, this allows controlling it. It can also be useful to ensure that
the rendering produces a deterministic result when using controls like
the Calendar widget.
Change-Id: Iff221d2698a82075cafbb60f341be01741f7aa13
Przemyslaw Szczepaniak [Tue, 1 Dec 2015 10:02:43 +0000 (10:02 +0000)]
Merge "Move StrictJarFile from libcore to framework"
Daichi Hirono [Tue, 1 Dec 2015 07:42:12 +0000 (07:42 +0000)]
Merge "Handle Android M as a MTP device in MtpManagerTest."
Daichi Hirono [Tue, 1 Dec 2015 04:51:58 +0000 (13:51 +0900)]
Handle Android M as a MTP device in MtpManagerTest.
MtpManagerTest uses real MTP device to test functionallity, but
previously it did not handle Android M's USB client behavior.
BUG=
25939006
Change-Id: I53fa8c08c41c3adacf85f24694afdea5ec0781ca
Jani Suonpera [Fri, 9 Oct 2015 08:59:19 +0000 (11:59 +0300)]
DO NOT MERGE ANYWHERE Add new interface for sensor physical data
This is special solution only for emerald branch.
Changes including new const char* value/interface for sensor physical data. Sensor service and manager does not take care of content, structure or other
details of string. Sensor HAL is taking care of parsing data from string and setting values to Sensor HW.
Change-Id: Id19226d7d3ac0628488a0f005f2b1c44bafcf9b6
Signed-off-by: Ben Fennema <fennema@google.com>
Insun Kang [Thu, 26 Nov 2015 06:35:44 +0000 (15:35 +0900)]
MediaSession: Improve MediaSessionStack logic
There was an issue that media button events (play / pause) didn’t go
to the expected media session. If an app creates a media session during
all media sessions are paused, the next coming media play event is
consumed by the newly created media session. It makes sense in general,
but if the media session is created in a background process without any
visible UI, it causes unexpected results.
This patch resolves the issue by checking if a newly added session comes
from the most recent user-facing app.
Bug:
24990104
Change-Id: Ic9632bced37bffd28260afe3523d9a20ea4d3c21
Lorenzo Colitti [Tue, 1 Dec 2015 03:24:08 +0000 (03:24 +0000)]
Merge "Don't show "Connected, no Internet" any longer than necessary."
Selim Cinek [Mon, 30 Nov 2015 22:25:38 +0000 (14:25 -0800)]
Finetunes parts of the notification templates
The header wasn’t positioned perfectly before
Change-Id: If3c0ea0eb7da7307d1bef7cd8036d4118243a1f1
Selim Cinek [Wed, 25 Nov 2015 02:39:02 +0000 (18:39 -0800)]
Fixed the templates for the notifcation actions
Change-Id: Iac6296cc487a61e1601facb4603a7d96923d490f
Selim Cinek [Tue, 24 Nov 2015 02:01:33 +0000 (18:01 -0800)]
Fixed a bug where the notification icon would stop animating
For notification children, the notification header or when updated
the notification icon would sometimes stop animating.
This is now fixed.
Change-Id: Id8ed4e1c548cd1cf4d5ea18b8e4084a376998c14
Selim Cinek [Tue, 24 Nov 2015 01:48:07 +0000 (17:48 -0800)]
Cleaned up the updating of notifications
Some states were not correctly updated which could lead to
small bugs when the update was not in-place.
Change-Id: If133029acf65a9af8d297314fee5f1cd9e2015bd
Selim Cinek [Mon, 23 Nov 2015 21:51:13 +0000 (13:51 -0800)]
Migrated the systemUI based notification header
Previously the notification header had a seperate implementation
in SystemUI from which the platform implementation was derived.
Now that everything is in the framework, we’re migrating the
implementation for notification groups.ß
Change-Id: Ia61a75bd6c85e1805d4364a9e7e4587a020c1271
Selim Cinek [Sat, 21 Nov 2015 01:00:18 +0000 (17:00 -0800)]
Migrated the onTouchListener of the header to its view
In order to ensure reusability and separate inflation,
the expand touch listener is now moved to its view.
Change-Id: I363fc4ae2c68833dc9f1258398ec9ad3bf44dc7f
Selim Cinek [Fri, 20 Nov 2015 23:57:26 +0000 (15:57 -0800)]
Fixed the inbox line padding with an image
If an image was present, the first line of the
Inbox style could run into the image. This Is fixed
now.
Change-Id: I60ee22166a2dc1d2de2f1fe311effc419a95748d
Selim Cinek [Fri, 20 Nov 2015 20:47:59 +0000 (12:47 -0800)]
Added the dozemode for the new notification templates
Previously things were not correctly inverted when dozing,
because of the new template design.
Change-Id: I05211a463c4c7aa3bcba669506975844c389097b
Selim Cinek [Fri, 20 Nov 2015 02:10:48 +0000 (18:10 -0800)]
Made the bigtext now nicely float around the image
If there is an image instead of applying the same
margin everywhere, the text now floats around the
image.
Change-Id: I87f9ca9f51fb270b0732a99374544381bd1fc4e0
Selim Cinek [Thu, 19 Nov 2015 20:00:45 +0000 (12:00 -0800)]
Legacy custom views now get properly layed out again
Since the minheight grew, all notifications grew.
Legacy custom notifications need to stay the same
height though.
Change-Id: I469c448014c3d3c31526466d06a60ac44838b274
Selim Cinek [Thu, 19 Nov 2015 04:24:13 +0000 (20:24 -0800)]
Implemented the progressbar for the new templates
The padding was off in a few cases and the layout
was jumping when expanding when there were actions
Change-Id: Ia9a9ddbfd1c9a8104278a56ce6e1ef2a4ceafbe9
Selim Cinek [Wed, 18 Nov 2015 03:04:39 +0000 (19:04 -0800)]
Continued implementing the notification templates
The progressbar is now also adapted to always have
at most 2 lines.
Change-Id: I092cf2fdfbbd474288398106309ad2ca85b7054b
Selim Cinek [Wed, 18 Nov 2015 18:25:23 +0000 (10:25 -0800)]
Determining the number of keyguard notifications dynamically
Instead of having a fixed number, we are now calculating the number
dynamically based on the available notifications.
This is necessary since notifications might have different sizes now.
Change-Id: I0cbe9b1c5fd731a89c242202846f42bec3fc57eb
Selim Cinek [Wed, 18 Nov 2015 19:53:47 +0000 (11:53 -0800)]
Fixed a bug where the notifications could get scrolled on keyguard
When dragging down due to falsing, the scrollposition could
become modified and never reset again.
Change-Id: I15d24dc8a5a3302faeaf30fb20a81d77dcceb059
Selim Cinek [Mon, 16 Nov 2015 18:40:56 +0000 (10:40 -0800)]
Adapted the big picture template
Change-Id: Ia66c5f12a8688b2f0c6ea51fb8dbdefc39f62f8f
Selim Cinek [Fri, 13 Nov 2015 18:18:09 +0000 (13:18 -0500)]
Made the subtexts consistent among expanded / collapsed version
To ensure that the position of the expandbutton stays.
Change-Id: I02078fed1a2b31ff6e3b0f9b2db3c4e2844acd09
Selim Cinek [Thu, 12 Nov 2015 20:49:14 +0000 (15:49 -0500)]
Improved notification templates further
Inbox and bigtext style are adapted.
Change-Id: I85b33f7387a2bde46fc73d2bc82538d6d13f0a70
Selim Cinek [Wed, 11 Nov 2015 16:48:36 +0000 (11:48 -0500)]
Switched the expanded button of the big content view
Previously it was always the same.
Change-Id: Iebfbf6203241356d5acdfa5b16b02f976c8ce310
Selim Cinek [Tue, 10 Nov 2015 22:44:39 +0000 (17:44 -0500)]
Adapted the layout for when the header would overflow
Now first the App name shrinks up to a minumum and then
the subtext shrinks. This way the expand button is always
visible.
Change-Id: Ibda8e9efbac7119cc31ce4c129be33a7a192f974
Selim Cinek [Wed, 11 Nov 2015 00:14:27 +0000 (19:14 -0500)]
Updated the media notification template
The media notification now lives in the new world
with the appropriate notification header.
Change-Id: Ifed0f12e4925e27a303f6f01faa2e9c17262d486
Selim Cinek [Mon, 26 Oct 2015 21:11:31 +0000 (14:11 -0700)]
Update the notification templates
Most of the notification templates have been updated.
Some cases like media notifications don't yet work well
but will be fixed in a later CL.
Bug:
25376106
Change-Id: I26c366e58ebba3852cea20de6fca311bd302bb24
Fyodor Kupolov [Mon, 30 Nov 2015 23:02:53 +0000 (15:02 -0800)]
Correctly set default restrictions when creating guest
Use restrictions from mGuestRestrictions when creating a guest. Initially
phone calls, SMS and installing from unknown sources is not allowed.
Bug:
25904144
Bug:
25729516
Change-Id: I461c492ad64842d3707f73dfd83b533aa31b63ef
Chad Brubaker [Mon, 16 Nov 2015 18:48:20 +0000 (10:48 -0800)]
Expose findTrustAnchorBySubjectAndPublicKey
This allows for faster lookups of TrustAnchors when checking pin
overrides without needing to iterate over all certificates.
Currently only the system and user trusted certificate store are
optimized to avoid reading the entire source before doing the trust
anchor lookup, improvements to the resource source will come in a later
commit.
This also refactors System/UserCertificateSource to avoid code
duplication.
Change-Id: Ice00c5e047140f3d102306937556b761faaf0d0e