OSDN Git Service

android-x86/frameworks-base.git
7 years agoDO NOT MERGE ANYWHERE: Listen TRANSPORT_BLUETOOTH network change in GnssLocationProvi...
Zheng Zhang [Thu, 31 Aug 2017 18:14:38 +0000 (18:14 +0000)]
DO NOT MERGE ANYWHERE: Listen TRANSPORT_BLUETOOTH network change in GnssLocationProvider am: 03c0f16f37  -s ours am: d877297ad4  -s ours am: 6f94a3740a  -s ours am: 2a540e9970  -s ours
am: 51c6928864  -s ours

Change-Id: Ica0c834783c27e393e6d555c9be0504482d91121

7 years agoMerge "Fix issue #65055576: VoiceInteractionManagerService sets..." into oc-mr1-dev
Dianne Hackborn [Thu, 31 Aug 2017 17:58:08 +0000 (17:58 +0000)]
Merge "Fix issue #65055576: VoiceInteractionManagerService sets..." into oc-mr1-dev
am: 9d484f015f

Change-Id: Ib88378916ae9ffbe41253ac0e6dc5e9c8229e700

7 years agoDO NOT MERGE ANYWHERE: Listen TRANSPORT_BLUETOOTH network change in GnssLocationProvi...
Zheng Zhang [Thu, 31 Aug 2017 17:47:16 +0000 (17:47 +0000)]
DO NOT MERGE ANYWHERE: Listen TRANSPORT_BLUETOOTH network change in GnssLocationProvider am: 03c0f16f37  -s ours am: d877297ad4  -s ours am: 6f94a3740a  -s ours
am: 2a540e9970  -s ours

Change-Id: Iea7e5e533da23bc64fcafe03d59297ae8d5d87da

7 years agoMerge "Update the work icon." into oc-mr1-dev
Daniel Nishi [Thu, 31 Aug 2017 17:45:51 +0000 (17:45 +0000)]
Merge "Update the work icon." into oc-mr1-dev
am: f19edfdab0

Change-Id: Idcbecc8272cfd5fcc3a78f1a9e536cff55917bcf

7 years agoMerge "Fix fingerprint error messages on Keyguard / AOD" into oc-mr1-dev
Kevin Chyn [Thu, 31 Aug 2017 17:39:51 +0000 (17:39 +0000)]
Merge "Fix fingerprint error messages on Keyguard / AOD" into oc-mr1-dev
am: db25b9fb3b

Change-Id: Id7b23cd947afaba4fbdf9bccaeaf355ef3ae1c1e

7 years agoDO NOT MERGE ANYWHERE: Listen TRANSPORT_BLUETOOTH network change in GnssLocationProvi...
Zheng Zhang [Thu, 31 Aug 2017 17:36:50 +0000 (17:36 +0000)]
DO NOT MERGE ANYWHERE: Listen TRANSPORT_BLUETOOTH network change in GnssLocationProvider am: 03c0f16f37  -s ours am: d877297ad4  -s ours
am: 6f94a3740a  -s ours

Change-Id: I12d33400af3e2f3c358839380ddee7fb8791e839

7 years agoMerge "Merge "Fix meteredness bugs in updateNetworkRulesNL()." into oc-mr1-dev am...
Android Build Merger (Role) [Thu, 31 Aug 2017 17:25:49 +0000 (17:25 +0000)]
Merge "Merge "Fix meteredness bugs in updateNetworkRulesNL()." into oc-mr1-dev am: 03a5cb51c8" into oc-mr1-dev-plus-aosp

7 years agoMerge "Fix issue #65055576: VoiceInteractionManagerService sets..." into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 17:23:26 +0000 (17:23 +0000)]
Merge "Fix issue #65055576: VoiceInteractionManagerService sets..." into oc-mr1-dev

7 years agoFix issue #65055576: VoiceInteractionManagerService sets...
Dianne Hackborn [Wed, 30 Aug 2017 23:21:28 +0000 (16:21 -0700)]
Fix issue #65055576: VoiceInteractionManagerService sets...

...VOICE_RECOGNITION_SERVICE that is needed for SearchSpeechServices

System setup was incorrectly completely runing off
VoiceInteractionManagerService if the associated feature is not set,
but the service needs to always be running, and instead rely on
the existing logic of reducing functionality if it should not be
running full voice interaction services.

Test: manually booted and ran
Bug: 65055576

Change-Id: I9a83216d45689440c71d657ba2721faf0662b0ff

7 years agoMerge "Fix meteredness bugs in updateNetworkRulesNL()." into oc-mr1-dev
Jeff Sharkey [Thu, 31 Aug 2017 17:21:03 +0000 (17:21 +0000)]
Merge "Fix meteredness bugs in updateNetworkRulesNL()." into oc-mr1-dev
am: 03a5cb51c8

Change-Id: I87342ac5836c4aa698552be70f75e9d5f5ac114c

7 years agoMerge "Merge "Test: Drag on the divider line." am: 1fa3a60f05 am: 290bfff7d0 am:...
Android Build Merger (Role) [Thu, 31 Aug 2017 17:20:58 +0000 (17:20 +0000)]
Merge "Merge "Test: Drag on the divider line." am: 1fa3a60f05 am: 290bfff7d0 am: 8ad2dc3615" into oc-mr1-dev-plus-aosp

7 years agoMerge "Update the work icon." into oc-mr1-dev
Daniel Nishi [Thu, 31 Aug 2017 17:20:14 +0000 (17:20 +0000)]
Merge "Update the work icon." into oc-mr1-dev

7 years agoMerge "Test: Drag on the divider line." am: 1fa3a60f05 am: 290bfff7d0
wuliang [Thu, 31 Aug 2017 17:16:28 +0000 (17:16 +0000)]
Merge "Test: Drag on the divider line." am: 1fa3a60f05 am: 290bfff7d0
am: 8ad2dc3615

Change-Id: Ibc0b05c150de915d15d1aff13959797a86b1b775

7 years agoMerge "Update DisplayContent tap exclude region on window resize" into oc-mr1-dev
David Stevens [Thu, 31 Aug 2017 17:10:28 +0000 (17:10 +0000)]
Merge "Update DisplayContent tap exclude region on window resize" into oc-mr1-dev
am: 43bc0adc9d

Change-Id: Ifc88f5ea9a359fce64dd63b471488dd5cc4c9912

7 years agoMerge "Add bt battery level to QS icons" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 17:04:47 +0000 (17:04 +0000)]
Merge "Add bt battery level to QS icons" into oc-mr1-dev
am: 984b76f62e

Change-Id: If156c3f183fa4efa489202ef90b75ce758ff5b16

7 years agoMerge "Test: Drag on the divider line." am: 1fa3a60f05
wuliang [Thu, 31 Aug 2017 17:04:19 +0000 (17:04 +0000)]
Merge "Test: Drag on the divider line." am: 1fa3a60f05
am: 290bfff7d0

Change-Id: Ifcb2f065e5be1195e2bd899bd9b9052b2712631f

7 years agoMerge "Fix fingerprint error messages on Keyguard / AOD" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 17:04:10 +0000 (17:04 +0000)]
Merge "Fix fingerprint error messages on Keyguard / AOD" into oc-mr1-dev

7 years agoMerge "Reduce paddings on 320dp screens, we don't have much space" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 16:57:53 +0000 (16:57 +0000)]
Merge "Reduce paddings on 320dp screens, we don't have much space" into oc-mr1-dev
am: 04094078be

Change-Id: I9e538baa5f0e1f17860c6568fd4ed1af21c59387

7 years agoMerge "Test: Drag on the divider line."
wuliang [Thu, 31 Aug 2017 16:54:54 +0000 (16:54 +0000)]
Merge "Test: Drag on the divider line."
am: 1fa3a60f05

Change-Id: I8c33a5bddf76f70eec8c21fe850887b51fdfaa74

7 years agoMerge "Don't auto-expand QS from detail panels" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 16:48:04 +0000 (16:48 +0000)]
Merge "Don't auto-expand QS from detail panels" into oc-mr1-dev
am: 8b2d853bee

Change-Id: I0f743a26a38b999ed50df67cf12c4d855475b297

7 years agoMerge "Test: Drag on the divider line."
Treehugger Robot [Thu, 31 Aug 2017 16:43:44 +0000 (16:43 +0000)]
Merge "Test: Drag on the divider line."

7 years agoMerge "Fix carrier text rtl alignment" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 16:41:34 +0000 (16:41 +0000)]
Merge "Fix carrier text rtl alignment" into oc-mr1-dev
am: 7578b3db2c

Change-Id: I9af801b1e6665c690d6df72313bb9b0a71064946

7 years agoMerge "Fix meteredness bugs in updateNetworkRulesNL()." into oc-mr1-dev
Jeff Sharkey [Thu, 31 Aug 2017 16:38:02 +0000 (16:38 +0000)]
Merge "Fix meteredness bugs in updateNetworkRulesNL()." into oc-mr1-dev

7 years agoMerge "Update DisplayContent tap exclude region on window resize" into oc-mr1-dev
David Stevens [Thu, 31 Aug 2017 16:37:12 +0000 (16:37 +0000)]
Merge "Update DisplayContent tap exclude region on window resize" into oc-mr1-dev

7 years agoMerge "Add bt battery level to QS icons" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 16:36:57 +0000 (16:36 +0000)]
Merge "Add bt battery level to QS icons" into oc-mr1-dev

7 years agoMerge "Reduce paddings on 320dp screens, we don't have much space" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 16:35:37 +0000 (16:35 +0000)]
Merge "Reduce paddings on 320dp screens, we don't have much space" into oc-mr1-dev

7 years agoMerge "Don't auto-expand QS from detail panels" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 16:31:26 +0000 (16:31 +0000)]
Merge "Don't auto-expand QS from detail panels" into oc-mr1-dev

7 years agoMerge "Fix carrier text rtl alignment" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 16:31:10 +0000 (16:31 +0000)]
Merge "Fix carrier text rtl alignment" into oc-mr1-dev

7 years agoMerge "Fix multi user battery percentage" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 15:53:18 +0000 (15:53 +0000)]
Merge "Fix multi user battery percentage" into oc-mr1-dev
am: e603a67a62

Change-Id: Idb21e3af999e42d90e0f6fd453b13183bcdd8489

7 years agoMerge "Unlock managed profile keystore when user is unlocked." into oc-mr1-dev
Pavel Grafov [Thu, 31 Aug 2017 15:48:18 +0000 (15:48 +0000)]
Merge "Unlock managed profile keystore when user is unlocked." into oc-mr1-dev
am: 060b87b068

Change-Id: Ib9b53f97f09dc31563ea53d760067027ac2dde67

7 years agoMerge "Merge "Fix tuner DND UI" into oc-mr1-dev am: 5285e053b3" into oc-mr1-dev-plus...
Android Build Merger (Role) [Thu, 31 Aug 2017 15:42:40 +0000 (15:42 +0000)]
Merge "Merge "Fix tuner DND UI" into oc-mr1-dev am: 5285e053b3" into oc-mr1-dev-plus-aosp

7 years agoMerge "Merge changes I49057737,I68e3096d am: 50cf621704 am: f5dcc28b0c am: 30348a8abb...
Android Build Merger (Role) [Thu, 31 Aug 2017 15:39:42 +0000 (15:39 +0000)]
Merge "Merge changes I49057737,I68e3096d am: 50cf621704 am: f5dcc28b0c am: 30348a8abb" into oc-mr1-dev-plus-aosp

7 years agoMerge "Fix tuner DND UI" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 15:39:42 +0000 (15:39 +0000)]
Merge "Fix tuner DND UI" into oc-mr1-dev
am: 5285e053b3

Change-Id: Ic82ecc1588f79d49a78df63998633464c3f6dabc

7 years agoMerge "Fix multi user battery percentage" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 15:38:57 +0000 (15:38 +0000)]
Merge "Fix multi user battery percentage" into oc-mr1-dev

7 years agoMerge changes I49057737,I68e3096d am: 50cf621704 am: f5dcc28b0c
Andreas Gampe [Thu, 31 Aug 2017 15:35:58 +0000 (15:35 +0000)]
Merge changes I49057737,I68e3096d am: 50cf621704 am: f5dcc28b0c
am: 30348a8abb

Change-Id: I9755772ab8c8d4c3708ee2a65cda0b0d3f39d30e

7 years agoMerge "Unlock managed profile keystore when user is unlocked." into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 15:33:54 +0000 (15:33 +0000)]
Merge "Unlock managed profile keystore when user is unlocked." into oc-mr1-dev

7 years agoMerge "Fix wrong dump output of *Info#flags" into oc-mr1-dev
Yohei Yukawa [Thu, 31 Aug 2017 15:32:59 +0000 (15:32 +0000)]
Merge "Fix wrong dump output of *Info#flags" into oc-mr1-dev
am: c4a8b3625b

Change-Id: I43645394470ca01bd533da378ba9edc3abaa3a3b

7 years agoMerge "Fix tuner DND UI" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 15:28:56 +0000 (15:28 +0000)]
Merge "Fix tuner DND UI" into oc-mr1-dev

7 years agoMerge changes I49057737,I68e3096d am: 50cf621704
Andreas Gampe [Thu, 31 Aug 2017 15:27:52 +0000 (15:27 +0000)]
Merge changes I49057737,I68e3096d am: 50cf621704
am: f5dcc28b0c

Change-Id: Id25418e3def0b63a8c52671546968017cf350d18

7 years agoMerge "Fix wrong dump output of *Info#flags" into oc-mr1-dev
Yohei Yukawa [Thu, 31 Aug 2017 15:26:07 +0000 (15:26 +0000)]
Merge "Fix wrong dump output of *Info#flags" into oc-mr1-dev

7 years agoFix wrong dump output of *Info#flags
Yohei Yukawa [Thu, 31 Aug 2017 07:26:01 +0000 (00:26 -0700)]
Fix wrong dump output of *Info#flags

This CL follows up to a previous CL [1] that introduced an ability to
control filtering level of
 - ActivityInfo#dump()
 - ApplicationInfo#dump()
 - ComponentInfo#dump()
 - ProviderInfo#dump()
 - ResolveInfo#dump()
 - ServiceInfo#dump()
but also masked following outputs as an unexpected side effect.
 - ActivityInfo#flags
 - ApplicationInfo#flags
 - ProviderInfo#flags
 - ServiceInfo#flags

With this CL, above *Info#flags are correctly dumped again.

 [1]: I0d01565babb87e68b840c9756a2ea730d699efc7
      6ac42aeed905181b484f97a53db57a17134ef7a8

Test: Manually tested as follows.
 1. make -j SoftKeyboard
 2. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
 3. adb shell dumpsys input_method
    -> Check 'com.example.android.softkeyboard' section
      -> make sure ServiceInfo#flags=0x0
      -> make sure ApplicationInfo#flags=0x38a8be44
           FLAG_HAS_CODE (1<<2)
           FLAG_ALLOW_CLEAR_USER_DATA (1<<6)
           FLAG_SUPPORTS_SMALL_SCREENS (1<<9)
           FLAG_SUPPORTS_NORMAL_SCREENS (1<<10)
           FLAG_SUPPORTS_LARGE_SCREENS (1<<11)
           FLAG_RESIZEABLE_FOR_SCREENS (1<<12)
           FLAG_SUPPORTS_SCREEN_DENSITIES (1<<13)
           FLAG_ALLOW_BACKUP (1<<15)
           FLAG_SUPPORTS_XLARGE_SCREENS (1<<19)
           FLAG_STOPPED (1<<21)
           FLAG_SUPPORTS_RTL (1<<22)
           FLAG_INSTALLED (1<<23)
           FLAG_FULL_BACKUP_ONLY (1<<26)
           FLAG_EXTRACT_NATIVE_LIBS (1<<28)
           FLAG_HARDWARE_ACCELERATED (1<<29)
Fixes: 65057767
Change-Id: Icd1e18237e873844791ccdea7f424b6fe76137c0

7 years agoMerge "De-couple data enabled from VT settings." into oc-mr1-dev
Tyler Gunn [Thu, 31 Aug 2017 15:22:44 +0000 (15:22 +0000)]
Merge "De-couple data enabled from VT settings." into oc-mr1-dev
am: e0f1f26d87

Change-Id: I424cd828a7616c2947367bdb4a82a62cf17847e7

7 years agoMerge changes I49057737,I68e3096d
Andreas Gampe [Thu, 31 Aug 2017 15:15:31 +0000 (15:15 +0000)]
Merge changes I49057737,I68e3096d
am: 50cf621704

Change-Id: Id66d91bc326461dc3cae4cbae03f3d060761ea7f

7 years agoMerge "De-couple data enabled from VT settings." into oc-mr1-dev
Tyler Gunn [Thu, 31 Aug 2017 15:13:08 +0000 (15:13 +0000)]
Merge "De-couple data enabled from VT settings." into oc-mr1-dev

7 years agoMerge "Merge "Revert "Nat464Xlat: interface notification handler on ConnectivityServi...
Android Build Merger (Role) [Thu, 31 Aug 2017 15:02:30 +0000 (15:02 +0000)]
Merge "Merge "Revert "Nat464Xlat: interface notification handler on ConnectivityService"" am: 1d66352b40 am: 4c1b0ae343 am: de68a0a1af" into oc-mr1-dev-plus-aosp

7 years agoMerge changes I49057737,I68e3096d
Treehugger Robot [Thu, 31 Aug 2017 15:01:37 +0000 (15:01 +0000)]
Merge changes I49057737,I68e3096d

* changes:
  Frameworks: Clean up SystemProperties
  Frameworks: Add warning to SystemProperties.get

7 years agoMerge "Revert "Nat464Xlat: interface notification handler on ConnectivityService...
Hugo Benichi [Thu, 31 Aug 2017 14:58:48 +0000 (14:58 +0000)]
Merge "Revert "Nat464Xlat: interface notification handler on ConnectivityService"" am: 1d66352b40 am: 4c1b0ae343
am: de68a0a1af

Change-Id: Icff7a1fa8888654914fceaf324219ed6af3c95ed

7 years agoMerge "Clear pending activity options when retrieved in ActivityManagerService."...
Bryce Lee [Thu, 31 Aug 2017 14:54:15 +0000 (14:54 +0000)]
Merge "Clear pending activity options when retrieved in ActivityManagerService." into oc-mr1-dev
am: 7e0e6e904c

Change-Id: I4d8c8ee58d8d1618ea39342dca0434e6a286fc1b

7 years agoMerge "Revert "Nat464Xlat: interface notification handler on ConnectivityService...
Hugo Benichi [Thu, 31 Aug 2017 14:48:46 +0000 (14:48 +0000)]
Merge "Revert "Nat464Xlat: interface notification handler on ConnectivityService"" am: 1d66352b40
am: 4c1b0ae343

Change-Id: Ibb3a382ad45a708c63a3d7f4d3be0bf54881403a

7 years agoMerge "Clear pending activity options when retrieved in ActivityManagerService."...
Bryce Lee [Thu, 31 Aug 2017 14:43:02 +0000 (14:43 +0000)]
Merge "Clear pending activity options when retrieved in ActivityManagerService." into oc-mr1-dev

7 years agoMerge "Revert "Nat464Xlat: interface notification handler on ConnectivityService""
Hugo Benichi [Thu, 31 Aug 2017 14:39:18 +0000 (14:39 +0000)]
Merge "Revert "Nat464Xlat: interface notification handler on ConnectivityService""
am: 1d66352b40

Change-Id: I691095ce56e30e2fada93bc5500453f13ac51403

7 years agoMerge "Revert "Nat464Xlat: interface notification handler on ConnectivityService""
Hugo Benichi [Thu, 31 Aug 2017 14:31:24 +0000 (14:31 +0000)]
Merge "Revert "Nat464Xlat: interface notification handler on ConnectivityService""

7 years agoRevert "Nat464Xlat: interface notification handler on ConnectivityService"
Hugo Benichi [Thu, 31 Aug 2017 14:29:51 +0000 (14:29 +0000)]
Revert "Nat464Xlat: interface notification handler on ConnectivityService"

This reverts commit 771d5c2f0126ba692897c9716f4098ae6e3a870c due to b/65225023.

Change-Id: I6ca3780afb8d47b77219d6b5a06760042f684c4b

7 years agoMerge "Update UnlockMethodCache when screen turns off am: 08ae664365 am: 0550bddc95...
Android Build Merger (Role) [Thu, 31 Aug 2017 13:15:54 +0000 (13:15 +0000)]
Merge "Update UnlockMethodCache when screen turns off am: 08ae664365 am: 0550bddc95" into oc-mr1-dev-plus-aosp

7 years agoUpdate UnlockMethodCache when screen turns off am: 08ae664365
Kevin Chyn [Thu, 31 Aug 2017 13:11:34 +0000 (13:11 +0000)]
Update UnlockMethodCache when screen turns off am: 08ae664365
am: 83d0cd221f

Change-Id: I227539fdebcdebdaf8494c5ae2028752c0fb53f6

7 years agoUpdate UnlockMethodCache when screen turns off am: 08ae664365
Kevin Chyn [Thu, 31 Aug 2017 13:11:33 +0000 (13:11 +0000)]
Update UnlockMethodCache when screen turns off am: 08ae664365
am: 0550bddc95

Change-Id: Ie22adb274db36add9172ab53366517121f7dc7e3

7 years agoUpdate UnlockMethodCache when screen turns off
Kevin Chyn [Thu, 31 Aug 2017 12:59:00 +0000 (12:59 +0000)]
Update UnlockMethodCache when screen turns off
am: 08ae664365

Change-Id: I416497c2ffeca295b9620a6d1d6f9868935dd25a

7 years agoUpdate UnlockMethodCache when screen turns off
Kevin Chyn [Thu, 31 Aug 2017 12:59:00 +0000 (12:59 +0000)]
Update UnlockMethodCache when screen turns off
am: 08ae664365

Change-Id: I132358dc66f04cb2531e6d57ed8d2dd14947b62d

7 years agoUnlock managed profile keystore when user is unlocked.
Pavel Grafov [Wed, 23 Aug 2017 11:20:54 +0000 (12:20 +0100)]
Unlock managed profile keystore when user is unlocked.

With file based encryption when the user unlock the phone,
managed profile is already running (in a locked state). But
on full disk encryption devices, LSS attempts to unlock child
profile straight after unlocking user 0, which fails because
the profile is not yet running.

With this change once the profile gets unlocked (happens after
ActivityManagerService processes START_PROFILES_MSG message)
LSS will attempt to unlock its keystore.

Bug: 64722589
Test: manual, tried FDE and FBE devices with unified challenge.
Change-Id: Ic614cc3c6732a3db6aaf56fef1822e358d742510

7 years agoMerge "Skip handling recents toggle if a task is locked." into oc-mr1-dev
Winson Chung [Thu, 31 Aug 2017 04:46:29 +0000 (04:46 +0000)]
Merge "Skip handling recents toggle if a task is locked." into oc-mr1-dev
am: 8d1a86ca0f

Change-Id: I6e240465679b5050fdbcb6030e6a281fd5c27719

7 years agoMerge "Skip handling recents toggle if a task is locked." into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 04:34:43 +0000 (04:34 +0000)]
Merge "Skip handling recents toggle if a task is locked." into oc-mr1-dev

7 years agoMerge "Use isolated uid to set oom_score_adj" into oc-mr1-dev
Kenichi Ishibashi [Thu, 31 Aug 2017 04:12:40 +0000 (04:12 +0000)]
Merge "Use isolated uid to set oom_score_adj" into oc-mr1-dev
am: d60e2ede49

Change-Id: I5416ba83137d9983f4c76176c68abd8cf31f696d

7 years agoMerge "Shutdown more reliably" am: 549c3d2e4f am: 7e5b415861
Erik Kline [Thu, 31 Aug 2017 03:57:57 +0000 (03:57 +0000)]
Merge "Shutdown more reliably" am: 549c3d2e4f am: 7e5b415861
am: 024d6b8910

Change-Id: Ia05dcf01d2809a32c78b1a6a0826758f11555fa3

7 years agoMerge "Use isolated uid to set oom_score_adj" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 03:52:51 +0000 (03:52 +0000)]
Merge "Use isolated uid to set oom_score_adj" into oc-mr1-dev

7 years agoMerge "Shutdown more reliably" am: 549c3d2e4f
Erik Kline [Thu, 31 Aug 2017 03:45:23 +0000 (03:45 +0000)]
Merge "Shutdown more reliably" am: 549c3d2e4f
am: 7e5b415861

Change-Id: Id2bd17e649d28cc484292e1f1ec5644c014bc395

7 years agoMerge "Shutdown more reliably"
Erik Kline [Thu, 31 Aug 2017 03:30:55 +0000 (03:30 +0000)]
Merge "Shutdown more reliably"
am: 549c3d2e4f

Change-Id: I9ff7e6ee49bb88f9a63b269d57d5e91ed6ddec31

7 years agoMerge "Update icons to have rounded corner" into oc-mr1-dev
Fan Zhang [Thu, 31 Aug 2017 03:24:29 +0000 (03:24 +0000)]
Merge "Update icons to have rounded corner" into oc-mr1-dev
am: e61844e265

Change-Id: I310ca32a0c418a7631eeb4303221613ce25c74ed

7 years agoMerge "At STARTED_AS_NEXT, offload MediaPlayer.start() to a separate thread" into...
Wonsik Kim [Thu, 31 Aug 2017 03:13:34 +0000 (03:13 +0000)]
Merge "At STARTED_AS_NEXT, offload MediaPlayer.start() to a separate thread" into oc-mr1-dev
am: 52700a9795

Change-Id: I1691d29774c95fc87c1230ec85fbcf78838e6e42

7 years agoMerge "Update icons to have rounded corner" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 03:12:24 +0000 (03:12 +0000)]
Merge "Update icons to have rounded corner" into oc-mr1-dev

7 years agoMerge "Shutdown more reliably"
Treehugger Robot [Thu, 31 Aug 2017 03:11:51 +0000 (03:11 +0000)]
Merge "Shutdown more reliably"

7 years agoMerge "At STARTED_AS_NEXT, offload MediaPlayer.start() to a separate thread" into...
TreeHugger Robot [Thu, 31 Aug 2017 02:50:04 +0000 (02:50 +0000)]
Merge "At STARTED_AS_NEXT, offload MediaPlayer.start() to a separate thread" into oc-mr1-dev

7 years agoMerge "WebView: fix setSafeBrowsingWhitelist table in docs" into oc-mr1-dev
Nate Fischer [Thu, 31 Aug 2017 02:40:22 +0000 (02:40 +0000)]
Merge "WebView: fix setSafeBrowsingWhitelist table in docs" into oc-mr1-dev
am: 0899236129

Change-Id: I7ef05d97811a5ca15a3bfc01d8743c28fbefd243

7 years agoMerge "WebView: fix setSafeBrowsingWhitelist table in docs" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 02:28:11 +0000 (02:28 +0000)]
Merge "WebView: fix setSafeBrowsingWhitelist table in docs" into oc-mr1-dev

7 years agoUpdate UnlockMethodCache when screen turns off
Kevin Chyn [Thu, 31 Aug 2017 02:02:43 +0000 (19:02 -0700)]
Update UnlockMethodCache when screen turns off

Fixes: 65212307

Test: 1) add a temporary log in update()
2) turn off screen, make sure update() is called, and
   canSkipBouncer value is updated and correct

Change-Id: I576d2375d38e83f286ad1fc6aa25944326c3ef8f

7 years agoMerge "Adjusting PiP for the TV IME." into oc-mr1-dev
Winson Chung [Thu, 31 Aug 2017 01:41:51 +0000 (01:41 +0000)]
Merge "Adjusting PiP for the TV IME." into oc-mr1-dev
am: ca468f1983

Change-Id: I0869d84d5c7a41f7088dc27ca2e2e8355794c4bc

7 years agoFrameworks: Clean up SystemProperties
Andreas Gampe [Sat, 29 Jul 2017 21:14:39 +0000 (14:14 -0700)]
Frameworks: Clean up SystemProperties

Clean up SystemProperties.java. Add annotations.

Clean up SystemProperties.cpp. Refactor for proper C++11.
Make sure C-string key construction is properly reused. Use
android::base functionality for actual reading.

Fix the test script to refer to the right location. Add some
test coverage.

(cherry picked from commit 2e6b9cb56320a86f0c33da890f667e5c76c8285d)

Test: m
Test: frameworks/base/core/tests/systemproperties/run_core_systemproperties_test.sh --rebuild
Merged-In: I490577370da985f600fb1117e3c818d3f68bad5f
Change-Id: I490577370da985f600fb1117e3c818d3f68bad5f

7 years agoFrameworks: Add warning to SystemProperties.get
Andreas Gampe [Sat, 29 Jul 2017 01:20:37 +0000 (18:20 -0700)]
Frameworks: Add warning to SystemProperties.get

Add a warning that calling get() is unsafe when the system property
may not contain a valid UTF-encoded string.

(cherry picked from commit 6bf1cff1dd8cad0d2c6eb4f2cef28a97270e46b2)

Bug: 63177684
Test: m
Merged-In: I68e3096d770a32fe204be5c130a3ada9d3db7c0b
Change-Id: I68e3096d770a32fe204be5c130a3ada9d3db7c0b

7 years agoMerge "Adjusting PiP for the TV IME." into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 01:23:03 +0000 (01:23 +0000)]
Merge "Adjusting PiP for the TV IME." into oc-mr1-dev

7 years agoMerge "Fix up bar transitions on low end devices" into oc-mr1-dev
Jason Monk [Thu, 31 Aug 2017 01:13:22 +0000 (01:13 +0000)]
Merge "Fix up bar transitions on low end devices" into oc-mr1-dev
am: e087252671

Change-Id: I5c66f38c731585cf7c3b05b6f5c64d5286931757

7 years agoMerge "Fix up bar transitions on low end devices" into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 01:03:26 +0000 (01:03 +0000)]
Merge "Fix up bar transitions on low end devices" into oc-mr1-dev

7 years agoMerge "Fixes NPE thrown in sort if new targets are added." into oc-mr1-dev
Kang Li [Thu, 31 Aug 2017 00:52:18 +0000 (00:52 +0000)]
Merge "Fixes NPE thrown in sort if new targets are added." into oc-mr1-dev
am: f10b0d000e

Change-Id: I6befef8d1f27666e5a6c721378ba5c02cc769947

7 years agoMerge "Fixes NPE thrown in sort if new targets are added." into oc-mr1-dev
TreeHugger Robot [Thu, 31 Aug 2017 00:34:57 +0000 (00:34 +0000)]
Merge "Fixes NPE thrown in sort if new targets are added." into oc-mr1-dev

7 years agoAt STARTED_AS_NEXT, offload MediaPlayer.start() to a separate thread
Wonsik Kim [Wed, 30 Aug 2017 23:28:01 +0000 (16:28 -0700)]
At STARTED_AS_NEXT, offload MediaPlayer.start() to a separate thread

Fixes: 65210445
Fixes: 64915666
Test: adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner'
Change-Id: I73f1cebdd4b990e28f8d466f129e781cba2b5bbf

7 years agoMerge "ATV a11y shortcut (CL 1 of 3): Update key chord" into oc-mr1-dev
Zhen Sun [Thu, 31 Aug 2017 00:12:12 +0000 (00:12 +0000)]
Merge "ATV a11y shortcut (CL 1 of 3): Update key chord" into oc-mr1-dev
am: 9174e87722

Change-Id: I1afc6fc7cc2faa929dd343b8cb9caead024e6dc1

7 years agoUpdate DisplayContent tap exclude region on window resize
David Stevens [Fri, 17 Mar 2017 02:00:20 +0000 (19:00 -0700)]
Update DisplayContent tap exclude region on window resize

Bug: 64841677
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testLaunchExternalDisplayActivityWhilePrimaryOff
Merged-In: I9c512cef707975f2fcb8a6febc4b89b47fda2dcc
Change-Id: I9c512cef707975f2fcb8a6febc4b89b47fda2dcc

7 years agoMerge "Add static lock in PowerProfile" into oc-mr1-dev
jackqdyulei [Thu, 31 Aug 2017 00:06:06 +0000 (00:06 +0000)]
Merge "Add static lock in PowerProfile" into oc-mr1-dev
am: dcadf1934a

Change-Id: I3ae1a99852d5c9c4a87ee402b3e2e1cc88b8bd0d

7 years agoMerge "resolve merge conflicts of 490d397d284f to oc-dr1-dev" into oc-dr1-dev am...
Phil Weaver [Wed, 30 Aug 2017 23:56:13 +0000 (23:56 +0000)]
Merge "resolve merge conflicts of 490d397d284f to oc-dr1-dev" into oc-dr1-dev am: 0ddaa63b67
am: 666e08ab15  -s ours

Change-Id: Ie37024fa53efb6a243b4bad6bd9e826005630d1e

7 years agoMerge "resolve merge conflicts of 490d397d284f to oc-dr1-dev" into oc-dr1-dev am...
Phil Weaver [Wed, 30 Aug 2017 23:46:49 +0000 (23:46 +0000)]
Merge "resolve merge conflicts of 490d397d284f to oc-dr1-dev" into oc-dr1-dev am: 0ddaa63b67  -s ours
am: 3eda5f4fe8  -s ours

Change-Id: I9eadb28fed6d9e1e7dda322467508449ac12bd59

7 years agoUpdate icons to have rounded corner
Fan Zhang [Wed, 30 Aug 2017 23:41:20 +0000 (16:41 -0700)]
Update icons to have rounded corner

Bug: 65204006
Test: visual
Change-Id: I97baac238495b5a03e91edb18e0a3482f67edf71

7 years agoMerge "Add heif format to ExifInterface" into oc-mr1-dev
Chong Zhang [Wed, 30 Aug 2017 23:40:46 +0000 (23:40 +0000)]
Merge "Add heif format to ExifInterface" into oc-mr1-dev
am: e034a1f5ed

Change-Id: I36fb2559b52bb778acff72954012704da8a85ff9

7 years agoMerge "resolve merge conflicts of 490d397d284f to oc-dr1-dev" into oc-dr1-dev
Phil Weaver [Wed, 30 Aug 2017 23:40:22 +0000 (23:40 +0000)]
Merge "resolve merge conflicts of 490d397d284f to oc-dr1-dev" into oc-dr1-dev
am: 0ddaa63b67

Change-Id: I84cdc92d542597541266fe506b4a3af160d970b2

7 years agoMerge "ATV a11y shortcut (CL 1 of 3): Update key chord" into oc-mr1-dev
Zhen Sun [Wed, 30 Aug 2017 23:37:44 +0000 (23:37 +0000)]
Merge "ATV a11y shortcut (CL 1 of 3): Update key chord" into oc-mr1-dev

7 years agoMerge "Add static lock in PowerProfile" into oc-mr1-dev
TreeHugger Robot [Wed, 30 Aug 2017 23:35:07 +0000 (23:35 +0000)]
Merge "Add static lock in PowerProfile" into oc-mr1-dev

7 years agoFix multi user battery percentage
Jason Monk [Wed, 30 Aug 2017 23:18:00 +0000 (19:18 -0400)]
Fix multi user battery percentage

Test: Use battery percentage with multi user, like at all
Change-Id: Ie59d2409e79469138c04450528ed3e9f4e1c06aa
Fixes: 64442190

7 years agoFix meteredness bugs in updateNetworkRulesNL().
Jeff Sharkey [Wed, 30 Aug 2017 22:28:26 +0000 (16:28 -0600)]
Fix meteredness bugs in updateNetworkRulesNL().

The logic in that method appears to have become broken at some
point; refactor it to apply all known network policies, and then
perform one last pass to handle any metered networks that didn't
have policies; typically Wi-Fi networks.

Test: cts-tradefed run commandAndExit cts-dev -m CtsHostsideNetworkTests
Bug: 64274313
Change-Id: Id9cbcc6fdfe3793e058f52505c9edd250bed7089

7 years agoMerge "resolve merge conflicts of 490d397d284f to oc-dr1-dev" into oc-dr1-dev
Phil Weaver [Wed, 30 Aug 2017 23:10:03 +0000 (23:10 +0000)]
Merge "resolve merge conflicts of 490d397d284f to oc-dr1-dev" into oc-dr1-dev
am: 0ddaa63b67  -s ours

Change-Id: Id403b03e837eafab80ed20271543e82cb74c260b

7 years agoFix tuner DND UI
Jason Monk [Wed, 30 Aug 2017 23:09:01 +0000 (19:09 -0400)]
Fix tuner DND UI

Test: visual
Change-Id: Ia90209b487aeee4ee162c54aa6cf923551f50d31
Fixes: 62588404

7 years agoMerge "Don't touch auto dim on app change" into oc-mr1-dev
Jason Monk [Wed, 30 Aug 2017 23:06:01 +0000 (23:06 +0000)]
Merge "Don't touch auto dim on app change" into oc-mr1-dev
am: f7dc1a3290

Change-Id: I25ead35722e66e27361f47eca9ee440bc6b14494

7 years agoMerge "Add heif format to ExifInterface" into oc-mr1-dev
TreeHugger Robot [Wed, 30 Aug 2017 23:05:12 +0000 (23:05 +0000)]
Merge "Add heif format to ExifInterface" into oc-mr1-dev

7 years agoMerge "Update night display intensity coefficients" into oc-mr1-dev
Christine Franks [Wed, 30 Aug 2017 22:58:41 +0000 (22:58 +0000)]
Merge "Update night display intensity coefficients" into oc-mr1-dev
am: 0bb97d9e0b

Change-Id: I858cc44d6037c3b3c33007f71b0721a5663c0740