32828 Commits

Author SHA1 Message Date
Manu Cornet
d916d103eb 2D Recents: Slightly darken header to differentiate from thumbnail am: 017a3acc3c
am: b72edcc21c

Change-Id: I310f5388c501f851eb78bd7d0a619ffe0a8f1270
2017-02-08 10:50:35 +00:00
Manu Cornet
b72edcc21c 2D Recents: Slightly darken header to differentiate from thumbnail
am: 017a3acc3c

Change-Id: I3eba04869c2cc0095f7f0f43855aeba3bc595759
2017-02-08 10:46:16 +00:00
TreeHugger Robot
6fd229b37e Merge "Import translations. DO NOT MERGE" 2017-02-08 10:36:39 +00:00
TreeHugger Robot
ba89ed754f Merge "Move the logic of batteryMeterDrawable to settingslib" 2017-02-08 10:14:28 +00:00
TreeHugger Robot
e88e228a24 Merge "Import translations. DO NOT MERGE" 2017-02-08 10:04:04 +00:00
Manu Cornet
017a3acc3c 2D Recents: Slightly darken header to differentiate from thumbnail
Bug: 34771148
Test: Locally on sw600dp device, sent screenshot to UX to confirm
Change-Id: I74282c6ed81d3b48d554f9acf55d4fafca2c73f4
2017-02-08 00:40:34 -08:00
Winson Chung
ef4d6f3787 Merge "Fixing crash when fetching stack bounds." 2017-02-08 03:25:00 +00:00
Suprabh Shukla
11015dd446 Merge "Deprecating secure setting install_non_market_apps" 2017-02-08 01:53:28 +00:00
Winson Chung
db2ad5d974 Fixing crash when fetching stack bounds.
Bug: 35115909
Bug: 35112703
Test: Manual
Change-Id: I708501f2d94682e5e945e2ade52c5c53c2fb8067
2017-02-07 17:28:25 -08:00
jackqdyulei
597b10f6db Move the logic of batteryMeterDrawable to settingslib
In Settings, we also need a BatteryMeterDrawable to show battery meter,
that's why I move it to settingslib.

In this cl, what I have changed is listed below:
1. Create BatteryMeterDrawableLib that contains logic of battery
drawing.
2. Still Keep the battery control logic in systemui.
3. Remove hardcoded battery color by using the color state lists.
4. Move some tests to settingslib

Bug: 34771849
Test: make SettingsLibTests

Change-Id: I39c0f0e31ca5e1b958467298db1d0590d16c9f6d
2017-02-07 17:27:00 -08:00
Jiaquan He
41b8a3af18 2D Recents: Fix the thumbnail radius. am: 083c6fbbd0
am: 5207be100b

Change-Id: Ic2912d940a877730165a8188ca39ada17ebfa540
2017-02-08 01:02:05 +00:00
Jiaquan He
5207be100b 2D Recents: Fix the thumbnail radius.
am: 083c6fbbd0

Change-Id: I93ff98979bcffa0c3724807ec9caac8f39025fa6
2017-02-08 00:06:22 +00:00
TreeHugger Robot
85016506c6 Merge "2D Recents: Fix the thumbnail radius." into nyc-mr2-dev 2017-02-08 00:00:26 +00:00
Winson Chung
cd161864a3 Merge changes I3ef361bd,I89a5184c
* changes:
  Refactor PiP logic in preparation for expanded state.
  Modifying RemoteAction callback to PendingIntent.
2017-02-07 21:18:15 +00:00
Jason Monk
d8df1b083d Merge "QS: Fix brightness/edit disappearing with too few tiles" 2017-02-07 18:23:54 +00:00
Winson Chung
2a82fe587b Refactor PiP logic in preparation for expanded state.
- #1: Move logic for handling IME size changes into SysUI, and only rely
      on PinnedStackController to provide bounds when first entering
      PiP and on rotation
- #2: Doing #1 allows us to move PipMotionHelper to SysUI completely, which
      lets us aggregate the animation calls out of PipTouchHandler
- #3: Add proper callbacks to the listeners when the movement bounds
      changed from config change, ime change, or aspect ratio change. This
      allows SysUI to calculate the associated movement bounds for the
      expanded state, and we can then remove the corresponding WM call.
      It also means that SysUI is the only thing that needs to know about
      the expanded state.
- #4: Fix issue where TV was getting the default bounds, not taking the
      aspect ratio when the PiP was entered into account.  Doing #3
      allows us to report the right bounds.
- #5: Remove dead code related to edge snapping/minimizing now that they
      are on by default and associated tuner setting, and controller
      callbacks

Test: android.server.cts.ActivityManagerPinnedStackTests (all existing tests pass)

Change-Id: I3ef361bdf8d44094b4c0a11c70ba4db7d697fdec
Signed-off-by: Winson Chung <winsonc@google.com>
2017-02-07 08:26:36 -08:00
Winson Chung
9c2a686757 Modifying RemoteAction callback to PendingIntent.
Test: android.server.cts.ActivityManagerPinnedStackTests
Bug: 34864798
Change-Id: I89a5184c2f067722cb1f5f962bbb8cbb91529092
2017-02-07 08:26:24 -08:00
Delphine Martin
3f7bf2e96c Merge "Fix incorrect syntax in Proguard flags" 2017-02-07 15:41:04 +00:00
Jason Monk
f5c7778c7d Merge "resolve merge conflicts of a800795a1520 to master" 2017-02-07 14:02:22 +00:00
TreeHugger Robot
27d151749f Merge "Import translations. DO NOT MERGE" 2017-02-07 04:30:39 +00:00
TreeHugger Robot
6654edae49 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-07 04:30:06 +00:00
TreeHugger Robot
f3f4f78dc7 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-07 04:21:45 +00:00
Soroosh Mariooryad
e622690efa Merge "Modifying SuggestionParser to support dismiss logic of smart suggestions." 2017-02-07 02:12:58 +00:00
TreeHugger Robot
ad8cab3892 Merge "Show saved networks before scored networks." 2017-02-07 02:06:33 +00:00
Doris Ling
93d53bc578 Merge "Remove category key SYSTEM_INPUT" 2017-02-07 01:51:19 +00:00
Soroosh Mariooryad
56ce766e92 Modifying SuggestionParser to support dismiss logic of smart
suggestions.

Test: RunSettingsLibRoboTests
Fixes: 35059823
Change-Id: I8c257f4f89f7dbc179aee85e013bdaecc8c3c09c
2017-02-06 17:37:49 -08:00
Jason Monk
8cb6669f75 resolve merge conflicts of a800795a1520 to master
Test: treehugger
Change-Id: I1f4743288021546344966c2b3ca1ee33c73667a8
2017-02-06 20:25:11 -05:00
Bill Yi
b83f6b6f44 Import translations. DO NOT MERGE
Change-Id: Id83eff0bcff1cfadadc4e91ce2d9d58a3f31194e
Auto-generated-cl: translation import
2017-02-06 16:42:58 -08:00
Bill Yi
937d76709a Import translations. DO NOT MERGE
Change-Id: I4a3fd082ba4daf3316928edc33563bbbb284ffe9
Auto-generated-cl: translation import
2017-02-06 16:33:05 -08:00
Jason Monk
a800795a15 Merge "Hotspot Tile: longclick should open Tethering settings" am: 96c4f1a21e am: 4e82bf6c51
am: 55345f5c30

Change-Id: I7874cfc1e034577390d5d77ebbdb22358de57b47
2017-02-07 00:17:43 +00:00
Casey Burkhardt
edb54686c2 Merge "Initial implementation of Nav Bar Accessibility Button" 2017-02-07 00:14:49 +00:00
Jason Monk
55345f5c30 Merge "Hotspot Tile: longclick should open Tethering settings" am: 96c4f1a21e
am: 4e82bf6c51

Change-Id: I39d311e1b455a7a3e53ac8c1b12d1d67b07972ee
2017-02-07 00:09:14 +00:00
Suprabh Shukla
e3745eed8b Deprecating secure setting install_non_market_apps
Apps targetting Android O or higher should use the new api
canRequestPackageInstalls in package manager. The secure setting
INSTALL_NON_MARKET_APPS which was used is set to 1 to make the
change transparent to apps who are already querying for this setting's
value.

Test: adb shell am instrument -e class\
'com.android.providers.settings.InstallNonMarketAppsDeprecationTest' -w\
'com.android.providers.setting.test/android.support.test.runner.AndroidJUnitRunner'

Bug: 33947615

Change-Id: Ie38d130bfccd022483a566270fce071acbdb00b7
2017-02-06 16:08:00 -08:00
Jason Monk
cedcb945f7 QS: Fix brightness/edit disappearing with too few tiles
- Make sure the tile layout doesn't have negative height

Test: runtest systemui
Fixes: 34593873
Change-Id: I392aa925cde1b2147a86cda63cd9e84cd3026a90
2017-02-06 15:06:01 -08:00
Bill Yi
446a66d235 Import translations. DO NOT MERGE
Change-Id: If399bc861f4e82ce0e7e285927ff1cd90b15ced1
Auto-generated-cl: translation import
2017-02-06 14:55:04 -08:00
Jason Monk
96c4f1a21e Merge "Hotspot Tile: longclick should open Tethering settings" 2017-02-06 22:53:59 +00:00
Manu Cornet
527df54e58 2D Recents: use correct layout logic for drawing transition headers am: de3cfb0c1f
am: 8e08d0e828

Change-Id: I048d8bb5e3eff94ad87d302f000a6739ad51fc49
2017-02-06 22:53:09 +00:00
Manu Cornet
8e08d0e828 2D Recents: use correct layout logic for drawing transition headers
am: de3cfb0c1f

Change-Id: I46c45fed648858212a31e477f46ad25475b0710a
2017-02-06 22:47:28 +00:00
Manu Cornet
925d862656 Merge "2D Recents: use correct layout logic for drawing transition headers" into nyc-mr2-dev 2017-02-06 22:38:34 +00:00
Bill Yi
c908386c7a Import translations. DO NOT MERGE
Change-Id: I4b1ac6117ae1829cbb341a3dee88195920dc883b
Auto-generated-cl: translation import
2017-02-06 14:25:00 -08:00
Eugene Susla
444eb97c0c Merge "CompanionDeviceManager" 2017-02-06 22:19:54 +00:00
Selim Cinek
e373313bd5 Merge changes If0edccf8,I086b7bae,I043011c6,I4b05f340,I309097ef, ...
* changes:
  Disabling animations now when the screen is off
  Fixed a quick flash of the icon when adding a notification
  Fixed a bug where the notification icons wouldn't match
  Fixed weirdness about last icon in shelf
  Fixed a regression where custom notification where unreadable
  Fixed a wrong translation calculation on first pull down
2017-02-06 21:59:08 +00:00
Bill Yi
3bccff9869 Import translations. DO NOT MERGE
Change-Id: Ia2feb848ece3402b9d19d3276f04c8f8af140da8
Auto-generated-cl: translation import
2017-02-06 13:38:43 -08:00
TreeHugger Robot
cd1d343ffd Merge "StatusBar: Clean up buzzBeepBlinked and friends" 2017-02-06 21:17:03 +00:00
Casey Burkhardt
048c2bc19a Initial implementation of Nav Bar Accessibility Button
This allows an AccessibilityService to set a flag in its
AccessibilityServiceInfo that triggers the navigation bar to show an
Accessibility Button and observe callbacks when the button is clicked
or there are changes in the visibility of the navigation bar.

Test: Manual (Created a sample AccessibilityService) + CTS
Bug:29231271
Change-Id: I03d653d85bc37df28ed71d8bba94b7c75fe56e43
2017-02-06 12:56:08 -08:00
TreeHugger Robot
cf67a32823 Merge "Remove experimental twilight-based automatic brightness" 2017-02-06 20:53:31 +00:00
Eugene Susla
6ed45d8cd3 CompanionDeviceManager
This introduces an API for apps that support companion devices to provide a
more streamlined flow for pairing and setting up the device

Bug: 30932767
Test: Using a toy app, invoke the newly introduced API (CompanionDeviceManager),
 and go through the flow. Ensure filtering works, and device is returned to
 the calling app. Ensure the calling app can pair to the selected device.
Change-Id: I0aeb653afd65e4adead13ea9c7248ec20971b04a
2017-02-06 12:50:55 -08:00
Adrian Roos
bf697fda00 Merge "AOD: Fix AoD time tick after refactor" 2017-02-06 20:01:18 +00:00
TreeHugger Robot
5f7a49bc38 Merge "Fixing crash when fetching SysUI components for secondary user." 2017-02-06 19:42:33 +00:00
TreeHugger Robot
5bed8d17af Merge "Longpress overview in minimized mode only for resizable launches (1/2)" 2017-02-06 19:38:36 +00:00