OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge textclassifier/logging/ into textclassifier/
Abodunrinwa Toki [Fri, 2 Mar 2018 13:53:21 +0000 (13:53 +0000)]
Merge textclassifier/logging/ into textclassifier/

This is based on feedback on Ib5af1ec80a38432d1201fbc913acdc3597d6ba82

Bug: 74466564
Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.LoggerTest
Merged-In: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8
Change-Id: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8

6 years agoMerge "Fixes KeyButtonView to dismiss ripple after aborting for long press" into...
TreeHugger Robot [Fri, 9 Mar 2018 23:20:26 +0000 (23:20 +0000)]
Merge "Fixes KeyButtonView to dismiss ripple after aborting for long press" into pi-dev

6 years agoMerge "frameworks/base: Fix AudioService JNI leaks" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 23:09:01 +0000 (23:09 +0000)]
Merge "frameworks/base: Fix AudioService JNI leaks" into pi-dev

6 years agoMerge "Rework thumbnail cleanup" into oc-mr1-dev
Marco Nelissen [Fri, 9 Mar 2018 23:00:20 +0000 (23:00 +0000)]
Merge "Rework thumbnail cleanup" into oc-mr1-dev
am: b20a329f4c

Change-Id: I17b77312edb4fa03af1e89543ed5c27f4501d51c

6 years agoMerge changes from topic "viewpager_state" into oc-dev am: 77edd5fabe am: 5811482acf
Alan Viverette [Fri, 9 Mar 2018 22:31:59 +0000 (22:31 +0000)]
Merge changes from topic "viewpager_state" into oc-dev am: 77edd5fabe am: 5811482acf
am: ad3035353d  -s ours

Change-Id: I3a9299aac572f54e45b36e11cb2b8d015b181739

6 years agoMerge "Fix min handling in AbsSeekBar" into pi-dev
Makoto Onuki [Fri, 9 Mar 2018 21:59:16 +0000 (21:59 +0000)]
Merge "Fix min handling in AbsSeekBar" into pi-dev

6 years agoMerge "Check for null pkgList in fixSeInfoLocked()" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 21:27:24 +0000 (21:27 +0000)]
Merge "Check for null pkgList in fixSeInfoLocked()" into pi-dev

6 years agoMerge "Rework thumbnail cleanup" into oc-mr1-dev
Marco Nelissen [Fri, 9 Mar 2018 21:26:07 +0000 (21:26 +0000)]
Merge "Rework thumbnail cleanup" into oc-mr1-dev

6 years agoMerge "Removing EXPLICT tag from Batterystats metric names." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 21:17:36 +0000 (21:17 +0000)]
Merge "Removing EXPLICT tag from Batterystats metric names." into pi-dev

6 years agoMerge changes from topic "recognition_service-mnc-dev" into oc-dev am: 714fb7ae84...
Eugene Susla [Fri, 9 Mar 2018 21:14:21 +0000 (21:14 +0000)]
Merge changes from topic "recognition_service-mnc-dev" into oc-dev am: 714fb7ae84 am: 7915ba5c9f
am: 7213adbb7f

Change-Id: Id562b135ce25665b120e48a2c76d88587e48f125

6 years agoMerge changes from topic "viewpager_state" into oc-dev am: 77edd5fabe
Alan Viverette [Fri, 9 Mar 2018 20:49:36 +0000 (20:49 +0000)]
Merge changes from topic "viewpager_state" into oc-dev am: 77edd5fabe
am: 5811482acf

Change-Id: Ib6213f0f3b6a0247bbe33c0879a3179fb63eb35f

6 years agoMerge "Fix AutoTileManagerTest" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 20:20:29 +0000 (20:20 +0000)]
Merge "Fix AutoTileManagerTest" into pi-dev

6 years agoMerge changes from topic "viewpager_state" into oc-dev
Alan Viverette [Fri, 9 Mar 2018 20:15:45 +0000 (20:15 +0000)]
Merge changes from topic "viewpager_state" into oc-dev
am: 77edd5fabe

Change-Id: Ic624154d57c8b7398d60c470bd285de35f2499af

6 years agoMerge changes from topic "recognition_service-mnc-dev" into oc-dev am: 714fb7ae84
Eugene Susla [Fri, 9 Mar 2018 20:09:02 +0000 (20:09 +0000)]
Merge changes from topic "recognition_service-mnc-dev" into oc-dev am: 714fb7ae84
am: 7915ba5c9f

Change-Id: Id938e5cd15852144fcce2367c4fac762f8cfc8ba

6 years agoMerge changes from topic "recognition_service-mnc-dev" into oc-dev
Eugene Susla [Fri, 9 Mar 2018 19:48:12 +0000 (19:48 +0000)]
Merge changes from topic "recognition_service-mnc-dev" into oc-dev
am: 714fb7ae84

Change-Id: I07cbecada20685467da9b82e101b7591ec285533

6 years agoMerge "Update battery saver colors to make them more obvious" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 19:17:00 +0000 (19:17 +0000)]
Merge "Update battery saver colors to make them more obvious" into pi-dev

6 years agoMerge "Add known uses to hidden API light greylist" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 19:05:29 +0000 (19:05 +0000)]
Merge "Add known uses to hidden API light greylist" into pi-dev

6 years agoMerge "Update alarm and messaging dnd filtering" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 19:04:27 +0000 (19:04 +0000)]
Merge "Update alarm and messaging dnd filtering" into pi-dev

6 years agoMerge "Add PrintSpooler to system app whitelist" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 18:55:32 +0000 (18:55 +0000)]
Merge "Add PrintSpooler to system app whitelist" into pi-dev

6 years agoMerge "Move notification policy log to ZenLog" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 18:53:35 +0000 (18:53 +0000)]
Merge "Move notification policy log to ZenLog" into pi-dev

6 years agoMerge changes from topic "viewpager_state" into oc-dev
Alan Viverette [Fri, 9 Mar 2018 18:43:02 +0000 (18:43 +0000)]
Merge changes from topic "viewpager_state" into oc-dev

* changes:
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1 am: 4c24e4d831 am: fece305de0 am: cb362192e8 am: bc42f76941 am: c42091667c am: aebf5c06df am: d04ccc6608 am: b3e984c412
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1 am: 4c24e4d831 am: fece305de0 am: cb362192e8 am: bc42f76941 am: c42091667c am: aebf5c06df am: d04ccc6608
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1 am: 4c24e4d831 am: fece305de0 am: cb362192e8 am: bc42f76941 am: c42091667c am: aebf5c06df
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1 am: 4c24e4d831 am: fece305de0 am: cb362192e8 am: bc42f76941 am: c42091667c
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1 am: 4c24e4d831 am: fece305de0 am: cb362192e8 am: bc42f76941
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1 am: 4c24e4d831 am: fece305de0 am: cb362192e8
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1 am: 4c24e4d831 am: fece305de0
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1 am: 4c24e4d831
  [automerger] Update internal ViewPager's SavedState to match Support Library version am: 187964aca1
  Update internal ViewPager's SavedState to match Support Library version

6 years agoMerge changes from topic "recognition_service-mnc-dev" into oc-dev
Eugene Susla [Fri, 9 Mar 2018 18:42:08 +0000 (18:42 +0000)]
Merge changes from topic "recognition_service-mnc-dev" into oc-dev

* changes:
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9 am: 773f021348 am: bca318e527 am: 122f5e51bf skipped: 36e5764193
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9 am: 773f021348 am: bca318e527 am: 122f5e51bf
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9 am: 773f021348 am: bca318e527
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9 am: 773f021348
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082
  [automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe
  [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService

6 years agoMerge "Add vibrate on down over nav bar and tick on motion up" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 18:38:40 +0000 (18:38 +0000)]
Merge "Add vibrate on down over nav bar and tick on motion up" into pi-dev

6 years agoMerge "Add intent category for slices to help identify them" into pi-dev
Jason Monk [Fri, 9 Mar 2018 18:21:43 +0000 (18:21 +0000)]
Merge "Add intent category for slices to help identify them" into pi-dev

6 years agoMerge "Add lockHardwareWideColorGamutCanvas." into pi-dev
Peiyong Lin [Fri, 9 Mar 2018 18:19:52 +0000 (18:19 +0000)]
Merge "Add lockHardwareWideColorGamutCanvas." into pi-dev

6 years agoMerge "Don't allow foreground notis to be blocked inline." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 18:08:19 +0000 (18:08 +0000)]
Merge "Don't allow foreground notis to be blocked inline." into pi-dev

6 years agoMerge "Display mobile data type icons in status bar." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 18:03:55 +0000 (18:03 +0000)]
Merge "Display mobile data type icons in status bar." into pi-dev

6 years agoMerge "Correct directory location." into pi-dev
Jake Wharton [Fri, 9 Mar 2018 18:01:13 +0000 (18:01 +0000)]
Merge "Correct directory location." into pi-dev

6 years agoCorrect directory location.
Jake Wharton [Fri, 9 Mar 2018 17:53:21 +0000 (12:53 -0500)]
Correct directory location.

This moved as part of e94ca6676f8f845741369d4967255f642a4cefbb.

Bug: 74390715
Test: none
Exempt-From-Owner-Approval: build fix of support library folder reference
Change-Id: I4109ef44748deb03a91e372b40b85d025f0d2765

6 years agoMerge "Jobs in 'active' apps are not subject to standby" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 17:50:42 +0000 (17:50 +0000)]
Merge "Jobs in 'active' apps are not subject to standby" into pi-dev

6 years agoMerge changes I64009362,I8ebb617c into pi-dev
Ying Xu [Fri, 9 Mar 2018 17:44:09 +0000 (17:44 +0000)]
Merge changes I64009362,I8ebb617c into pi-dev

* changes:
  Do not throw RuntimeException from stopScan().
  Address the API review comments.

6 years agoMerge changes Ifec29546,Iaab1cc44 into pi-dev
Lei Yu [Fri, 9 Mar 2018 17:41:27 +0000 (17:41 +0000)]
Merge changes Ifec29546,Iaab1cc44 into pi-dev

* changes:
  Add metrics for battery tip
  Add metric for restrict app tip and high usage tip

6 years agoMerge "Add sleep for profile saving in AppLaunch" into pi-dev
Mathieu Chartier [Fri, 9 Mar 2018 17:25:25 +0000 (17:25 +0000)]
Merge "Add sleep for profile saving in AppLaunch" into pi-dev

6 years agoMerge "Remove RuntimeException throws from TelephonyManager" into pi-dev
Chen Xu [Fri, 9 Mar 2018 17:02:41 +0000 (17:02 +0000)]
Merge "Remove RuntimeException throws from TelephonyManager" into pi-dev

6 years agoMerge changes from topic "am-af991497-a243-423d-8f58-f6bc1131a734" into oc-dev am...
Rubin Xu [Fri, 9 Mar 2018 16:12:28 +0000 (16:12 +0000)]
Merge changes from topic "am-af991497-a243-423d-8f58-f6bc1131a734" into oc-dev am: 6e30a00c96 am: f45dbc6a69
am: 184c75c2f0

Change-Id: Id724a10c23afc2fc9f1ac5eeef7853ec6b40a417

6 years agoMerge changes from topic "magnifier_expose_size_and_zoom-pi-dev" into pi-dev
Mihai Popa [Fri, 9 Mar 2018 16:02:31 +0000 (16:02 +0000)]
Merge changes from topic "magnifier_expose_size_and_zoom-pi-dev" into pi-dev

* changes:
  [Magnifier-31] Do not magnify outside current line
  [Magnifier-29] Expose size and zoom in the API

6 years agoDon't allow foreground notis to be blocked inline.
Julia Reynolds [Thu, 8 Mar 2018 19:42:50 +0000 (14:42 -0500)]
Don't allow foreground notis to be blocked inline.

Offer a 'minimize' option instead.

Also I'm changing the guts, do a little layout
cleanup in the confirmation dialog.

Change-Id: I9f2ef824d1f322752bc4161356f16a5dae166caf
Fixes: 73898083
Fixes: 73657862
Fixes: 73657452
Test: runtest systemui-notification

6 years agoAdd intent category for slices to help identify them
Jason Monk [Thu, 8 Mar 2018 19:18:55 +0000 (14:18 -0500)]
Add intent category for slices to help identify them

Test: cts, testMapIntentToSlice
Bug: 73123733
Change-Id: I75c3e132861d04301f5c856c235eadfc4be8f9bc

6 years agoMerge changes from topic "am-af991497-a243-423d-8f58-f6bc1131a734" into oc-dev am...
Rubin Xu [Fri, 9 Mar 2018 15:55:09 +0000 (15:55 +0000)]
Merge changes from topic "am-af991497-a243-423d-8f58-f6bc1131a734" into oc-dev am: 6e30a00c96
am: f45dbc6a69

Change-Id: Ic7d8a8dd5cff126f9995ba9aa3e1158d724e4403

6 years agoFix AutoTileManagerTest
Amin Shaikh [Fri, 9 Mar 2018 15:54:50 +0000 (10:54 -0500)]
Fix AutoTileManagerTest

Bug: 74431173
Test: runtest systemui
Change-Id: I7d375e913dfab42ffc2e2006b86375f62a8f1165

6 years agoMerge "Fix opening tuner session with HAL 2.0." into pi-dev
Tomasz Wasilczyk [Fri, 9 Mar 2018 15:46:48 +0000 (15:46 +0000)]
Merge "Fix opening tuner session with HAL 2.0." into pi-dev

6 years agoDisplay mobile data type icons in status bar.
Amin Shaikh [Thu, 8 Mar 2018 15:08:13 +0000 (10:08 -0500)]
Display mobile data type icons in status bar.

Instead of showing the type in the top left corner of the signal.
- Add new status bar mobile data indicator assets
- Remove unused qs/status bar mobile data indicator assets

Bug: 72540392
Test: visual using demo mode
Change-Id: Ic63ad3307daabf2e0f023308b7e0682dbd29f1ca

6 years agoMerge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev...
Rubin Xu [Fri, 9 Mar 2018 15:38:37 +0000 (15:38 +0000)]
Merge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev am: a9df845321 am: 8dddc5e1f8
am: edb8872513  -s ours

Change-Id: Ia1047b019f4ee8844a2dc45be534747d5e799224

6 years agoMove notification policy log to ZenLog
Beverly [Thu, 8 Mar 2018 15:36:25 +0000 (10:36 -0500)]
Move notification policy log to ZenLog

- move to ZenLog to avoid log being dropped

Test: manual
Bug: 73612465
Change-Id: I9131ac3623cb0ebf69098f38b125654e469fd3af

6 years agoMerge changes from topic "am-af991497-a243-423d-8f58-f6bc1131a734" into oc-dev
Rubin Xu [Fri, 9 Mar 2018 15:35:36 +0000 (15:35 +0000)]
Merge changes from topic "am-af991497-a243-423d-8f58-f6bc1131a734" into oc-dev
am: 6e30a00c96

Change-Id: I70114bdaa8186e7a2bb23e7d4e2c33c5d5b17e60

6 years agoMerge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev...
Rubin Xu [Fri, 9 Mar 2018 15:33:05 +0000 (15:33 +0000)]
Merge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev am: a9df845321
am: 8dddc5e1f8

Change-Id: I52e47a1dec4e71c4002d2657cc99e712a39f8d34

6 years agoMerge "Add unit test to verify option propagation from starter to modifier." into...
Bryce Lee [Fri, 9 Mar 2018 15:18:40 +0000 (15:18 +0000)]
Merge "Add unit test to verify option propagation from starter to modifier." into pi-dev

6 years agoMerge "Do not call checkReadyForSleep recursively." into pi-dev
Bryce Lee [Fri, 9 Mar 2018 15:18:27 +0000 (15:18 +0000)]
Merge "Do not call checkReadyForSleep recursively." into pi-dev

6 years agoMerge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev
Rubin Xu [Fri, 9 Mar 2018 15:15:07 +0000 (15:15 +0000)]
Merge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev
am: a9df845321

Change-Id: I0d7f4421d10f977eb9071ba3478da771e58541ca

6 years agoMerge changes from topic "am-af991497-a243-423d-8f58-f6bc1131a734" into oc-dev
TreeHugger Robot [Fri, 9 Mar 2018 15:01:42 +0000 (15:01 +0000)]
Merge changes from topic "am-af991497-a243-423d-8f58-f6bc1131a734" into oc-dev

* changes:
  [automerger] [DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids am: 41d8bf1fed am: 595f82f99e am: 3aaa23e1e2 am: 4b71619f50 skipped: d56e2e2cd0
  [automerger] [DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids am: 41d8bf1fed am: 595f82f99e am: 3aaa23e1e2 am: 4b71619f50
  [automerger] [DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids am: 41d8bf1fed am: 595f82f99e am: 3aaa23e1e2
  [automerger] [DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids am: 41d8bf1fed am: 595f82f99e
  [automerger] [DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids am: 41d8bf1fed
  [DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids

6 years agoMerge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev
Rubin Xu [Fri, 9 Mar 2018 14:59:30 +0000 (14:59 +0000)]
Merge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev

6 years agoMerge "Move mobile signal indicator to QS footer." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 14:56:59 +0000 (14:56 +0000)]
Merge "Move mobile signal indicator to QS footer." into pi-dev

6 years agoMerge "Add logging for screen timeout override." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 14:40:41 +0000 (14:40 +0000)]
Merge "Add logging for screen timeout override." into pi-dev

6 years ago[Magnifier-31] Do not magnify outside current line
Mihai Popa [Wed, 7 Mar 2018 12:25:21 +0000 (12:25 +0000)]
[Magnifier-31] Do not magnify outside current line

Currently, after the cursor is reaching the end of a line, the magnifier
keeps following the finger even if the cursor cannot move anymore.

This CL limits the movement of the magnifier, ensuring it stays between
the bounds of the text line. Also, when the finger gets too far from the
end of the line, we dismiss the magnifier. We consider it went too far
when the cursor is not visible anymore inside the magnifier.

Bug: 72314536
Test: manual testing (both English and Arabic)
Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I8dafba1fc8e7b8e482526e818831ece2ee20ac27
(cherry picked from commit dfc752bc745ca272234be41f2b54d49eccece84d)
Merged-In: I8dafba1fc8e7b8e482526e818831ece2ee20ac27

6 years agoUpdate alarm and messaging dnd filtering
Julia Reynolds [Wed, 7 Mar 2018 12:35:21 +0000 (07:35 -0500)]
Update alarm and messaging dnd filtering

- Check audio attributes on the notificationrecord, not the
notification (to take into account the notification channel audio)
- Allow notifications that use messaging style to be considered a
message for dnd

Test: runtest systemui-notification
Change-Id: I8e6a86ed62089a53fe71000e6d9da00f1c54b59e
Fixes: 74243745
Fixes: 74311423

6 years agoAdd PrintSpooler to system app whitelist
David Brazdil [Fri, 9 Mar 2018 13:39:59 +0000 (13:39 +0000)]
Add PrintSpooler to system app whitelist

This app builds directly against the platform. Add it to the whitelist.

Bug: 64382372
Test: make
Test: device boots
Change-Id: I4c308d93d66391da2d3691eb45e5d7b1c1fdd582

6 years agoAdd known uses to hidden API light greylist
David Brazdil [Fri, 9 Mar 2018 11:32:07 +0000 (11:32 +0000)]
Add known uses to hidden API light greylist

API uses from common apps.

Bug: 64382372
Bug: 74422232
Bug: 74340334
Bug: 74412301
Bug: 74392708
Bug: 74365557
Bug: 74386409
Bug: 73208915
Bug: 74323829
Test: make
Change-Id: I50b7be7d082a38359244e779bd885ec26164017b

6 years agoMerge changes from topic "jr-viseffects" into pi-dev
Julia Reynolds [Fri, 9 Mar 2018 13:38:06 +0000 (13:38 +0000)]
Merge changes from topic "jr-viseffects" into pi-dev

* changes:
  Make systemui obey new visual effect flags
  Expand the visual effects that DND can suppress.

6 years ago[Magnifier-29] Expose size and zoom in the API
Mihai Popa [Tue, 6 Mar 2018 14:24:07 +0000 (14:24 +0000)]
[Magnifier-29] Expose size and zoom in the API

The CL exposes the size and the zoom of the magnifier in the public API.
These are required for implementing a number of UX requests in WebView
and Chrome - see the two bugs referenced.

Also, the CL fixes a bug in the #getContent() TestApi, which was
returning the bitmap before (instead of after) scaling.

Bug: 70608551
Bug: 72314536
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Idc583b923010d7dca075b05b6f4dbafa74cfec1f
(cherry picked from commit e1b93ddcbd40334664d6360d60525981cf3a3981)
Merged-In: Idc583b923010d7dca075b05b6f4dbafa74cfec1f

6 years agoMerge "Update javadoc for WifiConfiguration.setHttpProxy" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 12:42:55 +0000 (12:42 +0000)]
Merge "Update javadoc for WifiConfiguration.setHttpProxy" into pi-dev

6 years agoMerge "SysUI: Fix a bunch of hacks around insets and cutouts" into pi-dev
Adrian Roos [Fri, 9 Mar 2018 12:40:37 +0000 (12:40 +0000)]
Merge "SysUI: Fix a bunch of hacks around insets and cutouts" into pi-dev

6 years agoMerge "Add BaseNetdEventCallback class that provides no-op implementations for INetdE...
TreeHugger Robot [Fri, 9 Mar 2018 12:40:22 +0000 (12:40 +0000)]
Merge "Add BaseNetdEventCallback class that provides no-op implementations for INetdEventCallback." into pi-dev

6 years agoMerge changes I46e93397,Ie0a157a9 into pi-dev
Jorim Jaggi [Fri, 9 Mar 2018 12:05:01 +0000 (12:05 +0000)]
Merge changes I46e93397,Ie0a157a9 into pi-dev

* changes:
  Also set calling pid when registering for next activity start
  Revert "Revert "Elevate remote/recents animation priority""

6 years agoAdd BaseNetdEventCallback class that provides no-op implementations for INetdEventCal...
dalyk [Thu, 8 Mar 2018 21:33:25 +0000 (16:33 -0500)]
Add BaseNetdEventCallback class that provides no-op implementations for INetdEventCallback.

Test: None
Bug: 71828272
Merged-In: I261015d0d3e7e4159bb514742a6c588bfd34e795
Merged-In: I3a701fc52641615bf197f980022a61518c7347f4
Merged-In: I1ed5ede74ca14718e6d4f8a9a8d57de6026c9e93
Merged-In: Ib0c4b69a24144d27f672ec716fb9a8f06987ce7d
Change-Id: I75e0620f82195f18befe9dc079492a8c69bb764b
(cherry picked from commit 985d89a6e0412a3b0e8b1519de8ebffdbf708d31)

6 years agoMerge "Whitelist all @SystemApi and @TestApi for hidden API" into pi-dev
David Brazdil [Fri, 9 Mar 2018 10:07:41 +0000 (10:07 +0000)]
Merge "Whitelist all @SystemApi and @TestApi for hidden API" into pi-dev

6 years agoMerge "Display shortcut inline with item title in cascading menu" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 09:22:54 +0000 (09:22 +0000)]
Merge "Display shortcut inline with item title in cascading menu" into pi-dev

6 years agoMerge "MediaSession2: Ensure NonNull/Nullable for parameters of public methods" into...
Hyundo Moon [Fri, 9 Mar 2018 08:28:08 +0000 (08:28 +0000)]
Merge "MediaSession2: Ensure NonNull/Nullable for parameters of public methods" into pi-dev

6 years agoMerge "Add team members in OWNER file" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 07:37:43 +0000 (07:37 +0000)]
Merge "Add team members in OWNER file" into pi-dev

6 years agoAdd team members in OWNER file
yro [Fri, 9 Mar 2018 02:41:03 +0000 (18:41 -0800)]
Add team members in OWNER file

Bug: 74415902

Test: no test necessary
Change-Id: I39d0a5cb9c6e8520fd29881442e66961096d52fc

6 years agoMerge "Documenting some core proto style conventions." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 05:15:28 +0000 (05:15 +0000)]
Merge "Documenting some core proto style conventions." into pi-dev

6 years agoMerge "Marked testFocusedWindowMultipleDisplays as flaky" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 05:13:22 +0000 (05:13 +0000)]
Merge "Marked testFocusedWindowMultipleDisplays as flaky" into pi-dev

6 years agoMediaSession2: Ensure NonNull/Nullable for parameters of public methods
Hyundo Moon [Mon, 5 Mar 2018 04:41:01 +0000 (13:41 +0900)]
MediaSession2: Ensure NonNull/Nullable for parameters of public methods

Bug: 73863865
Test: runtest-MediaComponents
Change-Id: Id40f221ae60b1e63afd9ff71950589fe13a7f526

6 years agoMerge "MediaSession2: Implement MediaSession2#updatePlayer()" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 04:37:29 +0000 (04:37 +0000)]
Merge "MediaSession2: Implement MediaSession2#updatePlayer()" into pi-dev

6 years agoMerge changes from topic "cdex_commands" into pi-dev
Mathieu Chartier [Fri, 9 Mar 2018 04:27:18 +0000 (04:27 +0000)]
Merge changes from topic "cdex_commands" into pi-dev

* changes:
  Clean up comment
  Bump version for OtaDexoptService
  Add logic for passing down CompactDex generation flag

6 years agoMove mobile signal indicator to QS footer.
Amin Shaikh [Thu, 8 Mar 2018 16:39:01 +0000 (11:39 -0500)]
Move mobile signal indicator to QS footer.

- Change mobile data tile to a static icon with mobile data indicators
- Add the status bar mobile network signal icon to QS footer
- Show SIM status in the carrier text in the QS footer only if the
status is not simply "No SIM card" since that status is shown in the
secondary text of the mobile data tile

Bug: 72540392
Test: visual && runtest systemui
Change-Id: I6fee19887decf68db5084edc8c0e2d23bb1938d1

6 years agoCheck for null pkgList in fixSeInfoLocked()
Jeff Vander Stoep [Thu, 8 Mar 2018 17:49:33 +0000 (09:49 -0800)]
Check for null pkgList in fixSeInfoLocked()

Addresses:
03-08 17:26:18.550 11945 11945 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
03-08 17:26:18.550 11945 11945 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
03-08 17:26:18.550 11945 11945 E AndroidRuntime:        at com.android.server.pm.SharedUserSetting.fixSeInfoLocked(SharedUserSetting.java:129)

Which is triggered during an "adb sync"

Fixes: 74214574
Test: m -j && adb shell stop && adb remount && adb sync && adb shell start
Change-Id: I1908893fae05c70491f7cc776d0df49ec54f283b
(cherry picked from commit acfdfbec2a6a4557fbde96dc2dfb8b4af51a3f63)

6 years agoMerge "Add global setting for auto-battery saver threshold max" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:51:41 +0000 (03:51 +0000)]
Merge "Add global setting for auto-battery saver threshold max" into pi-dev

6 years agoMerge "Don't hold AM lock during assist data request." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:39:31 +0000 (03:39 +0000)]
Merge "Don't hold AM lock during assist data request." into pi-dev

6 years agoMerge "Fix statsd crash due to bad bucket index" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:23:17 +0000 (03:23 +0000)]
Merge "Fix statsd crash due to bad bucket index" into pi-dev

6 years agoMerge "[RTT] COARSE -> FINE permission requirements" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:19:50 +0000 (03:19 +0000)]
Merge "[RTT] COARSE -> FINE permission requirements" into pi-dev

6 years agoMerge "MediaPlayer2Impl: fix getPlayerState." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:10:41 +0000 (03:10 +0000)]
Merge "MediaPlayer2Impl: fix getPlayerState." into pi-dev

6 years agoMerge "Bluetooth: Separate enable and disable Reasons from package name" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:02:22 +0000 (03:02 +0000)]
Merge "Bluetooth: Separate enable and disable Reasons from package name" into pi-dev

6 years agoMerge "Remove debug metadata isVrOnly from InputMethodInfo" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 02:53:23 +0000 (02:53 +0000)]
Merge "Remove debug metadata isVrOnly from InputMethodInfo" into pi-dev

6 years agoAdd sleep for profile saving in AppLaunch
Mathieu Chartier [Fri, 9 Mar 2018 02:12:46 +0000 (18:12 -0800)]
Add sleep for profile saving in AppLaunch

Aim to prevent cases where the profile won't be saved when we compile.

Bug: 70734839
Test: m
Change-Id: Ib6f8740c70729914fc559f249b19adea1e7777f0

6 years agoMerge "Make few of the new IMS API methods final" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 02:01:24 +0000 (02:01 +0000)]
Merge "Make few of the new IMS API methods final" into pi-dev

6 years agoMerge "Expose WebView#onCheckIsTextEditor" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 01:57:57 +0000 (01:57 +0000)]
Merge "Expose WebView#onCheckIsTextEditor" into pi-dev

6 years agoMerge "Optimize incidentd memory usage" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 01:57:32 +0000 (01:57 +0000)]
Merge "Optimize incidentd memory usage" into pi-dev

6 years agoDocumenting some core proto style conventions.
Kweku Adams [Tue, 6 Mar 2018 02:06:02 +0000 (18:06 -0800)]
Documenting some core proto style conventions.

Bug: 74206433
Test: Android builds
Change-Id: I90ec796b9a06fdfd9cf1f6d69f217b636472c590

6 years agoMerge "Write data to file when StatsCompanionSerivice (system_server) crashes" into...
TreeHugger Robot [Fri, 9 Mar 2018 01:18:27 +0000 (01:18 +0000)]
Merge "Write data to file when StatsCompanionSerivice (system_server) crashes" into pi-dev

6 years agoAdd vibrate on down over nav bar and tick on motion up
Matthew Ng [Thu, 8 Mar 2018 22:51:36 +0000 (14:51 -0800)]
Add vibrate on down over nav bar and tick on motion up

Added a tick vibration for down and up (after 150ms delay) over back and
home button. Vibration on touch down covers the entire bar.

Fixes: 73942704
Test: tap nav bar or tap home button
Change-Id: Ib53c3667cbdf61a502bab53d98a2874a511acb3f

6 years agoMarked testFocusedWindowMultipleDisplays as flaky
Wale Ogunwale [Fri, 9 Mar 2018 01:01:08 +0000 (17:01 -0800)]
Marked testFocusedWindowMultipleDisplays as flaky

Bug: 37908381
Test: bit me!
Change-Id: Icc2cccc3468849810df8de8778e1e9dc044b01a4

6 years agoBluetooth: Separate enable and disable Reasons from package name
Jack He [Fri, 2 Mar 2018 21:08:36 +0000 (13:08 -0800)]
Bluetooth: Separate enable and disable Reasons from package name

* Reasons to enable or disable Bluetooth should be in a separate
  namespace away from package names that initiated the enable or disable
* Delcare reason code in android/bluetooth/enums.proto as
  EnableDisableReasonEnum and use these reason code together with
  package names to log Bluetooth enable and disable events
* When reason is ENABLE_DISABLE_REASON_APPLICATION_REQUEST, the external
  package name is the real reason why Bluetooth is enabled or disabled
* Change START_CRASH to START_ERROR since it represents a disable event
  when Bluetooth failed to start
* Change UNEXPECTED_CRASH to CRASH since no crash is expected
* Add getEnableDisableReasonString() method to covert reason code to
  human readable strings in dumpsys output

Bug: 74090881
Test: Toggle Bluetooth, airplane mode, BLE scanning
Change-Id: I06aa413e2a0a5f016c87759a1b694ef643c9cdee
(cherry picked from commit 0dbe66460fa2a5ebb05ca757e58141c213038bc1)

6 years ago[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in Rcogni...
Android Build Merger (Role) [Fri, 9 Mar 2018 00:36:28 +0000 (00:36 +0000)]
[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9 am: 773f021348 am: bca318e527 am: 122f5e51bf skipped: 36e5764193

Change-Id: I0ec832c5bd859604acbdf0a1a273d5062ca49c7c

6 years ago[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in Rcogni...
Android Build Merger (Role) [Fri, 9 Mar 2018 00:36:23 +0000 (00:36 +0000)]
[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9 am: 773f021348 am: bca318e527 am: 122f5e51bf

Change-Id: I2038933c4a044b3746d131027368f3b59d63065b

6 years ago[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in Rcogni...
Android Build Merger (Role) [Fri, 9 Mar 2018 00:36:18 +0000 (00:36 +0000)]
[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9 am: 773f021348 am: bca318e527

Change-Id: I9bf4052c140ca9fc068f8d18b9a92015de9e9f90

6 years ago[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in Rcogni...
Android Build Merger (Role) [Fri, 9 Mar 2018 00:36:13 +0000 (00:36 +0000)]
[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9 am: 773f021348

Change-Id: Idde6da0725fe743bb943b0d712782add546d1506

6 years ago[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in Rcogni...
Android Build Merger (Role) [Fri, 9 Mar 2018 00:36:09 +0000 (00:36 +0000)]
[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7 am: cf92266ad9

Change-Id: Id603e54b576e7c5ae6566f5560bd4599b653bf12

6 years ago[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in Rcogni...
Android Build Merger (Role) [Fri, 9 Mar 2018 00:35:58 +0000 (00:35 +0000)]
[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5 skipped: a1ad0de1f7

Change-Id: I0deb776ab86a2dfa512b092072d9e8f1e4d1b900

6 years ago[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in Rcogni...
Android Build Merger (Role) [Fri, 9 Mar 2018 00:35:53 +0000 (00:35 +0000)]
[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082 am: 26aaadd3b5

Change-Id: Icf7b82e7dfbdebeb382c56e2c1db061abd87a3e9

6 years ago[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in Rcogni...
Android Build Merger (Role) [Fri, 9 Mar 2018 00:35:48 +0000 (00:35 +0000)]
[automerger] [DO NOT MERGE] Copy PermissionChecker from support lib and use in RcognitionService am: 5a28e533fe am: b91acca082

Change-Id: I0cbca14aed609ab81556ee1deb72ef1e0e294256