33786 Commits

Author SHA1 Message Date
phweiss
02397ee147 Add strings for quick settings security footer
Strings are unused for now, CL that will display them comes later.

Bug: 34369166
Test: Only added strings, nothing to test
Change-Id: I0bb3e46b264d5da9d0da31149bf04f8276c08e93
2017-03-24 11:53:03 +00:00
Charles He
6111298d81 Enterprise string clean-up for O
Bug: 34326838
Test: make
Change-Id: I70db223ea4ef77e791eb7ce98638909442a593aa
2017-03-24 11:36:34 +00:00
TreeHugger Robot
a25c24d882 Merge "Some logging for settings reset" 2017-03-24 02:17:18 +00:00
TreeHugger Robot
3caef44916 Merge "Create plugin interface for volume dialog" 2017-03-24 02:14:25 +00:00
TreeHugger Robot
7c1e1433ac Merge "Moved the waiting for fingerprint string to the hint" 2017-03-24 02:13:10 +00:00
TreeHugger Robot
0e74c95c0c Merge "Unhide FLAG_SUPPORT_EJECT and related methods." 2017-03-24 01:23:53 +00:00
Colin Cross
2b6aa352e5 Remove framework-protos from SystemUI
SystemUI builds against the framework, it doesn't need to have its
own copy of framework-protos.

Test: m -j ANDROID_COMPILE_WITH_JACK=false checkbuild
Change-Id: Ia971b2bc648558283562c7080b4d683a7e45fb60
2017-03-23 18:08:41 -07:00
Colin Cross
6a8a4d8912 Disable proguard for PluginDummyLib
Proguard fails for jars that contain no class files, disable it.

Test: m -j ANDROID_COMPILE_WITH_JACK=false PluginDummyLib
Change-Id: I0001eb3de7b7cea2fa9f91de0c1e59569d41ae8a
2017-03-23 18:08:41 -07:00
TreeHugger Robot
79eca112eb Merge "Recents: Remove TV Specific blacklist" 2017-03-24 00:48:25 +00:00
TreeHugger Robot
99ce58fb08 Merge "Fix add user tint, some people thought it was disabled" 2017-03-24 00:45:51 +00:00
Amith Yamasani
3945202dc8 Some logging for settings reset
If settings db gets reset because it disappeared/got corrupted,
then write the Build.ID of the OTA, so we know when it was reset.

Bug: 36365648
Test: manual
Change-Id: I499a7f65f07a61c0e4651dbd046fc5b16408c09d
2017-03-23 17:43:39 -07:00
Jason Monk
782cd6711b Create plugin interface for volume dialog
Very few logic changes, mostly just breaking out certain interfaces
and classes to the plugin lib.

Test: make + volume keys
Change-Id: Ieabc6d35f6ef980842849236a0b8ffd5543b3a2c
2017-03-24 00:40:25 +00:00
Jason Monk
287eb95e68 Merge "Less cereal, more stable" 2017-03-24 00:35:28 +00:00
Garfield Tan
8787703ae0 Unhide FLAG_SUPPORT_EJECT and related methods.
Test: Builds and CTS tests pass. Some manual tests as well.
Bug: 36483910
Change-Id: Idd9b1c9d9573222ee12127044ff11b9ab2487f0a
2017-03-23 16:41:24 -07:00
Dmitri Plotnikov
7ded2670fc Adding TV-specific strings
Bug: 36175844
Test: generate a bugreport and check the notification description
Change-Id: I0030d51e566cc2d68b4c87a9e7d7cbb0d5a21ac1
2017-03-23 16:33:55 -07:00
Sid Soundararajan
a28edc9463 Recents: Remove TV Specific blacklist
Test: Pre-submit tests should pass.

BUG: 36566671

Change-Id: I39bee60bc61b501c57b3c304f86cee7fb9c0560b
2017-03-23 16:21:59 -07:00
TreeHugger Robot
f5604e101b Merge "Notification Inline strings for non-upgraded apps" 2017-03-23 22:19:40 +00:00
Selim Cinek
947c77cb82 Moved the waiting for fingerprint string to the hint
We don't want to bake in the button into the text, so we're
switching the description to the hint text.

Test: manual
Change-Id: Ib0e4a86a11390ce5d3bcb0de9bc31861ad9ee84d
Fixes: 36557742
2017-03-23 14:20:32 -07:00
TreeHugger Robot
3dfe492af0 Merge "Integrate new looper apis into testables" 2017-03-23 20:59:41 +00:00
TreeHugger Robot
ab363e838a Merge "QS: Unavailable cleanup" 2017-03-23 20:27:38 +00:00
Geoffrey Pitsch
ee8c81ee56 Notification Inline strings for non-upgraded apps
Also fix string typo - "1 of n notification categories"

Test: runtest systemui
Change-Id: I6f48f2ffde4896341ee0a435b9b1dc6a1255ea48
2017-03-23 14:59:05 -04:00
Jason Monk
6ab83ad110 Less cereal, more stable
Sometimes when the PluginManagerImpl got around to executing the
message it posts in the constructor, the next test would be initializing
the Dependencies and it would cause a crash. Clean up this whole
thing by making the looper injectable and the message runs at
a deterministic time.

Test: runtest systemui
Change-Id: I485d72aea22aa8f6c759012d54701af8a503681b
2017-03-23 14:52:17 -04:00
Jason Monk
f715f417d2 Integrate new looper apis into testables
Test: runtest --path frameworks/base/tests/testables
Change-Id: Ic12c85ecbd9534a676bd2d7f8643a0c2b4b849b2
2017-03-23 14:52:10 -04:00
Ajay Panicker
6e898e8ffd Merge "AVRCP version interop pereference (3/3)"
am: 48ce402668

Change-Id: Ia49ab34142e5e26f886b07f2e17575e81c9dfd0d
2017-03-23 17:57:38 +00:00
Treehugger Robot
48ce402668 Merge "AVRCP version interop pereference (3/3)" 2017-03-23 17:49:58 +00:00
TreeHugger Robot
3802a2b526 Merge "Add strings for quick settings security dialog" 2017-03-23 17:28:57 +00:00
TreeHugger Robot
7d81ae777f Merge "QS: Fix labels in extremely long circumstances" 2017-03-23 16:17:27 +00:00
TreeHugger Robot
ad5bf9b0a7 Merge "QS: swap order of content description" 2017-03-23 16:06:11 +00:00
TreeHugger Robot
c439456ac2 Merge "Import translations. DO NOT MERGE" 2017-03-23 16:03:05 +00:00
TreeHugger Robot
b261269bcf Merge "Import translations. DO NOT MERGE" 2017-03-23 15:59:12 +00:00
TreeHugger Robot
20fd49d8c7 Merge "Import translations. DO NOT MERGE" 2017-03-23 15:47:40 +00:00
Jason Monk
d3b314824d Fix add user tint, some people thought it was disabled
Test: visual
Change-Id: Ic2a56adb5fe0e429c6022bc6cc59f8f1c959f6af
Fixes: 36502149
2017-03-23 11:31:50 -04:00
TreeHugger Robot
d0c6ba6ce3 Merge "Import translations. DO NOT MERGE" 2017-03-23 15:27:34 +00:00
Neil Fuller
b4d003da66 Update settings to use latest IDs for zones
Various zones in timezones.xml were being identified by old
IDs. The settings picker and setup wizard uses the exact
ID when pre-selecting the user's current zone. Since the
autodetection uses the new IDs in places like Buenos
Aires users would not have the correct zone pre-selected
during setup.

Thanks to Marcio Ikeda of LG for the report.

Other legacy IDs found with:

for TZ in `grep 'id=' timezones.xml \
    | awk -F\" '{ print $2 }'`; do \
grep ${TZ} ~/Downloads/tzdata2016g/zone.tab > /dev/null; \
if (( $? != 0 )); then echo Bad: ${TZ}; fi; \
done

New IDs found using tzdata NEWS and "backward" file.

Test: Manual testing: selection of the zone in the settings
Bug: 36469833
Change-Id: I8c20494a48870cdc600854756061e86db730e14a
2017-03-23 15:10:27 +00:00
Jason Monk
e33d333c36 Re-inflate fragments in sysui on font scale change
Change-Id: I7d0a15bb3ea33fc43a59dbd465d8c288e6a5de7e
Fixes: 35376111
Test: manual
2017-03-23 11:07:00 -04:00
Jason Monk
e2f05d23b1 QS: Unavailable cleanup
- Put cellular in unavailable when airplane mode is on
 - Don't show ripples for unavailable tiles.

Test: Click on cell while in airplane mode
Change-Id: I2a20795508801949b90b1b8876e48a0ec4809422
Fixes: 29979349
Fixes: 36302092
2017-03-23 10:45:37 -04:00
Jason Monk
df64e078b0 QS: Fix labels in extremely long circumstances
- Center
 - Ellipsize
 - Don't clip

Test: visual
Change-Id: I67e5944b9eca3270f53db0fa27ad543c921caa31
Fixes: 36241054
2017-03-23 10:39:14 -04:00
Jason Monk
28df4ed8fb QS: Clean up dual target accessibility
Remove "Open..." strings from toggles, since they don't open, and
add those strings to the labels. Also switch label accessibility types
to buttons.

Change-Id: Ic8382aaaecf74182970b5f8fdd914079f0109f0f
Fixes: 36538210
Test: Accessibility - select dual target QS tile
2017-03-23 10:25:37 -04:00
Jason Monk
92de71975c QS: swap order of content description
Put the locked state first and auto-rotate after.

Change-Id: I68704d12702ae442b7a2940ba29b196002d2f01c
Fixes: 29550246
Test: Click on autorotate
2017-03-23 10:06:13 -04:00
Bill Yi
887ed4efde Import translations. DO NOT MERGE
Change-Id: I0d61396cffb0cf91c269826f80eab0c9daee01f2
Auto-generated-cl: translation import
2017-03-23 05:56:05 -07:00
Naveen Kalla
ca3d5434e8 Add API to request Bug Report with a certain title and description
ActivityManagerService will send the details to dumpstate and
BugreportProgressService will get the details from dumpstate and use
that for the notification.

Bug: 33561517
Test: Modify TelephonyMonitor to use this API and ensure that the
      notification uses that the title and description sent as arguments
      to the API. File a bug using betterBug and ensure that the
      information gets populated automatically.

Change-Id: I455f1df2278e5d569dd19c74245a0704dcf5a321
2017-03-23 12:06:04 +00:00
Bill Yi
ffdad377ee Import translations. DO NOT MERGE
Change-Id: I8451447e8a1f2409de44f4f7e26f83562e9a83ab
Auto-generated-cl: translation import
2017-03-23 00:56:16 -07:00
Bill Yi
97da16f1a7 Import translations. DO NOT MERGE
Change-Id: I78f94f36822ec6c8e01bd1ee3e49d75aa9fe65ac
Auto-generated-cl: translation import
2017-03-23 00:41:07 -07:00
Bill Yi
2d7e6dbb54 Import translations. DO NOT MERGE
Change-Id: Iacdf71ff60d8b5419e40bbb2e3930c5b83dd5cee
Auto-generated-cl: translation import
2017-03-23 00:34:50 -07:00
TreeHugger Robot
54cacb7aed Merge "Remove tests from SettingsLibShell" 2017-03-23 03:13:59 +00:00
TreeHugger Robot
f93cdbd58f Merge "Fix AppRestrictionsHelperTest." 2017-03-23 02:38:41 +00:00
Mady Mellor
95d743c38c Add plugin interfaces to control notification menu / swipe behavior
1) Updates the notification menu plugin to do more:
- The plugin can now supply the view it wants to display behind a
  notification as the menu
- Touch interaction (i.e. notification translating on top) is piped
  through to the plugin so it can update the view behind the notification

2) Makes NotificationMenuRow an implementor of the plugin which moves
   a bunch of that logic out of NotificationStackScroller

Test: runtest systemui
Change-Id: I8723b96c195ff7311317d5523418cfcbe2a79b52
2017-03-22 19:04:50 -07:00
TreeHugger Robot
8efea16f1e Merge "Move two target preference layout from settings to lib" 2017-03-23 01:26:53 +00:00
Sudheer Shanka
83083cf358 Fix AppRestrictionsHelperTest.
Recently mockito has been updated to version 2.7.* and any(*.class) will now
reject null values.

Bug: 36531717
Test: runtest -x packages/SettingsLib/tests/integ/src/com/android/settingslib/users/AppRestrictionsHelperTest.java
Change-Id: Ia3ff2f470a95f6ee36a97eba8699425274500f17
2017-03-22 18:01:17 -07:00
TreeHugger Robot
964244785d Merge "Fix MtpDocumentsProvider test." 2017-03-23 00:46:06 +00:00