10272 Commits

Author SHA1 Message Date
Jorim Jaggi
f87635813c Allow navigation bar drawing during window animations
Bug: 22605259
Change-Id: I080dc7bf2dfdc6666a5f38eebecc7c9a6034d04a
2015-07-20 21:49:23 +00:00
Jason Monk
33c619bb52 Merge "Fix hotspot brokenness" into mnc-dev 2015-07-20 20:47:33 +00:00
Dianne Hackborn
78ead58df0 Merge "Fix issue #22531747: Assist info should declare if user has disabled..." into mnc-dev 2015-07-20 19:50:50 +00:00
Dianne Hackborn
17f693520d Fix issue #22531747: Assist info should declare if user has disabled...
...context and/or screenshot

Added new API to find out what contextual data has been globally disabled.

Also updated various documentation to make it clear what kind of contextual
data you will get (and when it will be null).

Also added a new Activity.showAssist() API because...  well, I was already
in there, it was easy to do, it is safe, and maybe people will build cool
things with it.

Change-Id: Ia553d6bcdd098dc0fce4b9237fbfaca9652fc74b
2015-07-20 12:49:10 -07:00
Jason Monk
dd5bdc6a78 Fix hotspot brokenness
- Only get state from broadcast to not get out of sync with Settings
 - Actually set the state when there isn't a boolean in the refresh
   object
 - Remove unused things

Bug: 22573156
Change-Id: Ibfb4966c99ba85f83701695c38275ba217854b22
2015-07-20 12:23:30 -04:00
Jorim Jaggi
29cf9aea54 Adjust fingerprint icon placement to spec
Bug: 22502068
Change-Id: I12952cb1ea43f365d5a63ec2636a5d60a981b93f
2015-07-18 00:53:12 +00:00
Adrian Roos
57ee4b87fe Merge "Fix image wallpaper size" into mnc-dev 2015-07-17 23:29:58 +00:00
Adrian Roos
30a7dfa329 Fix image wallpaper size
Fixes a bug where the image wallpaper size
would not correctly update. Suspected cause
is checking the to-be-requested size against
the current surface size instead of the
requested surface size.

Also removes an unused field.

Bug: 21148936
Change-Id: Ief4585bd5aed5922337709d7ae0ca0bf948649d0
2015-07-17 12:30:37 -07:00
Julia Reynolds
3368e69e9d Merge "Remove focusablilty of the status bar." into mnc-dev 2015-07-17 18:49:22 +00:00
Mady Mellor
9c98b859fd Merge "Update stylus gesture to access quick settings to use the new buttons" into mnc-dev 2015-07-17 18:30:53 +00:00
Julia Reynolds
6819b9a85c Remove focusablilty of the status bar.
This allows TTS readers to announce individual items in
the status bar separately.

Bug: 20536376
Change-Id: I88d9e2b72182814bf8906951b97871ddc697c5e0
2015-07-17 11:57:42 -04:00
Julia Reynolds
593aca12c2 Merge "Support 24 clock displays in demo mode." into mnc-dev 2015-07-17 15:54:10 +00:00
Selim Cinek
60e15dae5a Merge "Fixed a bug where a fingerprint animation was not running" into mnc-dev 2015-07-17 01:29:29 +00:00
Selim Cinek
e8bae6288b Fixed a bug where a fingerprint animation was not running
Previously the fingerprint animation would not run
when we successfully unlocked with the fingerprint,
because we were checking for the wrong state.

Bug: 22483380
Change-Id: I8d3ec303a43323431b8866df29ddd6d668edc1ed
2015-07-16 17:23:26 -07:00
Julia Reynolds
c11d838bc5 Support 24 clock displays in demo mode.
Bug: 22388468
Change-Id: I0a9f1c214a1612dbc225386ae8777a1480dd14b0
2015-07-16 14:40:37 -04:00
Dianne Hackborn
8983420d30 Merge "Don't spam the system with unique wake lock names." into mnc-dev 2015-07-16 18:31:19 +00:00
Jun Mukai
8703e50d13 Merge "Allow selecting quick setting items by keyboard." into mnc-dev 2015-07-16 00:37:18 +00:00
Oren Blasberg
84f8a09693 Merge "Make "dismiss all" button keyboard accessible." into mnc-dev 2015-07-16 00:29:35 +00:00
Adrian Roos
fc8e923d5e Merge "Fix wrong tint mode on airplane and vpn icons" into mnc-dev 2015-07-16 00:27:50 +00:00
Adrian Roos
3a931d028a Merge "Show correct locked orientation on phones" into mnc-dev 2015-07-15 21:56:27 +00:00
Adrian Roos
14e6ba833e Fix wrong tint mode on airplane and vpn icons
Bug: 22399062
Change-Id: If7d0e6d4d2ace947672f9a943bb274f07736ddb0
2015-07-15 21:40:12 +00:00
Jorim Jaggi
eea8be5338 Adjust assist disclosure stroke width to spec
Bug: 21568059
Change-Id: Ib1ddb8890715b98d36ed5827f053970a9d4a7173
2015-07-15 21:09:47 +00:00
Oren Blasberg
dbb850bfea Make "dismiss all" button keyboard accessible.
This allows users to hit Tab while in the notification pane and access
the Dismiss All icon, with a physical keyboard.

Bug: 22411158
Change-Id: I544bd3ccafcae210770317193099b26972d6a52b
(cherry picked from commit 10cb3105c79dd7de1f2cc9297b1d3b77598de8e3)
2015-07-15 19:16:27 +00:00
Dianne Hackborn
1d4247c4cc Merge "Improve tracking of screen on reasons." into mnc-dev 2015-07-15 17:11:12 +00:00
Jun Mukai
410ed3a4af Allow selecting quick setting items by keyboard.
Bug: 22460275
Change-Id: Ib27456d12c9284edfdc27d010782840765728853
(cherry picked from commit 0f939fecdf9cc385a6e9472deb1cb38431995b59)
2015-07-15 17:02:53 +00:00
Dianne Hackborn
280a64e793 Improve tracking of screen on reasons.
- New screen on app op to record the last time each app has
  caused the screen to be turned on.
- New battery stats event that tells us the reason the screen
  has been asked to turn on.
- Propagate out power manager API to specify the reason a caller
  is asking to have the screen turned on.

Note that currently the window flag to turn the screen on bypasses
much of this because it is being handled in the window manager by
just directly telling the power manager to turn the screen on.  To
make this better we need a new API where it can specify who it is
calling the API for.

Change-Id: I667e56cb1f80508d054da004db667efbcc22e971
2015-07-15 09:59:07 -07:00
Geoff Mendal
57d8be8bc0 Import translations. DO NOT MERGE
Change-Id: Ic93e9b866c3f933bab929f480a6b8098e585ed9c
Auto-generated-cl: translation import
2015-07-15 06:42:54 -07:00
Adrian Roos
2609883606 Show correct locked orientation on phones
Bug: 22487750
Change-Id: I1feaaf1e569c576c5212ef396732b2bbb5a0c0fc
2015-07-14 23:44:25 +00:00
Julia Reynolds
5cf30c608f Merge "Pass wifi ap state through to tile when receiver triggered." into mnc-dev 2015-07-14 20:23:50 +00:00
Jason Monk
fb9732409a Merge "Fix status bar bt accessibility message" into mnc-dev 2015-07-14 20:21:08 +00:00
Jason Monk
2061049d69 Merge "Move wifi accessibility strings to SettingsLib" into mnc-dev 2015-07-14 20:20:36 +00:00
Jason Monk
1aa3282d12 Fix status bar bt accessibility message
Use the same description for both QS and status bar.

Bug: 20345203
Change-Id: I5789c1385d2240e1ad426a008e6e2192885ddc2b
2015-07-14 16:10:32 -04:00
Selim Cinek
f5adce8758 Merge "Removed logging for the empty keyguard" into mnc-dev 2015-07-14 18:27:59 +00:00
Julia Reynolds
b8a46a6c77 Pass wifi ap state through to tile when receiver triggered.
Bug: 22450078
Change-Id: I9b339aa2238a7427291bfdc2ef6aab58dcdb5cf3
2015-07-14 13:56:03 -04:00
Jason Monk
f05ca67ce4 Move wifi accessibility strings to SettingsLib
Bug: 22468835
Change-Id: I66e85e8adfb3eda194995eda529422a172f00cbd
2015-07-14 13:32:33 -04:00
Jason Monk
a758ba6be9 Fix QS labels on language change
Some tiles now won't do updates if the state hasn't changed (rotation) to avoid
breaking the animation state. To handle this, state is cleared when the
configuration changes.

Bug: 22206214
Change-Id: I029fb4c75cc920a6c9907b65e8c48d28c21d529a
2015-07-14 12:29:28 -04:00
Jason Monk
9c2182e1b3 Merge "Add a dumpsys for KeyguardUpdateMonitor" into mnc-dev 2015-07-14 00:10:11 +00:00
Selim Cinek
7025f26a99 Removed logging for the empty keyguard
Only logging the states in the bugreport now.

Bug: 21701756
Change-Id: I8252583300d0162b878dd217c8098c1d6b970ea4
2015-07-13 16:26:29 -07:00
Amit Mahajan
53e5ba22c1 Merge "Do not check runtime READ_PHONE_STATE if caller has the privileged one." into mnc-dev 2015-07-13 22:08:38 +00:00
Jason Monk
ab52527262 Add a dumpsys for KeyguardUpdateMonitor
Include the info used when determining carrier text display.

Bug: 22212693
Change-Id: I12f01683c259ff11c7f27eec5d03d53f0b290d0b
2015-07-13 17:05:16 -04:00
Jason Monk
28a07ff0e1 Merge "Fix demo mode issues" into mnc-dev 2015-07-13 16:22:45 +00:00
Jason Monk
23a8ed802d Show volume restriction toast on all users
Bug: 21642285
Change-Id: I18ed4036543e1f13cd3010b9e1d790b16aa8e7a0
2015-07-13 11:02:13 -04:00
Jason Monk
33b60bb45f Fix demo mode issues
Bug: 22387423
Change-Id: I7b0b4ca75bae12a9fb3a90ab804b263e8d982b46
2015-07-13 10:42:23 -04:00
Geoff Mendal
d64ba82e89 Import translations. DO NOT MERGE
Change-Id: I69aef7f3e9d819732675c4103553a6afe4b062b3
Auto-generated-cl: translation import
2015-07-11 06:47:43 -07:00
Amith Yamasani
5449ee0786 Merge "Avoid IPC call with an empty array" into mnc-dev 2015-07-11 02:27:33 +00:00
Adrian Roos
d374c20fc9 Merge "Fix flash of uninitialized surface" into mnc-dev 2015-07-11 00:57:20 +00:00
Amit Mahajan
1cfd45701b Do not check runtime READ_PHONE_STATE if caller has the privileged one.
Also removed READ_PHONE_STATE from SystemUI since it has
READ_PRIVILEGED_PHONE_STATE.

Bug: 22376654
Change-Id: I437f9bf324950cb70bae5be76699824da5897a6f
2015-07-10 17:15:59 -07:00
Dianne Hackborn
3f8bd3fe1e Don't spam the system with unique wake lock names.
Causing stuff like this:

  u0a32:
    Wifi Running: 0ms (0.0%)
    Full Wifi Lock: 0ms (0.0%)
    Wifi Scan: 2s 439ms (0.0%) 1x
    User activity: 202 other
    Wake lock DozeService.03748b1c: 2s 801ms partial (8 times) realtime
    Wake lock DozeService.032e94c3 realtime
    Wake lock RingtonePlayer: 1s 953ms partial (37 times) realtime
    Wake lock DozeService.06e2b341: 1s 617ms partial (1 times) realtime
    Wake lock DozeService.0c666b2d: 1s 710ms partial (6 times) realtime
    Wake lock DozeService.0c3246f3: 62ms partial (1 times) realtime
    Wake lock *alarm*: 6s 597ms partial (124 times) realtime
    Wake lock DozeService.076ab6cd: 4s 140ms partial (2 times) realtime
    Wake lock DozeService.0770699b: 1s 81ms partial (5 times) realtime
    Wake lock DozeService.0af8d9f8 realtime
    Wake lock DozeService.0736a8b0 realtime
    Wake lock DozeService.0712323f: 1s 623ms partial (5 times) realtime
    Wake lock AudioMix: 25s 564ms partial (23 times) realtime
    Wake lock DozeService.023a9e24: 7ms partial (1 times) realtime
    Wake lock DozeService.05de1d88: 69ms partial (1 times) realtime
    Wake lock DozeService.0b5aad30: 7ms partial (1 times) realtime
    Wake lock DozeService.00e6852a realtime
    Wake lock DozeService.00cc0dfa realtime
    Wake lock DozeService.06204317: 2s 322ms partial (8 times) realtime
    Wake lock show keyguard: 1s 335ms partial (7 times) realtime
    Wake lock DozeService.0f746baf: 2s 306ms partial (4 times) realtime
    Wake lock DozeService.04f73f13: 2s 251ms partial (7 times) realtime
    Wake lock DozeService.0f4379e3: 3s 283ms partial (12 times) realtime
    Wake lock DozeService.04de987c: 4s 127ms partial (18 times) realtime
    Wake lock DozeService.0a87e24b: 2s 62ms partial (7 times) realtime
    Wake lock DozeService.0a4c4d58 realtime
    Wake lock DozeService.059a9c2e: 1s 235ms partial (1 times) realtime
    Wake lock DozeService.0e9a606b: 2s 965ms partial (9 times) realtime
    Wake lock DozeService.08cabaef: 2s 809ms partial (1 times) realtime
    Wake lock DozeService.0e6a6252: 3s 401ms partial (9 times) realtime
    Wake lock DozeService.03f408a5: 2s 879ms partial (9 times) realtime
    Wake lock DozeService.03c55444: 179ms partial (1 times) realtime
    Wake lock DozeService.03a5adbf: 2s 257ms partial (9 times) realtime
    Wake lock DozeService.099fd79e: 3s 501ms partial (10 times) realtime
    Wake lock DozeService.0ce77121: 2s 908ms partial (9 times) realtime
    Wake lock DozeService.0cbc7a2c: 319ms partial (1 times) realtime
    Wake lock Window:StatusBar: 6s 753ms draw (30 times) realtime
    Wake lock DozeService.02fa9d50: 233ms partial (1 times) realtime

Change-Id: Ie6d01abcea9f58f32d5ad3f769cb3dfb34ca7289
2015-07-10 17:05:52 -07:00
Adrian Roos
18a0b9e041 Fix flash of uninitialized surface
Fixes a bug where during the animation of
the backdrop uninitialized memory was showing
because the backdrop's alpha was zero, so RenderNode
didn't issue any drawing commands.

Bug: 21472158
Change-Id: I7ad6bb64e739059febffca10463c8097693a9563
2015-07-10 15:50:24 -07:00
Robin Lee
6795a2aeaf Check legacy VPN is connected before alerting
Legacy VPN does nothing if the device has no underlying network
connection, so showing this warning in that case is confusing.

Conversely third-party VPN can still be dangerous since a malicious
app will store sensitive information and upload it later.

Bug: 21499103
Change-Id: I25a0d4e1e5b10198cb067f06645f0e5ecf81bf56
2015-07-10 21:22:46 +00:00