Commit Graph

309172 Commits

Author SHA1 Message Date
TreeHugger Robot
b3f417ec3a Merge "Update screen edge insets size" 2017-02-14 21:59:02 +00:00
TreeHugger Robot
291c9078e6 Merge "Percentage text now sits alongside the battery icon." 2017-02-14 21:55:38 +00:00
TreeHugger Robot
bafbc762cc Merge "Fixed an issue where children dissappeared the wrong way" 2017-02-14 21:48:29 +00:00
Todd Kennedy
2f5811dcfd Per user setting for instant app
The same application can run as either an instant app or an installed
app. Store this setting per-user instead of based upon the install
location.

Bug: 25119046
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Change-Id: Iff565bb1ac10d631499f0bd0f69b401cb073c10e
2017-02-14 13:42:01 -08:00
Zak Cohen
732aeb0e53 Exit persistent VR mode on edge swipe.
Bug: 34736524
Test: Run device in persistent vr mode, swipe from edge and see it exit
Change-Id: I79c445afd4a08c2aa20504dc97a833c6b04198df
2017-02-14 13:28:29 -08:00
TreeHugger Robot
ffc9c74013 Merge "The transformhelper now also transforms gone views" 2017-02-14 21:19:22 +00:00
Etan Cohen
e9aea9d397 [CM] Remove non-functional timeout from request network
Until now the request network with timeout was non-functional
(see b/31402633). Any caller which was using the timeout getting
the request network without a timeout.

While the timeout version has now been implemented, a max
timeout value is being removed since the large number used
(100 minutes) had no rationale for existing.

Updating the code to reflect the functionality which was
actually used - without a timeout.

Bug: 31399536
Bug: 35354391
Test: unit tests and CTS of ConnectivityManager
Change-Id: I0ebf0917a4478036a5ae532dd1e0784479057eb8
2017-02-14 21:11:20 +00:00
TreeHugger Robot
8b39573f15 Merge "Heads-up notifications of increased height behave better" 2017-02-14 21:07:22 +00:00
Jason Monk
1e5ba5d087 Fix status bar showing on lock screen on boot
Fix dispatching of disables through StatusBar.

Change-Id: Iee5e5d8cdf64f06b28986ff599aa3479c712980f
Fixes: 35200453
Test: visual
2017-02-14 15:48:57 -05:00
Todd Kennedy
9106c64bf3 Add API to track package changes
After any package install, removal or update, save the changed
package and update a global sequence number. At any point, apps
can query for the packages changed since a particular sequence
number.

If a package is changed multiple times, it is only included once
in the change list.

Bug: 33865505
Test: Create sample app to query for changes and see which packages are changed after performing certain operations
Change-Id: Ia4646035362b16a97110e05f3f909ce385b48428
2017-02-14 12:44:50 -08:00
Phil Weaver
7192297bc9 Make a11y shortcut toast appear for all users.
Setting flag to make the toast appear for all users.

Bug: 35209951
Test: Verified manually on guest users, added automated check
that the flag is set.

Change-Id: I91d1f32acebe1197356289b23142d33c5a8bbd23
2017-02-14 12:36:47 -08:00
Bryce Lee
774bd7a6f4 Merge "Do not use docked stack bounds unless all conditions are met." 2017-02-14 20:32:02 +00:00
Sudheer Shanka
e5b514cbc3 Merge "Use context's userId in ContentResolver class." 2017-02-14 20:29:12 +00:00
Robin Lee
6f8f019571 Merge "Redact GridTaskViewThumbnail" 2017-02-14 20:28:39 +00:00
TreeHugger Robot
c3f157492d Merge "Fix colon-separated string lists" 2017-02-14 20:25:25 +00:00
Felipe Leme
8eab775d2c R.I.P. temporary, zombie auto-fill notifications.
They died already, but came back to life due to a last-minute API change.

BUG: 33197203
Test: manual verification
Test: CtsAutoFillServiceTestCases passes
Change-Id: I4c248fd30ff087475116326d01e7c5a1c507cd74
2017-02-14 12:22:05 -08:00
Mady Mellor
14d40cb860 Update screen edge insets size
Test: manual - look at space between pip and edge of screen
Change-Id: I3688b35b3b9a27d6a5094feaeb87de7a647c7085
2017-02-14 12:16:55 -08:00
TreeHugger Robot
f5e107140d Merge "Flush addPersistentPreferredActivity setting in DPMS" 2017-02-14 20:15:34 +00:00
Yohei Yukawa
e1748fa306 Merge "Take state snapshot in IMMS#attachNewInputLocked()" 2017-02-14 20:12:31 +00:00
Doris Liu
1740f1f1f1 Merge "Fix start time modification outside of updatePlayTime()" 2017-02-14 20:08:22 +00:00
Michael Kwan
390120b925 Fix incorrect values for VelocityTracker in SwipeDismissLayout.
The offset used to adjust MotionEvents for swipe velocity tracking
was incorrect, and caused issues when touch points where close
together. Fixed the offset used, which resolved swiping issues.

Bug: 34673753
Change-Id: Ide6060b511510bcf299e3db778e6ffc6afda5e19
2017-02-14 12:04:38 -08:00
Doris Liu
e8a5d8d211 Fix start time modification outside of updatePlayTime()
BUG: 35340235
Test: manually start the chrome photos app, no crash
      and CTS at: ag/1908702

Change-Id: I3c0a6f140ee497020b562f25cade241dcd993c2a
2017-02-14 11:54:40 -08:00
Dan Sandler
055bb61426 Percentage text now sits alongside the battery icon.
The old embedded percentage (introduced in change I6a3e7409) is hard
to read at status bar size, so we now draw it in a separate TextView to
the left (start) of the battery gauge. (The embedded code remains so
that it can be used by other places where the battery is drawn larger.)

The old system setting "status_bar_show_battery_percent" is still used
to control whether this percentage is shown, but note that it now
applies only to BatteryMeterView (i.e., the status bar) and not other
usages of BatteryMeterDrawable.

Bug: 32539932
Test: (manual) adb shell settings put system status_bar_show_battery_percent 1
Change-Id: Id298dba544f594b11269539284a2e8042fd4780b
2017-02-14 14:47:28 -05:00
Vladislav Kaznacheev
9aa7edfa89 Remove final from View.setTooltipText/getTooltipText
This resolves the binary compatibity issue with some
existing apps.

Bug: 35150720
Test: framework builds
Change-Id: I4242186b7103ad35a1e09264c0c9f86bbcf88f49
2017-02-14 11:43:16 -08:00
Matt Sarett
b77c94a96a Disable buffer age swap behavior for SkiaGL on Adreno gpus
Test: Verified that this fixes rendering bugs.

BUG:31957043
Change-Id: I3e5bca73eae2d917906658f76d8c432dbb248d89
2017-02-14 14:39:00 -05:00
Colin Cross
4114a9597a Merge "Use asm-5.2 prebuilt" am: 6b32770d6d am: 6c1ac4dd80 am: 29fd14f9ee
am: 886d642fb6

Change-Id: I1c8d74fc0967521a9a52fdc5cac0f1216d6bff5c
2017-02-14 19:28:36 +00:00
Colin Cross
886d642fb6 Merge "Use asm-5.2 prebuilt" am: 6b32770d6d am: 6c1ac4dd80
am: 29fd14f9ee

Change-Id: I0b08a521058a82ca801f020bd63dc9ccb4bf3a28
2017-02-14 19:22:27 +00:00
Nick Vaccaro
710a285110 Merge "Sensors: Add LOW_LATENCY_OFFBODY_DETECT sensor API" 2017-02-14 19:21:37 +00:00
Colin Cross
29fd14f9ee Merge "Use asm-5.2 prebuilt" am: 6b32770d6d
am: 6c1ac4dd80

Change-Id: Icc01bcd92c5b23198bb39ff382610c72b4bf1867
2017-02-14 19:17:24 +00:00
TreeHugger Robot
7776844d77 Merge "SysUiLeaks: Turn leak reporting because of known leak" 2017-02-14 19:16:53 +00:00
Colin Cross
6c1ac4dd80 Merge "Use asm-5.2 prebuilt"
am: 6b32770d6d

Change-Id: I7dc856be1a10ea7a65c7b3f889b37d9afaadbd5c
2017-02-14 19:10:18 +00:00
Colin Cross
6b32770d6d Merge "Use asm-5.2 prebuilt" 2017-02-14 19:03:46 +00:00
TreeHugger Robot
79b9853f49 Merge "Disable TaskSnapshots to fix crashes for DP." 2017-02-14 18:55:25 +00:00
TreeHugger Robot
744c774b68 Merge "include SkRegion.h explicitly (SkCanvas.h no longer does)" 2017-02-14 18:48:21 +00:00
TreeHugger Robot
723eac769e Merge "Use DevicePolicyData#mUserSetupComplete for DPM's isDeviceProvisioned." 2017-02-14 18:47:53 +00:00
Daniel Nishi
646b56c844 Merge "Don't show game and music apps in Other Apps." 2017-02-14 18:45:33 +00:00
Robin Lee
3cb867326a Merge "Theme work lock activity with the task primaryColor" 2017-02-14 18:38:14 +00:00
Robin Lee
7e9a26fb18 Redact GridTaskViewThumbnail
This inherits from TaskViewThumbnail but has its own drawing logic that
skips work redaction for locked users. This is required by CTS Verifier,
so it needs to be done here as well.

Test: visual, instructions --
Test: (1) set up work profile on ryu with a password
Test: (2) turn screen off and on again
Test: (3) go to recents, verify work apps redacted with correct color
Test: (4) open a work app, unlock, go back to recents, verify work apps
Test:     are not redacted any more.
Bug: 34836435
Change-Id: I2239fe4c035332a9c9b93d2d2b1c354f204358a8
2017-02-14 18:28:25 +00:00
Philip P. Moltmann
492a058d58 resolve merge conflicts of d043a840f7 to nyc-mr2-dev-plus-aosp
am: b02f8eb241

Change-Id: I1307ea308423c0fd34564d788ab64c023a5be2c5
2017-02-14 18:28:25 +00:00
Diego Perez
789c4b4b14 Add dynamic font support
This CL allows loading fonts from resources.

Test: Added new fonts test
Change-Id: Ic82239121cc3f78f2a22b22de42e54575c1f2d98
2017-02-14 18:24:16 +00:00
Orion Hodson
8a9670d662 Merge "Import CallSite classes and BootstrapMethodError class from ojdk8u60" am: 3023906b1b am: 49e0cad3e1 am: 4105747ec3
am: 2e5e232fa7

Change-Id: Iba45ebd3e189249f445c37beebf8190ac981de4d
2017-02-14 18:23:50 +00:00
Hyunyoung Song
966ad0b2f5 Remove color attribute from MaskableIconDrawable foreground/background tag
Test: manual test

Change-Id: Ia8426051aed8c4451b10cf415e179930caede974
2017-02-14 10:23:06 -08:00
Manu Cornet
ca170752d8 Merge "2D Recents: Fix a glitch during task relayout after a dismiss" into nyc-mr2-dev am: f47658f120
am: ec42e34422

Change-Id: Ifc42633a2d1b9250e7b5183338687a907e53035c
2017-02-14 18:21:27 +00:00
songjinshi
96c92f25dd Merge "[NotificationManagerService]: Fixes the thread-safe issue." am: d530d1bf18 am: f69a73793d am: d0e81464bd
am: c2b7dd0db4

Change-Id: Ia72af5433dae2d200503a91a92c91729eae1eadc
2017-02-14 18:20:15 +00:00
Erik Kline
ea50c00f28 Merge "Verify duplicate upstream notifications are ignored" am: 3d57eb0bdc am: 02e71f6245 am: 8055dafb08
am: d850804723

Change-Id: I56a8b708178419d467abac0166f1be6c86b42491
2017-02-14 18:19:01 +00:00
Tony Mak
288639860a Flush addPersistentPreferredActivity setting in DPMS
To fix the glitch that "kiosk mode" does not persist if device
is rebooted within 10s after addPersistentPreferredActivity is called.

Test: Manual Test
      1. Using TestDPC to start kisok mode, reboot right away.
      Observed that TestDPC is launched in kiosk mode.
      2. Stop the kiosk mode, reboot without 10s.
         Kisok mode is stopped.

Fix: 28169791

Change-Id: I555fc18efe86380f2e028b698c2bdb01017bf9f5
2017-02-14 18:18:48 +00:00
Erik Kline
6bf2e10802 Merge "Cleanup in the face of upstream error" am: ed6d75d5f3 am: 76e6f790db am: 663ec79cb2
am: ea7e8f7352

Change-Id: I5ca36fc3b7153b029174a49593ee769e06758729
2017-02-14 18:17:43 +00:00
Badhri Jagan Sridharan
f82013b425 Merge changes from topic 'pixel-c' into nyc-mr2-dev am: dee514fae3
am: fa207eb889  -s ours

Change-Id: If914a497b91b3c24be2872f0059c92503d8c467d
2017-02-14 18:16:29 +00:00
Philip P. Moltmann
b02f8eb241 resolve merge conflicts of d043a840f7 to nyc-mr2-dev-plus-aosp
Test: Clean merge
Change-Id: Ib2420ff793fdf22fd80cfaed7848ff6b8be8d382
2017-02-14 09:51:16 -08:00
Yohei Yukawa
357b2f60e1 Take state snapshot in IMMS#attachNewInputLocked()
With this CL, we can finally start taking a state snapshot every time
IMMS#attachNewInputLocked() gets called, which allows us to include
the last N (currently set to 16) history of such snapshots in dumpsys
from InputMethodManagerService:

  adb shell dumpsys input_method

This is a huge milestone for us to start relying more on historical
debugging rather than logcat-based debugging.

Test: Run `adb shell dumpsys input_method` to make sure that
      "mStartInputHistory" entries are updated.
Bug: 35079353
Change-Id: Icb29c4ef0703553ead8654d3255a554de6d1a9b4
2017-02-14 09:40:03 -08:00