OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Mock out usageStats in NotificationManagerServiceTests" into oc-dev
Geoffrey Pitsch [Fri, 2 Jun 2017 14:50:54 +0000 (14:50 +0000)]
Merge "Mock out usageStats in NotificationManagerServiceTests" into oc-dev
am: fd0b15c196

Change-Id: I56ff2491ee5fd1d72f215e41a4d6ee2ee535ab8a

7 years agoMerge "Mock out usageStats in NotificationManagerServiceTests" into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 14:44:21 +0000 (14:44 +0000)]
Merge "Mock out usageStats in NotificationManagerServiceTests" into oc-dev

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am: 3478ff8c9e...
Erik Kline [Fri, 2 Jun 2017 05:39:23 +0000 (05:39 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am: 3478ff8c9e am: 1536453059
am: 00956c4f7c

Change-Id: I599813c4b4d866623344df56f62ed6a40b4025d6

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am: 3478ff8c9e
Erik Kline [Fri, 2 Jun 2017 05:32:50 +0000 (05:32 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am: 3478ff8c9e
am: 1536453059

Change-Id: I4a9a99c72f8a1d70355d1bf910530ca50cab8a77

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
Erik Kline [Fri, 2 Jun 2017 05:26:49 +0000 (05:26 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
am: 3478ff8c9e

Change-Id: I489f7e6b8ca4af584879a4c9e8f00570da6e400c

7 years agoMerge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
Treehugger Robot [Fri, 2 Jun 2017 05:19:31 +0000 (05:19 +0000)]
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode"

7 years agoHandle Wi-Fi passing explicit interface name and AP/IP mode
Erik Kline [Wed, 31 May 2017 06:53:53 +0000 (15:53 +0900)]
Handle Wi-Fi passing explicit interface name and AP/IP mode

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 31466854
Bug: 32163131
Bug: 62076211
Change-Id: I3557a9c14f4e9f1de1869084566a179003d98ffe

7 years agoMerge "AAPT2: Allow any value type for <item> without format attr" into oc-dev
Adam Lesinski [Fri, 2 Jun 2017 02:35:07 +0000 (02:35 +0000)]
Merge "AAPT2: Allow any value type for <item> without format attr" into oc-dev
am: 1ac325e4d5

Change-Id: I1b1180f2b33a077b2c46a8466c58d83ed618576e

7 years agoMerge "AAPT2: Allow any value type for <item> without format attr" into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 02:30:57 +0000 (02:30 +0000)]
Merge "AAPT2: Allow any value type for <item> without format attr" into oc-dev

7 years agoMerge "WifiManager: add unspecified ip mode" am: dae92faa02 am: 0b9fa27619
Rebecca Silberstein [Fri, 2 Jun 2017 01:51:01 +0000 (01:51 +0000)]
Merge "WifiManager: add unspecified ip mode" am: dae92faa02 am: 0b9fa27619
am: 610a0db7a2  -s ours

Change-Id: I2ca161f16ec04a12f4bae55ca7ee7a31558d51fb

7 years agoMerge "WifiManager: add unspecified ip mode" am: dae92faa02
Rebecca Silberstein [Fri, 2 Jun 2017 01:43:47 +0000 (01:43 +0000)]
Merge "WifiManager: add unspecified ip mode" am: dae92faa02
am: 0b9fa27619

Change-Id: I52a0e54bf024ffa6871fb8edbcda3301e7e7fbed

7 years agoMerge "WifiManager: add unspecified ip mode"
Rebecca Silberstein [Fri, 2 Jun 2017 01:37:43 +0000 (01:37 +0000)]
Merge "WifiManager: add unspecified ip mode"
am: dae92faa02

Change-Id: Ia8fe528fd7cbe8076ea185d21ae7dcfd5654334c

7 years agoMerge "WifiManager: add unspecified ip mode"
Treehugger Robot [Fri, 2 Jun 2017 01:26:14 +0000 (01:26 +0000)]
Merge "WifiManager: add unspecified ip mode"

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Fri, 2 Jun 2017 01:07:55 +0000 (01:07 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 9f7e653d56  -s ours

Change-Id: Iafbfa3a35c305d284ad3a2a2ed06782b80768f7f

7 years agoMerge "Enabled (asymmetric) tab selection in GridView" into oc-dev
Evan Rosky [Fri, 2 Jun 2017 00:59:34 +0000 (00:59 +0000)]
Merge "Enabled (asymmetric) tab selection in GridView" into oc-dev
am: 3653aed87b

Change-Id: Icffef176e1dc3de49191414e57fdf38c4073bff2

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 00:57:46 +0000 (00:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Enabled (asymmetric) tab selection in GridView" into oc-dev
Evan Rosky [Fri, 2 Jun 2017 00:45:09 +0000 (00:45 +0000)]
Merge "Enabled (asymmetric) tab selection in GridView" into oc-dev

7 years agoMerge "AutoSize TextView - major fixes" into oc-dev
Siyamed Sinir [Fri, 2 Jun 2017 00:23:55 +0000 (00:23 +0000)]
Merge "AutoSize TextView - major fixes" into oc-dev
am: b34c9d3a33

Change-Id: Iec698f291365adf367dd318eaf2d0752f109e82c

7 years agoMerge "AutoSize TextView - major fixes" into oc-dev
Siyamed Sinir [Fri, 2 Jun 2017 00:18:03 +0000 (00:18 +0000)]
Merge "AutoSize TextView - major fixes" into oc-dev

7 years agoAAPT2: Allow any value type for <item> without format attr
Adam Lesinski [Fri, 2 Jun 2017 00:16:44 +0000 (17:16 -0700)]
AAPT2: Allow any value type for <item> without format attr

TO bring AAPT2 behavior in-line with AAPT, <item> has a default
format of "any", and only becomes restricted with an explicit format
attribute.

Bug: 62260121
Test: make aapt2_tests
Change-Id: Ife416f520e6c2710bb30e3ba3f2d4463794bfa06

7 years agoMerge "Fix AVD memory leak" into oc-dev
Doris Liu [Fri, 2 Jun 2017 00:00:38 +0000 (00:00 +0000)]
Merge "Fix AVD memory leak" into oc-dev
am: 98db1264d4

Change-Id: If5b68f8f34691a5fdac3ec047048ad2c09b1761f

7 years agoMerge "Fix ANR & Crash on Ryu" into oc-dev
John Reck [Thu, 1 Jun 2017 23:55:23 +0000 (23:55 +0000)]
Merge "Fix ANR & Crash on Ryu" into oc-dev
am: 6890dc95d0

Change-Id: I5f0a2fc7ab40b702e3e81ceb3bebd8ef44d22298

7 years agoMerge "Fix AVD memory leak" into oc-dev
Doris Liu [Thu, 1 Jun 2017 23:46:18 +0000 (23:46 +0000)]
Merge "Fix AVD memory leak" into oc-dev

7 years agoMerge "Fix ANR & Crash on Ryu" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 23:43:55 +0000 (23:43 +0000)]
Merge "Fix ANR & Crash on Ryu" into oc-dev

7 years agoMerge "Optimised hwui rounded corners shader" am: d7287c96eb am: ed7bdd6549
Arun [Thu, 1 Jun 2017 23:42:06 +0000 (23:42 +0000)]
Merge "Optimised hwui rounded corners shader" am: d7287c96eb am: ed7bdd6549
am: 92ef0a59f8

Change-Id: I9f5e6ef057ba6049804226d65f2f2f06594efc69

7 years agoMerge "Optimised hwui rounded corners shader" am: d7287c96eb
Arun [Thu, 1 Jun 2017 23:33:26 +0000 (23:33 +0000)]
Merge "Optimised hwui rounded corners shader" am: d7287c96eb
am: ed7bdd6549

Change-Id: I6acba9bd707a3beec41439cd86cce4cdea6d8b69

7 years agoMerge "Directly focus button in touchmode coretests" into oc-dev
Evan Rosky [Thu, 1 Jun 2017 23:30:48 +0000 (23:30 +0000)]
Merge "Directly focus button in touchmode coretests" into oc-dev
am: 6797a20a86

Change-Id: I5aa0b42e08ba9e8c93c9795bc787907336aa6b19

7 years agoMerge "Optimised hwui rounded corners shader"
Arun [Thu, 1 Jun 2017 23:24:50 +0000 (23:24 +0000)]
Merge "Optimised hwui rounded corners shader"
am: d7287c96eb

Change-Id: Idf53faac924be91d4e23da91b54c9ca08be9ad39

7 years agoMerge "Directly focus button in touchmode coretests" into oc-dev
Evan Rosky [Thu, 1 Jun 2017 23:21:25 +0000 (23:21 +0000)]
Merge "Directly focus button in touchmode coretests" into oc-dev

7 years agoMerge "Optimised hwui rounded corners shader"
Treehugger Robot [Thu, 1 Jun 2017 23:13:24 +0000 (23:13 +0000)]
Merge "Optimised hwui rounded corners shader"

7 years agoMerge "Add channel group for alert windows notifications" into oc-dev
Wale Ogunwale [Thu, 1 Jun 2017 22:12:17 +0000 (22:12 +0000)]
Merge "Add channel group for alert windows notifications" into oc-dev
am: 90a008a0a2

Change-Id: I8728e80027d961d98e39bbbcbbe15788e58f00e9

7 years agoMerge "Add channel group for alert windows notifications" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 22:03:10 +0000 (22:03 +0000)]
Merge "Add channel group for alert windows notifications" into oc-dev

7 years agoMerge "Fix plugin reloading" into oc-dev
Jason Monk [Thu, 1 Jun 2017 21:45:48 +0000 (21:45 +0000)]
Merge "Fix plugin reloading" into oc-dev
am: 39a259350e

Change-Id: Ifd64484b3e75c7ed860944eac33473d080613bf4

7 years agoMerge "Fix plugin reloading" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 21:39:42 +0000 (21:39 +0000)]
Merge "Fix plugin reloading" into oc-dev

7 years agoMerge "Fix camera launch delay from Keyguard" into oc-dev
Jorim Jaggi [Thu, 1 Jun 2017 21:17:10 +0000 (21:17 +0000)]
Merge "Fix camera launch delay from Keyguard" into oc-dev
am: 73f2a2a4d7

Change-Id: Ic7c211955b8375d08da9dfbc59c348f71c1c7552

7 years agoMerge "Fix camera launch delay from Keyguard" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 21:11:51 +0000 (21:11 +0000)]
Merge "Fix camera launch delay from Keyguard" into oc-dev

7 years agoFix AVD memory leak
Doris Liu [Wed, 31 May 2017 01:52:26 +0000 (18:52 -0700)]
Fix AVD memory leak

The memory leak was caused by a lingering internal listener
that held a global ref to the AVD java object when the AVD is
infinite. As a result, the native VectorDrawable Tree can
not be destroyed, and therefore leak bitmaps.

This memory leak is fixed by removing all the internal listeners
for all the unfinished AVDs when the animation context is
destroyed.

BUG: 37518414
Test: follow steps in comment #1 of the bug, and inspect memory heap.

Change-Id: Ibbd1547a083b83d0cebd8e304d9b01abda4950ef

7 years agoMerge "Delay notification vibration to synchronize with notif sound" into oc-dev
Jean-Michel Trivi [Thu, 1 Jun 2017 20:44:38 +0000 (20:44 +0000)]
Merge "Delay notification vibration to synchronize with notif sound" into oc-dev
am: 29db4b3556

Change-Id: Icfad056884cfb620cfd27e12146b280a5cb7c300

7 years agoOptimised hwui rounded corners shader
Arun [Mon, 23 Jan 2017 11:59:21 +0000 (11:59 +0000)]
Optimised hwui rounded corners shader

This is a ~2x performance increase for the rounded corners shader which
was previously shader limited even on many high-end GPUs. It simplifies
the calculations by pre-dividing by the radius, which also allows to
maintain mediump/FP16 precision (this improves performance and might
improve image quality on GPUs that don't support highp e.g. Mali-400).
It also uses a conditional in the shader to save much of the work on
the vast majority of pixels which are not close to the corners.

Test: manual - visual inspection on fugu (nexus player)

Change-Id: I38f491cfb006e2991ef0b9d6b3d67d2c4d328d44

7 years agoMerge "Delay notification vibration to synchronize with notif sound" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 20:34:01 +0000 (20:34 +0000)]
Merge "Delay notification vibration to synchronize with notif sound" into oc-dev

7 years agoFix ANR & Crash on Ryu
John Reck [Thu, 1 Jun 2017 19:44:58 +0000 (12:44 -0700)]
Fix ANR & Crash on Ryu

Fixes impossible dequeue crash as the wrong
start point of the frame was used. We need
to use the start point for RT, not the start
point for the frame.

Workaround for sysui ANR caused by what appears
to be a driver bug. Drivers with the bug
will have transiently higher memory usage.
Drivers without the bug will be unaffected.

Bug: 62213889
Bug: 62250550
Test: Manual

Change-Id: I9992b224f84bc1c40834bafff7e0013b38270ae0

7 years agoMerge "Keyguard: Fix date capitalization context" into oc-dev
Adrian Roos [Thu, 1 Jun 2017 19:56:18 +0000 (19:56 +0000)]
Merge "Keyguard: Fix date capitalization context" into oc-dev
am: f58fae54bf

Change-Id: Iab972cb45304b6b89b63fb49a39e60bf612b2587

7 years agoMerge "Add checks against incorrect context use in sysui tests" into oc-dev
Jason Monk [Thu, 1 Jun 2017 19:54:22 +0000 (19:54 +0000)]
Merge "Add checks against incorrect context use in sysui tests" into oc-dev
am: 227e65d818

Change-Id: I3fad5f17321adf92f5f80c8ec04fc8fc1e4128e2

7 years agoMerge "Fixed an issue where heads up where invisible in qs edit" into oc-dev
Selim Cinek [Thu, 1 Jun 2017 19:51:01 +0000 (19:51 +0000)]
Merge "Fixed an issue where heads up where invisible in qs edit" into oc-dev
am: 4827cb08cc

Change-Id: I0dd06bb8c617c6553aaecec31918f3b2096d5a90

7 years agoMock out usageStats in NotificationManagerServiceTests
Geoffrey Pitsch [Thu, 1 Jun 2017 19:45:35 +0000 (15:45 -0400)]
Mock out usageStats in NotificationManagerServiceTests

Shouldn't be doing this db work in tests

Change-Id: Idadadd83bfe984bd0e1c991534f1fba93ca34b53
Fixes: 62251669
Test: runtest systemui-notification

7 years agoMerge "Keyguard: Fix date capitalization context" into oc-dev
Adrian Roos [Thu, 1 Jun 2017 19:44:42 +0000 (19:44 +0000)]
Merge "Keyguard: Fix date capitalization context" into oc-dev

7 years agoMerge "Add checks against incorrect context use in sysui tests" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 19:43:42 +0000 (19:43 +0000)]
Merge "Add checks against incorrect context use in sysui tests" into oc-dev

7 years agoMerge "Fixed an issue where heads up where invisible in qs edit" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 19:43:05 +0000 (19:43 +0000)]
Merge "Fixed an issue where heads up where invisible in qs edit" into oc-dev

7 years agoFix plugin reloading
Jason Monk [Thu, 1 Jun 2017 19:20:33 +0000 (15:20 -0400)]
Fix plugin reloading

Change-Id: I2209e98628b50416b910cda7ace10a06dbdceaa9
Test: manual
Fixes: 38424850

7 years agoMerge "Fix crash from non-default sims in QS" into oc-dev
Jason Monk [Thu, 1 Jun 2017 19:18:02 +0000 (19:18 +0000)]
Merge "Fix crash from non-default sims in QS" into oc-dev
am: d0ba2cd40b

Change-Id: I3e41e98b03ba9ef2d637678ee35d1ba62ca706a4

7 years agoMerge "Fix crash from non-default sims in QS" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 19:08:06 +0000 (19:08 +0000)]
Merge "Fix crash from non-default sims in QS" into oc-dev

7 years agoAdd channel group for alert windows notifications
Wale Ogunwale [Thu, 1 Jun 2017 17:22:36 +0000 (10:22 -0700)]
Add channel group for alert windows notifications

Bug: 62256269
Test: manual
Change-Id: If4253cb8303124c5c6d974e9680486d77f314059

7 years agoFix camera launch delay from Keyguard
Jorim Jaggi [Tue, 30 May 2017 23:16:01 +0000 (16:16 -0700)]
Fix camera launch delay from Keyguard

When we launch the camera from the lockscreen, we launch a
trampoline activity that launches a real activity. Now, under
certain race conditions the trampoline activity was resumed but
then set to invisible immediately again such that the window
was never relayouted. Thus, the activity was stuck in
WAITING_RELAYOUT state in UnknownAppVisibilityController, leading
to a app transition timeout.

To fix this, we immediately remove the app from the unknown
visibility controller as soon as it gets set to invisible again.

Test: Set animation scale multiplier to 0, open camera, finish
activity by pressing back, turn off screen, launch camera via
double tap, observe no delay.
Test: go/wm-smoke

Fixes: 37677242
Change-Id: I103a89af5fb515d6635f86abe2c67a02d90abd79

7 years agoDelay notification vibration to synchronize with notif sound
Jean-Michel Trivi [Fri, 26 May 2017 01:32:40 +0000 (18:32 -0700)]
Delay notification vibration to synchronize with notif sound

Delay the vibration associated with a notification by the length
  of the ramp time preceding a notification sound. Do this only
  for notifications that play a sound.
Tests: verify that calls to Vibrator.vibrate() method are within the
  max delay that could be applied to a notification sound/vibration.

Test: play notification with vibration, verify vibration syncs with sound
Test: runtest systemui-notification
Bug: 35152866
Change-Id: I571eb5620d654265d19f45aca2073e8ccc4799df

7 years agoMerge "Avoid pixel rounding issue during animation" into oc-dev
Lucas Dupin [Thu, 1 Jun 2017 18:13:24 +0000 (18:13 +0000)]
Merge "Avoid pixel rounding issue during animation" into oc-dev
am: 4a7d0772a5

Change-Id: I32d6e56f129b2ae520ec91200f29fc9ed7f593ff

7 years agoMerge "Avoid pixel rounding issue during animation" into oc-dev
Lucas Dupin [Thu, 1 Jun 2017 18:08:28 +0000 (18:08 +0000)]
Merge "Avoid pixel rounding issue during animation" into oc-dev

7 years agoMerge "Fixed an issue where the shade would jump" into oc-dev
Selim Cinek [Thu, 1 Jun 2017 17:56:00 +0000 (17:56 +0000)]
Merge "Fixed an issue where the shade would jump" into oc-dev
am: 1e2340da3a

Change-Id: I8afe831ef47d877b57535919cbd135eee9b5a93a

7 years agoMerge "Fixed an issue where the panel could be stuck tracking" into oc-dev
Selim Cinek [Thu, 1 Jun 2017 17:51:48 +0000 (17:51 +0000)]
Merge "Fixed an issue where the panel could be stuck tracking" into oc-dev
am: a7a39ea187

Change-Id: I05694e3dc92769270c1a286a69777a1519ba51da

7 years agoMerge "Fixed an issue where the shade would jump" into oc-dev
Selim Cinek [Thu, 1 Jun 2017 17:44:53 +0000 (17:44 +0000)]
Merge "Fixed an issue where the shade would jump" into oc-dev

7 years agoMerge "Fixed an issue where the panel could be stuck tracking" into oc-dev
Selim Cinek [Thu, 1 Jun 2017 17:40:42 +0000 (17:40 +0000)]
Merge "Fixed an issue where the panel could be stuck tracking" into oc-dev

7 years agoMerge "Fix an NPE when FileCollector runs." into oc-dev
Daniel Nishi [Thu, 1 Jun 2017 17:38:25 +0000 (17:38 +0000)]
Merge "Fix an NPE when FileCollector runs." into oc-dev
am: bfa8b3d542

Change-Id: I860a840d23cd91f5fdbdfc6f0c35dc20726dc559

7 years agoMerge "Fix an NPE when FileCollector runs." into oc-dev
Daniel Nishi [Thu, 1 Jun 2017 17:29:54 +0000 (17:29 +0000)]
Merge "Fix an NPE when FileCollector runs." into oc-dev

7 years agoMerge "Handle not having main window in createThumbnailAppAnimator." into oc-dev
Bryce Lee [Thu, 1 Jun 2017 17:25:38 +0000 (17:25 +0000)]
Merge "Handle not having main window in createThumbnailAppAnimator." into oc-dev
am: 689f41e871

Change-Id: If1ad2d95a354c1b22d52dd219a8cda70c80e0d17

7 years agoMerge "Move appName inside Downloadrequest." am: 142a392b75 am: 196cb3dff6
Robert Greenwalt [Thu, 1 Jun 2017 17:20:49 +0000 (17:20 +0000)]
Merge "Move appName inside Downloadrequest." am: 142a392b75 am: 196cb3dff6
am: 7c3314f19c

Change-Id: Iaa997634e7d9370fb634d9741ba4266db6cb9b2f

7 years agoMerge "Handle not having main window in createThumbnailAppAnimator." into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 17:14:15 +0000 (17:14 +0000)]
Merge "Handle not having main window in createThumbnailAppAnimator." into oc-dev

7 years agoMerge "Move appName inside Downloadrequest." am: 142a392b75
Robert Greenwalt [Thu, 1 Jun 2017 17:11:56 +0000 (17:11 +0000)]
Merge "Move appName inside Downloadrequest." am: 142a392b75
am: 196cb3dff6

Change-Id: I79e1beb5c211a8ff0f90a2f473f85b0068abe61a

7 years agoMerge "Remove starting window logging" into oc-dev
Jorim Jaggi [Thu, 1 Jun 2017 17:10:48 +0000 (17:10 +0000)]
Merge "Remove starting window logging" into oc-dev
am: 1e93ad44bc

Change-Id: I0caebcfb47b5f130cfd93d5674bbf173fabd36b2

7 years agoMerge "Move appName inside Downloadrequest."
Robert Greenwalt [Thu, 1 Jun 2017 17:05:40 +0000 (17:05 +0000)]
Merge "Move appName inside Downloadrequest."
am: 142a392b75

Change-Id: I6512d4bc2406f23571c1d4e6425353930fb9b847

7 years agoMerge "Create ActivityDisplay if its registered in DisplayManager" into oc-dev
Andrii Kulian [Thu, 1 Jun 2017 17:03:01 +0000 (17:03 +0000)]
Merge "Create ActivityDisplay if its registered in DisplayManager" into oc-dev
am: e871c01bd0

Change-Id: I794a53de17d5c6e2d5002c0b363b692723d4dcdd

7 years agoMerge "Remove starting window logging" into oc-dev
Jorim Jaggi [Thu, 1 Jun 2017 16:54:16 +0000 (16:54 +0000)]
Merge "Remove starting window logging" into oc-dev

7 years agoMerge "Move appName inside Downloadrequest."
Robert Greenwalt [Thu, 1 Jun 2017 16:52:32 +0000 (16:52 +0000)]
Merge "Move appName inside Downloadrequest."

7 years agoMerge "Create ActivityDisplay if its registered in DisplayManager" into oc-dev
Andrii Kulian [Thu, 1 Jun 2017 16:50:56 +0000 (16:50 +0000)]
Merge "Create ActivityDisplay if its registered in DisplayManager" into oc-dev

7 years agoAdd checks against incorrect context use in sysui tests
Jason Monk [Thu, 1 Jun 2017 15:21:14 +0000 (11:21 -0400)]
Add checks against incorrect context use in sysui tests

Fix incorrect usages found by this check.

Test: runtest systemui
Bug: 62251903
Change-Id: I45a762f96838e617833c1cbe003e583087bb8176

7 years agoMerge "Fix setRequestedOrientation() freeze on Android Wear." into oc-dev
Ivan Podogov [Thu, 1 Jun 2017 15:12:42 +0000 (15:12 +0000)]
Merge "Fix setRequestedOrientation() freeze on Android Wear." into oc-dev
am: a30fdcb687

Change-Id: I0046647f4f773acb06a1dcdb45d0499ee831ae2a

7 years agoMerge "Fix setRequestedOrientation() freeze on Android Wear." into oc-dev
Ivan Podogov [Thu, 1 Jun 2017 15:06:28 +0000 (15:06 +0000)]
Merge "Fix setRequestedOrientation() freeze on Android Wear." into oc-dev

7 years agoHandle not having main window in createThumbnailAppAnimator.
Bryce Lee [Wed, 31 May 2017 17:27:42 +0000 (10:27 -0700)]
Handle not having main window in createThumbnailAppAnimator.

A recent code change associated the SurfaceControl with the main
window owner id. However, it is possible for the an AppWindowToken to
not have a main window. This case is handled later in the method.

This CL restores the original behavior of using the calling uid in
the cases no main window is present.

Change-Id: I8255be9e0d68adc75fda0947c64f869b7eeb76c9
Fixes: 62096254
Test: go/wm-smoke

7 years agoFix crash from non-default sims in QS
Jason Monk [Thu, 1 Jun 2017 15:00:00 +0000 (11:00 -0400)]
Fix crash from non-default sims in QS

Test: runtest systemui
Change-Id: Icdb063589258a6b4bd94634cc9f41f788a7d2299
Fixes: 62209034

7 years agoAutoSize TextView - major fixes
Andrei Stingaceanu [Fri, 26 May 2017 14:57:04 +0000 (15:57 +0100)]
AutoSize TextView - major fixes

* splits the auto-size setup part from the execution
  function:
** in TextView CTOR we only setup and we leave the
   actual auto-sizing execution to happen in the
   view||text layout  phase
** encapsulated the conditions needed to start
   applying auto-size in the execution function

* introduces a private way to set the text size
  without requesting a new layout pass; auto-size
  always uses this practically setting the text
  size on the paint object and creating a new
  layout

* calls execution autoSizeText() from within
  TextView#checkForRelayout() if not requestLayout()
  is needed => this makes sure that auto-size will be
  performed even if a view layout is not requested,
  but only a text layout

* fixes the calculation of the sizes available for
  auto-size when configured via granularity

Bug: 62050646
Bug: 38409622
Bug: 38440435
Bug: 62109627
Test: run cts --test android.widget.cts.TextViewTest -m \
      CtsWidgetTestCases
Test: manually tested the new behaviors in demo apps
Test: new test attached in topic

Change-Id: I4ccaa0a0afa3b5aa47213442d0029da2c74e7eb4

7 years agoMerge "Dump info about all RemoteViews in a Notification." into oc-dev
Dan Sandler [Thu, 1 Jun 2017 14:37:12 +0000 (14:37 +0000)]
Merge "Dump info about all RemoteViews in a Notification." into oc-dev
am: 94ea9bb571

Change-Id: I64fa3be76546c527341f8718c28d523446422b63

7 years agoMerge "Dump info about all RemoteViews in a Notification." into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 14:29:42 +0000 (14:29 +0000)]
Merge "Dump info about all RemoteViews in a Notification." into oc-dev

7 years agoMerge "Prettify the captive portal sign-in activity" am: 5dbdffbf81 am: 6e145ffb0e
Hugo Benichi [Thu, 1 Jun 2017 14:00:17 +0000 (14:00 +0000)]
Merge "Prettify the captive portal sign-in activity" am: 5dbdffbf81 am: 6e145ffb0e
am: 6e238648c2  -s ours

Change-Id: I8b4ede5d116cf753d3db9ab78fc027505acd2ef0

7 years agoMerge "Prettify the captive portal sign-in activity" am: 5dbdffbf81
Hugo Benichi [Thu, 1 Jun 2017 13:52:16 +0000 (13:52 +0000)]
Merge "Prettify the captive portal sign-in activity" am: 5dbdffbf81
am: 6e145ffb0e

Change-Id: I183a1c4e9b38b88c541eb3acf3412eb29744bd69

7 years agoMerge "Prettify the captive portal sign-in activity"
Hugo Benichi [Thu, 1 Jun 2017 13:44:19 +0000 (13:44 +0000)]
Merge "Prettify the captive portal sign-in activity"
am: 5dbdffbf81

Change-Id: I71b55fc8869471c02f470980d013951b285b3ebb

7 years agoFix setRequestedOrientation() freeze on Android Wear.
Ivan Podogov [Fri, 26 May 2017 16:42:15 +0000 (17:42 +0100)]
Fix setRequestedOrientation() freeze on Android Wear.

In ag/1460784 and ag/1551198, logic of
ActivityManagerService.updateConfigurationLocked
(now updateDisplayOverrideConfigurationLocked) was changed a bit:
before those CL's, with (changes == 0) we were still calling
mWindowManager.setNewConfiguration(mGlobalConfiguration)
(which is now mWindowManager.setNewDisplayOverrideConfiguration).
Now, when there was a call to Activity.setRequestedOrientation, the
window becomes frozen and waiting for configuration, which is never sent
since there are no changes detected (which we don't know in advance when
freezing the window). This is important for watches, since they have
"square" screens, and resources configuration for them doesn't change
after requesting landscape orientation, i.e. display rotates 90 degrees,
yet the layout stays portrait. As a result, device becomes frozen.

This CL only moves mWindowManager.setNewDisplayOverrideConfiguration
call outside of the (changes == 0) check to restore the old logic.

Bug: 37684680
Test: go/wm-smoke (on Pixel), manual (on Wear)
Change-Id: Idf1f5989173494d51437b9a66296b4cac82d15c2

7 years agoMerge "Prettify the captive portal sign-in activity"
Treehugger Robot [Thu, 1 Jun 2017 13:34:14 +0000 (13:34 +0000)]
Merge "Prettify the captive portal sign-in activity"

7 years agoWifiManager: add unspecified ip mode
Rebecca Silberstein [Wed, 10 May 2017 05:58:01 +0000 (22:58 -0700)]
WifiManager: add unspecified ip mode

Add an unspecified IP mode that allows WifiServiceImpl to clear state
in the interface-based IP mode tracking.

Bug: 31466854
Test: frameworks/base/wifi/tests/runtests.sh
Merged-In: I0d1db7ecb9cf7edd74d95f73d88b23571b87a27f
Merged-In: Iaa1474bd24d63e957ae82745b66c7571a5f18433
Change-Id: I15485cdab95ed4308cf5c2877fba40eac82bf162
(cherry picked from commit bf4754361877ad93a92bea64407974f26eb7c494)

7 years agoMerge "Add tests on MultiDex.installInstrumentation" am: f547c4045f am: 56b36c092b
Yohann Roussel [Thu, 1 Jun 2017 09:49:06 +0000 (09:49 +0000)]
Merge "Add tests on MultiDex.installInstrumentation" am: f547c4045f am: 56b36c092b
am: f0b015d706

Change-Id: Ic9dfc9678def6d783ac6f14e0f8372d946cedbf1

7 years agoMerge "Add tests on MultiDex.installInstrumentation" am: f547c4045f
Yohann Roussel [Thu, 1 Jun 2017 09:40:00 +0000 (09:40 +0000)]
Merge "Add tests on MultiDex.installInstrumentation" am: f547c4045f
am: 56b36c092b

Change-Id: I1aebb84f762c990430f52f7b6312fdd3b61a0be4

7 years agoMerge "Prettify the captive portal sign-in activity" into oc-dev
Hugo Benichi [Thu, 1 Jun 2017 09:38:51 +0000 (09:38 +0000)]
Merge "Prettify the captive portal sign-in activity" into oc-dev
am: 8bc542695c

Change-Id: Id655667e19c2ddc65a3d3deb6a447850ec02e90c

7 years agoPrettify the captive portal sign-in activity
Hugo Benichi [Wed, 17 May 2017 00:26:30 +0000 (09:26 +0900)]
Prettify the captive portal sign-in activity

- fuses url bar with activity header: url is now the subtitle
- url appears as text and not as editable content
- url only shows host name
- header style is the device default for Settings
- Material progress bar
- progress bar disappears at page load finished
- webview does not jump at page load finished

Bug: 62107381
Bug: 38197949
Test: tested by manually triggering the sign-in activity
Merged-In: Id75023acad04f444dbfc41de56814a09e70cc6f9

(cherry pick from commit a206649a6f66f16cc56db2f4e32b846d9b03501c)

Change-Id: I5c3e5ebac18fef6611c215d04d88ffef67b2b640

7 years agoMerge "Prettify the captive portal sign-in activity" into oc-dev
Hugo Benichi [Thu, 1 Jun 2017 09:32:24 +0000 (09:32 +0000)]
Merge "Prettify the captive portal sign-in activity" into oc-dev

7 years agoMerge "Add tests on MultiDex.installInstrumentation"
Yohann Roussel [Thu, 1 Jun 2017 09:31:07 +0000 (09:31 +0000)]
Merge "Add tests on MultiDex.installInstrumentation"
am: f547c4045f

Change-Id: I022a89d1fdacca4a96ea493841609c48a538370b

7 years agoMerge "Add tests on MultiDex.installInstrumentation"
Yohann Roussel [Thu, 1 Jun 2017 09:23:13 +0000 (09:23 +0000)]
Merge "Add tests on MultiDex.installInstrumentation"

7 years agoMerge "Update documentation of MediaCodec regarding partial frame." into oc-dev
Dongwon Kang [Thu, 1 Jun 2017 09:10:15 +0000 (09:10 +0000)]
Merge "Update documentation of MediaCodec regarding partial frame." into oc-dev
am: 878fc6a81c

Change-Id: I2548802b594a2b4710c5661ffecf26dcdacdf1d7

7 years agoMerge "Update documentation of MediaCodec regarding partial frame." into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 09:05:33 +0000 (09:05 +0000)]
Merge "Update documentation of MediaCodec regarding partial frame." into oc-dev

7 years agoMerge "Merge "Fix TimePickerDialog positive button clicks." into oc-dev am: 87c727a16...
Android Build Merger (Role) [Thu, 1 Jun 2017 08:12:59 +0000 (08:12 +0000)]
Merge "Merge "Fix TimePickerDialog positive button clicks." into oc-dev am: 87c727a169" into oc-dev-plus-aosp

7 years agoMerge "Add a tethering offload settings kill switch" am: 7cf3086f37 am: 503a6952b2
Erik Kline [Thu, 1 Jun 2017 08:10:51 +0000 (08:10 +0000)]
Merge "Add a tethering offload settings kill switch" am: 7cf3086f37 am: 503a6952b2
am: 03941982dc

Change-Id: I7e15919817c59579ff6e7b28e858f13c3090ee5c

7 years agoMerge "Fix TimePickerDialog positive button clicks." into oc-dev
Aurimas Liutikas [Thu, 1 Jun 2017 08:10:46 +0000 (08:10 +0000)]
Merge "Fix TimePickerDialog positive button clicks." into oc-dev
am: 87c727a169

Change-Id: I805b62533328677b4c0b4b5b98ce29eabeab8b4d

7 years agoMerge "Add a tethering offload settings kill switch" am: 7cf3086f37
Erik Kline [Thu, 1 Jun 2017 08:04:20 +0000 (08:04 +0000)]
Merge "Add a tethering offload settings kill switch" am: 7cf3086f37
am: 503a6952b2

Change-Id: I6be567bb315a5797bbc71f5f48efc522b947f678

7 years agoMerge "SystemUI: fix notification redaction logic." into oc-dev
Charles He [Thu, 1 Jun 2017 08:03:58 +0000 (08:03 +0000)]
Merge "SystemUI: fix notification redaction logic." into oc-dev
am: 5f3cab514b

Change-Id: I4d60ecd170bd946ba1457bf6048d721d355349b7