OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Wait on activity brought to front for trampoline activities." into oc-dev
Bryce Lee [Mon, 22 May 2017 18:12:49 +0000 (18:12 +0000)]
Merge "Wait on activity brought to front for trampoline activities." into oc-dev
am: 1ba237d237

Change-Id: I61a006f5e8e2b29964f063ce1eb55154ce29a3b8

7 years agoMerge "Wait on activity brought to front for trampoline activities." into oc-dev
TreeHugger Robot [Mon, 22 May 2017 18:02:16 +0000 (18:02 +0000)]
Merge "Wait on activity brought to front for trampoline activities." into oc-dev

7 years agoMerge "WifiManager: get startLOHS packageName" into oc-dev
Rebecca Silberstein [Mon, 22 May 2017 17:04:26 +0000 (17:04 +0000)]
Merge "WifiManager: get startLOHS packageName" into oc-dev
am: 07f580eaff

Change-Id: I06d47557fd35f519fbfe5d1ee11ec02c5027e4c7

7 years agoMerge "WifiManager: get startLOHS packageName" into oc-dev
Rebecca Silberstein [Mon, 22 May 2017 16:57:52 +0000 (16:57 +0000)]
Merge "WifiManager: get startLOHS packageName" into oc-dev

7 years agoMerge "Fix bad merge causing Recents to be started twice in succession." into oc-dev
Winson Chung [Mon, 22 May 2017 16:20:18 +0000 (16:20 +0000)]
Merge "Fix bad merge causing Recents to be started twice in succession." into oc-dev
am: 305c332c22

Change-Id: I9fc712b5b5d96398177883b1979a3ea5744efa89

7 years agoMerge "Fix bad merge causing Recents to be started twice in succession." into oc-dev
Winson Chung [Mon, 22 May 2017 16:11:24 +0000 (16:11 +0000)]
Merge "Fix bad merge causing Recents to be started twice in succession." into oc-dev

7 years agoMerge "Disallow starting activities without new task from non-activity context."...
Bryce Lee [Mon, 22 May 2017 14:43:32 +0000 (14:43 +0000)]
Merge "Disallow starting activities without new task from non-activity context." into oc-dev
am: 3ebe54b3e6

Change-Id: I4a89ce60dad32f41f4e77b81a6af56c89845987a

7 years agoMerge "Disallow starting activities without new task from non-activity context."...
Bryce Lee [Mon, 22 May 2017 14:30:59 +0000 (14:30 +0000)]
Merge "Disallow starting activities without new task from non-activity context." into oc-dev

7 years agoMerge "Revert "NumberPicker a11y (and a11y-inspired) fixes"" into oc-dev
Phil Weaver [Mon, 22 May 2017 13:13:34 +0000 (13:13 +0000)]
Merge "Revert "NumberPicker a11y (and a11y-inspired) fixes"" into oc-dev
am: ed83139842

Change-Id: I7721cfee4ef04aa463a687b8223f881e9d153394

7 years agoMerge "Revert "NumberPicker a11y (and a11y-inspired) fixes"" into oc-dev
Phil Weaver [Mon, 22 May 2017 13:03:39 +0000 (13:03 +0000)]
Merge "Revert "NumberPicker a11y (and a11y-inspired) fixes"" into oc-dev

7 years agoMerge "Creat a new notification to avoid the mTetheredNotificationBuilder changed...
zhouzhijie [Mon, 22 May 2017 11:13:35 +0000 (11:13 +0000)]
Merge "Creat a new notification to avoid the mTetheredNotificationBuilder changed" am: 99cf40a25a am: 3818d4187c
am: b7681ecd46

Change-Id: I95284107f41b8bc4f4eae0870796f85a8b0b178b

7 years agoMerge "Creat a new notification to avoid the mTetheredNotificationBuilder changed...
zhouzhijie [Mon, 22 May 2017 11:02:28 +0000 (11:02 +0000)]
Merge "Creat a new notification to avoid the mTetheredNotificationBuilder changed" am: 99cf40a25a
am: 3818d4187c

Change-Id: Iafc7ccd9bdd120100ae4063d72379479693142f9

7 years agoMerge "Creat a new notification to avoid the mTetheredNotificationBuilder changed"
zhouzhijie [Mon, 22 May 2017 10:52:28 +0000 (10:52 +0000)]
Merge "Creat a new notification to avoid the mTetheredNotificationBuilder changed"
am: 99cf40a25a

Change-Id: I9d45fc368e746efa40df96c39719566a201dad45

7 years agoMerge "Revert the system clock in the debug oc-dev" into oc-dev
Yipeng Cao [Mon, 22 May 2017 10:47:28 +0000 (10:47 +0000)]
Merge "Revert the system clock in the debug oc-dev" into oc-dev
am: 4229cb80a0

Change-Id: Icef2e7fb527f90a44839b3f1a2f931760b6696b2

7 years agoMerge "Creat a new notification to avoid the mTetheredNotificationBuilder changed"
Treehugger Robot [Mon, 22 May 2017 10:41:38 +0000 (10:41 +0000)]
Merge "Creat a new notification to avoid the mTetheredNotificationBuilder changed"

7 years agoMerge "Revert the system clock in the debug oc-dev" into oc-dev
TreeHugger Robot [Mon, 22 May 2017 10:36:34 +0000 (10:36 +0000)]
Merge "Revert the system clock in the debug oc-dev" into oc-dev

7 years agoMerge "OBEX: Add required parameters TAG ID's for PBAP 1.2" am: a2663b0060 am: b04d7ceaeb
Andre Eisenbach [Sat, 20 May 2017 00:50:20 +0000 (00:50 +0000)]
Merge "OBEX: Add required parameters TAG ID's for PBAP 1.2" am: a2663b0060 am: b04d7ceaeb
am: a8ffb9fd3d

Change-Id: I4313e847de1e6cfd550bc9b1ca6a8c121b6c0403

7 years agoMerge "OBEX: Add required parameters TAG ID's for PBAP 1.2" am: a2663b0060
Andre Eisenbach [Sat, 20 May 2017 00:43:16 +0000 (00:43 +0000)]
Merge "OBEX: Add required parameters TAG ID's for PBAP 1.2" am: a2663b0060
am: b04d7ceaeb

Change-Id: I66bdfd02f8d5322173ba85a2c427158a237cb215

7 years agoMerge "OBEX: Add required parameters TAG ID's for PBAP 1.2"
Andre Eisenbach [Sat, 20 May 2017 00:36:15 +0000 (00:36 +0000)]
Merge "OBEX: Add required parameters TAG ID's for PBAP 1.2"
am: a2663b0060

Change-Id: I015534f9fb860fd0f875bab3d9130de029dc16b9

7 years agoMerge "OBEX: Add required parameters TAG ID's for PBAP 1.2"
Andre Eisenbach [Sat, 20 May 2017 00:28:59 +0000 (00:28 +0000)]
Merge "OBEX: Add required parameters TAG ID's for PBAP 1.2"

7 years agoOBEX: Add required parameters TAG ID's for PBAP 1.2
Hemant Gupta [Sat, 17 Oct 2015 14:10:53 +0000 (19:40 +0530)]
OBEX: Add required parameters TAG ID's for PBAP 1.2

Add required OBEX application parameters TAGID's and length
declarations required to support PBAP 1.2 specification.

Test: Connected with Remote PBAP Client supporting PBAP 1.2 and
verified that connection and transfer happens over L2CAP.
Connected with Remote PBAP Client supporting PBAP 1.1 and
and verified that connection and transfer happens over RFCOMM.

Bug: 33011817
Change-Id: I8a772b0dddf6ecf74b057e12d7596421c0e0f558

7 years agoMerge "Address ConnectivityManager API comments." am: b5d6e45e8d am: b57db6ef97
Hugo Benichi [Fri, 19 May 2017 23:36:09 +0000 (23:36 +0000)]
Merge "Address ConnectivityManager API comments." am: b5d6e45e8d am: b57db6ef97
am: 08ab9ea526

Change-Id: I8e5e44043bb7efde3e21650e7edf3f121aff1e6e

7 years agoMerge "Address ConnectivityManager API comments." am: b5d6e45e8d
Hugo Benichi [Fri, 19 May 2017 23:24:56 +0000 (23:24 +0000)]
Merge "Address ConnectivityManager API comments." am: b5d6e45e8d
am: b57db6ef97

Change-Id: If38be1435c55c66890bb5c702a7b9b23240c0b64

7 years agoMerge "Address ConnectivityManager API comments."
Hugo Benichi [Fri, 19 May 2017 23:14:08 +0000 (23:14 +0000)]
Merge "Address ConnectivityManager API comments."
am: b5d6e45e8d

Change-Id: I4a29a929e2482d664a969ca38e5f73c3ed816175

7 years agoFix bad merge causing Recents to be started twice in succession.
Winson Chung [Fri, 19 May 2017 23:05:54 +0000 (16:05 -0700)]
Fix bad merge causing Recents to be started twice in succession.

Bug: 38449257
Test: Launch Recents, ensure it's not started twice...
Change-Id: I0da85ef53742981fd67e8f1d1b733060d8098498

7 years agoMerge "Address ConnectivityManager API comments."
Hugo Benichi [Fri, 19 May 2017 23:05:55 +0000 (23:05 +0000)]
Merge "Address ConnectivityManager API comments."

7 years agoMerge "Implement stopStreaming API for MBMS" am: e245bf9067 am: a7fffdc0d9
Hall Liu [Fri, 19 May 2017 22:53:42 +0000 (22:53 +0000)]
Merge "Implement stopStreaming API for MBMS" am: e245bf9067 am: a7fffdc0d9
am: efa377cbb6

Change-Id: I1a845cfdeef7bd53beb4fa9b49eebe7a06386622

7 years agoMerge "Implement stopStreaming API for MBMS" am: e245bf9067
Hall Liu [Fri, 19 May 2017 22:47:06 +0000 (22:47 +0000)]
Merge "Implement stopStreaming API for MBMS" am: e245bf9067
am: a7fffdc0d9

Change-Id: I2c1231a3690067edf90070d7d2a5f3919172caf3

7 years agoMerge "P2P: update WifiP2pServiceResponse creator" into oc-dev
Glen Kuhne [Fri, 19 May 2017 22:41:37 +0000 (22:41 +0000)]
Merge "P2P: update WifiP2pServiceResponse creator" into oc-dev
am: 387b97e68b

Change-Id: I78fb0ac1f49d4a122cfe790fad2d0d7cb5de1589

7 years agoMerge "Implement stopStreaming API for MBMS"
Hall Liu [Fri, 19 May 2017 22:40:22 +0000 (22:40 +0000)]
Merge "Implement stopStreaming API for MBMS"
am: e245bf9067

Change-Id: I4b70f26a5579ddf3af7d426a04aea8ba33312790

7 years agoMerge "P2P: update WifiP2pServiceResponse creator" into oc-dev
Glen Kuhne [Fri, 19 May 2017 22:35:54 +0000 (22:35 +0000)]
Merge "P2P: update WifiP2pServiceResponse creator" into oc-dev

7 years agoMerge "Implement stopStreaming API for MBMS"
Hall Liu [Fri, 19 May 2017 22:32:01 +0000 (22:32 +0000)]
Merge "Implement stopStreaming API for MBMS"

7 years agoMerge "Update PackageSettingBase.usesStaticLibraries correctly." into oc-dev
Sudheer Shanka [Fri, 19 May 2017 20:59:53 +0000 (20:59 +0000)]
Merge "Update PackageSettingBase.usesStaticLibraries correctly." into oc-dev
am: f3bb49b02a

Change-Id: I308ef038e01003e6b035960ff7b5f5ca37c03772

7 years agoMerge "Update PackageSettingBase.usesStaticLibraries correctly." into oc-dev
Sudheer Shanka [Fri, 19 May 2017 20:54:50 +0000 (20:54 +0000)]
Merge "Update PackageSettingBase.usesStaticLibraries correctly." into oc-dev

7 years agoMerge "Missed a break statement. very sorry" into oc-dev
Evan Rosky [Fri, 19 May 2017 20:31:50 +0000 (20:31 +0000)]
Merge "Missed a break statement. very sorry" into oc-dev
am: a2ee78aeb9

Change-Id: I0da645a6bdc05883c137930700a264d7a9aa4400

7 years agoMerge "Missed a break statement. very sorry" into oc-dev
Evan Rosky [Fri, 19 May 2017 20:25:50 +0000 (20:25 +0000)]
Merge "Missed a break statement. very sorry" into oc-dev

7 years agoMerge "Wait for keyguard draw before stopping boot animation" into oc-dev
Keun-young Park [Fri, 19 May 2017 20:14:50 +0000 (20:14 +0000)]
Merge "Wait for keyguard draw before stopping boot animation" into oc-dev
am: ff4cc4ebb5

Change-Id: I1c1437f83387aa4974ee991502018f5b59baf248

7 years agoMerge "Wait for keyguard draw before stopping boot animation" into oc-dev
Keun-young Park [Fri, 19 May 2017 20:07:10 +0000 (20:07 +0000)]
Merge "Wait for keyguard draw before stopping boot animation" into oc-dev

7 years agoMerge "Fix NPE in usage stats manager (recent regression)" into oc-dev
Makoto Onuki [Fri, 19 May 2017 19:30:33 +0000 (19:30 +0000)]
Merge "Fix NPE in usage stats manager (recent regression)" into oc-dev
am: 091050e92a

Change-Id: I5da7220aa9f5ff0db999c00881577b160e6b17ba

7 years agoMerge changes I28f7ac47,If075675e into oc-dev
Winson Chung [Fri, 19 May 2017 19:28:15 +0000 (19:28 +0000)]
Merge changes I28f7ac47,If075675e into oc-dev
am: 4f5c38b357

Change-Id: I21d7ad41247bf36fdc7209dbe6f2b26a86cdd26b

7 years agoMerge "Fix NPE in usage stats manager (recent regression)" into oc-dev
Makoto Onuki [Fri, 19 May 2017 19:24:21 +0000 (19:24 +0000)]
Merge "Fix NPE in usage stats manager (recent regression)" into oc-dev

7 years agoMerge changes I28f7ac47,If075675e into oc-dev
Winson Chung [Fri, 19 May 2017 19:18:50 +0000 (19:18 +0000)]
Merge changes I28f7ac47,If075675e into oc-dev

* changes:
  Fixing regression in Recents preloading.
  Adding cached value for current user for per-SysUI process components.

7 years agoMerge "DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"" into...
Michael Wachenschwanz [Fri, 19 May 2017 18:40:47 +0000 (18:40 +0000)]
Merge "DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"" into oc-dev
am: 61e2b15866

Change-Id: I6dc739ac35e8965b3a6ed84fe03d20c0441193c5

7 years agoMerge "Cumulative wakelock time per uid" into oc-dev
Adam Bookatz [Fri, 19 May 2017 18:32:20 +0000 (18:32 +0000)]
Merge "Cumulative wakelock time per uid" into oc-dev
am: 1effe000b8

Change-Id: I475ced78c13cadd48ba3be70d680a4a3fa83e500

7 years agoMerge "DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"" into...
Michael Wachenschwanz [Fri, 19 May 2017 18:27:10 +0000 (18:27 +0000)]
Merge "DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"" into oc-dev

7 years agoMerge "Cumulative wakelock time per uid" into oc-dev
Adam Bookatz [Fri, 19 May 2017 18:24:31 +0000 (18:24 +0000)]
Merge "Cumulative wakelock time per uid" into oc-dev

7 years agoMerge "Fix "launcher starting on work profile"" into oc-dev
Makoto Onuki [Fri, 19 May 2017 17:54:07 +0000 (17:54 +0000)]
Merge "Fix "launcher starting on work profile"" into oc-dev
am: b6d1a19819

Change-Id: Id1e6bdc951b0c139406195af378ccdfa21730d12

7 years agoMerge "Fix "launcher starting on work profile"" into oc-dev
Makoto Onuki [Fri, 19 May 2017 17:43:54 +0000 (17:43 +0000)]
Merge "Fix "launcher starting on work profile"" into oc-dev

7 years agoFix NPE in usage stats manager (recent regression)
Makoto Onuki [Fri, 19 May 2017 17:31:52 +0000 (10:31 -0700)]
Fix NPE in usage stats manager (recent regression)

Change-Id: I305bb64b11c9240dc0df5d7b08a9a970660157c8
Fix: 38430177
Test: build and boot

7 years agoMerge "Also pin vdex file for camera" into oc-dev
Calin Juravle [Fri, 19 May 2017 17:04:55 +0000 (17:04 +0000)]
Merge "Also pin vdex file for camera" into oc-dev
am: 540c5bd354

Change-Id: I4c78a055bdba42b0dc6050e0b06d606b65ec380d

7 years agoMerge "Also pin vdex file for camera" into oc-dev
Calin Juravle [Fri, 19 May 2017 16:56:37 +0000 (16:56 +0000)]
Merge "Also pin vdex file for camera" into oc-dev

7 years agoWifiManager: get startLOHS packageName
Rebecca Silberstein [Thu, 18 May 2017 08:27:57 +0000 (01:27 -0700)]
WifiManager: get startLOHS packageName

When an application calls startLocalOnlyHotspot, we need to send the
package name from the manager-side of the call.  This CL updates the
call to WifiServiceImpl.startLocalOnlyHotspot and the relevant aidl
file.

Bug: 31466854
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I1dd0142dc58c767336c9323986d20e38bf11220d

7 years agoWait for keyguard draw before stopping boot animation
Keun-young Park [Mon, 8 May 2017 21:51:59 +0000 (14:51 -0700)]
Wait for keyguard draw before stopping boot animation

- Add check for keyguard drawn before stopping boot animation.
  Otherwise blank screen can happen.
- Bind to keyguard service when sysui is launched to reduce waiting
  time later.
- Increase keyguard timeout to 5 secs if it is not boot completed.
  Otherwise (= normal screen on), keep the current 1 sec.
  This timeout can still lead into blank screen so use bigger timeout
  during boot-up to prevent such case.

bug: 37867510
Test: many reboots

Change-Id: Ibfdc42d295bb1d3f5b4ea316fe5aca9ab875e4be

7 years agoMerge "Fix underdraw during resizing" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 15:53:18 +0000 (15:53 +0000)]
Merge "Fix underdraw during resizing" into oc-dev
am: 906fe92759

Change-Id: I25fe2b06324f238d2d5d6092837919d1f5659bf3

7 years agoMerge "Fix underdraw during resizing" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 15:42:46 +0000 (15:42 +0000)]
Merge "Fix underdraw during resizing" into oc-dev

7 years agoFix underdraw during resizing
Jorim Jaggi [Fri, 19 May 2017 12:53:55 +0000 (14:53 +0200)]
Fix underdraw during resizing

Since we hide the navigation bar background during resizing, we
need to fill it with the fallback background.

This was always an issue but somehow in OC we are displaying
garbage instead of black.

Test: Open Contacts/Dialer, resize, make sure no underdraw is
happening. Also test a couple of other apps.
Fixes: 36206155

Change-Id: I6b02060ef4acf36c2529d49063a61034f9261696

7 years agoMerge "Take snapshot when screen is turning off" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 12:41:03 +0000 (12:41 +0000)]
Merge "Take snapshot when screen is turning off" into oc-dev
am: 64900ad13c

Change-Id: If64b205fc27f33a4359f00fe7f551b9797b1380f

7 years agoMerge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 12:32:25 +0000 (12:32 +0000)]
Merge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev
am: 009d0460f0

Change-Id: I7d23cfe0d175af9a17ed685d387a248045105784

7 years agoMerge "Take snapshot when screen is turning off" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 12:29:49 +0000 (12:29 +0000)]
Merge "Take snapshot when screen is turning off" into oc-dev

7 years agoMerge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 12:26:43 +0000 (12:26 +0000)]
Merge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev

7 years agoRevert the system clock in the debug oc-dev
Yipeng Cao [Thu, 18 May 2017 20:27:30 +0000 (13:27 -0700)]
Revert the system clock in the debug oc-dev

System.currentTimeMillis does not guarantee to be monotonically
increasing, changed to SystemClock.elapsedRealtime

Bug: 38317243
Fixes: 38317243
Test: make -j 32; flash the angler device using local build
Change-Id: I775e6251f780679d639418a260c6d44c363a0c0f

7 years agoMerge "Add a method to start the captive portal login app." am: 30f2544f0c am: f238a96172
Hugo Benichi [Fri, 19 May 2017 02:56:58 +0000 (02:56 +0000)]
Merge "Add a method to start the captive portal login app." am: 30f2544f0c am: f238a96172
am: 6246ddc338

Change-Id: I0f5d39394d35d2977c81b704ded1d1119bcf47a7

7 years agoMerge "Add a method to start the captive portal login app." am: 30f2544f0c
Hugo Benichi [Fri, 19 May 2017 02:48:01 +0000 (02:48 +0000)]
Merge "Add a method to start the captive portal login app." am: 30f2544f0c
am: f238a96172

Change-Id: Ie42fa5148bc7fcaf5b64b767c06aba9f618c0aa7

7 years agoMerge "Add a method to start the captive portal login app."
Hugo Benichi [Fri, 19 May 2017 02:39:29 +0000 (02:39 +0000)]
Merge "Add a method to start the captive portal login app."
am: 30f2544f0c

Change-Id: I7bc42e7f9cbc3635684257b920ea4a1ba7b55740

7 years agoMerge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9 am: 3d55c5539c
Lorenzo Colitti [Fri, 19 May 2017 02:34:58 +0000 (02:34 +0000)]
Merge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9 am: 3d55c5539c
am: b7535c86a0

Change-Id: I4caf9f55edeb51365293558db9d7d028b61c501c

7 years agoMerge "Add a method to start the captive portal login app."
Hugo Benichi [Fri, 19 May 2017 02:29:19 +0000 (02:29 +0000)]
Merge "Add a method to start the captive portal login app."

7 years agoMerge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9
Lorenzo Colitti [Fri, 19 May 2017 02:25:32 +0000 (02:25 +0000)]
Merge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9
am: 3d55c5539c

Change-Id: If07a9e0f400c434fd7df6f52dbd43a6dab1b4d51

7 years agoMerge "Add test coverage for explicitlySelected networks."
Lorenzo Colitti [Fri, 19 May 2017 02:15:53 +0000 (02:15 +0000)]
Merge "Add test coverage for explicitlySelected networks."
am: 1bc1936ae9

Change-Id: I42ce887005325eee9fb1a60762cee375cff176a6

7 years agoMerge "Add test coverage for explicitlySelected networks."
Lorenzo Colitti [Fri, 19 May 2017 02:05:54 +0000 (02:05 +0000)]
Merge "Add test coverage for explicitlySelected networks."

7 years agoAdd a method to start the captive portal login app.
Lorenzo Colitti [Thu, 27 Apr 2017 05:30:21 +0000 (14:30 +0900)]
Add a method to start the captive portal login app.

Bug: 36203355
Bug: 36656914
Test: ConnectivityServiceTest (including new test) passes
Change-Id: Ide82858af67024623560ab79beea27c201b63447
Merged-In: I82a9a9a8da47870ba3f1bbef5941b37e970c844f

(cherry picked from commit 4734cdbbc38752765376aedb0d5208463674535e)

7 years agoImplement stopStreaming API for MBMS
Hall Liu [Thu, 18 May 2017 01:15:27 +0000 (18:15 -0700)]
Implement stopStreaming API for MBMS

Test: testapps
Change-Id: Ic0477bf489a89a67697a318ff0fab065e0327e08

7 years agoMerge "Optimize latency when closing panel with animation" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 00:32:43 +0000 (00:32 +0000)]
Merge "Optimize latency when closing panel with animation" into oc-dev
am: 6c0aba7d4f

Change-Id: I14488940604c73345ec559bacb1cc7e2cf272ca5

7 years agoMerge "Optimize latency when closing panel with animation" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 00:24:12 +0000 (00:24 +0000)]
Merge "Optimize latency when closing panel with animation" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 18 May 2017 23:59:17 +0000 (23:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: d4c3c6e1b1  -s ours

Change-Id: I3d2ad4363209ff05fc2dd5f50f0173ff6c748902

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 18 May 2017 23:56:47 +0000 (23:56 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 75e1c53fa8  -s ours

Change-Id: I09b7d1b6e45a95538eb722e95c7a7da22f55ce6b

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 23:47:31 +0000 (23:47 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 23:46:42 +0000 (23:46 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Introduce early exit path for non resource path." into oc-dev
Seigo Nonaka [Thu, 18 May 2017 23:39:41 +0000 (23:39 +0000)]
Merge "Introduce early exit path for non resource path." into oc-dev
am: 01d5b3d2af

Change-Id: I07120a86307dd397862e0d341763d0048b066845

7 years agoMerge "Introduce early exit path for non resource path." into oc-dev
TreeHugger Robot [Thu, 18 May 2017 23:30:08 +0000 (23:30 +0000)]
Merge "Introduce early exit path for non resource path." into oc-dev

7 years agoMerge "Workaround issue with pip overlay not hiding cleanly." into oc-dev
Winson Chung [Thu, 18 May 2017 23:29:36 +0000 (23:29 +0000)]
Merge "Workaround issue with pip overlay not hiding cleanly." into oc-dev
am: 99a885b5d6

Change-Id: I867ea37ccf803f8e43b2a2a1c2b5099f2711a4d8

7 years agoMerge "Fixing issue with double tapping PiP." into oc-dev
Winson Chung [Thu, 18 May 2017 23:26:20 +0000 (23:26 +0000)]
Merge "Fixing issue with double tapping PiP." into oc-dev
am: 39d9ae20a6

Change-Id: Ibf0a355d5b171e360599620ce90aa7aee127e835

7 years agoMerge "Workaround issue with pip overlay not hiding cleanly." into oc-dev
Winson Chung [Thu, 18 May 2017 23:15:27 +0000 (23:15 +0000)]
Merge "Workaround issue with pip overlay not hiding cleanly." into oc-dev

7 years agoMerge "Fixing issue with double tapping PiP." into oc-dev
Winson Chung [Thu, 18 May 2017 23:14:54 +0000 (23:14 +0000)]
Merge "Fixing issue with double tapping PiP." into oc-dev

7 years agoFixing regression in Recents preloading.
Winson Chung [Thu, 18 May 2017 22:47:14 +0000 (15:47 -0700)]
Fixing regression in Recents preloading.

- Changes in the CommandQueue callbacks resulted in the default
  implementation of preloadRecentApps() to be called instead of the
  actual implementation in the Recents component.
- Removing extraneous methods in the interface called from other parts of
  SystemUI.

Bug: 38390446
Test: Launch Recents, ensure that preloading is hit first on touch down on
      the button

Change-Id: I28f7ac47eafa76a53343505f3352760e6510c213

7 years agoAdding cached value for current user for per-SysUI process components.
Winson Chung [Thu, 18 May 2017 21:29:43 +0000 (14:29 -0700)]
Adding cached value for current user for per-SysUI process components.

- Also ensuring that we don't do additional work for non-current users when
  the task stack changes.

Bug: 38390446
Test: Launch Recents in multiple users, ensure that it works and does not
      make a binder call to get the current user id

Change-Id: If075675edc3874d809bad30d0aa564a8e59771d3

7 years agoTake snapshot when screen is turning off
Jorim Jaggi [Wed, 17 May 2017 15:25:32 +0000 (17:25 +0200)]
Take snapshot when screen is turning off

Since we can't take a snapshot when screen is turned off, we need
to snapshot before we are turning the screen off. For this, we
- Add a callback from DisplayPowerController to give policy a
chance to do something before display will be turned off.
- Implement this callback by taking snapshots of all visible
tasks.

Test: Inspect logs/traces about screen off blocking to make sure
callback is working correctly.
Test: Insert artificial 500ms delay in onScreenTurningOff and make
sure we are unblocking screen off when turning on screen in the
meantime.
Test: Open Maps, go to recents, open maps again, scroll to another
location, toggle power button, make sure the old location isn't
shown during unlock.

Change-Id: I489f31358f838d418f894f996495946084f136a4
Fixes: 37107783

7 years agoMerge "Fix ordering of notifying dismiss callback" into oc-dev
Jorim Jaggi [Thu, 18 May 2017 22:39:08 +0000 (22:39 +0000)]
Merge "Fix ordering of notifying dismiss callback" into oc-dev
am: e85f8eb0ca

Change-Id: Ia851bbedb5fc429ea05eb0b1eaa5cbcddec7b961

7 years agoMerge "Fix ordering of notifying dismiss callback" into oc-dev
Jorim Jaggi [Thu, 18 May 2017 22:25:46 +0000 (22:25 +0000)]
Merge "Fix ordering of notifying dismiss callback" into oc-dev

7 years agoDO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"
Michael Wachenschwanz [Thu, 18 May 2017 22:09:18 +0000 (22:09 +0000)]
DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"

This reverts commit 101e38cbeceb0e1c0a27f1917d9ab0aabed26e49.

Bug: 37298089
Change-Id: Ia468d50fd1e4ca2ffa6145967bf3c847ed1929b8

7 years agoOptimize latency when closing panel with animation
Jorim Jaggi [Tue, 16 May 2017 12:23:19 +0000 (14:23 +0200)]
Optimize latency when closing panel with animation

The interpolator we chose had a very slow easy out where it
generated out frame with mExpandedHeight=0.3 pixels. We add a
check there and stop the animation immediately if this happens.

Furthermore, we just use a simple post when closing the panel
to not add to much latency. The frame will be shown in any case
since we are already in animation/input callback, such that a post
will be executed after the frame has been sent to RT.

Test: Capture trace, unlock phone, make sure no delays
Change-Id: I9fc45f4b081bd6143da1ba99e9bc652a9f64e4a7
Fixes: 38294347

7 years agoPurge StoreWriteQueue items to avoid system health issues
Jorim Jaggi [Thu, 18 May 2017 21:58:09 +0000 (23:58 +0200)]
Purge StoreWriteQueue items to avoid system health issues

If queue gets too deep we may run out of memory or cause other
system health issues.

Test: TaskSnapshotPersisterLoaderTest
Bug: 38416992
Bug: 37631016
Change-Id: I725c9a458f78af2e625f2451bb0030176035f596

7 years agoMerge "Also pin vdex file for camera" am: d4ae914be2 am: a433a9d9f4
Calin Juravle [Thu, 18 May 2017 21:29:46 +0000 (21:29 +0000)]
Merge "Also pin vdex file for camera" am: d4ae914be2 am: a433a9d9f4
am: d7a40aced2

Change-Id: I682843c8b76fc7249d6210aad2b344e463c8966a

7 years agoMerge "Also pin vdex file for camera" am: d4ae914be2
Calin Juravle [Thu, 18 May 2017 21:21:11 +0000 (21:21 +0000)]
Merge "Also pin vdex file for camera" am: d4ae914be2
am: a433a9d9f4

Change-Id: I943815b1e8b29734224d49140a667bf4d7d23b8f

7 years agoMerge "Also pin vdex file for camera"
Calin Juravle [Thu, 18 May 2017 21:12:05 +0000 (21:12 +0000)]
Merge "Also pin vdex file for camera"
am: d4ae914be2

Change-Id: I0d1a687ea2d90e968fe4e9705de223dc8b181238

7 years agoAlso pin vdex file for camera
Calin Juravle [Tue, 16 May 2017 03:20:50 +0000 (20:20 -0700)]
Also pin vdex file for camera

Test: device boots, manually confirming the pinning is successful
Bug: 33168521

(cherry picked from commit 8e0f959f76a9661fd10178ce9be44dbe1bc0c74f)

Change-Id: Ib3f36a1ae7f756993a0daa6868e2e2134d3a7578

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 May 2017 21:05:59 +0000 (14:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: I50fea21ca95688f8c59dba0ffda049f7551b8c5e
Auto-generated-cl: translation import

7 years agoMerge "Also pin vdex file for camera"
Calin Juravle [Thu, 18 May 2017 21:03:48 +0000 (21:03 +0000)]
Merge "Also pin vdex file for camera"

7 years agoFix "launcher starting on work profile"
Makoto Onuki [Thu, 18 May 2017 20:56:30 +0000 (13:56 -0700)]
Fix "launcher starting on work profile"

Test: Repeat "adb install -r Velvet.apk" on 5x
Fix 37893215

Change-Id: I1a932fdc7c168542e8b71ca8daffbca9ee534b30

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 18 May 2017 20:18:53 +0000 (20:18 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: a239ed1c79  -s ours

Change-Id: Ic6c5ebc4242cdf2033a0fd272b842de1f482b396

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 20:10:29 +0000 (20:10 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev