OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Sharesheet - Hide direct share area for low ram devices" into qt-dev
Matt Pietal [Mon, 10 Jun 2019 17:33:44 +0000 (10:33 -0700)]
Merge "Sharesheet - Hide direct share area for low ram devices" into qt-dev
am: fcc4d76a97

Change-Id: Ia4622b13fcb9befbf34932b86c247dc3057323a5

5 years agoMerge "Inject dependencies instead of fetching them" into qt-dev
Winson Chung [Mon, 10 Jun 2019 17:32:08 +0000 (10:32 -0700)]
Merge "Inject dependencies instead of fetching them" into qt-dev
am: 6c88570f25

Change-Id: Ic8549b021d9a5f8fa8096083f870916c3e2c93a3

5 years agoMerge "Sharesheet - Hide direct share area for low ram devices" into qt-dev
TreeHugger Robot [Mon, 10 Jun 2019 17:29:52 +0000 (17:29 +0000)]
Merge "Sharesheet - Hide direct share area for low ram devices" into qt-dev

5 years agoMerge "Inject dependencies instead of fetching them" into qt-dev
Winson Chung [Mon, 10 Jun 2019 17:14:39 +0000 (17:14 +0000)]
Merge "Inject dependencies instead of fetching them" into qt-dev

5 years agoMerge "Add timeout for setPermissionGrantState" into qt-dev
Eugene Susla [Mon, 10 Jun 2019 16:46:53 +0000 (09:46 -0700)]
Merge "Add timeout for setPermissionGrantState" into qt-dev
am: 3baa0b34e3

Change-Id: Ib1a295ed4de405ce8fc30d53a4334ef1ed2005e6

5 years agoMerge "Add timeout for setPermissionGrantState" into qt-dev
TreeHugger Robot [Mon, 10 Jun 2019 16:32:44 +0000 (16:32 +0000)]
Merge "Add timeout for setPermissionGrantState" into qt-dev

5 years agoMerge "Sharesheet - Adjust timeouts and logic for direct share" into qt-dev
Matt Pietal [Mon, 10 Jun 2019 15:00:10 +0000 (08:00 -0700)]
Merge "Sharesheet - Adjust timeouts and logic for direct share" into qt-dev
am: 503b489384

Change-Id: Ibbbb8947eeaae6c2f883f725de8c6dec8b25792c

5 years agoMerge "Sharesheet - Adjust timeouts and logic for direct share" into qt-dev
TreeHugger Robot [Mon, 10 Jun 2019 14:46:28 +0000 (14:46 +0000)]
Merge "Sharesheet - Adjust timeouts and logic for direct share" into qt-dev

5 years agoSharesheet - Hide direct share area for low ram devices
Matt Pietal [Mon, 10 Jun 2019 14:20:15 +0000 (10:20 -0400)]
Sharesheet - Hide direct share area for low ram devices

Make sure to force the item count to 0 to make sure the direct share
area stays hidden.

Bug: 134776740
Test: Low ram device, manual
Change-Id: I598752db5747b1c845495af7ae2f591488799352

5 years agoSharesheet - Adjust timeouts and logic for direct share
Matt Pietal [Wed, 5 Jun 2019 11:04:55 +0000 (07:04 -0400)]
Sharesheet - Adjust timeouts and logic for direct share

Improve direct share loading by:
1. Do not issue redundant service calls within the watchdog timeout
period
2. Set a min and max watchdog timeout period, and if all services
return early, then informt the user we are done to so that they don't
have to wait until the max timeout period.
3. Be more specific on package changes. Resolver requires any change
to trigger a refresh, but chooser only needs to know about top level
package changes.

Bug: 134416594
Test: Manual
Change-Id: I075fd5b6f64c25637fd7ba7aa6b163dca81371a8

5 years agoMerge "Ignore brightness change thresholds for manual changes." into qt-dev
Santos Cordon [Mon, 10 Jun 2019 00:12:50 +0000 (17:12 -0700)]
Merge "Ignore brightness change thresholds for manual changes." into qt-dev
am: 8a03eb7842

Change-Id: I55e6a0fc2d9b91cca33cb92aefe8f37703687c24

5 years agoMerge "Ignore brightness change thresholds for manual changes." into qt-dev
Santos Cordon [Sun, 9 Jun 2019 23:58:14 +0000 (23:58 +0000)]
Merge "Ignore brightness change thresholds for manual changes." into qt-dev

5 years agoInject dependencies instead of fetching them
Winson Chung [Fri, 7 Jun 2019 17:48:45 +0000 (10:48 -0700)]
Inject dependencies instead of fetching them

Bug: 134712444
Test: atest SystemUITests
Test: atest NotificationStackScrollLayoutTest (wasn't actually able to
      reproduce locally)

Change-Id: Ic1478a3eca164b844ba5721014e5591a6af02ffa

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sun, 9 Jun 2019 14:43:34 +0000 (07:43 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 9edd318666 -s ours
am skip reason: subject contains skip directive

Change-Id: Iabd6baa0a3651c4d1aeb01de3fde00b68a79ef08

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 9 Jun 2019 08:57:05 +0000 (01:57 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ida0624dfdb53a688b75bd7e03a7c02e32047ded3

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 8 Jun 2019 18:36:31 +0000 (18:36 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Only send text update for TextView after VIEW_ADDED is notified" into qt-r1-dev
TreeHugger Robot [Sat, 8 Jun 2019 17:58:59 +0000 (17:58 +0000)]
Merge "Only send text update for TextView after VIEW_ADDED is notified" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sat, 8 Jun 2019 16:58:03 +0000 (09:58 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 4fd921518e -s ours
am skip reason: subject contains skip directive

Change-Id: Ifb2c86fd56e21fda658b4c7b1e8e7dbabd5367b4

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 8 Jun 2019 16:39:56 +0000 (16:39 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Persist metric activation across beta4/5 ota" into qt-dev
Tej Singh [Sat, 8 Jun 2019 16:06:32 +0000 (09:06 -0700)]
Merge "Persist metric activation across beta4/5 ota" into qt-dev
am: 12ae95987b

Change-Id: I8d989540dd6807c539026e8c912c581de82b324c

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Jun 2019 15:41:59 +0000 (08:41 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7faa79c0c3849fd8e39396f29098d63fa71ab15f

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Jun 2019 15:30:59 +0000 (08:30 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I415dad40c35ad89a25d4df9190742a3515764a27

5 years agoMerge "Persist metric activation across beta4/5 ota" into qt-dev
TreeHugger Robot [Sat, 8 Jun 2019 14:38:06 +0000 (14:38 +0000)]
Merge "Persist metric activation across beta4/5 ota" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Sat, 8 Jun 2019 07:19:53 +0000 (07:19 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sat, 8 Jun 2019 05:31:41 +0000 (22:31 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 80bbe491e4 -s ours
am skip reason: subject contains skip directive

Change-Id: Ia49ec232e49a7af72886cf180b4a93680148b3f7

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 8 Jun 2019 05:16:18 +0000 (05:16 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Jun 2019 03:22:41 +0000 (20:22 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ieb04646fe838dedc9967aacff8f16f6688829c02

5 years ago[automerger skipped] Merge "Remove obsolete state" into qt-dev
Lucas Dupin [Sat, 8 Jun 2019 03:03:02 +0000 (20:03 -0700)]
[automerger skipped] Merge "Remove obsolete state" into qt-dev
am: 47b4c6d5df -s ours
am skip reason: change_id I17fcd9eb5eba7e7bc88de09309f5c310fe13433f with SHA1 de8c25ac2d is in history

Change-Id: Idff1817315dcaa47d3f0f407dabdc0df6bad2d2a

5 years agoMerge "Remove obsolete state" into qt-dev
TreeHugger Robot [Sat, 8 Jun 2019 02:56:24 +0000 (02:56 +0000)]
Merge "Remove obsolete state" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 8 Jun 2019 02:55:35 +0000 (19:55 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I8ce265c5d257e5cdbc247dc459a2432713f1c7b6

5 years ago[automerger skipped] Merge "Do not animate status bar icons outside of shade" into...
Lucas Dupin [Sat, 8 Jun 2019 01:59:49 +0000 (18:59 -0700)]
[automerger skipped] Merge "Do not animate status bar icons outside of shade" into qt-dev
am: 38d017b0d6 -s ours
am skip reason: change_id I422b3da488fdac6577173d41b26c67f81c7826c5 with SHA1 195dfc5db6 is in history

Change-Id: Iac2c85d2fc60ca7d9d2a19e0da66676fe6b55385

5 years agoRemove obsolete state
Lucas Dupin [Fri, 7 Jun 2019 18:44:28 +0000 (11:44 -0700)]
Remove obsolete state

There isn't a fingerprint animation, we don't need the timeout anymore.
This event was triggering unwanted updates, cancelling animations
during wake-up.

Fixes: 134448130
Test: power to wake-up: observe animation
Test: fingerprint from bouncer: observe animation
Test: fingerprint to wake-up: no animation
Change-Id: I17fcd9eb5eba7e7bc88de09309f5c310fe13433f
Merged-In: I17fcd9eb5eba7e7bc88de09309f5c310fe13433f

5 years agoMerge "Do not animate status bar icons outside of shade" into qt-dev
Lucas Dupin [Sat, 8 Jun 2019 01:54:16 +0000 (01:54 +0000)]
Merge "Do not animate status bar icons outside of shade" into qt-dev

5 years agoMerge "Merge "Update visibility in moveTaskToBack if nothing is resumed" into qt...
Android Build Merger (Role) [Sat, 8 Jun 2019 01:30:34 +0000 (01:30 +0000)]
Merge "Merge "Update visibility in moveTaskToBack if nothing is resumed" into qt-dev am: e004297aa1" into qt-r1-dev

5 years agoMerge "Update visibility in moveTaskToBack if nothing is resumed" into qt-dev
Evan Rosky [Sat, 8 Jun 2019 01:29:52 +0000 (18:29 -0700)]
Merge "Update visibility in moveTaskToBack if nothing is resumed" into qt-dev
am: e004297aa1

Change-Id: I8fc3bfb497b1297257bd1dade5c4c8dbca5dc436

5 years agoMerge "DisplayEventDispatcher: use eConfigChangedDispatch" into qt-r1-dev
TreeHugger Robot [Sat, 8 Jun 2019 01:29:23 +0000 (01:29 +0000)]
Merge "DisplayEventDispatcher: use eConfigChangedDispatch" into qt-r1-dev

5 years agoMerge "Make DozeParams available to Plugins" into qt-r1-dev
TreeHugger Robot [Sat, 8 Jun 2019 01:14:30 +0000 (01:14 +0000)]
Merge "Make DozeParams available to Plugins" into qt-r1-dev

5 years agoOnly send text update for TextView after VIEW_ADDED is notified
Feng Cao [Sun, 2 Jun 2019 18:05:16 +0000 (11:05 -0700)]
Only send text update for TextView after VIEW_ADDED is notified

Test: atest CtsContentCaptureServiceTestCases (sanity check)
Fixes: 134309443

Change-Id: Ia94194576db0a1679bbb2a9b76c84a871b965435

5 years agoPersist metric activation across beta4/5 ota
Tej Singh [Sat, 8 Jun 2019 00:23:30 +0000 (17:23 -0700)]
Persist metric activation across beta4/5 ota

In beta 4, activeEventActivation proto object does not have a state
field and assumed to be active if it is written to disk. In beta 5, we
add a state field to support persisting metric activation status across
a system server crash. However, if a device updated from beta 4 to 5, we
don't have any knowledge of the state when we read. Therefore, assume
the lack of the state field as the event activation should be active for
the provided ttl.

Bug: 134795027
Test: used flashstation to flash a device to beta 4. Then manually push
and activate a simple config. Then use vendor/google/tools/flashall to
update to qt-dev + this change. Manually ensure metric/config are still
active.
Test: gts-tradefed run gts-dev --module GtsStatsdHostTestCases
Test: bit statsd_test:*

Change-Id: I8594d04efaa2ae1f669113aaffd33e5fa5851e73

5 years agoMerge "Update visibility in moveTaskToBack if nothing is resumed" into qt-dev
Evan Rosky [Sat, 8 Jun 2019 00:40:21 +0000 (00:40 +0000)]
Merge "Update visibility in moveTaskToBack if nothing is resumed" into qt-dev

5 years agoDo not animate status bar icons outside of shade
Lucas Dupin [Tue, 4 Jun 2019 22:14:25 +0000 (15:14 -0700)]
Do not animate status bar icons outside of shade

Test: systrace
Bug: 133182504
Change-Id: Iad0b15f96d935746e16208ae875b69625ba2adfc
Merged-In: I422b3da488fdac6577173d41b26c67f81c7826c5

5 years agoMerge "Unsaved carrier wifi connection should display carrier in summary" into qt-dev
Quang Luong [Fri, 7 Jun 2019 23:34:21 +0000 (16:34 -0700)]
Merge "Unsaved carrier wifi connection should display carrier in summary" into qt-dev
am: 3d87a9920e

Change-Id: I5731cb832052d61ca29d4840c5f3a58c49d6d0c6

5 years agoMerge "Unsaved carrier wifi connection should display carrier in summary" into qt-dev
Quang Luong [Fri, 7 Jun 2019 23:19:04 +0000 (23:19 +0000)]
Merge "Unsaved carrier wifi connection should display carrier in summary" into qt-dev

5 years agoMerge "Remove obsolete state" into qt-r1-dev
Lucas Dupin [Fri, 7 Jun 2019 23:17:38 +0000 (23:17 +0000)]
Merge "Remove obsolete state" into qt-r1-dev

5 years agoMerge "Record textAppearance information for TextView." into qt-dev
Aurimas Liutikas [Fri, 7 Jun 2019 22:51:30 +0000 (15:51 -0700)]
Merge "Record textAppearance information for TextView." into qt-dev
am: e53837182c

Change-Id: I93a7c449a72bab5f25690505453432b551e3ff94

5 years agoMerge "Record textAppearance information for TextView." into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 22:35:55 +0000 (22:35 +0000)]
Merge "Record textAppearance information for TextView." into qt-dev

5 years agoMerge "Avoid UnsupportedOperationException from getDefaultSmsSubscriptionId()" into...
Amit Mahajan [Fri, 7 Jun 2019 22:35:47 +0000 (15:35 -0700)]
Merge "Avoid UnsupportedOperationException from getDefaultSmsSubscriptionId()" into qt-dev
am: be063ffb59

Change-Id: I221da0882cec481f4f0e892d8eb19c196889db1a

5 years agoMerge "Avoid UnsupportedOperationException from getDefaultSmsSubscriptionId()" into...
Amit Mahajan [Fri, 7 Jun 2019 22:25:36 +0000 (22:25 +0000)]
Merge "Avoid UnsupportedOperationException from getDefaultSmsSubscriptionId()" into qt-dev

5 years agoMerge "Removing wtf log when crashing alarm manager client" into qt-dev
Suprabh Shukla [Fri, 7 Jun 2019 21:49:57 +0000 (14:49 -0700)]
Merge "Removing wtf log when crashing alarm manager client" into qt-dev
am: 01dbc2cbe7

Change-Id: I388f72ee94c33c48fadc4c4ab9140ba02ee6bd80

5 years agoMerge changes I08c5006a,I6686b77c into qt-dev
Evan Laird [Fri, 7 Jun 2019 21:47:56 +0000 (14:47 -0700)]
Merge changes I08c5006a,I6686b77c into qt-dev
am: d42cb76a74

Change-Id: I6c8dfad4557cdc3ba6ba0a5b1407944fcdde3dc8

5 years agoMerge "Removing wtf log when crashing alarm manager client" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 21:42:31 +0000 (21:42 +0000)]
Merge "Removing wtf log when crashing alarm manager client" into qt-dev

5 years agoMerge changes I08c5006a,I6686b77c into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 21:36:35 +0000 (21:36 +0000)]
Merge changes I08c5006a,I6686b77c into qt-dev

* changes:
  Handle null OnSettingsClickListeners in ChannelDialogEditorController
  Close channel dialog when the guts go away

5 years agoMerge "Invalidate talkback accessibility tree after transitioning" into qt-dev
Evan Laird [Fri, 7 Jun 2019 21:30:48 +0000 (14:30 -0700)]
Merge "Invalidate talkback accessibility tree after transitioning" into qt-dev
am: 9054ff2185

Change-Id: Icfac60882053d7d1775a7741da24e809681704fb

5 years agoMerge "Add callbacks to StatusBarStateController" into qt-r1-dev
Beverly Tai [Fri, 7 Jun 2019 21:25:55 +0000 (21:25 +0000)]
Merge "Add callbacks to StatusBarStateController" into qt-r1-dev

5 years agoMerge "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for permissionController...
Hongyang Jiao [Fri, 7 Jun 2019 21:24:12 +0000 (14:24 -0700)]
Merge "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for permissionController" into qt-dev
am: 3206a17e5d

Change-Id: Ibb64be37e4475b741168ee971d5e3338ebf30fb0

5 years agoMerge "Invalidate talkback accessibility tree after transitioning" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 21:21:28 +0000 (21:21 +0000)]
Merge "Invalidate talkback accessibility tree after transitioning" into qt-dev

5 years agoMerge "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for permissionController...
Hongyang Jiao [Fri, 7 Jun 2019 21:08:02 +0000 (21:08 +0000)]
Merge "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for permissionController" into qt-dev

5 years agoMerge "Fixed tethering failed when device is on CBRS" into qt-r1-dev
TreeHugger Robot [Fri, 7 Jun 2019 20:55:12 +0000 (20:55 +0000)]
Merge "Fixed tethering failed when device is on CBRS" into qt-r1-dev

5 years agoMerge "Add isEnabled to AttentionDetector dumpsys" into qt-r1-dev
TreeHugger Robot [Fri, 7 Jun 2019 20:49:42 +0000 (20:49 +0000)]
Merge "Add isEnabled to AttentionDetector dumpsys" into qt-r1-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-r1-dev
TreeHugger Robot [Fri, 7 Jun 2019 20:36:40 +0000 (20:36 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-r1-dev

5 years agoMerge "Don't check attention when in lockscreen" into qt-r1-dev
TreeHugger Robot [Fri, 7 Jun 2019 20:23:30 +0000 (20:23 +0000)]
Merge "Don't check attention when in lockscreen" into qt-r1-dev

5 years agoHandle null OnSettingsClickListeners in ChannelDialogEditorController
Evan Laird [Fri, 7 Jun 2019 20:12:06 +0000 (16:12 -0400)]
Handle null OnSettingsClickListeners in ChannelDialogEditorController

The property was already nullable, but prepareDialogForApp() didn't
accept a null click listener.

Test: atest ChannelDialogEditorControllerTest
Fixes: 134697988
Change-Id: I08c5006ac5519f2baa0df1a5ad29d6802c63fb3c

5 years agoAdd timeout for setPermissionGrantState
Eugene Susla [Fri, 7 Jun 2019 17:42:19 +0000 (10:42 -0700)]
Add timeout for setPermissionGrantState

Fixes: 134380096
Test: presubmit
Change-Id: Ifff243068eea2637cf8f6391b52a4c53bc544615

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Fri, 7 Jun 2019 19:17:48 +0000 (12:17 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: d07bcd4b0d -s ours
am skip reason: subject contains skip directive

Change-Id: Ida895ee7f9cffe27c564346f620bb385f3c36c79

5 years agoUnsaved carrier wifi connection should display carrier in summary
Quang Luong [Fri, 7 Jun 2019 18:32:16 +0000 (11:32 -0700)]
Unsaved carrier wifi connection should display carrier in summary

Autoconnected carrier wifi should display "Connected via <carrier>"
in the wifi picker even if the network has not been saved.

Bug: 134525097
Test: atest AccessPointTest
Change-Id: Id28daec3f80124f5329386ef5ff2b32cda505355

5 years agoInvalidate talkback accessibility tree after transitioning
Evan Laird [Fri, 7 Jun 2019 18:55:59 +0000 (14:55 -0400)]
Invalidate talkback accessibility tree after transitioning

Using AutoTransition seems to allow the talkback accessibility nodes to
stay out of sync if the user starts iterating the view during the
transition. Calling `notifySubtreeAccessibilityStateChangedIfNeeded()`
on the end of the transition gets us back into the correct state.

Test: manual; start iterating view via talkback swiping while the
channel dialog editor transitions between app notifications on/off
Fixes: 133822221

Change-Id: I7218bc0734cf05372b8fbecfb6eeef69cb3f1d40

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 19:01:37 +0000 (19:01 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Restore WATCH_APPOPS permission for systemui" into qt-dev
Fabian Kozynski [Fri, 7 Jun 2019 19:01:36 +0000 (12:01 -0700)]
Merge "Restore WATCH_APPOPS permission for systemui" into qt-dev
am: 76de5167ab

Change-Id: I14fb29cc18bf78a92b499f43e708aa0af596272a

5 years agoMake DozeParams available to Plugins
Beverly [Fri, 7 Jun 2019 13:32:46 +0000 (09:32 -0400)]
Make DozeParams available to Plugins

Test: manual
Bug: 134519217
Change-Id: I4a2b0827b861ef922fab85e0e6a6dde2313ba78f

5 years agoMerge "Restore WATCH_APPOPS permission for systemui" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 18:46:47 +0000 (18:46 +0000)]
Merge "Restore WATCH_APPOPS permission for systemui" into qt-dev

5 years agoWhitelist START_ACTIVITIES_FROM_BACKGROUND permission for
jiaohy [Wed, 5 Jun 2019 19:08:17 +0000 (12:08 -0700)]
Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for
permissionController

Bug:134429397
Test: Locally flash on sailfish
Change-Id: I650c08a7f0a823085e0eaa0e1cae8b5b44cabd8f

5 years agoRemove obsolete state
Lucas Dupin [Fri, 7 Jun 2019 18:44:28 +0000 (11:44 -0700)]
Remove obsolete state

There isn't a fingerprint animation, we don't need the timeout anymore.
This event was triggering unwanted updates, cancelling animations
during wake-up.

Fixes: 134448130
Test: power to wake-up: observe animation
Test: fingerprint from bouncer: observe animation
Test: fingerprint to wake-up: no animation
Change-Id: I17fcd9eb5eba7e7bc88de09309f5c310fe13433f

5 years agoMerge "Resetting widget cache when some configurations change" into qt-dev
Sunny Goyal [Fri, 7 Jun 2019 18:37:31 +0000 (11:37 -0700)]
Merge "Resetting widget cache when some configurations change" into qt-dev
am: 5cb8996742

Change-Id: If13799bd7bde4a39744c355c1766e602cb9e7de9

5 years agoMerge "Resetting widget cache when some configurations change" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 18:28:35 +0000 (18:28 +0000)]
Merge "Resetting widget cache when some configurations change" into qt-dev

5 years agoClose channel dialog when the guts go away
Evan Laird [Fri, 31 May 2019 20:46:48 +0000 (16:46 -0400)]
Close channel dialog when the guts go away

Also don't open the NotificationInfo panel from the keyguard without
authenticating first.

Test: long press on notification from lockscreen
Test: lock the device while the channel editor dialog is open
Bug: 133182818
Change-Id: I6686b77cf54ed5c1b82596217263a53d9664fc64

5 years agoFixed tethering failed when device is on CBRS
Jack Yu [Fri, 7 Jun 2019 00:13:06 +0000 (17:13 -0700)]
Fixed tethering failed when device is on CBRS

Fixed by using the correct sub id for CBRS subscription

Bug: 133852860
Test: Manual
Change-Id: If01e17becce9684556345eb76512f617b9a9278c

5 years agoMerge "Revert "For 1 sim devices, hide signal empty state"" into qt-r1-dev
TreeHugger Robot [Fri, 7 Jun 2019 18:00:03 +0000 (18:00 +0000)]
Merge "Revert "For 1 sim devices, hide signal empty state"" into qt-r1-dev

5 years agoAvoid UnsupportedOperationException from getDefaultSmsSubscriptionId()
Amit Mahajan [Fri, 7 Jun 2019 17:40:09 +0000 (10:40 -0700)]
Avoid UnsupportedOperationException from getDefaultSmsSubscriptionId()

This is basically reverting to earlier behavior.

Test: basic sanity
Bug: 134375393
Change-Id: I44dc66f9f3d5d4dfcab95220d7a6a6be0ed5a825

5 years agoRestore WATCH_APPOPS permission for systemui
Fabian Kozynski [Fri, 7 Jun 2019 17:20:49 +0000 (13:20 -0400)]
Restore WATCH_APPOPS permission for systemui

This permission is necessary for Q as it allows systemui to tag
notifications of apps that are using certain AppOps. This is a P
feature that has regressed when the permission was made privileged.

This is used by AppOpsController in order to obtain updates on any apps
(onOpActiveChanged, onOpNoted). There is no other way to obtain the
updates from apps that are not systemui, as specified in AppOpsManager.

Talked to moltmann@ to verify that this is the correct API to use for this feature.
I'll remove this permission once SystemUI does not need it anymore.
In particular, if AppOpsController does not require it for being notified of AppOps changes.

Fixes: 134747188
Test: build
Test: dumpsys SystemUI. Check that AppOpsController is getting updates.
Change-Id: I08cca4361a7fbfa8b2eb419f1459b0b8bce93a5f

5 years agoAdd callbacks to StatusBarStateController
Beverly [Thu, 6 Jun 2019 19:33:10 +0000 (15:33 -0400)]
Add callbacks to StatusBarStateController

So plugins can receive this information without an IPC call

Test: manual
Bug: 133783909
Change-Id: I716ed6af78ab5a80a36fb680bc5d42758766523d

5 years agoDisplayEventDispatcher: use eConfigChangedDispatch
Ady Abraham [Tue, 4 Jun 2019 23:07:44 +0000 (16:07 -0700)]
DisplayEventDispatcher: use eConfigChangedDispatch

In order to get DISPLAY_EVENT_CONFIG_CHANGED, eConfigChangedDispatch needs
to be used when creating DisplayEventDispatcher.

Bug: 131688378
Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest
Test: trigger config change and observe logcat
Change-Id: I0de8037ee5b024b7d9729750f582be919087be41

5 years agoMerge "Dramatically simplify NotificationRankingUpdate." into qt-dev
Daniel Sandler [Fri, 7 Jun 2019 17:23:51 +0000 (10:23 -0700)]
Merge "Dramatically simplify NotificationRankingUpdate." into qt-dev
am: d4d9b233b2

Change-Id: I2170738ea246f16c010876af49ec8fd818955582

5 years agoMerge "You get a memory tile, and you get a memory tile." into qt-dev
Daniel Sandler [Fri, 7 Jun 2019 17:18:09 +0000 (10:18 -0700)]
Merge "You get a memory tile, and you get a memory tile." into qt-dev
am: bc276072ab

Change-Id: If4c59ab6bab4e3d49be3f754b46cece0d3f070f1

5 years agoMerge "Dramatically simplify NotificationRankingUpdate." into qt-dev
Daniel Sandler [Fri, 7 Jun 2019 17:11:23 +0000 (17:11 +0000)]
Merge "Dramatically simplify NotificationRankingUpdate." into qt-dev

5 years agoMerge "You get a memory tile, and you get a memory tile." into qt-dev
Daniel Sandler [Fri, 7 Jun 2019 17:07:15 +0000 (17:07 +0000)]
Merge "You get a memory tile, and you get a memory tile." into qt-dev

5 years agoAdd OWNERS for DeviceConfig
Svet Ganov [Fri, 7 Jun 2019 17:02:04 +0000 (10:02 -0700)]
Add OWNERS for DeviceConfig
am: 85c951601a

Change-Id: I8293ed4f672454ebfda4dae86ab2830b48089505

5 years agoAdd OWNERS for DeviceConfig
Svet Ganov [Mon, 3 Jun 2019 20:32:01 +0000 (13:32 -0700)]
Add OWNERS for DeviceConfig

Test: N/A

Bug: 134753749

Change-Id: Ia1b10287a0d056fd9d242936e90d8f91d847fe59

5 years agoIgnore brightness change thresholds for manual changes.
Santos Cordon [Fri, 7 Jun 2019 16:20:41 +0000 (17:20 +0100)]
Ignore brightness change thresholds for manual changes.

Bug: 131395565
Test: Manual - set screen_brightness to 32, then 26. Verify it changes.
Verify that threshold still hold for small sensor changes.

Change-Id: I9d9521d9dcfabdeb57eb77b4d968aa0e0e53b946

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 7 Jun 2019 15:28:26 +0000 (08:28 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If91dff5bded1e78b56a3b20998025a0540e8d558

5 years agoMerge "Add a rolling log of external vibrations" into qt-dev
Alexey Kuzmin [Fri, 7 Jun 2019 15:26:07 +0000 (08:26 -0700)]
Merge "Add a rolling log of external vibrations" into qt-dev
am: 0a3e150e52

Change-Id: Ic76bec930646a5437780f4a1e3b616270418247e

5 years agoMerge "Use nav bar color for invocation lights" into qt-dev
Miranda Kephart [Fri, 7 Jun 2019 15:23:24 +0000 (08:23 -0700)]
Merge "Use nav bar color for invocation lights" into qt-dev
am: 31167d1d64

Change-Id: I495acee94c6c2a5f95679bfcb1341ddc47bad406

5 years agoMerge "Remove deleted strings from symbols.xml." into qt-dev
Alan Stokes [Fri, 7 Jun 2019 15:21:45 +0000 (08:21 -0700)]
Merge "Remove deleted strings from symbols.xml." into qt-dev
am: 445d7b38e4

Change-Id: I45a18911c3615a36292031eec7a2577c51ce5d8a

5 years agoMerge "Add a rolling log of external vibrations" into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 15:04:37 +0000 (15:04 +0000)]
Merge "Add a rolling log of external vibrations" into qt-dev

5 years agoMerge "Use nav bar color for invocation lights" into qt-dev
Miranda Kephart [Fri, 7 Jun 2019 14:56:14 +0000 (14:56 +0000)]
Merge "Use nav bar color for invocation lights" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 7 Jun 2019 14:43:48 +0000 (07:43 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iac4022ac6ff25ea77bc986924127d970e25f5444

5 years agoMerge "Remove deleted strings from symbols.xml." into qt-dev
TreeHugger Robot [Fri, 7 Jun 2019 12:27:36 +0000 (12:27 +0000)]
Merge "Remove deleted strings from symbols.xml." into qt-dev

5 years agoRemove deleted strings from symbols.xml.
Alan Stokes [Fri, 7 Jun 2019 09:50:51 +0000 (10:50 +0100)]
Remove deleted strings from symbols.xml.

The background activity start toast strings were removed from
strings.xml in commit 9e2457622abb8611876185f09cb79f5c3c2f4711, but
not from symbols.xml. (Because I didn't know it existed.)

Bug: 131747138
Fixes: 134686670
Test: Still builds.
Change-Id: I934e96155dcc4404f50a309f07ba4ba6c86f151f

5 years agoRevert "Take all VPN underlying networks into account when migrating traffic for"
Benedict Wong [Fri, 7 Jun 2019 09:33:30 +0000 (02:33 -0700)]
Revert "Take all VPN underlying networks into account when migrating traffic for"
am: ac06c1022d

Change-Id: Iec81a5823e476a52c41a9853fb40aa1804d1a826

5 years agoRevert "NetworkStatsService: Fix getDetailedUidStats to take VPNs into account."
Benedict Wong [Fri, 7 Jun 2019 09:33:27 +0000 (02:33 -0700)]
Revert "NetworkStatsService: Fix getDetailedUidStats to take VPNs into account."
am: 055992b112

Change-Id: If5c0f31043a88ba31efc789e281d86958d8ab4d8

5 years agoRevert "Addressing comments for http://ag/7700679."
Benedict Wong [Fri, 7 Jun 2019 09:33:23 +0000 (02:33 -0700)]
Revert "Addressing comments for ag/7700679."
am: 1fbf261c01

Change-Id: Ia3acacd9eca9d1ea8f81d2579046b9b7f82838d0