Commit Graph

5246 Commits

Author SHA1 Message Date
Manu Cornet
15b6c78534 DO NOT MERGE - Delete the separate grid recents activity and related code
am: e93f8100a6

Change-Id: I30195b094fe27bec5b78f799942bf004000d9ef2
2016-12-21 03:43:49 +00:00
Manu Cornet
e93f8100a6 DO NOT MERGE - Delete the separate grid recents activity and related code
This was the first attempt at implementing grid-based Recents.
The new implementation doesn't use a separate activity and reuses a lot
more code.

Bug: 32101881
Test: Checked Recents behavior on local sw600dp device
Change-Id: Ic3535fc49f3f5448d6002d354678b633f122f57d
2016-12-20 17:52:45 -08:00
Manu Cornet
0cfa646f73 DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2
am: bf8e290376

Change-Id: I7b05418dc2d03da33e862cf67dbcd1d08cb1b899
2016-12-20 21:57:08 +00:00
Xiaohui Chen
4ec4c6f212 sysui: update sw900dp navbar sizes
am: c48f07bc82

Change-Id: Ia9bfece57902625c72eda216464344a40bd25db7
2016-12-20 21:52:41 +00:00
TreeHugger Robot
5ef12f244c Merge "DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2" into nyc-mr2-dev 2016-12-20 21:50:16 +00:00
Xiaohui Chen
2d6accd7a9 Merge "sysui: update sw900dp navbar sizes" into nyc-mr2-dev 2016-12-20 21:44:26 +00:00
Manu Cornet
bf8e290376 DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2
Bug: 32101881
Test: Checked Recents layout/behavior on local sw600dp device
Change-Id: I40be7dbaf8bc017b4c7c449f9bca657817107ceb
2016-12-20 12:10:41 -08:00
phweiss
ccf8d9e9cf DO NOT MERGE Rework Device Monitoring Dialog in Quicksettings
am: 2f512047c2

Change-Id: If56eee8a498435aaa059990eceea9555897e11b9
2016-12-20 18:06:47 +00:00
phweiss
2f512047c2 DO NOT MERGE Rework Device Monitoring Dialog in Quicksettings
If a device owner is active, the layout is changed from a
standard AlertDialog with only one string to a custom dialog
that includes information on Device Owners, and VPN and Network Logging,
if enabled.

Cherry-picked from master and modified to not rely on changes that are not in
N:

A change in master renamed some variables in QSFooter.createDialog() and made
them final, this change is also included here.

The owner's organization name cannot be set in N.

In the case of active Device Owner and active VPN, there was a specialized
string for this in N. This string was now replaced by using the simpler
Device Owner string + an own entry for VPN in the new layout.

Some imports had to be included that were already there on master.

The dimen-tag throws an error message on floats during build, replaced by an
item-tag.

BUG: 29748723
BUG: 33126622
Test: Manual, CTS-Verifier tests will be added later

(cherry picked from commit 9e450e1233)

Change-Id: I2bfca9d9d02a42d9c3b17683625eda29e9369666
2016-12-20 17:11:01 +01:00
Xiaohui Chen
c48f07bc82 sysui: update sw900dp navbar sizes
Bug: 32516898
Change-Id: I3e1a2855fa3cb2f538bf87df3d48ac3dcfc4c67a
2016-12-19 16:33:16 -08:00
phweiss
5edfd11bea DO NOT MERGE Add network logging icon to Quicksettings when enabled
am: c94b637305

Change-Id: I227210c1d938b98bfb8b2a5f895b837fad1c6181
2016-12-19 18:03:47 +00:00
phweiss
c94b637305 DO NOT MERGE Add network logging icon to Quicksettings when enabled
Add the network logging icon in Quick Settings' footer if
network logging is enabled, possible next to the VPN icon.
Quicksettings has to be able to tell that network logging
is enabled, so this CL changes DPM.isNetworkLoggingEnabled() to be
callable from the device owner or from any app with the MANAGE_USERS
permission.

The icon is only a placeholder until the official icon is finished.

CTS Verifier tests will be added when all Network logging UX changes are
done.

Cherry-picked from master, and then modified to work in N:
I had to remove the QSFooterTest change because the testing infrastructure
is not there in N. Also, I had to add DPMS.enforceDeviceOwnerOrManageUsers()
to which did not exist in N before.

BUG: 33126618
BUG: 29748723
Test: Manual, CTS-Verifier tests will be added in a follow-up

(cherry picked from commit a4e169ed68)

Change-Id: Ib35d323605ab11f883a4b6199d1db79b9e53c49b
2016-12-16 19:25:29 +01:00
Xiaohui Chen
bb18d78ea1 sysui: add assets and dimentions for sw900dp
am: 376b1756d4

Change-Id: I4df31eea74b4978a4e8711730507e5d26877431d
2016-12-12 23:42:50 +00:00
Xiaohui Chen
f400349eb9 Merge "sysui: add assets and dimentions for sw900dp" into nyc-mr2-dev 2016-12-12 23:36:55 +00:00
Jason Monk
fe6e3dd735 Fix loading bar positioning.
am: 76bf8eb3d6

Change-Id: Ibf167360200be9969c1c725d84e4b9b9e442f553
2016-12-12 20:31:56 +00:00
Jason Monk
76bf8eb3d6 Fix loading bar positioning.
Move it down and make sure it covers entire width.

Change-Id: If906ea86ae1e78b7a75e2376c65f0ff0e191b86c
Fixes: 30292983
Test: Manual visual inspection of UI element locations
2016-12-12 13:07:50 -05:00
Xiaohui Chen
376b1756d4 sysui: add assets and dimentions for sw900dp
We are enabling all large (sw900dp) Android devices to have a
consistent sysui designed for bigger screen similar to Pixel C.

Bug: 32516898
Test: Locally on pixel c
Change-Id: Iefd81225dd8801d41976f080e1fa71a1712f92de
2016-12-08 12:03:09 -08:00
Adrian Roos
4613f571e4 Revert "Direct Reply: Add back emoji button" This reverts commit 713fed9226.
am: d575d88d8e

Change-Id: Ia9e4c3942a4605d9520b833493bf7957e7a985c1
2016-12-08 00:34:18 +00:00
Adrian Roos
d575d88d8e Revert "Direct Reply: Add back emoji button"
This reverts commit 713fed9226.

Test: Receive SMS, click Reply, check that IME has a send button.
Change-Id: I4632e656828743fbb3172b0331390983df232c68
Fixes: 33185290
2016-12-06 20:02:20 +00:00
Adrian Roos
923e706576 Lockscreen: Restrict double taps to prevent falsing
am: ac75cddcf5

Change-Id: I25fe91c23f79d8f54cfa106966dbf4a820dd4c6b
2016-12-05 23:43:05 +00:00
Adrian Roos
dcb6efcd55 Merge "Lockscreen: Restrict double taps to prevent falsing" into nyc-mr2-dev 2016-12-05 23:37:49 +00:00
Xiaohui Chen
fe4413b214 sysui: fix navbar button view orientation
am: 7917006430

Change-Id: I94127b0eba0f0abf47558131218dd21b5a82e089
2016-12-05 21:31:45 +00:00
Xiaohui Chen
7917006430 sysui: fix navbar button view orientation
Before navbar assumes rotation 0 means portrait and rotation 90
means landscape.  This is not necessarily true, in certain devices
the natural orientation (0) is landscape.  Here we removed that
assumption and make sure we use the right inflater at all times.

Bug: 32516898
Change-Id: I325b8f61877827b19aa5b7b5cda49cb3523d2ed6
Merged-in: I3db44dcb35d8511fb9d42b147b2bd137ff0750f7
2016-12-02 14:21:06 -08:00
Manu Cornet
9c8280da11 DO NOT MERGE - 2-dimensional Recents activity.
am: c13df1eb30

Change-Id: Idfcea35ba54b69e780bb9159055ea296dd9f14a9
2016-11-12 00:06:49 +00:00
Manu Cornet
c13df1eb30 DO NOT MERGE - 2-dimensional Recents activity.
This is a simple first version in the spirit of small, incremental CLs.
It is fully functional but the following will come in later changes:

* Split screen support
* Potential animations
* Alt-tab behavior
* Relayout on orientation changes

The new activity is only started when a specific system property is set.

Test: Tested new activity behavior on local Ryu. Added tests for layout logic.
Bug: 32101881
Merged-In: I550f6e7ea0de3937dbf80e5f0294676cfe567d47
Change-Id: I46a537646e98b312d831510e1d331948888ae5ce
2016-11-11 12:57:07 -08:00
Adrian Roos
ac75cddcf5 Lockscreen: Restrict double taps to prevent falsing
Further restricts the second tap on ActivateableNotificationView
such that it must occur no further than 0.2in from the first tap.

Bug: 32766052
Change-Id: I033c1abc64c815d519153ced23ac9751471b1d05
Test: Tap notification on lockscreen. Verify that second touch is only accepted near the first tap
2016-11-10 16:35:34 +00:00
Bill Yi
c08a721c3a Import translations. DO NOT MERGE
Change-Id: Iaa17b7930409ee4512ee5140c80ceb130c46aed8
Auto-generated-cl: translation import
2016-11-04 20:36:04 -07:00
Bill Yi
fc0224f880 Import translations. DO NOT MERGE
Change-Id: I6bbb28b633130252b0dd3f6036cf4e8812814ce7
Auto-generated-cl: translation import
2016-10-26 16:50:38 -07:00
Bill Yi
6744706608 Import translations. DO NOT MERGE
Change-Id: Ibb57ea645fd79e4cf96c8ca8a1c911a3dd7e761c
Auto-generated-cl: translation import
2016-10-24 21:32:32 -07:00
Bill Yi
c27fdce39f Import translations. DO NOT MERGE
Change-Id: I7564aa066446c6332e6cca5868905a8f05850fcc
Auto-generated-cl: translation import
2016-10-21 19:45:18 -07:00
Bill Yi
59d5ed7768 Import translations. DO NOT MERGE
Change-Id: Iaad30d2e0f0119cbb3213bea5948dab67785ec06
Auto-generated-cl: translation import
2016-10-19 22:35:19 -07:00
Adrian Roos
102aa8b6f1 Separate ambient display triggers am: b7e4e10618
am: 59116440e7

Change-Id: I588f5541c73ae356b255ffa6b1e23c1fbcd1693e
2016-10-18 22:19:43 +00:00
Adrian Roos
59116440e7 Separate ambient display triggers
am: b7e4e10618

Change-Id: I575f96338cffa0f6e8adb1b9ff300dbd322398dc
2016-10-18 22:07:03 +00:00
Adrian Roos
b7e4e10618 Separate ambient display triggers
Allows configuring notification and sensor triggers
separately. Introduces a helper class that hosts the
logic for determining what kinds of triggers a device
supports.

Bug: 32073185
Change-Id: Ie7e8eb6b895dcc54e6f972e70642c7248b9e223a
Test: disable "ambient display", sensor triggers should still work
2016-10-18 10:43:44 -07:00
Bill Yi
ad231bd2f8 Import translations. DO NOT MERGE
Change-Id: I551e9cc3ac74b6a488f0bcc32da9905b7d313f5f
Auto-generated-cl: translation import
2016-10-17 21:19:36 -07:00
Bill Yi
5a05ce6409 Import translations. DO NOT MERGE
Change-Id: I7bd27211cd2cb24cae8bb2bc31404f66e2301f26
Auto-generated-cl: translation import
2016-10-17 14:13:52 -07:00
Bill Yi
cda884446e Import translations. DO NOT MERGE
Change-Id: I76af7719d843ed75ebd7952186ea2a38e58195b9
Auto-generated-cl: translation import
2016-10-13 23:17:12 -07:00
Bill Yi
f32982dad6 Import translations. DO NOT MERGE
Change-Id: I689e8eaf2bc621bc2a15faca830ff052e76c29e1
Auto-generated-cl: translation import
2016-10-13 17:51:03 -07:00
Dan Sandler
15994be698 Essential packages' notifications can no longer be silenced. am: 028a60f003
am: b50c46a64e

Change-Id: I12e95285baabe5356c3f04e17587afecd3caf292
2016-10-12 13:55:17 +00:00
Dan Sandler
b50c46a64e Essential packages' notifications can no longer be silenced.
am: 028a60f003

Change-Id: Ic3e80d30c99e448c7719d5d40c9e957df94a6af6
2016-10-12 13:49:11 +00:00
Dan Sandler
028a60f003 Essential packages' notifications can no longer be silenced.
Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.

Test: manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, receive or miss a
      call and longpress the notification. No radio buttons
      should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61
2016-10-11 22:21:18 +00:00
Bill Yi
c8864998c8 Import translations. DO NOT MERGE
Change-Id: Iece12c05142abba693f3be0c218d45ceeadceabe
Auto-generated-cl: translation import
2016-10-10 21:46:14 -07:00
Bill Yi
fe3c094b2a Import translations. DO NOT MERGE
Change-Id: Id340e2af0dc4c8471eb3dae943168dd2f4ea4fd6
Auto-generated-cl: translation import
2016-10-10 16:13:52 -07:00
Jason Monk
25ccaba28b Revert "Revert "Change bang to x for indication of no internet"" am: d51608c60b
am: 257481a37c

Change-Id: Iddba51a344d05385001e6f49a7685bd0717e12e6
2016-10-07 17:24:51 +00:00
Jason Monk
257481a37c Revert "Revert "Change bang to x for indication of no internet""
am: d51608c60b

Change-Id: I263a0d51474bbf7ef170d851b724f98deb828163
2016-10-07 17:17:13 +00:00
TreeHugger Robot
b04790c8d4 Merge "Revert "Revert "Change bang to x for indication of no internet""" into nyc-mr1-dev 2016-10-07 17:12:01 +00:00
Jason Monk
d51608c60b Revert "Revert "Change bang to x for indication of no internet""
This reverts commit ed29365c9e.

Fixes: 31978991
Change-Id: I7554efc6877b100e4238178fd2029909518be3bb
2016-10-07 13:16:17 +00:00
Bill Yi
41cf6c32a1 Import translations. DO NOT MERGE
Change-Id: Id0aff581c209fd43aa0daebbb1e7941652e1222c
Auto-generated-cl: translation import
2016-10-05 23:41:54 -07:00
Bill Yi
ac7dd9a101 Import translations. DO NOT MERGE
Change-Id: Ic724c8be4da50b16d7550e8c378262e50897ff67
Auto-generated-cl: translation import
2016-10-05 18:21:21 -07:00
Bill Yi
cf2df3bb6e Import translations. DO NOT MERGE
Change-Id: I47285d5faa82286b22f8bc79198791225deb3923
Auto-generated-cl: translation import
2016-10-03 19:33:30 -07:00