Commit Graph

389948 Commits

Author SHA1 Message Date
TreeHugger Robot
beacda215f Merge "Only inflate public view when notif is redacted." 2018-10-24 22:14:57 +00:00
TreeHugger Robot
5f75c2d174 Merge "Fix heads up notifications" 2018-10-24 21:52:23 +00:00
Evan Laird
1d4379fd11 Fix heads up notifications
StatusBar#canHeadsUp moved to StatusBarNotificationPresenter#canHeadsUp,
but a case was inverted causing HUNs not to show

Change-Id: I447634486007df9c96b1d924bcbabce8dcdf8aa5
Fixes: 118365227
Test: Generate notification that will heads-up
2018-10-24 15:32:10 -04:00
Kevin
38ce6fa2a0 Only inflate public view when notif is redacted.
This CL changes notification inflation behavior to only inflate the
public content view when the notification needs to be redacted in the
first place (i.e. the setting to hide sensitive notifications is on and
the notification would be hidden under the setting). This saves around
.1 MB per notification.

Bug: 111809944
Fixes: 111809944
Test: runtest systemui, manual tests (toggled hide sensitive on and off,
tested ambient pulses under both)

Change-Id: Ia1d00db00c5164f043c999578f0be4b55f223f8e
2018-10-24 11:16:36 -07:00
TreeHugger Robot
2d8edbc953 Merge "audio: move private APIs to dark grey list" 2018-10-24 17:33:26 +00:00
Lucas Dupin
d9aa3fa6e9 Merge "Restore KeyguardBottomAreaView state" 2018-10-24 17:19:45 +00:00
Eugene Susla
c63d1cc434 Merge "Temporary fix for sms cts regression" 2018-10-24 17:06:29 +00:00
Lucas Dupin
fc1d7e5837 Merge "fix decor color selection" 2018-10-24 16:29:24 +00:00
Lucas Dupin
f887be23d1 Merge "New PIN pad design" 2018-10-24 16:05:23 +00:00
TreeHugger Robot
2a7854addd Merge "Add collection start time to LooperStats dumpsys output" 2018-10-24 12:14:29 +00:00
Bill Lin
03eb4c3279 [automerger skipped] Merge "Device show "No SIM card" and then showing carrier name during boot" into pi-dev am: 2f97046a4e
am: e4df226c6d  -s ours

Change-Id: I7464a4d5118ecb73a822140e23d4843b6a16d614
2018-10-24 02:57:17 -07:00
Bill Lin
e4df226c6d Merge "Device show "No SIM card" and then showing carrier name during boot" into pi-dev
am: 2f97046a4e

Change-Id: I3f3f5d49b390dd7841ade7e33fd2ddc5e5309aa1
2018-10-24 02:49:00 -07:00
Bill Lin
2f97046a4e Merge "Device show "No SIM card" and then showing carrier name during boot" into pi-dev 2018-10-24 09:35:33 +00:00
TreeHugger Robot
6566c5ca0f Merge "To add the Android.bp of ExternalStorageProvider" 2018-10-24 08:53:18 +00:00
Oleksandr Tolstykh
f7c3e3174d Merge "Make system Dialog Activities theme friendly and support dark theme" 2018-10-24 07:51:19 +00:00
Olivier Gaillard
35ab42f7a4 Merge "Add WorkSource support to Binder.java." 2018-10-24 07:37:57 +00:00
Rhed Jao
1585cd7d00 Merge "Fixed NPE in TouchDelegateInfo." 2018-10-24 06:36:40 +00:00
felkachang
593d07b991 To add the Android.bp of ExternalStorageProvider
ExternalStorageProvider doesn't have any tests yet.
1. Convert Android.mk to Android.bp
2. Add init testcase
3. formatted by bpfmt -s -w Android.bp

Fixes: 117812397
Test: atest ExternalStorageProviderTests

Change-Id: I74235832f453110742de0b15cb14fac7514ecf0e
2018-10-24 06:11:06 +00:00
Michael Dooley
0bf1666c51 Merge changes from topic "getmodelstate-redo"
* changes:
  Rolling forward with indentation fix.
  Revert "Revert "Adding getModelState API to sound trigger""
2018-10-24 06:04:42 +00:00
TreeHugger Robot
366d890f6d Merge "Workaround to safely show ambient/HUN views." 2018-10-24 03:21:18 +00:00
TreeHugger Robot
74a8e734c2 Merge "Remove dashes between clock and notifications" 2018-10-24 02:58:22 +00:00
Michael Wachenschwanz
0e1ce140a2 Merge changes from topic "UsageStatsDatabaseUpgradeAttempt2"
* changes:
  Add ProtoInputStream and UsageStatsProto to art profiles
  Upgrade UsageStatsDatabase to version 4 (attempt 2)
  Move UsageStatsDatabase upgrade backup to seperate folder
2018-10-24 02:17:00 +00:00
TreeHugger Robot
f6f95875b6 Merge "Fixes typo in Intent extra names" 2018-10-24 01:31:23 +00:00
Eric Laurent
b3d8392d51 audio: move private APIs to dark grey list
Add proper @UnsupportedAppUsage annotation for the following methods:
- AudioTrack.getLatency().
- AudioSystm.getPrimaryOutputSamplingRate()
- AudioSystem.getPrimaryOutputFrameCount()

Bug: 112561552
Test: make
Change-Id: I8480ad4699ab530e0b83a00a0897756e676c3cda
2018-10-23 17:55:53 -07:00
Lucas Dupin
de07d21864 fix decor color selection
Change-Id: I4baa9f5f0abc6fdba2cdb5fadb9d75db929ce6b8
Fixes: 118309780
Test: visual
2018-10-23 17:48:09 -07:00
Ming-Shin Lu
41871f7496 Merge "Show IME in default display for some use cases." 2018-10-24 00:44:10 +00:00
Kevin
47ff478e51 Workaround to safely show ambient/HUN views.
Temporary workaround to get things rolling while a greater fix is
incoming.  This reverts behavior to essentially inflating all
HUN/ambient content views.

Bug: 117933032
Bug: 117894786
Test: manual, runtest systemui
Change-Id: I731ec6e320d1813a8bbca52ceb21c1d8bb4e73ff
2018-10-23 17:25:41 -07:00
TreeHugger Robot
0cb4e4777a Merge "Refactored rotation code from nav bar fragment to its button" 2018-10-24 00:06:22 +00:00
TreeHugger Robot
5989449661 Merge "Move Settings atom enums to its own file." 2018-10-23 23:12:07 +00:00
Fan Zhang
cb79ffd30a Merge "Remove unused APIs from MetricsFeatureProvider" 2018-10-23 23:08:39 +00:00
Arthur Ishiguro
bdce57c880 Fixes typo in Intent extra names
Bug: 117612105
Test: None
Change-Id: I9b31d7d504635cc3eb3f880c925ad1aaf30becf7
2018-10-23 15:51:19 -07:00
Robert Shih
a553f3c600 Merge "MediaPlayer2: don't pass cookies to Media2HTTPService" 2018-10-23 22:32:28 +00:00
TreeHugger Robot
1bfe69daf5 Merge "Fix re-layout race condition" 2018-10-23 22:30:50 +00:00
Yunfan Chen
485c06f7b6 Merge "Let IME be aware of display override configuration updates" 2018-10-23 22:27:28 +00:00
Lucas Dupin
c9d28b74eb Remove dashes between clock and notifications
Bug: 111405682
Test: visual - smart space, ambient notification, clock
Change-Id: I68e0d9099e0d4eaa1a6c10838d584aded523c332
2018-10-23 15:24:16 -07:00
Matthew Ng
761562d868 Refactored rotation code from nav bar fragment to its button
Moved the rotation button in nav bar logic to its own button.

Test: atest NavigationBarRotationContextTest
Bug: 116041410
Change-Id: I7bb3c4c4a1637b52a7219c1074c09403c9505734
2018-10-23 15:20:56 -07:00
TreeHugger Robot
71c0edba62 Merge "Use bilerp sampling when drawing TextureView with non-translate matrix" 2018-10-23 22:20:19 +00:00
Lucas Dupin
e3c9ccc4bf New PIN pad design
Moved "delete key," replaced confirmation button and reduced
the size of the ripples, for improved security.

Change-Id: Idc7a86490c3ca1d9fd69f4f5c6f8ede07909fea2
Test: visual
Fixes: 74259090
2018-10-23 15:08:15 -07:00
Howard Ro
d845abbac0 Merge "Notification atoms changes" 2018-10-23 21:57:49 +00:00
James Lemieux
0723dac46c Merge "Prepare for upgrade to Truth 0.42" 2018-10-23 21:43:06 +00:00
Evan Laird
a941ce7326 Merge "Make StatusBar not be a NotificationPresenter" 2018-10-23 21:12:07 +00:00
TreeHugger Robot
92b7af321c Merge "Mirror pending temp whitelist from AMS to ATMS (30/n)" 2018-10-23 21:03:31 +00:00
Fan Zhang
793cbdde27 Remove unused APIs from MetricsFeatureProvider
Bug: 117860032
Test: rebuild
Change-Id: Ifdb9829d0205be8ac0b5920c0758d789b45dcba8
2018-10-23 13:38:29 -07:00
Stan Iliev
aa0a33180e Use bilerp sampling when drawing TextureView with non-translate matrix
Draw TextureView with bilerp sampling, when the matrix is not
integer translate or identity. For example scaling matrix or
translation on X by 0.4f will draw with GL_LINEAR on OpenGL pipeline.
Translation on X by 3.0f will draw TextureView with GL_NEAREST.

Bug: 117890671
Test: ran camera app
Change-Id: I3acd710ff2cb4ee7b14dd4b7d9227842187130c9
2018-10-23 20:37:44 +00:00
Fan Zhang
f837b8e442 Move Settings atom enums to its own file.
Bug: 117860032
Test: rebuild
Change-Id: I26f634c36de0cf946951d85f0000468e3726db23
2018-10-23 13:04:07 -07:00
John Reck
8884cfc13e Merge "Rename & package shuffle" 2018-10-23 20:02:00 +00:00
Winson Chung
51d48e09a5 Merge "Deprecating some old Recents logic" 2018-10-23 19:59:07 +00:00
James Lemieux
118e65b027 Prepare for upgrade to Truth 0.42
IterableSubject had its generics removed causing a test to fail to
compile. Strip the generics in advance of the upgrade.

Test: make -j56 RunFrameworksServicesRoboTests
Change-Id: If411475d2bf3115efbbe910012884842765709ec
2018-10-23 12:50:37 -07:00
Lucas Dupin
43976f831c Fix re-layout race condition
On older devices, the dark amount wouldn't be updated before the layout
pass, the owner info view would end up with the wrong visibility.

Change-Id: I0f7660d70a090ecd1a86a1d870645982edeb1ea4
Fixes: 113247412
Test: manual
2018-10-23 19:02:21 +00:00
Robert Shih
cf0f26974e MediaPlayer2: don't pass cookies to Media2HTTPService
Bug: 109928575
Test: MediaPlayer2Test#testPlayVideoWithCookies
Change-Id: Iba853e5bfd7e6a28615feb15f4d975fedecdc6a9
2018-10-23 11:45:32 -07:00