33786 Commits

Author SHA1 Message Date
Bill Yi
1a83f7e3b0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 36832302
Change-Id: I87e870cdcec90e173ab587cc65afb8841e9a6411
2017-04-01 21:59:53 -07:00
Bill Yi
42ddc05e1f Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 36832302
Change-Id: I811c247c477f0e53e060d721b7d9b9ba954f3c8b
2017-04-01 21:56:25 -07:00
Bill Yi
6a8721ffc8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 36832302
Change-Id: I6c846a034570454310571a442fb55eec8295139b
2017-04-01 21:52:56 -07:00
Bill Yi
8b0874652e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 36832302
Change-Id: I3732af38b0e535528297ee18e772afd087a4c9c6
2017-04-01 21:49:26 -07:00
TreeHugger Robot
0ec174802b Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2017-04-02 04:00:47 +00:00
Bill Yi
cfb8d940eb Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 36832302
Change-Id: I3213f09cb1ad99844c7d745b14ccbbc1f0b4c05f
2017-04-01 16:18:41 -07:00
Bill Yi
7a2f46bd80 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 36832302
Change-Id: I61b5291fe0b6b1e6c421756adac398e76566ca5f
2017-04-01 16:11:07 -07:00
Jason Monk
20f560d7cb Merge "Fix tuner sub-screens attach" into oc-dev
am: 2579ec1b6d

Change-Id: Ifc1863aacc6629728d5160d28c64b45aea9fb6ba
2017-04-01 04:20:44 +00:00
TreeHugger Robot
2579ec1b6d Merge "Fix tuner sub-screens attach" into oc-dev 2017-04-01 04:16:40 +00:00
TreeHugger Robot
3d1d01a708 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-01 00:56:40 +00:00
Winson Chung
d889ca83c8 Merge "Removing unnecessary permission." into oc-dev
am: 26437c0f22

Change-Id: I877a50a58ede582ee446160b3adbc8713a60b9ee
2017-04-01 00:50:43 +00:00
Winson Chung
26437c0f22 Merge "Removing unnecessary permission." into oc-dev 2017-04-01 00:42:54 +00:00
Karthik Ravi Shankar
d020369b77 Merge changes from topic 'launch-2d-activities-vr' into oc-dev
am: f04d039584

Change-Id: I820ec3a9c1379bf9bcc688e36bcfeb00ac753a22
2017-04-01 00:01:31 +00:00
Stephen Chen
aed318ef07 Add friction icon for metered networks.
Bug:36100548
Test: manual inspection.
Change-Id: If7bad4028879a5cc6176cfe189b91f4756114612
2017-03-31 16:58:38 -07:00
TreeHugger Robot
f04d039584 Merge changes from topic 'launch-2d-activities-vr' into oc-dev
* changes:
  Allow shell uid to access Vr APIs
  Add vr persistent mode enable/disable
  Launch 2D activities in VR mode
2017-03-31 23:48:22 +00:00
Jason Monk
87d5fb22da Merge "QS: Add transient icon for hotspot" into oc-dev
am: cf6fa5e951

Change-Id: Idc3873203538e1927c778ba1a2a34351921101e6
2017-03-31 23:26:08 +00:00
TreeHugger Robot
cf6fa5e951 Merge "QS: Add transient icon for hotspot" into oc-dev 2017-03-31 23:18:43 +00:00
Winson Chung
da7ef8060d Merge "Ensure we show the PiP menu in response to KEYCODE_WINDOW." into oc-dev
am: 2af994ec03

Change-Id: I6abd868698fb9f7b16e62938e608f75fb2d610f4
2017-03-31 23:14:57 +00:00
TreeHugger Robot
2af994ec03 Merge "Ensure we show the PiP menu in response to KEYCODE_WINDOW." into oc-dev 2017-03-31 23:07:23 +00:00
TreeHugger Robot
4eb9a6dbcb Merge "Import translations. DO NOT MERGE" into oc-dev 2017-03-31 23:06:58 +00:00
TreeHugger Robot
4fafb85225 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-03-31 23:01:32 +00:00
TreeHugger Robot
ddd95360a2 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-03-31 22:23:58 +00:00
Winson Chung
e3ce20865c Removing unnecessary permission.
Bug: 36507456
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testFinishPipActivityWithTaskOverlay
Change-Id: I351b7afd648ceb0a200c01fa318c9a56dbe64a96
2017-03-31 14:03:39 -07:00
Peter Qiu
3c53fc41ac Merge "SettingsLib: wifi: encapsulate Passpoint configuration in AccessPoint" into oc-dev
am: 70c429d37a

Change-Id: I71e226d3e17474d2e10d768bb3be5eee86a55520
2017-03-31 18:00:02 +00:00
TreeHugger Robot
70c429d37a Merge "SettingsLib: wifi: encapsulate Passpoint configuration in AccessPoint" into oc-dev 2017-03-31 17:54:17 +00:00
Jason Monk
110e5f6c16 QS: Add transient animations for bluetooth and wifi
Test: runtest systemui
Change-Id: I04a81e1b36a6595bfb102603ad07b079c8b0ee77
Fixes: 26781226
2017-03-31 13:51:03 -04:00
Peter Qiu
ced37dba7b SettingsLib: wifi: encapsulate Passpoint configuration in AccessPoint
The configurations that are managed by "Saved Networks" page are
centered around the abstraction of AccessPoint.  Since we will
need to manage Passpoint configuration in the "Saved Networks"
(for configuration removal), encapsulate necessary information
in an AccessPoint for a Passpoint configuration.

Bug: 34207710
Test: manual test
Test: runtest --path
      frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java
Change-Id: Ide556f5ec6c4ef9e1f82016efe17dc9860f298de
2017-03-31 10:50:45 -07:00
Jason Monk
e645aee45a QS: Add transient icon for hotspot
Will make the loading time more clear.

Test: visual
Bug: 32270851
Change-Id: I0ea7591da132ff65fb7fc16b03b2891891e66598
2017-03-31 13:49:21 -04:00
Winson Chung
ac52f2892d Ensure we show the PiP menu in response to KEYCODE_WINDOW.
Bug: 36687605
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testWindowButtonEntersPip
Change-Id: I0bb35fd666eb6a438e4676267f6726b44bffb3db
2017-03-31 10:42:53 -07:00
Adrian Roos
da11e9391b Merge "A11y: Prefer EXTRA_TITLE to ticker for status bar icon content description" into oc-dev
am: f667aebe20

Change-Id: Iae45c9efabc48d27d11211a63e50bf94abe98300
2017-03-31 17:39:40 +00:00
Mady Mellor
722ec3df34 Merge "Update PIP dismiss to show scrim + info text at the bottom of the screen" into oc-dev
am: 8565eab156

Change-Id: I6ea47f95853616bb9198e02606d62a57d25e993a
2017-03-31 17:35:28 +00:00
Adrian Roos
f667aebe20 Merge "A11y: Prefer EXTRA_TITLE to ticker for status bar icon content description" into oc-dev 2017-03-31 17:31:50 +00:00
Mady Mellor
8565eab156 Merge "Update PIP dismiss to show scrim + info text at the bottom of the screen" into oc-dev 2017-03-31 17:27:41 +00:00
Karthik Ravi Shankar
ebc1b48922 Allow shell uid to access Vr APIs
Some of the Vr APIs in VrManagerService need to be accessed via shell to
be used for testing and for easy access. Add
android.permission.RESTRICTED_VR_ACCESS to shell uid.

Bug: 36071574
Test: adb shell vr set-persistent-vr-mode-enabled true
      adb shell dumpsys vrmanager
      >> Persistent VR mode is currently: enabled
      adb shell vr set-persistent-vr-mode-enabled false
      adb shell dumpsys vrmanager
      >> Persistent VR mode is currently: disabled

Change-Id: I486fa19f93d5c6999aa479fdf7e5f2f48f765240
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
2017-03-31 08:37:13 -07:00
Jason Monk
ae39cb9c60 Fix tuner sub-screens attach
Seems that when preferences are attached has changed, so we need to
make sure any sub preference screense explicitly own their preferences.

Test: manual
Change-Id: Id28c30367417fc7dbe74c3970a8e19a031ea6d8d
Fixes: 36766199
2017-03-31 11:31:25 -04:00
Jason Monk
6eb906ecc3 Fix losing status bar icons on config changes
The DarkIconManager was not correctly calling set when icons
were added, leaving them blank after a config change until a new
set came in.

Do some refactoring to fix this and make it more testable.

Test: runtest systemui
Change-Id: I0b231021f2ce7d82a3f84ebb281b4e4fc902a0aa
Fixes: 35367550
2017-03-31 10:53:29 -04:00
Bill Yi
b12c4e6435 Import translations. DO NOT MERGE
Change-Id: Ic5ddb29c72414f5b06e61f9bb13b69489b2ac715
Auto-generated-cl: translation import
2017-03-31 02:03:59 -07:00
Bill Yi
a06a809423 Import translations. DO NOT MERGE
Change-Id: I0464cc4b75e0258a5928867ab11e9c47a2b69319
Auto-generated-cl: translation import
2017-03-31 00:57:17 -07:00
Bill Yi
8e79b3a9a0 Import translations. DO NOT MERGE
Change-Id: I789e7f6f9910fb2bfceec085555a42335853f1dd
Auto-generated-cl: translation import
2017-03-31 00:39:13 -07:00
Bill Yi
c14149a06a Import translations. DO NOT MERGE
Change-Id: I77938df9a45d62d2abf436670857c2a594b1533b
Auto-generated-cl: translation import
2017-03-31 00:29:46 -07:00
Adrian Roos
6e782a5e4e A11y: Prefer EXTRA_TITLE to ticker for status bar icon content description
Change-Id: I08d5439f0f593d32044d5a59fc7b8f24e33a15a9
Test: manual - post notification, check that Talkback utterance is correct on status bar icon.
Fixes: 30739573
2017-03-30 18:54:01 -07:00
Mady Mellor
60421c9d45 Update PIP dismiss to show scrim + info text at the bottom of the screen
- Rather than testing how far off screen the PIP is, instead tests how far
  past the nav bar / on screen bars the PIP is to determine if it is a
  dismiss
- When dragging PIP around screen, display info text + scrim at bottom
  these are above the PIP in z-order
- On lift up or when PIP is dismissed, info text + scrim also hide
- Alters dismiss animation to use end point on trajectory of finger and
  use FlingAnimationUtils when flinging

Test: Drag PIP around screen, notice dismiss scrim + text appear, dismiss
      PIP and scrim / text also disappear
Bug: 35358628
Change-Id: Ibc0f6a884903f7d1b3ca2fd5c20647b4acf15a71
2017-03-30 17:30:38 -07:00
Bill Yi
77b4933090 Import translations. DO NOT MERGE
Change-Id: Ic5a973c3de1b80ab3ed1d4cea084d6bb5cb52b0a
Auto-generated-cl: translation import
2017-03-30 14:15:33 -07:00
Winson Chung
1176231c27 Merge "Tweaking PiP for accessibility." into oc-dev
am: d584a5e65b

Change-Id: I3831451d1a668bbfcd69bddd84934961da167bed
2017-03-30 20:05:12 +00:00
TreeHugger Robot
d584a5e65b Merge "Tweaking PiP for accessibility." into oc-dev 2017-03-30 19:56:39 +00:00
Jason Monk
1cbf5fbd7a Switch cast over to support library dialog
Makes UI more consistent and removes the cast detail panel from QS.

Test: visual
Change-Id: I9a70b9695511c5f1e4235a838a071079506963a6
Fixes: 35407111
2017-03-30 15:23:43 -04:00
Jason Monk
6c1e6ca48e Disable sounds on menu button
They are played by the app receiving them when it receives them,
so don't send them as it will cause multiple click sounds.

Test: Auditory
Change-Id: Ib8b977bb775c86eb1fb9ec7426f7d93e399b411e
Fixes: 34099789
2017-03-30 14:12:13 -04:00
Winson Chung
0f873de5ff Tweaking PiP for accessibility.
- Disabling timeout when the PiP menu is invoked via an accessibility event
- Increasing default duration before menu times out and collapses
- Fixing issue where temporary bundle data was being clobbered

Bug: 36103023
Test: Launch PiP activity with accessibility, ensure menu does not time out
Change-Id: I4beda18ef2fb2e2b638b0ff6bac9a71ed1986639
2017-03-30 10:26:48 -07:00
Geoffrey Pitsch
8637cbeac5 Merge "Wait to unlock before changing notification importance" into oc-dev
am: a07ce03d3c

Change-Id: I243682f02fe2c5de131e8aaed4dd2a499cc3f8e1
2017-03-30 16:18:03 +00:00
TreeHugger Robot
a07ce03d3c Merge "Wait to unlock before changing notification importance" into oc-dev 2017-03-30 16:14:03 +00:00