Commit Graph

17197 Commits

Author SHA1 Message Date
Kazuki Kobayashi
8bf5945c3f Merge "Fix clipping for date and time on QS" am: a5f968806e
am: 6cad668a25

Change-Id: I19ae46145d788db06e64b1b1737b7c30ae53f7f0
2017-01-19 22:30:05 +00:00
Treehugger Robot
a5f968806e Merge "Fix clipping for date and time on QS" 2017-01-19 22:17:35 +00:00
Paul Duffin
56a2ae1056 Merge "Prepare for removal of legacy-test from default targets" am: c74ccf1588
am: ab62fd67d8

Change-Id: I923de1762a15fca7dc255f9dfe0ecce6f54d333c
2017-01-19 11:44:56 +00:00
Paul Duffin
ccb0445027 Prepare for removal of legacy-test from default targets
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

(cherry picked from 6387604f9e672ece85e07c4bcbd7be396867f06f)

Bug: 30188076
Test: make checkbuild
Merged-In: I13e88297731253420e4e5f5291d503f13a39a156
Change-Id: I58446eb8c45d8ac2bcdbc9fa40d1321e811bdd4b
2017-01-19 09:43:05 +00:00
Tamas Berghammer
a553354e84 Merge "DO NOT MERGE: Revert "Fix build"" into nyc-mr1-dev-plus-aosp 2017-01-18 19:59:59 +00:00
Tamas Berghammer
b4050d8042 Merge "DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"" into nyc-mr1-dev-plus-aosp 2017-01-18 19:59:59 +00:00
Tamas Berghammer
a0a908f5d6 DO NOT MERGE: Revert "Fix build"
This reverts commit 005055c070.

Change-Id: Ia71d1e95de48bc1d83a4924041953a2d42ed6a93
2017-01-18 19:35:07 +00:00
Tamas Berghammer
24d8553316 DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"
This reverts commit cbd3f0c59a.

Change-Id: I6e8d193fa22e0e7e30b214c13ae0480d3c9b0dc6
2017-01-18 19:33:22 +00:00
Jay
3f326e7011 Merge "Notify user switch event to NetworkController" am: 1aa24246cf
am: 4ab0e9f824

Change-Id: I51365e12797493e620e3146cc7e25eda8c2065c8
2017-01-18 15:49:58 +00:00
Treehugger Robot
1aa24246cf Merge "Notify user switch event to NetworkController" 2017-01-18 15:32:28 +00:00
Jason Monk
005055c070 Fix build
Test: treehugger
Change-Id: Ic33d5ff2d7845bf4edd81d3e966fce3f0e5956bb
2017-01-18 10:04:51 -05:00
Jason Monk
54bce9c6ff Merge "SystemUI: Add NFC tile" am: 943a52862e
am: 8fbdf116d0

Change-Id: I114a75548444e409d1f72183589c886ca9fbccbd
2017-01-18 14:24:48 +00:00
Tamas Berghammer
3db5d42f90 Merge "Update package names to work with the proto3 compiler" into nyc-mr1-dev-plus-aosp 2017-01-18 12:58:01 +00:00
Anas Karbila
f7648f4483 SystemUI: Add NFC tile
This patch adds a tile for QuickSettings
which controls the setting of NFC.

The drawable is from material.io.

Test: Enable and disable NFC using tile

Change-Id: I7dfaf3a4dca0c01d24be397e43ab131eb9885f62
Signed-off-by: Anas Karbila <anaskarbila@aospa.co>
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2017-01-18 12:12:03 +00:00
Kazuki Kobayashi
205fd0f5fc Fix clipping for date and time on QS
The bottom part of date and time on Quick Settings is cut off
when changing font size to "Largest" and display size to "Small".
To fix this issue, the height should be changed from 19dp
to "wrap_content".

Bug: 34365385
Test: manual - change font size to "Largest" and
               display size to "Small", and then open QS panel

Change-Id: I37047e57f535dfa8fcaccc8f9dd78c4ef699bc27
2017-01-18 06:33:31 +00:00
Akira Oshimi
d999e53487 Merge "Fix clipping for edit screen of Quick Settings" am: e3677865a8
am: 49b68ad0cd

Change-Id: I02de0a87c633f4ffc8cee81e8773e31c9851d19d
2017-01-11 16:06:22 +00:00
Tamas Berghammer
cbd3f0c59a Update package names to work with the proto3 compiler
Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
(cherry picked from commit 383db5ebcc)
2017-01-11 11:27:38 +00:00
Akira Oshimi
f157511744 Fix clipping for edit screen of Quick Settings
The width of the edit screen is fixed when the display size is updated
in landscape mode. So when the device is rotated to portrait mode, the
width is not updated and the edit screen is truncated.
To fix this issue, "match_parent" should be used to match to the width
of Notification Panel always.

Bug: 34206618
Test: manual - go to Settings, rotate device to landscape mode, change
               display size (Default > Large > Default), rotate device
               to portrait mode and show QS edit screen

Change-Id: I35ac623812908a61cd34357e6bda567cab55ace1
2017-01-11 02:58:34 +00:00
dongwan0605.kim
852fb2b1f1 Merge "QS: Fix QuickQS visibility at non-first page" am: fce04dc0be
am: 56812a0146

Change-Id: If8d2963ed44e49e3b33b73a82378b2af32ba4676
2017-01-03 16:17:28 +00:00
dongwan0605.kim
03c9afadab QS: Fix QuickQS visibility at non-first page
When user collapsed QSPanel at non-first page, QuickQS always remained
View.Visible. When user canceled collapsing, QQS remained clickable
although invisible to user(alpha = 0).
QQS must be non-clickable when user cancels collapsing at non-first page.

Test: QSPanel > 2nd page > Cancel collapsing while collapse QSPanel
      > Verify invisible QQS is non-clickable

Change-Id: I4c1f195a3faec8e89bb073443f6345f4faddf781
2017-01-03 06:47:17 +00:00
Adrian Roos
b12ed1e10f Merge "QS - Fix race condition in accessibility" am: 302efd6125
am: 3c0a8bba3c

Change-Id: I3e05c8c127c021dc321b0ef130159ff7a021a9e8
2016-12-28 23:51:30 +00:00
dooyoung.hwang
1b0066230e QS - Fix race condition in accessibility
When users try to open panel, initialization of accessibility is called
in Main Thread by this callstack.

at android.view.ViewGroup.buildOrderedChildList
at android.view.View.populateAccessibilityNodeInfoDrawingOrderInParent
at android.view.View.onInitializeAccessibilityNodeInfoInternal
at android.view.View.onInitializeAccessibilityNodeInfo
at android.view.View.createAccessibilityNodeInfoInternal
at android.view.View.createAccessibilityNodeInfo
at android.view.accessibility.AccessibilityRecord.setSource
...
at android.view.View.setFlags
at android.view.View.setVisibility
at com.android.systemui.qs.QSContainer.updateQsState
at com.android.systemui.qs.QSContainer.setExpanded
at com.android.systemui.statusbar.phone.NotificationPanelView.updateQsState

And another initialization is tried in QSTileHost Thread by this callstack.

at android.view.ViewGroup.buildOrderedChildList
at android.view.View.populateAccessibilityNodeInfoDrawingOrderInParent
at android.view.View.onInitializeAccessibilityNodeInfoInternal
at android.view.ViewGroup.onInitializeAccessibilityNodeInfoInternal
at android.view.View.onInitializeAccessibilityNodeInfo
at android.view.View.createAccessibilityNodeInfoInternal
at android.view.View.createAccessibilityNodeInfo
at android.view.accessibility.AccessibilityRecord.setSource
...
at android.view.View.announceForAccessibility
at com.android.systemui.qs.QSPanel.onAnnouncementRequested
at com.android.systemui.qs.QSTile.handleStateChanged

This race condition can cause crashes, because the same ArrayList
(mPreSortedChildren or mTempArrayList in ViewGroup) is modified by two
different thread.

Test : manual

Change-Id: I9e0ad1fef4be7dc378463c06d10854e0e4c5b3d6
2016-12-26 00:20:43 +00:00
Adrian Roos
272c84b5be Merge "Assist app is not launched when long-pressing on Home key" am: 1e41bb4887
am: d81fde40ef

Change-Id: Ia8f58cfa1945a7ad627889545a264c9d1fb06beb
2016-12-16 01:20:12 +00:00
Adrian Roos
1e41bb4887 Merge "Assist app is not launched when long-pressing on Home key" 2016-12-15 23:51:12 +00:00
Yoshinori Hirano
14ea407321 Merge "Don't include front most excluded task in Multi-Window mode" am: a8c2c229d7
am: 435db7e690

Change-Id: Iedb0b93fd599170132ddd545490a3564e575cdc0
2016-12-08 21:13:10 +00:00
Treehugger Robot
a8c2c229d7 Merge "Don't include front most excluded task in Multi-Window mode" 2016-12-08 20:52:15 +00:00
Jason Monk
99db203f29 resolve merge conflicts of 9600df0 to stage-aosp-master
am: f120cf3d88

Change-Id: Id2c5d4905fed661466929ed93e08e7b079c8c51d
2016-12-06 16:43:38 +00:00
Jason Monk
f120cf3d88 resolve merge conflicts of 9600df0 to stage-aosp-master
Change-Id: I139c64bb2440d64312d7e763e53bdb13dcb9f1aa
2016-12-06 11:34:12 -05:00
Jason Monk
9600df035b Merge "Fix Hotspot tile is shown on Guest user" 2016-12-06 15:11:19 +00:00
Yoshinori Hirano
7bccd43fa9 Don't include front most excluded task in Multi-Window mode
A front most excluded task is shown on Overview when changing font size
in Multi-Window mode. To fix this issue, RecentActivity should not reset
the config launch flags when it is restarted by configuration changes and
it should not reload the tasks which include a front most excluded task
when it is launched while docking a task.

Bug: 33031985
Test: manual - display app task excluded from Overview screen and then
               change font size in Multi-Window mode

Change-Id: Ic0c35cd06c14d9ed8d2dc46a01f2153738bad849
2016-12-06 19:48:21 +09:00
Baligh Uddin
b1df48d326 Merge remote-tracking branch 'goog/cw-f-dev' into fix_merger
Bug: 32849428

* goog/cw-f-dev: (98 commits)
  Revert "Catch KeyStoreException for setting profile lock"
  Fix createConfirmDeviceCredentialIntent for wear for CTS.
  Fix default dialog background colour for watch devices.
  Catch KeyStoreException for setting profile lock
  Add cross-links between FINE and COARSE location permissions. bug: 25371600
  Fixed a bug with the emergency affordance in multi user
  Zygote: Additional whitelists for runtime overlay / other static resources.
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Zygote : Block SIGCHLD during fork.
  colors: add missing accent_material_{700,50} resources.
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Zygote : Block SIGCHLD during fork.
  DO NOT MERGE ANYWHERE Revert "DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous"
  ...

Change-Id: I63468da5bfa21ed9ac5985bbdbf3a61d4c389aa0
2016-11-22 17:19:45 -08:00
Bill Yi
a45b9aa91a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 32177112
Change-Id: Ic5781e21dceb885251e8ed7696a309e1844d9bd6
2016-11-20 14:43:23 -08:00
Selim Cinek
61e2ff5727 Merge "Share one receiver for CurrentUserTracker" am: 06d619ccfa
am: a84c7ea396

Change-Id: I54ca8022b6aeb15329d7a432300eaa758ea4b8ac
2016-11-18 19:57:20 +00:00
Selim Cinek
3212624a6b Merge "Brightness mirror - fix multi-touch issue" am: 1bfab3de31
am: 44857962dc

Change-Id: Ie5f7a865b3ed1d17444b5133ad530ae6191294a9
2016-11-18 19:56:27 +00:00
Selim Cinek
a84c7ea396 Merge "Share one receiver for CurrentUserTracker"
am: 06d619ccfa

Change-Id: I4b0dc5398b0be804663ebd633070a38cc51ec7de
2016-11-18 19:51:23 +00:00
Selim Cinek
44857962dc Merge "Brightness mirror - fix multi-touch issue"
am: 1bfab3de31

Change-Id: I5906d89a1c4e1343dbdbf99f328a5356b4f2be85
2016-11-18 19:50:27 +00:00
Selim Cinek
06d619ccfa Merge "Share one receiver for CurrentUserTracker" 2016-11-18 19:39:30 +00:00
dooyoung.hwang
e9556a89db Share one receiver for CurrentUserTracker
Each CurrentUserTracker has one receiver per one object.
This could cause unnecessary transaction as Tracker counts
increases. The idea of redcuing receiver is creating
one static receiver for CurrentUserTracker and share it
with all object.

Test: Check if Quicksetting order is changed properly
after switching user.

Change-Id: I8404829826391f8b315b42bbd0f50e77b783eeab
2016-11-17 09:47:28 +09:00
dooyoung.hwang
e4b841e757 Brightness mirror - fix multi-touch issue
The issue is that QSPanel get touch event while brightness mirros
is showing after density changes. This is because StatusBarWindowView
keeps the reference of detached brightness mirror view. We can refresh
it at onViewAdded function.

Test: manual(change device density > Check if can click QuickSettings
while dragging brightness slider.)

Change-Id: I646092abbc23b24bb91fc5c8525b12a143364b84
2016-11-16 08:59:23 +09:00
Akitaka Kimura
efd1c54a40 Fix Hotspot tile is shown on Guest user
Last tiles are cached in QSTileHost and they are re-used
for other users. But when the cached tile is added, QSTileHost
doesn't check whether it is available or not. So Hotspot tile
is shown on Guest user. To fix this issue, QSTileHost should
check whether the tile is available when it is added.

Bug: 32817349
Test: manual - add Hotspot tile to default tiles
               and switch to Guest user

Change-Id: I96d5876024f6d519bf72a462b5c79dcf41b253f9
2016-11-15 10:54:43 +00:00
Bill Yi
1b9fbcf993 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 32766034
Change-Id: If37bb6852c438a2b3579f4af2045841d30be829e
2016-11-10 21:12:09 -08:00
Akira Oshimi
88ab92ce4c Merge "Add null check before finish SystemUI Tuner's activity" am: 5bb91bacc3
am: 08978cd0fd

Change-Id: Ibd1b9ff4be577bf5ea5596342316ea2303d93b75
2016-11-10 20:12:34 +00:00
Akira Oshimi
08978cd0fd Merge "Add null check before finish SystemUI Tuner's activity"
am: 5bb91bacc3

Change-Id: I0e9d19f297c158ff0c6acd1aa6665e3459fa416b
2016-11-10 20:06:34 +00:00
Akira Oshimi
8fbcb7630a Add null check before finish SystemUI Tuner's activity
SystemUI Tuner's activity changes to null when Multi-window's state is
changed after confirmation dialog about removing SystemUI Tuner is
shown. Then NullPointerException occurs by trying to finish the
activity to tap "REMOVE" button on the confirmation dialog.
So add null check before finish the activity.

Bug: 32786029
Test: manual - remove System UI Tuner on Multi-Window mode

Change-Id: I455d17c0c600eeb05c9dfb7d609d40307de2f855
2016-11-10 09:09:25 +00:00
Bill Yi
aa451616c8 Import translations. DO NOT MERGE
Change-Id: Icd8a71ffdf6db4fcfa0a001ffded8b51a729b10d
Auto-generated-cl: translation import
2016-11-07 20:59:23 -08:00
Bill Yi
5ac1b67317 Import translations. DO NOT MERGE
Change-Id: Ie85b9335611ca2c49a71797d54ed80ee711cf423
Auto-generated-cl: translation import
2016-10-31 14:59:45 -07:00
Bill Yi
644a22437f Import translations. DO NOT MERGE
Change-Id: I70ad8db1fffca628251fbeaf6ef98882529a8210
Auto-generated-cl: translation import
2016-10-26 10:55:33 -07:00
Kaori Katou
70554e01c6 Assist app is not launched when long-pressing on Home key
To get Assist component and launch it correctly,
The proper userId should be passed
to AssistUtils#getAssistComponentForUser().

Bug: 30777883
Test: manual - install LegacyAssistant app and long-press on Home key

Change-Id: I9f18ffdd9fc893235d77ed8145a765736a679478
2016-10-26 16:40:16 +09:00
Bill Yi
b3a6a7afe4 Import translations. DO NOT MERGE
Change-Id: I836ffcc309753e1688f29b62f6a3dc757c8be0b5
Auto-generated-cl: translation import
2016-10-24 16:04:03 -07:00
TreeHugger Robot
0cb41b80af Merge "Import translations. DO NOT MERGE" into cw-f-dev 2016-10-22 11:35:36 +00:00